Purge catalog mass audits
This purge removes old audit records from the YFS_CATALOG_MASS_AUDIT table. This table contains data about changes to the catalog due to assignment of attributes and attribute values to categories and items. It also contains information about inherited attributes and attribute values. The purge transaction finds mass audit records that have not been modified in a specified number of days and removes those records from the database.
Attributes
The following are the attributes for this time-triggered transaction:
| Attribute | Value |
|---|---|
| Base Transaction ID | CATALOG_MASS_AUDIT_PURGE |
| Base Document Type | General |
| Base Process Type | General |
| Abstract Transaction | No |
| APIs Called | None |
| User Exits Called | YFSBeforePurgeUE |
Criteria parameters
The following are the criteria parameters for this transaction:
| 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. |
| Live | Optional. Mode in which to run. Valid values are:
|
| PurgeCode | Required. Cannot be modified. Used for internal calculations, such as determining retention days. Corresponds with the PurgeCode used in Business Rules Purge Criteria. |
| ColonyID | Required in a sharded deployment where the YFS_CATALOG_MASS_AUDIT table may exist in multiple schemas. Runs the agent for the colony. |
Statistics tracked
The following statistics are tracked for this transaction:
| Statistic Name | Description |
|---|---|
| NumCatalogMassAuditsPurged | Number of mass audit records purged. |
Pending job count
For this transaction the pending job count is the total number of records that can be purged from the YFS_CATALOG_MASS_AUDIT table.
Events raised
None.
Tables purged
The YFS_CATALOG_MASS_AUDIT table is purged when MODIFYTS < (CurrentDate - LeadDays)