Search Results bom_cto_order_lines_n2




Overview

BOM.BOM_CTO_ORDER_LINES is a transactional table in the Oracle E-Business Suite Configure-to-Order (CTO) and Assemble-to-Order (ATO) model. It stores the resolved configuration line structure for sales order lines that reference a configured or ATO item, capturing each model, option class, and option component as an individual row along with its parent-child relationship within the configuration hierarchy. The table is populated by the Oracle Order Management and Bills of Material configuration engine during order entry, order import, or model explosion, and it is subsequently consumed by the ATO/CTO workflow, Work in Process, and shipping processes.

The table resides in the APPS_TS_TX_DATA tablespace with PCTFREE 10, and all BOM_CTO_ORDER_LINES indexes are created in APPS_TS_TX_IDX. The primary key is BOM_CTO_ORDER_LINES_PK, defined on LINE_ID. The heuristic Data Vault classification mined from the FK structure is standalone; in Data Vault modeling terms this table is best treated as a link-style structure that resolves hierarchical relationships between configuration lines, with the surrogate LINE_ID acting as the persistent identifier. The unique index BOM_CTO_ORDER_LINES_U1 on LINE_ID confirms LINE_ID as the business-key candidate.

Key Information Stored

BOM_CTO_ORDER_LINES contains 33 documented columns. The most significant are summarized below.

Common Use Cases and Queries

The table is typically queried to reconstruct the configuration hierarchy of an order, to validate model explosion, or to report on option selections for a given model line. A common pattern joins on TOP_MODEL_LINE_ID to return all lines of a configuration:

  • SELECT * FROM bom.bom_cto_order_lines WHERE top_model_line_id = :p_top_model_line_id;
  • SELECT * FROM bom.bom_cto_order_lines WHERE ato_line_id = :p_ato_line_id ORDER BY plan_level;
  • SELECT * FROM bom.bom_cto_order_lines WHERE line_id = :p_line_id;

Additional reporting cases include retrieving all configurations shipped from a given organization via INVENTORY_ITEM_ID and SHIP_FROM_ORG_ID, identifying the parent of a line through PARENT_ATO_LINE_ID to walk the hierarchy, and auditing configuration creation metadata such as CONFIG_CREATION, REUSE_CONFIG, and OPTION_SPECIFIC.

Related Objects

The table participates in the CTO/ATO data model through its identifier columns, which align with the following related objects: