YFSInventoryOwnershipAudit purge

This transaction purges all the records from YFS_INV_OWN_TRANSFER_RCD prior to the lead days specified in criteria parameters.

Attributes

Following are the attributes for this time-triggered transaction:

Table 1. YFSInventoryOwnership purge attributes
Attribute Value
Base Transaction ID PURGE_INV_TRANSFR_RECORD
Base Document Type General
Base Process Type General
Abstract Transaction No
APIs Called None
User Exits Called None

Criteria parameters

Following are the criteria parameters for this transaction:

Table 2. YFSInventoryOwnership purge criteria parameters
Parameter Description
Action Required. Triggers the transaction. If left blank, this value defaults to Get, which is 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), this value defaults to 5000.
EnterpriseCode Optional. The inventory organization for which the YFSInventoryOwnership Audit Purge needs to run. If not passed, all the enterprises are monitored.
Live Optional. Mode in which to run. Valid values are:
  • Y - Default value. Production mode. Deletes records from the regular tables.
  • N - Test mode.
PurgeCode Required. Cannot be modified. Used for internal calculations, such as determining retention days. Corresponds to the PurgeCode used in the Business Rules Purge Criteria.
Lead Days Number of days before the present date, the agent will purge the records.
ColonyID Required in a sharded deployment where the YFS_INV_OWN_TRANSFER_RCD table may exist in multiple schemas. Runs the agent for the colony.

Statistics Tracked

None.

Pending Job Count

None.

Tables Purged

YFS_INV_OWN_TRANSFER_RCD