Search Results cz_errors




Overview

SO_LINES_ALL is the core Order Entry (OE) transactional table in Oracle E-Business Suite, holding every order line belonging to a sales order header. It resides in the OE schema and is documented as VALID in both EBS 12.1.1 and 12.2.2. In the Order-to-Cash flow, SO_LINES_ALL sits between SO_HEADERS_ALL (the order header) and downstream shipping, pricing, invoicing, and manufacturing objects. Each row represents a single ordered item, service, configuration component, or return line.

The table is wide: ETRM documents 241 columns in 12.2.2. It carries an enormous number of foreign keys, both self-referential (parent/child line structures, ATO configuration hierarchies, service lineages) and cross-module (pricing, terms, commitments, BOM components, customer items). Based on the FK structure mined from the metadata, the heuristic Data Vault classification is hub-leaning. In Data Vault modeling terms, SO_LINES_ALL behaves as a hub anchored by its business/surrogate key LINE_ID, though the pervasive attribute columns (quantities, prices, dates, statuses) mean a satellite would typically be attached to capture the descriptive history.

Key Information Stored

The table's surrogate primary key is LINE_ID, enforced by unique index SO_LINES_U1 / constraint SO_LINES_PK. The most operationally significant columns include:

Common Use Cases and Queries

Typical reporting joins the line back to the header and outward to shipping and invoicing:

  • Order line detail for a given order: SELECT * FROM SO_LINES_ALL WHERE HEADER_ID = :p_header_id ORDER BY LINE_NUMBER;
  • Open lines by item: filter OPEN_FLAG = 'Y' and ORDERED_QUANTITY > NVL(SHIPPED_QUANTITY,0).
  • Backorder/promise-date analysis joined to SO_HEADERS_ALL and inventory.
  • Serial/configuration drill-down via ATO_LINE_ID and PARENT_LINE_ID self-joins.
  • Price/quantity reconciliation against RA_CUSTOMER_TRX_LINES_ALL using CREDIT_INVOICE_LINE_ID.

Related Objects

The most significant related objects and their join columns are: