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

how to writa a Trigger on Parent Object after insert ,after update,after delete trigger worked
Hi all ,
i am facting problem because i am not able to write a trigger for after insert after update after delete parent to child object
How to writa a Trigger on Parent Object after insert ,after update,after delete trigger worked??
Thanks
aklkk
i am facting problem because i am not able to write a trigger for after insert after update after delete parent to child object
How to writa a Trigger on Parent Object after insert ,after update,after delete trigger worked??
Thanks
aklkk
If you want to execute some logic on parent object record on after insert/update/delete of child record then you can directly write your code in child object trigger there is no need to create trigger on Parent object for that.
Please provide more details about your requirement if above information will not help you.
just i want to that if i update the parent records then same records reflect on child recrod i mean(update child record). with the trigger
for example i am change the Account Name values records then same change in contact records values lastName .
Thanks in Avance
You can use the below code:
<<<<<<-----Apex class ------>>>>>
<<<<<-----Trigger------>>>>
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi