You need to sign in to do that
Don't have an account?
Grv Jain
@Jernej Cesar 16
I have Two custom Object Account And Opportunity
Account :Parent
Opportunity:Chlid
on the parent object, I have a checkbox:Request,
On the child object, I have a Picklist: Model,Completed,runnig
In opportunity Selected the Piclist Value Model And Running When Parent Account Checkbox is True otherwise Select Picklist Value Runnng When Parent Account Checkbox is False
how to write a Apex Trigger Code
thanks in advance
Account :Parent
Opportunity:Chlid
on the parent object, I have a checkbox:Request,
On the child object, I have a Picklist: Model,Completed,runnig
In opportunity Selected the Piclist Value Model And Running When Parent Account Checkbox is True otherwise Select Picklist Value Runnng When Parent Account Checkbox is False
how to write a Apex Trigger Code
thanks in advance
Please find the code below.
Trigger
Apex class
This code is perfectly running. If you are happy with this, please mark this answer.
All Answers
I know seneraio is solved by functionality. But i write a apex code So please help me.because I am new i Salesforce Apex Coding Area.
Thaks In Advance
Please find the code below.
Trigger
Apex class
This code is perfectly running. If you are happy with this, please mark this answer.