Results for “delete_mark”
30 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
SY_PURG_MST_CRIT is a table owned by the GMA schema within Oracle E-Business Suite, belonging to the Process Manufacturing Systems product family (GMA). It functions as a child table to SY_PURG_MST, storing the individual criteria rows that define the scope of an OPM Purge and Archive run. Each record associates a specific criterion tag and value with a parent Purge ID, allowing the purge engine to determine which production, inventory, or quality records qualify for archival or deletion.
From a dimensional modeling perspective, the heuristic Data Vault classification mined from the foreign key structure is link. This classification should be treated as a modeling suggestion rather than a documented fact. The table behaves as a link because it bridges the Purge master record (SY_PURG_MST) with another referenced entity (SY_TEXT_HDR via TEXT_CODE), while carrying descriptive attributes such as CRIT_VALUE and TRANS_CNT that describe the relationship rather than a standalone business entity.
Key Information Stored
The primary key SY_PURG_MST_CRIT_PK is a composite surrogate covering PURGE_ID and CRIT_TAG, meaning uniqueness is enforced only in combination. The most significant columns are:
- PURGE_ID — Foreign key to SY_PURG_MST; identifies the parent purge/archive definition this criterion belongs to.
- CRIT_TAG — The criterion identifier or tag name; part of the composite primary key.
- CRIT_VALUE — The value entered against the criterion tag, defining the filter condition for the purge run.
- TEXT_CODE — Foreign key to SY_TEXT_HDR, linking the criterion to extended descriptive text.
- TRANS_CNT — Count of transactions or records affected by the criterion, supporting audit and throughput reporting.
- DELETE_MARK — Standard soft-delete/active flag used throughout OPM tables.
- CREATION_DATE / CREATED_BY — Audit columns capturing who defined the criterion and when.
- LAST_UPDATE_DATE / LAST_UPDATED_BY / LAST_UPDATE_LOGIN — Audit columns capturing the most recent modification and session context.
The business-key candidate derived from the unique index is (PURGE_ID, CRIT_TAG), which doubles as the primary key in this case. No separate surrogate sequence column is documented.
Common Use Cases and Queries
Typical usage centers on reviewing and troubleshooting purge definitions before executing an archive job. Common scenarios include verifying which criteria are attached to a purge ID, extracting filter values for reconciliation, and reporting criteria changes over time.
- List all criteria for a given purge:
SELECT crit_tag, crit_value, trans_cnt FROM gma.sy_purg_mst_crit WHERE purge_id = :purge_id AND delete_mark = 0;
- Join to the master to summarize purge scope:
SELECT m.purge_id, m.description, c.crit_tag, c.crit_value FROM gma.sy_purg_mst m, gma.sy_purg_mst_crit c WHERE m.purge_id = c.purge_id;
- Audit recent criterion changes:
SELECT crit_tag, crit_value, last_updated_by, last_update_date FROM gma.sy_purg_mst_crit WHERE purge_id = :purge_id ORDER BY last_update_date DESC;
Reporting typically focuses on mapping criteria to record counts (TRANS_CNT) to estimate archive volume prior to execution.
Related Objects
- SY_PURG_MST — Parent table; joined on SY_PURG_MST_CRIT.PURGE_ID = SY_PURG_MST.PURGE_ID. Holds the purge definition header.
- SY_TEXT_HDR — Referenced via SY_PURG_MST_CRIT.TEXT_CODE = SY_TEXT_HDR.TEXT_CODE. Supplies extended descriptive text for criteria.
- GMA purge/archive concurrent programs — Consume this table to resolve filter criteria at runtime.
- SY_PURG_MST_CRIT_PK index — Enforces uniqueness on (PURGE_ID, CRIT_TAG).
Because the metadata documents only two outbound foreign keys, the dependency set is intentionally narrow: SY_PURG_MST and SY_TEXT_HDR are the principal related objects, with the purge engine acting as the primary consumer.
-
OPM Purge and Archive table used to store the criteria entered specific to a Purge ID.
-
Oracle Process Manufacturing Document master. This table stores document definitions
-
Geographic regions.
-
Designates the Action to be performed by OPM Purge and Archive on a table by table basis.
-
The Reason Code table is used to store Reason Code definitions which provide information on the increase or decrease in inventory. Reason codes are used to flag transactions and attach reasons to them.
-
View: SY_REAS_CDS_VL 12.1.1
MLS enabled view of OPM Reason Codes.
APPS.SY_REAS_CDS_VL·↳ SY_REAS_CDS_B·↳ SY_REAS_CDS_TL·Explore GMA module →
-
Geographic regions.
-
Designates the Action to be performed by OPM Purge and Archive on a table by table basis.
-
View: SY_UOMS_TYP_V 12.2.2
View of unit of measure types
APPS.SY_UOMS_TYP_V·↳ MTL_UNITS_OF_MEASURE·↳ MTL_UOM_CLASSES·Explore GMA module →
-
OPM Purge and Archive table used to store the criteria entered specific to a Purge ID.
-
View: SY_UOMS_TYP_V 12.1.1
View of unit of measure types
APPS.SY_UOMS_TYP_V·↳ MTL_UNITS_OF_MEASURE·↳ MTL_UOM_CLASSES·Explore GMA module →
-
Oracle Process Manufacturing Document master. This table stores document definitions
-
The Reason Code table is used to store Reason Code definitions which provide information on the increase or decrease in inventory. Reason codes are used to flag transactions and attach reasons to them.
-
View: SY_UOMS_MST_V 12.2.2
View of unit of measure master
APPS.SY_UOMS_MST_V·↳ MTL_UNITS_OF_MEASURE·↳ MTL_UOM_CONVERSIONS·Explore GMA module →
-
View: SY_UOMS_MST_V 12.1.1
View of unit of measure master
APPS.SY_UOMS_MST_V·↳ MTL_UNITS_OF_MEASURE·↳ MTL_UOM_CONVERSIONS·Explore GMA module →
-
Document sequencing by organization.
-
OPM Purge and Archive definitions are stored in this table
-
OPM Purge and Archive definitions are stored in this table
-
View: SY_REAS_CDS_VL 12.2.2
MLS enabled view of OPM Reason Codes.
APPS.SY_REAS_CDS_VL·↳ SY_REAS_CDS_B·↳ SY_REAS_CDS_TL·Explore GMA module →
-
Document sequencing by organization.
-
Stores the Purge Criteria tags. These criteria are used to determine what rows will be archived and purged.
-
Stores the Purge Criteria tags. These criteria are used to determine what rows will be archived and purged.
-
OPM Address master. Table which stores addresses for all Oracle Process
-
OPM Address master. Table which stores addresses for all Oracle Process
-
Table storing data of all OPM Archives/Purges that have been run
-
Table storing data of all OPM Archives/Purges that have been run
-
View: SY_ORGN_MST_VL 12.1.1
APPS.SY_ORGN_MST_VL·↳ SY_ORGN_MST_B·↳ SY_ORGN_MST_TL·Explore GMA module →
-
View: SY_ORGN_MST_VL 12.2.2
APPS.SY_ORGN_MST_VL·↳ SY_ORGN_MST_B·↳ SY_ORGN_MST_TL·Explore GMA module →
-
Organization code master Base Table.
-
Organization code master Base Table.