Discussions
Need to trigger Opp Workflow from User Script
I have a Workflow on the Opportunity Record for approvals and it works fine in a direct GUI entry environment.
However, I have a User Script on the Estimate record which updates data on the Opportunity when the Quote is set to Primary Quote.
The User Script successfully passes all of the data from the Quote to the Opportunity.
The problem is that I need the Opportunity Workflow to execute when the Opportunity is update via User Script to send appropriate notifications.
The Opportunity is updated in the script using nlapiSubmitRecord.
Thanks.