I need to populate some picklist value on an Opportunity
Trigger.
There are two pickList : 'PickList1
' and 'PickList2
' . Both of them are on same Opportunity
Object, 2nd one is the dependent on the earlier.
When I populate PickList1 on the trigger, how can I get the relevent value of 'PickList2
' ?
I know by using If statement and by using hard code Picklist value we can implement our logic. But thing is we don't want to hard code the value of Picklist.
Is there any solution?