You need to sign in to do that
Don't have an account?
Irish@acc
trigger to create record when the date field changes the 2nd time onwards
Hi,
can anybody tell me what logic should be used to create a child record when the date field changes for the 2nd time onwards...?
I have a date field in the parent object when this date field changes don't create the recod when it changes the 2nd time then creates the record...how to do it?
Add a number field to the parent object and use a trigger to increment it whenever the date field changes. When the value becomes 2 you can create your child record.
All Answers
Add a number field to the parent object and use a trigger to increment it whenever the date field changes. When the value becomes 2 you can create your child record.