Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

OM Extension to Skip the Credit check based on Order type

Summary:

For our client the Credit check should not be enabled for a particular Ordertype.

I used the Skip credit check for Revision order code as a reference and tried by inserting the Order type.

But still for the Order type the order is going for Credit check .


Content (please ensure you mask any confidential information):

Below is the Om extension used

import oracle.apps.scm.doo.common.extensions.ValidationException;Boolean isCCMgmtEnabled = false;
BigDecimal refHeaderId = header.getAttribute("ReferenceHeaderId");
String orderTypeCode = header.getAttribute("TransactionTypeCode");
if(refHeaderId != null)
{
def lookupVO =context.getViewObject("oracle.apps.financials.assets.shared.publicView.LookupPVO");
def vc = lookupVO.createViewCriteria();

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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