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
Marcia Hooper 1Marcia Hooper 1 

How do I relate a custom field on the opportunity and display it on the order also

I created a field on the opportunity but I want to also see that same field on the order.  Do I create a look up relationship?
AnkaiahAnkaiah (Salesforce Developers) 
Hi Marcia,

1.create lookup relation field from order to opportunity. 
2. create same field in order.
3. when you link the opportunity to order record then populate opp field in order record using trigger or flow.

If this helps, Please mark it as best answer.

Thanks!!
 
Marcia Hooper 1Marcia Hooper 1
Thank you.  we are trying to avoid creating a flow or trigger in this instant.  Is that the only way?