Results for “line_status_code”

2 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

QP_PRICE_BOOK_LINES is a table owned by the QP schema within the Oracle Advanced Pricing module of Oracle E-Business Suite (validated against 12.1.1 and 12.2.2). It stores the line summary level record of a price book, acting as the operational bridge between a price book header definition and the granular pricing components that sit beneath each line. A price book in Advanced Pricing is a container that associates items, units of measure, and price values so that list or net pricing can be published, synchronized, or referenced during order capture, quoting, and pricing engine evaluation. QP_PRICE_BOOK_LINES represents one summarized line per item and pricing context within a given header.

The ETRM metadata provides a heuristic Data Vault classification of standalone for this object, meaning it does not decompose cleanly into a classic hub, link, or satellite pattern on its own. From a modeling standpoint, the table behaves most like a satellite attached to the price book header hub, carrying descriptive and measurable line attributes keyed by both the header and the line identifier. This classification is a suggestion rather than a physical implementation directive; the table itself is a standard normalized EBS relational structure.

Key Information Stored

The primary key of the table is QP_PRICE_BOOK_LINES_PK, defined on the surrogate column PRICE_BOOK_LINE_ID. A unique index, QP_PRICE_BOOK_LINES_U1, also enforces uniqueness on PRICE_BOOK_LINE_ID, confirming it as the business-key candidate. The documented physical schema contains 13 columns. The most significant are:

Common Use Cases and Queries

Typical scenarios include extracting current list and net prices for a specific price book, reporting item-level pricing for a given unit of measure, and tracing sync actions against price book lines. A representative query joining the line to its header is:

  • SELECT l.item_number, l.product_uom_code, l.list_price, l.net_price, l.line_status_code FROM qp.qp_price_book_lines l WHERE l.price_book_header_id = :header_id;
  • Reporting lines pending synchronization: filter on sync_action_code to identify lines queued for downstream update.
  • Item-based price lookup: join on item_number and product_uom_code to resolve pricing contextually.
  • Audit and change tracking using last_update_date and last_updated_by.

Related Objects

The following objects participate in documented foreign key relationships with QP_PRICE_BOOK_LINES:

  • QP_PRICE_BOOK_HEADERS_ALL_B — parent table; joined via PRICE_BOOK_HEADER_ID.
  • QP_PRICE_BOOK_LINE_DETAILS — references this table via PRICE_BOOK_LINE_ID, holding detail-level records beneath each line.
  • QP_PRICE_BOOK_BREAK_LINES — references this table via PRICE_BOOK_LINE_ID, holding price break definitions.
  • QP_PRICE_BOOK_ATTRIBUTES — references this table via PRICE_BOOK_LINE_ID, holding line-level attributes.
  • QP_PRICE_BOOK_MESSAGES — references this table via PRICE_BOOK_LINE_ID, storing processing messages associated with the line.