Search Results template_primitive_flag
Overview
CZ_RULES is the central rules repository for the Oracle Configurator (CZ) module in Oracle E-Business Suite 12.1.1 and 12.2.2. Every configurator rule — whether a compatibility constraint, a defaulting rule, an exclusion, an inclusion, or a computed value — is persisted as a row in this table. The table captures the rule's logical definition, its expression-based antecedent and consequent, its folder placement, effectivity, and its relationships to model nodes, grid definitions, and message text. Because Configurator depends on deterministic evaluation of rules during a configuration session, CZ_RULES is one of the most heavily read objects in the CZ schema at runtime.
From a Data Vault modeling perspective, the mined heuristic classifies CZ_RULES as a hub. The surrogate primary key RULE_ID uniquely identifies each rule, and the numerous outbound foreign keys (to expressions, nodes, folders, effectivity sets) are consistent with a hub surrounded by links and satellites. This classification is a modeling suggestion only; the physical implementation is a standard normalized transactional table.
Key Information Stored
The table contains 59 documented columns. The most significant are:
- RULE_ID — surrogate primary key (CZ_RULES_PK).
- RULE_FOLDER_ID — the folder organizing the rule; part of unique index CZ_RULES_U1.
- ANTECEDENT_ID and CONSEQUENT_ID — foreign keys to CZ_EXPRESSIONS defining the IF (antecedent) and THEN (consequent) sides of the rule.
- AMOUNT_ID — foreign key to CZ_EXPRESSIONS supporting quantity/value rules.
- COMPONENT_ID — foreign key to CZ_PS_NODES, binding the rule to a model node.
- SUB_CONS_ID — reference to CZ_SUB_CON_SETS for the applicable sub-configuration scope.
- GRID_ID — reference to CZ_GRID_DEFS for grid-based rules.
- EFFECTIVITY_SET_ID — links to CZ_EFFECTIVITY_SETS governing when the rule applies.
- RULE_TYPE, EXPR_RULE_TYPE, RULE_CLASS, and CONFIG_ENGINE_TYPE — control how the runtime engine interprets and executes the rule.
- UNSATISFIED_MSG_ID and REASON_ID — foreign keys to CZ_INTL_TEXTS supplying messages when a rule blocks a configuration.
- DELETED_FLAG, INVALID_FLAG, and DISABLED_FLAG — status flags; DELETED_FLAG participates in unique index CZ_RULES_U1.
- RULE_TEXT, DESC_TEXT, NAME, and NOTES — human-readable rule description.
- CREATION_DATE, LAST_UPDATE_DATE, CREATED_BY, LAST_UPDATED_BY — standard audit columns.
- ZD_EDITION_NAME — editioning column used with EBR (Edition-Based Redefinition) in 12.2.x; it is part of both CZ_RULES_PK and CZ_RULES_U1.
The business-key candidate is the composite (RULE_FOLDER_ID, DELETED_FLAG, RULE_ID, ZD_EDITION_NAME) in CZ_RULES_U1; RULE_ID alone is the canonical surrogate.
Common Use Cases and Queries
Typical uses include extracting all rules belonging to a model, auditing disabled or deleted rules, and tracing the two expression halves of each rule.
- List active rules for a folder: SELECT r.rule_id, r.name, r.rule_type FROM cz_rules r WHERE r.rule_folder_id = :folder AND r.deleted_flag = 'N'.
- Join rules to their expressions: SELECT r.name, a.expr_text, c.expr_text FROM cz_rules r, cz_expressions a, cz_expressions c WHERE r.antecedent_id = a.expression_id AND r.consequent_id = c.expression_id.
- Find rules bound to a model node: SELECT rule_id, name FROM cz_rules WHERE component_id = :node.
- Reporting disabled or unsatisfiable rules: filter on DISABLED_FLAG = 'Y' or join to CZ_INTL_TEXTS via UNSATISFIED_MSG_ID to display the message shown to users.
Related Objects
- CZ_EXPRESSIONS — referenced three times via ANTECEDENT_ID, CONSEQUENT_ID, AMOUNT_ID.
- CZ_PS_NODES — node/component owning the rule (COMPONENT_ID).
- CZ_RULE_FOLDERS — folder hierarchy (RULE_FOLDER_ID).
- CZ_EFFECTIVITY_SETS — effectivity scope (EFFECTIVITY_SET_ID).
- CZ_SUB_CON_SETS — sub-configuration scope (SUB_CONS_ID).
- CZ_GRID_DEFS — grid definitions (GRID_ID).
- CZ_INTL_TEXTS — messages and reasons (UNSATISFIED_MSG_ID, REASON_ID).
- CZ_COMBO_FEATURES, CZ_DES_CHART_CELLS, CZ_DES_CHART_COLUMNS, CZ_DES_CHART_FEATURES, CZ_EXPRESSION_NODES, CZ_FILTER_SETS — all reference CZ_RULES.RULE_ID and depend on this table.
-
Table: CZ_RULES
12.1.1
owner:CZ, object_type:TABLE, fnd_design_data:CZ.CZ_RULES, object_name:CZ_RULES, status:VALID, product: CZ - Configurator , description: Rules table , implementation_dba_data: CZ.CZ_RULES ,
-
Table: CZ_RULES
12.2.2
owner:CZ, object_type:TABLE, fnd_design_data:CZ.CZ_RULES, object_name:CZ_RULES, status:VALID, product: CZ - Configurator , description: Rules table , implementation_dba_data: CZ.CZ_RULES ,
-
Table: CZ_IMP_RULES
12.1.1
owner:CZ, object_type:TABLE, fnd_design_data:CZ.CZ_IMP_RULES, object_name:CZ_IMP_RULES, status:VALID, product: CZ - Configurator , description: Import table for Rules , implementation_dba_data: CZ.CZ_IMP_RULES ,
-
Table: CZ_IMP_RULES
12.2.2
owner:CZ, object_type:TABLE, fnd_design_data:CZ.CZ_IMP_RULES, object_name:CZ_IMP_RULES, status:VALID, product: CZ - Configurator , description: Import table for Rules , implementation_dba_data: CZ.CZ_IMP_RULES ,
-
View: CZ_RULES_WITH_ARGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_RULES_WITH_ARGS_V, object_name:CZ_RULES_WITH_ARGS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_RULES_WITH_ARGS_V ,
-
View: CZ_TYPED_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_TYPED_RULES_V, object_name:CZ_TYPED_RULES_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_TYPED_RULES_V ,
-
View: CZ_RULES_WITH_ARGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_RULES_WITH_ARGS_V, object_name:CZ_RULES_WITH_ARGS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_RULES_WITH_ARGS_V ,
-
View: CZ_PSNODE_RULE_REFS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_PSNODE_RULE_REFS_V, object_name:CZ_PSNODE_RULE_REFS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_PSNODE_RULE_REFS_V ,
-
View: CZ_TEMPLATE_DEFS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_TEMPLATE_DEFS_V, object_name:CZ_TEMPLATE_DEFS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_TEMPLATE_DEFS_V ,
-
View: CZ_TEMPLATE_DEFS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_TEMPLATE_DEFS_V, object_name:CZ_TEMPLATE_DEFS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_TEMPLATE_DEFS_V ,
-
View: CZ_TYPED_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_TYPED_RULES_V, object_name:CZ_TYPED_RULES_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_TYPED_RULES_V ,
-
View: CZ_PSNODE_RULE_REFS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_PSNODE_RULE_REFS_V, object_name:CZ_PSNODE_RULE_REFS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_PSNODE_RULE_REFS_V ,
-
View: CZ_PSN_TYPED_RULE_REFS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_PSN_TYPED_RULE_REFS_V, object_name:CZ_PSN_TYPED_RULE_REFS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_PSN_TYPED_RULE_REFS_V ,
-
View: CZ_RULE_PARTICIPANTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_RULE_PARTICIPANTS_V, object_name:CZ_RULE_PARTICIPANTS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_RULE_PARTICIPANTS_V ,
-
View: CZ_RULE_PARTICIPANTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_RULE_PARTICIPANTS_V, object_name:CZ_RULE_PARTICIPANTS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_RULE_PARTICIPANTS_V ,
-
View: CZ_PSN_TYPED_RULE_REFS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_PSN_TYPED_RULE_REFS_V, object_name:CZ_PSN_TYPED_RULE_REFS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_PSN_TYPED_RULE_REFS_V ,
-
View: CZ_RULE_EXPRDETLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_RULE_EXPRDETLS_V, object_name:CZ_RULE_EXPRDETLS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_RULE_EXPRDETLS_V ,
-
View: CZ_RULE_EXPRDETLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_RULE_EXPRDETLS_V, object_name:CZ_RULE_EXPRDETLS_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_RULE_EXPRDETLS_V ,
-
View: CZ_PSNODE_REFRULE_IMAGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_PSNODE_REFRULE_IMAGES_V, object_name:CZ_PSNODE_REFRULE_IMAGES_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_PSNODE_REFRULE_IMAGES_V ,
-
View: CZ_PSNODE_REFRULE_IMAGES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CZ.CZ_PSNODE_REFRULE_IMAGES_V, object_name:CZ_PSNODE_REFRULE_IMAGES_V, status:VALID, product: CZ - Configurator , implementation_dba_data: APPS.CZ_PSNODE_REFRULE_IMAGES_V ,