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

The OM Extension to set PreCreditCheck Attribute not working on the revised order

Summary:

The OM extension to set PreCreditCheck attribute for revised order is not working.

Content (please ensure you mask any confidential information):

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

import oracle.apps.scm.doo.common.extensions.ValidationException;
import oracle.apps.scm.doo.common.extensions.Message;

//Check for Business Unit (no need both mexico and us follow same logic as part of P2)

def reqBU = header.getAttribute("RequestingBusinessUnit");
def orderType = header.getAttribute("TransactionTypeCode");
BigDecimal refHeaderId = header.getAttribute("ReferenceHeaderId");
def cvn = header.getAttribute("ChangeVersionNumber");

if(orderType?.equalsIgnoreCase("Service Order"))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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