Search Results cst_ap_variance_headers
Overview
CST_AP_VARIANCE_HEADERS is a transaction table owned by the BOM schema in Oracle E-Business Suite, documented as valid in release 12.1.1 and 12.2.2. It stores the variance information calculated for a purchase order distribution, aggregated at the header level for each batch run of the payables variance process. In the procure-to-pay and cost management flow, Accounts Payable invoice price differences against purchase order receipts are captured and posted as cost variances; this table represents the persistent header record of that activity, with the detailed breakdown held in the companion lines table.
Because the table has a surrogate primary key and foreign keys pointing outward to a batch parent and to cost groups, the mined Data Vault classification is satellite-leaning. Under that heuristic, CST_AP_VARIANCE_HEADERS behaves less like an enterprise hub and more like a descriptive satellite attached to the CST_AP_VARIANCE_BATCHES business key, carrying measurable variance amounts and dimensional context.
Key Information Stored
The primary key is the surrogate column VARIANCE_HEADER_ID, enforced by the unique index CST_AP_VARIANCE_HEADERS_PK and duplicated in the alternate unique index CST_AP_VARIANCE_HEADERS_U1. Business-key candidates are documented through CST_AP_VARIANCE_HEADERS_U2, a composite unique index over BATCH_ID, PO_DISTRIBUTION_ID, and COST_GROUP_ID, which guarantees one header row per distribution per cost group within a batch.
- VARIANCE_HEADER_ID – surrogate primary key.
- PO_DISTRIBUTION_ID – the purchase order distribution to which the variance belongs; part of the composite business key.
- COST_GROUP_ID – foreign key to CST_COST_GROUPS, identifying the cost group into which the variance is classified.
- BATCH_ID – foreign key to CST_AP_VARIANCE_BATCHES, linking the header to the specific variance batch run.
- VAR_AMOUNT – the calculated variance amount for the distribution and cost group.
- ORGANIZATION_ID – inventory organization in which the variance is recognized.
- INVENTORY_ITEM_ID – the item associated with the purchase order distribution.
- TRANSACTION_DATE – effective date of the underlying variance transaction.
- Audit columns – CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, plus the concurrent program context REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, and PROGRAM_UPDATE_DATE.
Common Use Cases and Queries
Typical reporting reconciles purchase price variances by batch, organization, item, or cost group, and audits specific batch runs for completeness.
- Variance by batch:
SELECT b.batch_id, SUM(h.var_amount) FROM cst_ap_variance_headers h JOIN cst_ap_variance_batches b ON h.batch_id = b.batch_id GROUP BY b.batch_id; - Item-level variance: filter on ORGANIZATION_ID and INVENTORY_ITEM_ID and join CST_AP_VARIANCE_LINES on VARIANCE_HEADER_ID for the line-level detail.
- Cost group analysis: join COST_GROUP_ID to CST_COST_GROUPS to attribute variances to material, overhead, or resource buckets.
- Concurrent request tracing: use REQUEST_ID and PROGRAM_ID to tie a set of headers back to the originating batch program run.
Related Objects
- CST_AP_VARIANCE_BATCHES – parent batch table; join on CST_AP_VARIANCE_HEADERS.BATCH_ID = CST_AP_VARIANCE_BATCHES.BATCH_ID.
- CST_AP_VARIANCE_LINES – child detail table; join on CST_AP_VARIANCE_LINES.VARIANCE_HEADER_ID = CST_AP_VARIANCE_HEADERS.VARIANCE_HEADER_ID.
- CST_COST_GROUPS – referenced by COST_GROUP_ID for variance classification.
- CST_AP_VARIANCE_HEADERS_EFC – EFC/extension table referencing VARIANCE_HEADER_ID.
- CST_AP_VARIANCE_LINES_EFC – line-level EFC table referencing VARIANCE_HEADER_ID.
-
Table: CST_AP_VARIANCE_HEADERS
12.1.1
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_HEADERS, object_name:CST_AP_VARIANCE_HEADERS, status:VALID, product: BOM - Bills of Material , description: Stores the variance information for a purchase order distribution for each batch run , implementation_dba_data: BOM.CST_AP_VARIANCE_HEADERS ,
-
Table: CST_AP_VARIANCE_HEADERS
12.2.2
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_HEADERS, object_name:CST_AP_VARIANCE_HEADERS, status:VALID, product: BOM - Bills of Material , description: Stores the variance information for a purchase order distribution for each batch run , implementation_dba_data: BOM.CST_AP_VARIANCE_HEADERS ,
-
VIEW: BOM.CST_AP_VARIANCE_HEADERS#
12.2.2
owner:BOM, object_type:VIEW, object_name:CST_AP_VARIANCE_HEADERS#, status:VALID,
-
SYNONYM: APPS.CST_AP_VARIANCE_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CST_AP_VARIANCE_HEADERS, status:VALID,
-
VIEW: BOM.CST_AP_VARIANCE_HEADERS#
12.2.2
-
SYNONYM: APPS.CST_AP_VARIANCE_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CST_AP_VARIANCE_HEADERS, status:VALID,
-
VIEW: APPS.CST_AP_VARIANCE_V
12.2.2
-
Table: CST_AP_VARIANCE_BATCHES
12.2.2
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_BATCHES, object_name:CST_AP_VARIANCE_BATCHES, status:VALID, product: BOM - Bills of Material , description: Stores the parameters for each Invoice Variance Transfer Program run , implementation_dba_data: BOM.CST_AP_VARIANCE_BATCHES ,
-
Table: CST_AP_VARIANCE_LINES
12.1.1
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_LINES, object_name:CST_AP_VARIANCE_LINES, status:VALID, product: BOM - Bills of Material , description: Stores the variance information detail for a purchase order distribution and each batch run , implementation_dba_data: BOM.CST_AP_VARIANCE_LINES ,
-
TABLE: BOM.CST_AP_VARIANCE_HEADERS
12.2.2
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_HEADERS, object_name:CST_AP_VARIANCE_HEADERS, status:VALID,
-
VIEW: APPS.CST_AP_VARIANCE_V
12.1.1
-
Table: CST_AP_VARIANCE_BATCHES
12.1.1
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_BATCHES, object_name:CST_AP_VARIANCE_BATCHES, status:VALID, product: BOM - Bills of Material , description: Stores the parameters for each Invoice Variance Transfer Program run , implementation_dba_data: BOM.CST_AP_VARIANCE_BATCHES ,
-
Table: CST_AP_VARIANCE_LINES
12.2.2
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_LINES, object_name:CST_AP_VARIANCE_LINES, status:VALID, product: BOM - Bills of Material , description: Stores the variance information detail for a purchase order distribution and each batch run , implementation_dba_data: BOM.CST_AP_VARIANCE_LINES ,
-
TABLE: BOM.CST_AP_VARIANCE_HEADERS
12.1.1
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_HEADERS, object_name:CST_AP_VARIANCE_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.CSTPPIPV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSTPPIPV, status:VALID,
-
TABLE: BOM.CST_AP_VARIANCE_HEADERS_EFC
12.2.2
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_HEADERS_EFC, object_name:CST_AP_VARIANCE_HEADERS_EFC, status:VALID,
-
PACKAGE BODY: APPS.BOM_CSTRIVTW_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BOM_CSTRIVTW_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.BOM_CSTRIVTW_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BOM_CSTRIVTW_XMLP_PKG, status:VALID,
-
TABLE: BOM.CST_AP_VARIANCE_HEADERS_EFC
12.1.1
owner:BOM, object_type:TABLE, fnd_design_data:BOM.CST_AP_VARIANCE_HEADERS_EFC, object_name:CST_AP_VARIANCE_HEADERS_EFC, status:VALID,
-
PACKAGE BODY: APPS.CSTPPIPV
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSTPPIPV, status:VALID,
-
View: CST_AP_VARIANCE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_AP_VARIANCE_V, object_name:CST_AP_VARIANCE_V, status:VALID, product: BOM - Bills of Material , implementation_dba_data: APPS.CST_AP_VARIANCE_V ,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.CST_AP_VARIANCE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_AP_VARIANCE_V, object_name:CST_AP_VARIANCE_V, status:VALID,
-
View: CST_AP_VARIANCE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_AP_VARIANCE_V, object_name:CST_AP_VARIANCE_V, status:VALID, product: BOM - Bills of Material , implementation_dba_data: APPS.CST_AP_VARIANCE_V ,
-
VIEW: APPS.CST_AP_VARIANCE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_AP_VARIANCE_V, object_name:CST_AP_VARIANCE_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
APPS.CSTPPIPV SQL Statements
12.2.2
-
APPS.CSTPPIPV SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.BOM_CSTRIVTW_XMLP_PKG SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.BOM_CSTRIVTW_XMLP_PKG SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
APPS.CSTPPIPV dependencies on CST_AP_VARIANCE_HEADERS
12.2.2
-
APPS.BOM_CSTRIVTW_XMLP_PKG dependencies on CST_AP_VARIANCE_HEADERS
12.2.2
-
APPS.CSTPPIPV dependencies on CST_AP_VARIANCE_HEADERS
12.1.1
-
PACKAGE BODY: APPS.CSTPPIPV
12.2.2
-
APPS.BOM_CSTRIVTW_XMLP_PKG dependencies on CST_AP_VARIANCE_HEADERS
12.1.1
-
PACKAGE BODY: APPS.CSTPPIPV
12.1.1
-
PACKAGE BODY: APPS.BOM_CSTRIVTW_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.BOM_CSTRIVTW_XMLP_PKG
12.1.1
-
APPS.BOM_CSTRIVTW_XMLP_PKG dependencies on CST_AP_VARIANCE_LINES
12.1.1
-
APPS.CSTPPIPV dependencies on WIP_OPERATION_RESOURCES
12.2.2
-
APPS.CSTPPIPV dependencies on WIP_OPERATION_RESOURCES
12.1.1
-
APPS.BOM_CSTRIVTW_XMLP_PKG dependencies on CST_AP_VARIANCE_LINES
12.2.2