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
noreasternoreaster 

Sales Stage Id Integration

I have a requirement to send the sales stage id with my opportunity outbound message.  Any ideas on how I can get this field exposed on the Oppty object?  Its not available via a 'Formula' field thru a lookup.  Is it possible to get this populated to a custom field on the oppty via  trigger?  Thanks

sfdcfoxsfdcfox

Yes, a trigger can query opportunity status values and assign the ID to a custom field.