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
Del SantosDel Santos 

Update a custom LOOKUP field in opportunity detail page on opportunity product select

Hi!

Can someone give me a sample apex code to update a custom LOOKUP field Product__custom in my opportunity detail page.

When i select an opportunity product, i want that product to reflect in my custom lookup field also.


TIA!