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
Kevin Light 7Kevin Light 7 

Opportunity Name on Asset

Looking for the best way to populate the Opportunity Name on the Asset.  I have a lookup field on Asset (Opportunity__c) that I would like to auto-populate.  Here is the code a developer wrote for creating Assets when Opportunity is Closed Won

User-added image