function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ahmadkhanahmadkhan 

NEED HELP ON TRIGGERS PLEASE

Guys i need help on an after insert trigger i am NEW to apex.

 

i need to use and apex trigger i am writing the scenerio please Help me

 

i have three objects A, B and C

 

B has a lookup field with A so when u create a record in B then u have to select from Lookup Field of A

 

and when u create the Record of B then a new record will be created in Object C and two fields of Object A will be copied in two fields of Object C. lets say two fields are SMALL and LARGE.

 

PLEASE HELP!

JiahJiah

@Ahmed, Please explain relation between B and C. Does C have lookup to B? Please correct, C has lookup to B, B has lookup to A?

ahmadkhanahmadkhan

Thanks Jiah,

 

i already solved it Thanks alot