OM Extension attempted to add a new order line to a sales order during the {EVENT} event.
Summary: I have a requirement to develop OM Extension to apply a header hold once the credit check hold is released.
Content (please ensure you mask any confidential information):
I have written the below groovy script to try the same.
import oracle.apps.scm.doo.common.extensions.ValidationException;
import oracle.apps.scm.doo.common.extensions.Message;
List < Message > messages = new ArrayList < Message > ();
List < Message > errMessages = new ArrayList < Message > ();
//define log and error variables
def logFlag = "Y"; //set the value to N whle deploying to higher instances
def errorFlag = "N";
//define constant variables
def commonLookupPVOName = "oracle.apps.fnd.applcore.lookups.model.publicView.CommonLookupPVO";
0