Copy Opportunity using Groovy
Summary
Copy Opportunity using GroovyContent
Hi
Requirement is to perform opportunity copy automatically once it has scheduled revenue lines.
I'm using webservice call in groovy to perform this activity.
The issue is 'Copy Opportunity' action either it is from UI or using webservice, is taking the data committed in database. Its not considering any changes or newly added revenue lines on the opportunity
Ive written after changes posted to DB trigger.
Example: If I create a new opp, add revenue lines and schedules and click on Save, only the header details are getting copied using groovy. Reason is only header details is saved at this point in database.
Tagged:
0