Search Results jtf_brm_expression_lines_u1




Overview

The JTF.JTF_BRM_EXPRESSION_LINES table stores the atomic, line-level components of simple business rule definitions consumed by the Business Rule Monitor (BRM) within Oracle E-Business Suite 12.1.1 and 12.2.2. Each row represents a single predicate or connective fragment — a left operand, an operator, a right operand, and the surrounding parentheses and boolean connectors — that together compose the conditional logic of a business rule. The table is owned by the JTF schema, is registered under FND Design Data as JTF.JTF_BRM_EXPRESSION_LINES, and resides in the APPS_TS_SEED tablespace with a status of VALID.

While BRM expression lines persist the individual rule fragments, the fully assembled and generated complex view definition derived from these lines is stored separately in JTF_BRM_RULES_B. From a Data Vault modeling perspective, the heuristic classification mined from the foreign-key structure is link, suggesting this entity primarily resolves relationships between a rule and its constituent expression components, anchored by a surrogate key and connected to parent rule and security metadata.

Key Information Stored

The physical schema documents 37 columns. The most significant, business-relevant columns are:

Common Use Cases and Queries

The principal use case is reconstructing and auditing the logic behind a business rule. Because expression lines carry ordering and grouping metadata, they are read in SORT_SEQUENCE order and joined to lookup meanings to render human-readable rule conditions.

Retrieve all expression lines for a rule in evaluation order:

  • SELECT expression_line_id, sort_sequence, brm_left_parenthesis_code, left_value, brm_operator_code, right_value, brm_boolean_operator_code FROM jtf.jtf_brm_expression_lines WHERE rule_id = :rule_id ORDER BY sort_sequence;

Decode operators and connectors to their lookup meanings for reporting:

  • SELECT el.expression_line_id, fl1.meaning operator_meaning, fl2.meaning boolean_meaning FROM jtf.jtf_brm_expression_lines el LEFT JOIN fnd_lookups fl1 ON fl1.lookup_code = el.brm_operator_code LEFT JOIN fnd_lookups fl2 ON fl2.lookup_code = el.brm_boolean_operator_code WHERE el.rule_id = :rule_id;

Additional scenarios include identifying rules referencing a particular attribute value (querying LEFT_VALUE/RIGHT_VALUE indexed columns), validating that expression lines exist for every active rule, and migrating or cloning rule definitions between environments alongside JTF_BRM_RULES_B.

Related Objects

  • JTF_BRM_RULES_B — parent rules table; joined via JTF_BRM_EXPRESSION_LINES.RULE_ID = JTF_BRM_RULES_B.RULE_ID. Stores the generated complex view definition.
  • FND_SECURITY_GROUPS — referenced by SECURITY_GROUP_ID, governing row-level security.
  • FND_LOOKUPS — supplies and validates the parenthesis, operator, and boolean operator codes.
  • AK_ATTRIBUTES_VL — conceptually the source of LEFT_VALUE and RIGHT_VALUE attribute references, though not enforced by validation.
  • FND_USER — referenced by the WHO columns CREATED_BY and LAST_UPDATED_BY.