You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Copy Opportunity using Groovy

Received Response
19
Views
1
Comments
edited Oct 22, 2020 9:16PM in Sales 1 comment

Summary

Copy Opportunity using Groovy

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!