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

Sales order line EFF value is getting disappeared after cancelling the lines.

edited Dec 5, 2024 9:30AM in Order Management 2 comments

Hi All,

We have line-level EFF fields, Reason Code1 and Reason Code2, in the sales order lines with predefined list of values that need to be selected when changing the ordered quantity in revision orders. Currently, when the ordered quantity is updated in the revision order lines and the user attempts to save, an error message is triggered through groovy extension, prompting the user to enter values in the line-level EFF fields. This behavior is working as expected.

However, while canceling a line, the ordered quantity changes to 0 as per the standard functionality in the sales order. During this process, when the user saves, the Groovy extension generates an error prompting the user to enter values in the line-level EFF fields due to the change in ordered quantity as expected. The user then selects the appropriate values from the list of values for the Reason Code EFF1 and submits the order. After the line is canceled, we noticed that the Reason Code EFF values disappear from the UI when viewing the sales order.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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