Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Error generated when saving a new order management via script

edited May 12, 2019 10:08AM in Order Management 1 comment

Summary

When entering a script that lets the system add a value to the the field ShipSetName and saving the record an error is generated

Content

Hello all,

Using the task Manage Order Management Extensions task I entered the below script:

setAttribute("ShipSetName", ItemNumber);

When I create a new order and pressing save, the following error is generated:

An error occurred when running extension Order_Management, during event On Save: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: groovy.lang.MissingPropertyException, msg=No such property: ItemNumber for class: ExID300000021003189__3. (DOO-2685874)

I am going through the scripts found in Doc ID 2428750.1 but since I am new to scripting I have little knowledge of the content since my knowledge in scripting is basic. Is my script entered above correct? 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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