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
Vikram MahalVikram Mahal 

rollup summary with lookup relationship

Hi,

 

I am working on rollup summary on opportunity but it doesn't allow master relationship with my custom object.

 

So, i created a look up realtionship with opportunity but now i need Apex triggers to create a relationship.

 

So, can anyone help me in this.

 

my custom object is :-   vik__productitem__c

my field which have look up with opportunity :-  vik__Opportunity__c

my field in opportunity with rollup summary :-  vik__products__c

 

please help me to overcome this problem

 

Thanks in advance.

bob_buzzardbob_buzzard

I use the code posted by Anthony Victorio - not had any problems with it yet and its really easy to use:

 

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

LloydSilverLloydSilver

Bob,

 

Any chance you have a sample test class you can share that works with Anthony Victorio's roll up summary utility?

 

After spending several hours trying unsuccessfully to figure one out I'm bummed as the utility itself looks great.

 

Thanks.