Search Results cz_lce_lines




Overview

The CZ_LCE_LINES table is a core data object within the Oracle E-Business Suite Configurator (CZ) module. It serves as the primary repository for compiled logic records, which are the executable instructions generated by the Configurator engine. These records are the result of compiling a model's configuration rules, constraints, and UI definitions into an optimized, runtime format. The table's role is critical for the performance and functionality of interactive configurations, as it stores the logic that validates user selections, drives calculations, and determines the availability of options during a configuration session in both Oracle EBS 12.1.1 and 12.2.2.

Key Information Stored

The table stores individual lines of compiled logic, each uniquely identified by the LCE_LINE_ID and linked to a parent logic header via LCE_HEADER_ID. While the provided metadata does not list all columns, the primary and foreign key relationships indicate the nature of the data. Key columns include LCE_LINE_ID (the unique identifier for a logic line), LCE_HEADER_ID (linking the line to its parent compiled model in CZ_LCE_HEADERS), and PRIOR_LINE_ID (which establishes a sequence or hierarchy among logic lines, as indicated by the self-referencing foreign key). The presence of a foreign key to CZ_INTL_TEXTS (INTL_TEXT_ID) suggests certain logic lines may reference translatable text elements, such as error messages or display labels.

Common Use Cases and Queries

This table is primarily accessed by the Configurator runtime engine and is seldom queried directly for business reporting. Common technical use cases involve debugging configuration logic, analyzing model compilation output, or performing data integrity checks. A typical query might join to the header table to examine all logic lines for a specific model. For example:

  • Identifying logic lines for a specific model: SELECT cl.* FROM cz_lce_lines cl, cz_lce_headers ch WHERE cl.lce_header_id = ch.lce_header_id AND ch.model_id = <model_id>;
  • Analyzing the sequence of logic using the self-referential PRIOR_LINE_ID.
  • Troubleshooting by joining to CZ_INTL_TEXTS to see associated message text for a given logic line.

Related Objects

The CZ_LCE_LINES table is central to the Configurator's compiled logic schema and has defined relationships with several key objects, as per the provided foreign key metadata:

  • CZ_LCE_HEADERS: The primary parent table. Each line must belong to a compiled logic header. Join on CZ_LCE_LINES.LCE_HEADER_ID = CZ_LCE_HEADERS.LCE_HEADER_ID.
  • CZ_LCE_OPERANDS: A key child table. Operands provide the data values or references for the instructions stored in CZ_LCE_LINES. Join on CZ_LCE_LINES.LCE_LINE_ID = CZ_LCE_OPERANDS.LCE_LINE_ID and CZ_LCE_LINES.LCE_HEADER_ID = CZ_LCE_OPERANDS.LCE_HEADER_ID.
  • CZ_INTL_TEXTS: References internationalized text. Join on CZ_LCE_LINES.INTL_TEXT_ID = CZ_INTL_TEXTS.INTL_TEXT_ID.
  • Self-Reference (CZ_LCE_LINES): Establishes a sequence or hierarchy among logic lines within the same header. Join on CZ_LCE_LINES.PRIOR_LINE_ID = CZ_LCE_LINES_PRIOR.LCE_LINE_ID and CZ_LCE_LINES.LCE_HEADER_ID = CZ_LCE_LINES_PRIOR.LCE_HEADER_ID.