Skip Credit check during revision only
Summary:
We have the below mentioned OM extension to skip credit check only when the Revision 1 or previous revisions already the credit check is approved.
However, it is not working for some orders.
Can you please review and suggest why this is not working in all cases.
Content (please ensure you mask any confidential information):
// ---------------------------------------------------------------------
// OM Extension "on Submit" to Set Pre Check Check Flag
// ---------------------------------------------------------------------
import oracle.apps.scm.doo.common.extensions.ValidationException;
import oracle.apps.scm.doo.common.extensions.Message;
import oracle.apps.scm.doo.common.extensions.HoldResult;
//List < Message > messages = new ArrayList < Message > ();
if (isFirstDraftOrder()) {
// Make sure the order is in draft status, and not already submitted to fulfillment.