You need to sign in to do that
Don't have an account?
Hoylesy
Salesforce Trigger to roll up and move data
Hi All,
I'm having problems with a trigger I'm hoping you can help, I have a custom object with a related object that's a 1 to many relationship.
I want to roll up a field in Custom_Object__2__c and move them in fields in Custom_Object_1__c
So Custom_Object__c has fields:
Field__1__c
Field__2__c
Field__3__c
As soon as someone saves a record in Custom_Object__2__c I want my trigger to move the names of ALL Custom_Object__2__c records and move them into the fields (just text fields not lookup reference) in Custom_Object__1__c.
If there are 4 records and only 3 fields then only choose the first 3 records.
Thanks
James
I'm having problems with a trigger I'm hoping you can help, I have a custom object with a related object that's a 1 to many relationship.
I want to roll up a field in Custom_Object__2__c and move them in fields in Custom_Object_1__c
So Custom_Object__c has fields:
Field__1__c
Field__2__c
Field__3__c
As soon as someone saves a record in Custom_Object__2__c I want my trigger to move the names of ALL Custom_Object__2__c records and move them into the fields (just text fields not lookup reference) in Custom_Object__1__c.
If there are 4 records and only 3 fields then only choose the first 3 records.
Thanks
James