Page 2 of 6The scope of this document is to give an overview about setting up the
to restrict the actions on Sales Order based onspecified conditions based on the business needs. This can be dubbed as a very powerfulfeature supported by Oracle R12. We can devise our own string of conditionality on theSales Order Header and Line data to restrict the actions performed by user/ system.
What are Processing Constraint & Validation Templates?
Processing constraints is a common security framework in Order Management where wecan define and build security rules around sales entities (Line, header , line paymentsetc).Using processing constraints in Order Management we can define the conditions andstatus at which an update can be made to an entity. For example a line cannot becancelled after it has been shipped. This can be seeded as a system constraint to preventdata corruptions. Similarly we can define constraints that suit our business practices andprevent changes. These constraints can be defined at the entity level and for eachattribute.When we attempt to make changes to an order, Order Management validates the changesagainst processing constraints enabled. In addition, Order Management validates theorder changes based on the user responsibility.
The templates are absolutely imperative for any Processing constraint to work. We defineour own business specific scenarios in the validation templates that subsequently guidesprocessing constraints to allow/ disallow a specific action on the Order Entities. Thevalidation extends a great degree of flexibility to place our logic using Custom/ Seededdatabase package, Workflow, Table column values.While defining the Validation Template, we have three Options1.Template based on API2.Template based on Workflow3.Template based on Table
Requirement & Problems Faced
After our client upgraded their system on R12.1.3 from R11.5.10, they were running intoa grave problem that the Cancelled quantity was not getting updated on the InternalRequisition Lines in the scenarios where the partial Shipment lines were in transit.Though Oracle had logged a bug for the issue still, the problem reported as mentionedabove could not be fixed through the patch. I had proposed to the client to prevent thePartial Cancellation of the lines where the Shipments were in transit. The problem
encountered was pertaining to “
Internal Requisition- Internal Sales order