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