Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Groovy - Copy Product custom field value to Opportunity revenue field — Cloud Customer Connect
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

Groovy - Copy Product custom field value to Opportunity revenue field

Received Response
1
Views
4
Comments
in Sales 4 comments

Summary:

How to copy a Product custom field's value to an Opportunity Revenue line item field?

Content (required):

Hi,

I have a custom field ABC on Product table. When the user adds a revenue line on an opportunity and then selects a Product, I want the value in ABC field for the selected product to be copied in a, say, XYZ field on Opportunity Revenue table.

I have made the field XYZ visible on the Opportunity products table. I tried writing a groovy script on Opportunity Revenue Create trigger but it executes before I select a product. I also tried adding a field trigger on InventoryItemID field but this doesn't seem to trigger when I select a product.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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