Search Results quantity_layer_id




Overview

The CST_PAC_QUANTITY_LAYERS table is a core data repository within the Oracle E-Business Suite (EBS) Bills of Material (BOM) product. Its primary function is to support periodic costing methodologies, specifically Periodic Average Costing (PAC). The table stores historical snapshots of an item's inventory quantity, segmented by cost layer and accounting period. This granular, period-by-period quantity tracking is essential for calculating accurate average costs, performing cost rollups, and generating period-end inventory valuations in compliance with accounting standards. It serves as the foundational quantity detail that, when combined with cost data from related tables, enables the system to determine inventory value and cost of goods sold for a given period.

Key Information Stored

The table's structure is designed to link quantity information to specific costing and period entities. The primary key is a composite of QUANTITY_LAYER_ID and COST_LAYER_ID, ensuring unique identification of each quantity record within a cost layer. Critical foreign key relationships define its context: COST_LAYER_ID links to CST_PAC_ITEM_COSTS to associate the quantity with a specific item cost, PAC_PERIOD_ID links to CST_PAC_PERIODS to tie the quantity to the relevant accounting period, and COST_GROUP_ID links to CST_COST_GROUPS for organizations using cost group functionality. While specific column details beyond the keys are not enumerated in the provided metadata, the table typically stores the transaction quantity, remaining quantity, and layer date, forming a complete audit trail of inventory movements for costing purposes.

Common Use Cases and Queries

This table is central to periodic inventory closing and analysis. A primary use case is the review of inventory layers and quantities on hand at period-end to validate the costing process. Financial analysts may query it to investigate inventory valuation trends or reconcile quantity balances. A typical analytical query would join this table to its related cost and period dimensions. For example:

  • To retrieve quantity layers for a specific item and period: SELECT * FROM BOM.CST_PAC_QUANTITY_LAYERS QL, BOM.CST_PAC_ITEM_COSTS IC WHERE QL.COST_LAYER_ID = IC.COST_LAYER_ID AND IC.INVENTORY_ITEM_ID = <item_id> AND QL.PAC_PERIOD_ID = <period_id>;
  • To support a custom inventory valuation report by joining to CST_PAC_ITEM_COSTS for unit cost and multiplying by the layer quantity.

Direct data manipulation is not advised; interactions should occur through standard cost transaction processing and period close programs.

Related Objects

The CST_PAC_QUANTITY_LAYERS table is a key component in the periodic costing schema, with tightly coupled relationships. As per the metadata, its main dependencies are:

  • CST_PAC_ITEM_COSTS: The primary parent table, linked via COST_LAYER_ID. This table holds the calculated average cost for each layer.
  • CST_PAC_PERIODS: Linked via PAC_PERIOD_ID, this table defines the accounting period for which the quantity snapshot is valid.
  • CST_COST_GROUPS: Linked via COST_GROUP_ID, this table allows for inventory segmentation by different cost types or ownership within an organization.

These relationships form the core data model for generating period-end inventory valuations and cost of goods sold in a Periodic Average Costing environment.