function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anillllanillll 

Apex Sharing Rules

I am Using Account and it has 2 Record Types namely Distributor and Dealer.And when user creates Dealer he will choose Distributor from Standard Parent Account Lookup...

And for Distributors records are shared manually , the users who are shared distributors has to view dealers under them automatically./

for ex:i have Distributor called ABC Enterprise and under this distributor it has 60 dealers so when i share ABC distributor to 4 users dealers has to be shared automatically

Anup JadhavAnup Jadhav
Hello,

Not sure what you are asking here! What is your query?


anillllanillll
@anup_Jadhav 
 i want to share dealers under Distributors through apex 
As Distributors are done by manual sharing there are huge 40000 dealers so i cant do it manually 

so distributor sharing has to be applied to Dealers also