You need to sign in to do that
Don't have an account?
3421
I would like to insert records based on fields on parent
Hi,
I have the Opportunity record which has a date and frequency fields. I would like to insert child records based on the frequency.
For example: If the stage is Closed/Signed and if the frequncy is 24 Months starting from a date field, I would like to have 24 child records to be inserted based on the start date and amount be distributed accordingly
ANy sample code on how I acheive this?
I have the Opportunity record which has a date and frequency fields. I would like to insert child records based on the frequency.
For example: If the stage is Closed/Signed and if the frequncy is 24 Months starting from a date field, I would like to have 24 child records to be inserted based on the start date and amount be distributed accordingly
ANy sample code on how I acheive this?
I had a similar requirement. Once Opportunity is Closed/Won I had to create 4 Event Records Under Parent Account.
Please find below code:
Please mark as best answer if helped.
Regards,
Ramakant