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

How copy with groovy script a value to a flexfield in Contract Header

edited Jun 21, 2019 2:27PM in Sales 3 comments

Content

 

As I described I have created custom fields in Contract Standard Object. 
Firstly you must enable a sandbox. The path is Application Composer -> Choose application ERP and SCM Cloud -> Standard Object -> Contract -> Fields -> Custom ->Adding Field ex. Sales Department(Choice List with lookup values: 1. Banking, 2. Enterprise Sales). 

I try to write a trigger(groovy script) when the above choice list is changed by the user to copy the value to an attribute(Attribute1) in Contract Header Descriptive Flexfield. I cannot find the groovy reference to descriptive flexfield attribute. 

Thanks 
Vassilis
 
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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