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
Ankita LAnkita L 

Updating a Billing Account on Order should update the Billing Account on Order Products

Hi guys,
need to write apex class to update billing Account field on order object. then it should update the Billing account field on orderproduct. 
Need solution. New to it.

Thanks in advance
 
ShirishaShirisha (Salesforce Developers) 

Hi Ankita,

Greetings!

If you are new to the apex code then you can actually use the process builder or flow to update the field.However,you can find the sample code in the below thread and make changes according to your requirement.

https://developer.salesforce.com/forums/?id=906F0000000MK3DIAW

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri