Professional Documents
Culture Documents
Credit Check Extensions: 1. Login With SCMOPERATIONS/Welcome and Navigate To Setup and Maintenance
Credit Check Extensions: 1. Login With SCMOPERATIONS/Welcome and Navigate To Setup and Maintenance
Extension 1:
Extension Name: Skip Credit Check for Revision 1 (This will not check the CC hold on original
lines)
Description:
1. Checks if the processing order is a change or original, if change then execute step 2
2. Check whether the Credit Management is enabled or not. If not then default
PreCreditCheckedFlag to true.
Definition:
import oracle.apps.scm.doo.common.extensions.ValidationException;
if(refHeaderId != null)
def vc = lookupVO.createViewCriteria();
vcrow.setAttribute("EnabledFlag", 'Y');
vcrow.setAttribute("LookupCode", 'AR_CREDIT_MGMT');
rowset.reset();
if(rowset.hasNext()){
isCCMgmtEnabled = true;
if(!isCCMgmtEnabled)
header.setAttribute("PreCreditCheckedFlag", "Y");
Extension 2:
Name: Skip Credit Check for Revision 2 (This will check the CC hold on original lines)
Description:
1. Checks if the processing order is a change or original, if change then execute step 2
2. Check if there any lines in original order are on credit check hold if no lines are on credit check
hold then go to step 3 else exit.
3. Check whether the Credit Management is enabled or not. If not then default
PreCreditCheckedFlag to true
Definition:
import oracle.apps.scm.doo.common.extensions.ValidationException;
if(refHeaderId != null)
def holdInstanceVO
=context.getViewObject("oracle.apps.scm.doo.publicView.analytics.HoldInstancePVO");
holdInstanceVrow.setAttribute("HeaderHeaderId", refHeaderId);
holdInstanceVrow.setAttribute("FulfillLineOnHold", 'Y');
holdInstanceRowset.reset();
while(holdInstanceRowset.hasNext())
if("DOO_CREDIT_CHECK".equalsIgnoreCase(holdCode))
ccHoldFoundOnOriginalLines = true;
break;
if(!ccHoldFoundOnOriginalLines)
def lookupVO
=context.getViewObject("oracle.apps.financials.assets.shared.publicView.LookupPVO");
def vc = lookupVO.createViewCriteria();
vcrow.setAttribute("EnabledFlag", 'Y');
vcrow.setAttribute("LookupCode", 'AR_CREDIT_MGMT');
rowset.reset();
if(rowset.hasNext())
isCCMgmtEnabled = true;
if(!isCCMgmtEnabled)
header.setAttribute("PreCreditCheckedFlag", "Y");
}
Enable or Disable AR Credit Management feature: