Results for “cost_analysis_code”
13 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PMIBV_GL_CM_COST_COMPARISON_V is a read-only Oracle EBS view owned by the APPS schema and shipped as part of the PMI (Process Manufacturing Intelligence) product family. Its stated purpose in the ETRM documentation is to combine costing information sourced from the General Ledger and from the OPM (Oracle Process Manufacturing) costing tables so that the two sources of similar data can be compared side by side. In Oracle EBS 12.1.1 and 12.2.2, the view is marked VALID and is exposed purely as a reporting and reconciliation object rather than a transactional one. It acts as a bridge between GL-based standard cost data and OPM-based cost component detail, which in practice are stored in structurally different tables and use different cost method conventions. The view exists to reconcile the two, presenting each source's cost measure in parallel columns so that discrepancies can be identified without manually joining heterogeneous tables.
Underlying Base Objects
The documented view metadata lists four referenced base objects, all APPS synonyms: CM_CMPT_DTL, CM_CMPT_MST, GL_ITEM_CST, and GL_ITEM_DTL. CM_CMPT_MST is the OPM cost component master, and CM_CMPT_DTL is the corresponding OPM cost component detail. GL_ITEM_CST and GL_ITEM_DTL are the GL side item cost header and detail tables. The view text is a UNION ALL of two SELECT statements. The first half joins CM_CMPT_MST to CM_CMPT_DTL on COST_CMPNTCLS_ID and groups by item, warehouse, calendar, period, cost method, cost component class, and cost analysis code, summing CMPNT_COST into the OPM cost column. The second half joins CM_CMPT_MST to GL_ITEM_DTL on COST_CMPNTCLS_ID, and then GL_ITEM_DTL to GL_ITEM_CST on ITEMCOST_ID, grouping by the analogous attributes and summing CMPTCOST_AMT into the GL cost column. Both branches filter DELETE_MARK = 0. The view is declared WITH READ ONLY.
Key Columns
The view exposes ten documented columns. ITEM_ID, WAREHOUSE_CODE, CALENDAR_CODE, and PERIOD_CODE identify the inventory item and its costing context. CDA_COST_MTHD_CODE carries the OPM cost method, while GL_COST_MTHD_CODE carries the GL cost method; in each UNION branch the non-applicable one is emitted as NULL, which is why the two cost methods appear in separate columns rather than a single shared one. COST_COMPONENT_CLASS_CODE comes from CM_CMPT_MST in both branches and provides the common join key across the two sources. COST_ANALYSIS_CODE carries the cost analysis classification from the respective source. The COST column carries the summed OPM component cost (CMPNT_COST), and GL_COST carries the summed GL item cost amount (CMPTCOST_AMT). Because the two branches are aligned by UNION ALL, any given row reflects a single source, and comparison is achieved by pivoting or aggregating across rows sharing the same item and period keys.
Common Use Cases and Queries
Typical uses include validating that GL item costs agree with OPM cost component detail, investigating period-end variance, and supporting cost rollup audits. A basic retrieval by item and period:
SELECT item_id, warehouse_code, period_code, cda_cost_mthd_code, gl_cost_mthd_code, cost_component_class_code, cost, gl_cost FROM apps.pmibv_gl_cm_cost_comparison_v WHERE item_id = :p_item_id AND period_code = :p_period;- Aggregate each source per component class to compare totals:
SELECT cost_component_class_code, SUM(cost) opm_cost, SUM(gl_cost) gl_cost FROM apps.pmibv_gl_cm_cost_comparison_v GROUP BY cost_component_class_code; - Find items where the two sources diverge:
SELECT item_id, period_code, SUM(cost) - SUM(gl_cost) diff FROM apps.pmibv_gl_cm_cost_comparison_v GROUP BY item_id, period_code HAVING SUM(cost) <> SUM(gl_cost);
Because the view is read-only and defined over OPM and GL synonyms, it is well suited to custom reports and reconciliation extracts. Note that the searched term gl_item_dtl corresponds directly to the GL_ITEM_DTL synonym underlying the second UNION branch, so queries targeting GL-sourced cost rows will necessarily traverse that table through this view.
-
Costing info from the GL and OPM tables combined to facilitate comparison of these two sources of similar data.
APPS.PMIBV_GL_CM_COST_COMPARISON_V·↳ CM_CMPT_DTL·↳ CM_CMPT_MST·↳ GL_ITEM_CST·Explore PMI module →
-
Costing information from both the GL and Process Manufacturing costing tables.
APPS.PMIFV_GL_CM_COST_COMPARISON_V·↳ CM_CLDR_DTL·↳ CM_CLDR_HDR·↳ CM_CMPT_DTL·Explore PMI module →
-
GMD Operation Resources View
APPS.PMITS_OPERATION_RESOURCES_V·↳ DUAL·Explore PMI module →
-
Costing info for an item. Costing info is retrieved from the GL equivalent of the item_cost view which retrieves data from OPM tables.
APPS.PMIBV_ITEM_COST_FROM_GL_V·↳ CM_CMPT_MST·↳ GL_ITEM_CST·↳ GL_ITEM_DTL·Explore PMI module →
-
View: PMIFV_ITEM_COST_V 12.1.1
Costing information for an item retrieved from costing tables. This is the OPM costing tables equivalent of the item_cost_from_GL view which retrieves data from the GL tables.
APPS.PMIFV_ITEM_COST_V·↳ CM_CLDR_DTL·↳ CM_CLDR_HDR·↳ CM_CMPT_DTL·Explore PMI module →
-
Costing information for an item retrieved from Oracle Financial GL tables. This is the GL equivalent of the item_cost view which retrieves data from the OPM costing tables.
APPS.PMIFV_ITEM_COST_FROM_GL_V·↳ CM_CLDR_DTL·↳ CM_CLDR_HDR·↳ CM_CMPT_MST·Explore PMI module →
-
View: PMIBV_RESOURCE_PLAN_V 12.1.1
Availability and planned usage of Process Manufacturing resources
APPS.PMIBV_RESOURCE_PLAN_V·↳ CR_RSRC_DTL·↳ CR_RSRC_MST·↳ GME_BATCH_STEPS·Explore PMI module →
-
View: PMIFV_BURDEN_V 12.1.1
Costing information for Burden (Overhead) details
APPS.PMIFV_BURDEN_V·↳ CM_BRDN_DTL·↳ CM_CLDR_DTL·↳ CM_CLDR_HDR·Explore PMI module →
-
View: PMIFV_RESOURCE_PLAN_V 12.1.1
Availability and planned usage of Process Manufacturing resources
APPS.PMIFV_RESOURCE_PLAN_V·↳ CM_CMPT_MST·↳ CR_RSRC_DTL·↳ CR_RSRC_MST·Explore PMI module →
-
View: PMIBV_BURDEN_V 12.1.1
Costing information for Burden (overhead) details
-
View: PMIBV_ITEM_COST_V 12.1.1
Costing info for an item. Costing info is retrieved from CM tables, OPM equivalent of the item_cost_from_GL view which retrieves data from the GL tables.
APPS.PMIBV_ITEM_COST_V·↳ CM_CMPT_DTL·↳ CM_CMPT_MST·Explore PMI module →
-
View: PMIBV_FORMULA_COST_V 12.1.1
Costing Information for product by formula
APPS.PMIBV_FORMULA_COST_V·↳ CM_CLDR_DTL·↳ CM_CLDR_HDR·↳ CM_CMPT_DTL·Explore PMI module →
-
View: PMIFV_FORMULA_COST_V 12.1.1
Costing Information for product by formula
APPS.PMIFV_FORMULA_COST_V·↳ CM_CLDR_DTL·↳ CM_CLDR_HDR·↳ CM_CMPT_DTL·Explore PMI module →