Collect shipment statistics

Collect Shipment Statistics is a time-triggered transaction which can be invoked to process the shipments, and generate information required for the Daily Shipment Report.

Attributes

The following are the attributes for this time-triggered transaction:

Table 1. Collect shipment statistics attributes
Attribute Value
Transaction Name Collect Shipment Statistics
Transaction ID COLLECT_STATISTICS
Base Document Type Order
Base Process Type Order Delivery
Abstract Transaction No
APIs Called None
User Exits Called None

Criteria parameters

The following are the criteria parameters for this transaction:

Table 2. Collect shipment statistics criteria parameters
Parameter Description
Action Required. Triggers the transaction. If left blank, it defaults to Get, the only valid value.
Number of Records To Buffer Optional. Number of records to retrieve and process at one time. If left blank or specified as 0 (zero), it defaults to 5000.
Node Required. The ship node for which records are being processed.
AgentCriteriaGroup Optional. Used to classify nodes. This value can be accepted by Sterling Selling and Fulfillment Foundation time-triggered transactions that only perform their tasks on the nodes with a matching node transactional velocity value.

Valid values are: LOW, HIGH, and any additional values defined by the Hub from Application Platform > System Administration > Agent Criteria Groups.

ColonyID Required in a multischema deployment where a table may exist in multiple schemas. Runs the agent for the colony.

Statistics tracked

The following statistics are tracked for this transaction:

Table 3. Statistics for collect shipment statistics
Statistic Name Description
NumDaysStatisticsCollected Number of days for which shipment statistics have been collected.

Pending job count

For this transaction the pending job count is the number of days for which shipment statistics needs to be collected. The number of days is calculated as the difference (in days) between the current date and the last date when shipment statistics was collected.

Events raised

The following events are raised by this time-triggered transaction:

Table 4. Events raised by the collect shipment statistics transaction
Transaction/Event Data Published Template Support?
ON_SUCCESS

YDM_COLLECT_STATISTICS.ON_
SUCCESS.xml

No