You need to sign in to do that
Don't have an account?

Set the master field value from multiple detail records??
Hi ,
I have a master object with tthe date field Test__c. And i have multiple detail records associated with the master record.
Among all the detail record i need to catch the largest date and copy it to the master field.
Please suggest how can i achieve this with the help of trigger??
You can do this using a trigger, but you will want to do this as an afterInsert, afterUpdate on the Detail record.
I have outlined the steps below for the trigger.
code the cloud