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 to check if a attribute is changed on line in OM extension scripts?

edited Apr 5, 2025 4:23PM in Order Management 2 comments

Summary:

Is there any OOTB method that can be used to find out if "RequestShipDate" date field value was modified on line for a Revised SO in OM Extensions.

Content (please ensure you mask any confidential information):

Hi Experts,

We have business logic to be added to default the "RequestShipDate" on Sales Order lines. If the user change the RequestShipDate on line level can we able to detect the change.

I have tried using the line.isAttributeChanged("RequestedShipDate") to detect the change on the field unfortunately this is not allowed. The script is throwing an Error.

I have considered using Modifiedflag attribute which can detect if the line is changed or updated but the entire use case still getting failed.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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