|Oracle Order Management Implementation Manual|
Part Number E13406-04
This appendix covers the following topics:
The Sales Order is modeled as a business object comprised of the following entities:
Header Sales Credits
Sales Agreement Order Header
Sales Agreement Order Lines
Line Sales Credits
Line Price Adjustments
Line Pricing Attributes
Line Adjustment Attributes
Line Adjustment Associations
Lot Serial Numbers.
Many of the attributes previously defined at the header level are now also defined at the line level. For example, Bill To is now defined at the line level. This allows for order lines on the same order to be billed to different bill-to sites. The attribute values at the header level ar used to default attribute values at the line level. See: Oracle Electronic Technical Reference Manual (eTRM)
Order Management Entities
Order types were previously used for defaulting information on orders, establishing processing controls such as invoicing, and most importantly, determining the order cycle that an order would have. Order cycles, in turn, controlled the processing flow of an order. Order cycles have been replaced with Oracle Order Management Workflow Definitions, and order types have been replaced by Order Management Transaction Types. Oracle Order Management provides seeded workflow process definitions for both orders and lines and enables you to define both order header and order line transaction types.
The new Order Line differs functionally and technically from its R11 Order Entry counterpart. It contains attributes from old SO_HEADERS, SO_ORDER_LINES, and SO_LINE_DETAILS tables, in addition to some new attributes.
Order Management offers Line level independence; each line has its own flow.
Improvements of Order Management 11i over Order Entry:
In Order Entry the line followed the same cycle as the Order Header it belonged to. Now a line follows a flow that is different from that of the Header. Each Line on an Order can follow a different flow, depending on the Workflow assignment tied to its Line Type.
In Order Entry a shipment was different from the (shipment parent) line, now every Order Line is a Shipment. The Line quintuplet (Line Number, Shipment Number, Option Number, Component Number, Service Number) is displayed as 184.108.40.206.1 on the Sales Orders form.
Ordered Quantity on the Line indicates Open quantity as opposed to the original ordered quantity. Cancellation is modeled as a decrement in the ordered quantity along with an increment in the canceled quantity. User and System defined processing constraints define the point in the Order flow, where Cancellations functionality becomes effective. That is you can define the point, where onwards you are required to provide a reason to reduce (cancel) the ordered quantity. The application records history for ordered quantity changes whenever a reason code is provided.
Many of the Header attributes are now available on the line and their values can be different from that of the Header attribute, such as price list, salesperson, payment terms, shipping and packing instructions, agreement, invoice to and so on.
Scheduled Order Lines are viewed as demand by the Advanced Planning System.
Ordering can be based on requested ship or arrival date. Delivery lead time is used to determine the schedule ship date, and it can be user specified.
When lines were partially processed in Order Entry, they reflected partial cycle states. Now an Order Line splits on partial processing. Order Management splits a line at the following activities: Ship-Confirmation, Return Receipt and Drop-ship receipt.
Order Entry did not support decimal quantities. Now decimal quantities are supported for standard items and configurations. Oracle Order Management also supports ordering, pricing and shipping in different UOMs.
Shipping tolerances are supported. The tolerance value can be defaulted and adjusted at the line level.
Order Lines can be entered using the Internal item number or the Customer Item number of one the Generic Item numbers (UPC, EAN, JAN, CLEI). Cross-reference types can be defined in Inventory and used to specify an item.
Lines can be priced based on a date different from the creation date. The pricing date is exposed enabling you to re-price based on different dates until the Line is invoiced.
Returns can be entered using Serial number information in addition to the original Order, Invoice or Purchase Order.
The OE_ORDER_LINES_ALL table now stores Shipments, Options, Included Items Lines and Configuration Item Lines.
Every line is a shipment and is identified via a line number and a shipment number. The user visible line number ties together all shipments belonging to a line. To split a shipment further use the Split Lines window. The LINE_SET_ID ties shipments from an original line. In Order Entry only a single attribute on SO_LINES_ALL stored the numbering. Depending on the kind of line, it stood for either the line number, the shipment number, the option number or the service line number. These numbers are now de-normalized in the separate column of the OE_ORDER_LINES_ALL table. Additionally, component number helps track included items under a given Line.
The Category code on the line indicates whether it is an inbound (‘RETURN') or an outbound (‘ORDER') line. It defaults from the Line Transaction Type.
Every line that is a part of the configuration, has the TOP_MODEL_LINE_ID pointing to the top Model. The Model line will have the TOP_MODEL_LINE_ID value set to itself. The LINK_TO_LINE_ID points to immediate parent for a line in a configuration. ITEM_TYPE_CODE identifies a item to be a STANDARD, MODEL, CLASS, OPTION or INCLUDED ITEM. For a subassembly (an ATO model within a PTO), the options, classes and included items under the subassembly has its ATO_LINE_ID column pointing to its ATO Model line.
Order Entry used S and S Date columns to trace Order Cycle Status. In comparison, Order Management uses Workflow to track status. Core statuses are de-normalized onto the Line: Open/Closed, Booked, Fulfilled. The FLOW_STATUS column stores the Line Flow Summary Status, and its value changes as the Line progresses in its flow. The API OE_LINE_STATUS_PUB provides information about various functional statuses including the completion of the line flow.
Order Entry used SVRID columns to manage defaulting attribute values and cascading attribute changes. Order Management uses the PL/SQL based Defaulting Framework to provide default values for records but it does not retain an audit trail of how an attribute was defaulted.
Cancellations in Order Management is flexible. A line can be partially cancelled by directly changing ordered quantity on the line. The system seeded constraints preventing cancellations for standard item line are moved further down the order processing flow to ship-confirmation or invoice interface (for no-ship flows). If needed, you can define more restrictive constraints.
Cancellations is not tracked via workflow. The canceled quantity on the line indicates whether any cancellations have been performed on the line. The canceled flag on the Order and Line indicate whether they have been fully canceled. On a full cancellation, both the Header and Line flow are forced to the close activity.
Order Management enables you to set up rules that determine when a decrement in the ordered quantity is viewed as a cancellation. A cancellation reason is required only when the canceled quantity on the line is incremented over the specified amount. A copy of the old record is stored in OE_ORDER_LINES_HISTORY whenever a reason code is provided together with a quantity change.
Order Management provides enhanced functionality with the PL/SQL based Defaulting Framework. Order attributes are defaulted based on generated PL/SQL Defaulting Rules. You can define a set of rules for each attribute on the order header or line, and you can define the conditions for when to use each rule.
Updates to records do not cause a cascading effect on existing child record. For example, changing the warehouse on the Order Header does not change the warehouse on existing Order Lines. This eliminates the need to store the rule that was used to default a value the first time around. You can use the mass change feature to update a certain value for a set of records. You can use the Mass Change feature to change the warehouse on all the lines of an Order to a different value.
The Defaulting Framework depends on the AK dictionary for object, object relationship and attribute definitions. Various objects can serve as defaulting sources; such as same record, related record, profile options, custom APIs etc. Defaulting Rules can be applied based on user defined conditions.
Fulfillment is workflow enabled and driven off fulfillment events and sets that are system or user defined. Configurations are implicitly treated as fulfillment sets by the application. The following fulfillment events are seeded:
Purchase Release Receipt
You can define your own fulfillment event activities but must configure the seeded Fulfillment activity to recognize them. You can assign an Order line to one or more fulfillment sets. A line in a fulfilment set progresses past the fulfillment activity only when all the members of the fulfillment set(s) it is a member of have been fulfilled.
Columns on the Order Line (fulfilled flag, fulfilled quantity) indicate whether a Line has been fulfilled and the quantity that has been fulfilled. Over & Under shipment can result in a fulfillment quantity that is different from the Ordered quantity. The Over & Under Shipment tolerances control whether a line is considered fulfilled in cases of over or under shipment.
Mass Change enables updating attribute values against selected record sets. You can also copy, reprice, schedule, and apply holds.
With PL/SQL based Processing Constraints Framework, Order Management provides enhanced and more flexible security. You can define constraint conditions based on various sources including Workflow Activity Statuses and custom APIs. Additionally constraints can be defined against responsibilities using both inclusion and exclusion rules.
The Framework depends on AK dictionary for object and attribute definitions. Order Management checks constraints for every update, insert and delete operation on the Sales Order object.
Order Management comes with fewer seeded and less stringent system constraints, which allows greater flexibility. You can define more restrictive constraints to better suit your business needs. Some constraints are seeded for backwards compatibility but can be deleted.
A constraint that a line cannot be deleted once the Order is booked is seeded to support upgrading customers. This line can be deleted to better suit your business requirements.
If a constraint prevents you from performing a certain action, you have the option of sending a notification to somebody who does have the authority to perform that action.
Order Management supports Ship and Arrival sets. The latter specifies which lines need to arrive together. Pick Release does not look at Ship or Arrival sets to determine what can be released. At Ship-Confirmation you are informed if your are breaking a ship set (and allowed to do so). If you partially ship lines from a Ship Set, they are automatically dropped from the Ship Set. When any of the lines from a Ship or Arrival Set is ship-confirmed the set is automatically closed.
There is no Shipment Parent entity. Every Line that is created is a shipment, and has both a Line and a Shipment Number. To break an existing Shipment Line further into multiple shipments you need to Split it. Splitting a Line creates a Line Set, with all the line records that were split from the original line pointing to the Line Set (via the line_set_id). The attributes that need to be common across such lines are stored on the Line Set (Item, Ordered Quantity UOM, Shipping tolerances). Line Sets are only created for outbound top level lines (standard item line, Kit Line, Top Model Lines).
When a Line is partially processed the application splits it. All the child entities split as well, including the line flow. The fully processed part progresses along its flow and the partially processed part awaits processing in its flow.
Partial processing at the following points triggers a Line Split:
Drop- Ship Receipt
Partial processing of configurations can result in proportional or non-proportional splits. In the latter case the application also creates a remnant set that has both processed and unprocessed lines.
Order Management also supports Fulfillment Sets. A line in a Fulfillment Set is marked Fulfilled only when the all the members of the fulfillment set(s) have been fulfilled.
Set definitions are stored in OE_SETS. Membership in a Line Set, Ship Set and Arrival sets is de-normalized in the Order Line. Since a given Order Line can be in one or more fulfillment set, fulfillment set membership is stored in OE_LINE_SETS.
Some controls that drive application processing need to be definable at an Operating Unit level. Order Management simplifies the set-up of such controls via the System Parameters entity. You need to define the following controls via the OM System Parameters form:
Item Validation Organization
Customer Relationships Enabled Flag
Order Management looks at Oracle Receivables set-up to determine your Ledger and does not require you to set the value redundantly via an OM specific profile option.
The application has an entity similar to the Order Type for the Line: the Line Type. Transaction Types stores both Order Types and Line types. Most of the Transaction Type attributes are common to the two types. However there are some controls that are available only at the Header level (e.g.: Order Numbering controls) and some only at the Line level. For example, a control that dictates whether a Line is sourced internally or externally. The category code on the Order Transaction type (ORDER, RETURN, MIXED) lets you control whether you want to mix outbound and inbound lines on a given Order.
Transaction Types also determines the workflow that the Order Header or Line follows. Header workflow is assigned to an Order type and a Line workflow to an Order Type, Line Type and Item type combination. The same order can contain lines with different line types following different flows.
Relationship between orders, lines, order types, line types, and workflow processes
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.