Activity Demand Purge

This time-triggered transaction purges all the Satisfied Activity Demand records for a period greater than the retention days specified in the Activity Demand Purge criteria.

Attributes

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

Table 1. Activity Demand Purge Attributes
Attribute Value
Base Transaction ID ACTIVITYDEMANDPRG
Base Document Type General
Base Process Type WMS Putaway
Abstract Transaction No
APIs Called None
User Exits Called YFSBeforePurgeUE

Criteria Parameters

The following are the criteria parameters for this transaction:

Table 2. Activity Demand Purge 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.
EnterpriseCode Optional. Enterprise for which the Activity Demand Purge needs to be run. If not passed, then all enterprises are monitored.
Node Optional. Node for which the Activity Demand Purge needs to be run. If not passed, then all nodes are monitored.
AgentCriteriaGroup Optional. Used to classify nodes. This value can be accepted by WMS time-triggered transactions that 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 Applications > Sterling Application Platform > System Administration > Agent Criteria Groups.

PurgeCode Required. Cannot be modified. Used for internal calculations, such as determining retention days. Corresponds with the PurgeCode used in the Business Rules Purge Criteria.
Live Optional. Mode in which to run. Defaults to N.
  • Y - Production mode. Deletes records from regular tables.
  • N - Test mode.
ColonyID Required in a multischema deployment where the YFS_ACTIVITY_DEMAND table may exist in multiple schemas. Runs the agent for the colony.

Statistics Tracked

The following statistics are tracked for this transaction:

Table 3. Activity Demand Purge Statistics
Statistic Name Description
NumActivityDemandsPurged Number of Activity Demands purged.

Pending Job Count

For this transaction the pending job count is the number of records that can be purged from the YFS_ACTIVITY_DEMAND table.

Events Raised

None.

Tables Purged

YFS_ACTIVITY_DEMAND