You need to sign in to do that
Don't have an account?
Nevin O'Regan 3
Update Approval Status Field based on OpportunityLineItem Sales Price
I have an Approval_Status__c field on the Opportunity. When a related OpportunityLineItem.UnitPrice is below the List Price I need this to update to 'Needs Approval'. If the Unit Price is above the List Price then the Approval_Status__c field should be null.
Can anyone give me some help with wrighting a trigger for this?
Can anyone give me some help with wrighting a trigger for this?
Here is the code for the trigger. Hope this helps.
Greetings to you!
Trigger : -
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha.