Search Results brm_boolean_operator
Overview
The APPS.JTF_BRM_EXPRESSION_LINES_V view exposes the expression-line rows that make up the rule conditions used by Oracle E-Business Suite's Business Rule Management (BRM) engine. In EBS 12.1.1 and 12.2.2, the BRM framework evaluates rule expressions composed of a left operand, an operator, a right operand, and optional parentheses and boolean connectors. The base table JTF_BRM_EXPRESSION_LINES stores these fragments in denormalized code form, relying on lookups to translate stored codes into user-readable meanings. This view performs that translation, joining each expression line to the appropriate FND_LOOKUPS entries so that tools and reports display meaningful text rather than cryptic lookup codes.
It is a read-only reporting and integration object, typically consumed by concurrent programs, OA Framework pages, and custom BI Publisher or OBIEE extracts that need to present rule logic in a human-readable fashion. The view is defined under the APPS schema and is declarative only; it holds no data of its own.
Underlying Base Objects
The view is defined over the following documented objects:
- JTF_BRM_EXPRESSION_LINES (SYNONYM) — the primary source of expression-line rows, aliased as
jbe. It supplies the row identifier, parent rule reference, sort order, and all coded attribute values. - FND_LOOKUPS (VIEW) — joined four times as inline subqueries (
fl1throughfl4) to resolve the parenthesis, operator, and boolean-operator codes into their meanings. Each subquery filters to a specific lookup type and enforcesenabled_flag = 'Y'plus active date-range conditions againstTRUNC(SYSDATE). - FND_GLOBAL (PACKAGE) — referenced for session context (for example, responsibility or user identity), consistent with standard EBS multi-org and security-aware view patterns.
The four lookup types used are JTF_BRM_LEFT_PARENTHESIS_TYPE, JTF_BRM_OPERATOR_TYPE, JTF_BRM_RIGHT_PARENTHESIS_TYPE, and the boolean-operator type (the fourth subquery, truncated in the source).
Key Columns
ROW_ID— the ROWID of the underlying expression-line record.EXPRESSION_LINE_ID— unique identifier of the expression line.RULE_ID— the parent BRM rule to which the line belongs.SORT_SEQUENCE— evaluation order of the line within its rule.BRM_LEFT_PARENTHESIS_TYPE / _CODEandBRM_LEFT_PARENTHESIS— the coded type/code and the resolved lookup meaning for the opening parenthesis. TheJTF_BRM_LEFT_PARENTHESIS_TYPElookup used by this view is the object the user searched for.LEFT_VALUE,RIGHT_VALUE— the operands of the comparison.BRM_OPERATOR_TYPE / _CODEandBRM_OPERATOR— the operator code and resolved meaning.BRM_RIGHT_PARENTHESIS_TYPE / _CODEandBRM_RIGHT_PARENTHESIS— the closing parenthesis code and meaning.BRM_BOOLEAN_OPERATOR_TYPE / _CODEandBRM_BOOLEAN_OPERATOR— the connector (for example AND/OR) and its resolved meaning.
Common Use Cases and Queries
Typical scenarios include reconstructing a rule's full expression for documentation, auditing which parentheses or operators are in active use, and feeding rule logic into reporting layers.
- Retrieve ordered, human-readable lines for one rule.
- Identify all lines referencing a specific parenthesis type via the searched term.
- Join to the rule header table for rule names in extracts.
SELECT rule_id, sort_sequence,
brm_left_parenthesis, left_value,
brm_operator, right_value,
brm_right_parenthesis, brm_boolean_operator
FROM apps.jtf_brm_expression_lines_v
WHERE rule_id = :p_rule_id
ORDER BY sort_sequence;
SELECT expression_line_id, rule_id, brm_left_parenthesis FROM apps.jtf_brm_expression_lines_v WHERE brm_left_parenthesis IS NOT NULL;
Because the lookups are filtered to enabled and current-dated rows, the view returns only meanings that are valid at query time, which is important when reporting on rules whose codes may have been deprecated.
-
VIEW: APPS.JTF_BRM_EXPRESSION_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_BRM_EXPRESSION_LINES_V, object_name:JTF_BRM_EXPRESSION_LINES_V, status:VALID,
-
View: JTF_BRM_EXPRESSION_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_BRM_EXPRESSION_LINES_V, object_name:JTF_BRM_EXPRESSION_LINES_V, status:VALID, product: JTF - CRM Foundation , description: View used in the simple tab of the business rule workbench form. , implementation_dba_data: APPS.JTF_BRM_EXPRESSION_LINES_V ,
-
VIEW: APPS.JTF_BRM_EXPRESSION_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_BRM_EXPRESSION_LINES_V, object_name:JTF_BRM_EXPRESSION_LINES_V, status:VALID,
-
View: JTF_BRM_EXPRESSION_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_BRM_EXPRESSION_LINES_V, object_name:JTF_BRM_EXPRESSION_LINES_V, status:VALID, product: JTF - CRM Foundation , description: View used in the simple tab of the business rule workbench form. , implementation_dba_data: APPS.JTF_BRM_EXPRESSION_LINES_V ,
-
VIEW: APPS.JTF_BRM_EXPRESSION_LINES_V
12.2.2
-
VIEW: APPS.JTF_BRM_EXPRESSION_LINES_V
12.1.1
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,