Restrict 0 List price for sales order line with a warning message
Summary:
We have a requirement to restrict the Order from submitting when there is a 0 price at the line level.
I came across the below Oracle document with a qroovy script for the same requirement, whereas when i deployed it in system it is throwing message for all line instead for only 0 list price.
Need you advice on where the issue exist in the groovy script given.
How To Validate - Zero Price Line on Sales Orders (Doc ID 2693806.1)
Content (please ensure you mask any confidential information):
Groovy script :
import oracle.apps.scm.doo.common.extensions.ValidationException;
import oracle.apps.scm.doo.common.extensions.Message;