Create contract delivery scheduled lines

The OMPCreateDeliveryScheduledLinesAgent is a time-triggered transaction agent in Sterling™ Order Management System Software that automates the creation of delivery scheduled lines for contract order lines based on the contract order line schedules.

The agent processes each defined contract order line schedule. It creates one or more delivery scheduled lines based on the recurrence plan that is defined against the specific contract order line schedule and the defined lookahead window. The scope of the agent is non-enterprise and processes all contract orders across the system. For more information, see Contract order delivery scheduled lines.

Function of the agent

Each delivery scheduled line includes an order date that is back-calculated from the requested delivery date by using a safety buffer to accommodate lead and processing times.

The following key configuration rules drive the agent behavior:
Table 1. Key configuration rules
Rule Name Description Default value Scope
NUM_DAYS_IN_ADVANCE_TO_CREATE_DSL Days in advance to create delivery scheduled lines. 30 Enterprise or seller
NUM_DAYS_TO_AVOID_DSL_CREATION delivery scheduled lines creation blackout window from the current date. 10 Enterprise or seller
SAFE_DAYS_TO_FULFILL_AN_ORDER Minimum gap between order date and delivery date. 7 Enterprise or seller

Agent attributes

The following attributes are used for the time-triggered transaction:
Table 2. Agent attributes
Property Value
Base Transaction ID CREATE_DLY_SCHED_LINES
Base Document Type Contract Order
Base Process Type Contract Order Fulfillment
Abstract Transaction No
APIs Called None

Criteria parameters

The following table describes the criteria parameters for the time-triggered transaction:

Table 3. Time-triggered transaction criteria parameters
Parameter Description
Action This parameter triggers the transaction. The default value is Get.
Number of records to buffer Optional. Indicates the number of records to retrieve and process at one time. If left blank or specified as 0 (zero), it defaults to 5000.
Colony Id If the colony ID is passed without the enterprise code, the agent is triggered for all enterprises that are configured in that colony.

Statistics tracked

None

Pending job count

None

Events raised

None