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
AnidevAnidev 

Roll up using trigger

Hi All,

 

I am trying to create a roll- up between 2 objects - Object A (master) and Object B (child)

Now the problem is -

The lookup field (A) on a record of (B) becomes mandatory and i have to fill it up in all circumstance even if a particular case doesnot require so.

Can there be some work around wherein, such lookup field becomes optional ?

 

Many thanks in advance,

 

Ani

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

I've used Anthony Victorio's roll up summary triggers several times in the past:

 

http://www.anthonyvictorio.com/salesforce/roll-up-summary-trigger/

All Answers

bob_buzzardbob_buzzard

I've used Anthony Victorio's roll up summary triggers several times in the past:

 

http://www.anthonyvictorio.com/salesforce/roll-up-summary-trigger/

This was selected as the best answer
AnidevAnidev

Hi Bob,

 

Sincerest apologies, for the extremely inordinate delay in replying.

Thanks for the help.

It's a real pleasure to get an answer from you.

 

Regards,

Anidev