Search Results referenced_rule_flag
Overview
CZ_PSNODE_RULE_REFS_V is a Configurator (CZ) reporting view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It presents the relationships between Product Structure nodes (PS nodes) within an exploded model and the rules that reference or participate in those nodes. The view denormalizes data drawn from the rule definition, rule participant, and exploded model node structures into a single flattened result set that can be queried directly for diagnostics, impact analysis, and custom reporting.
The view is particularly significant because it surfaces the derived column REFERENCED_RULE_FLAG, which indicates whether a given rule is defined within the top-level model context or originates from a different development project. This distinction is central to understanding rule inheritance, model reuse, and rule resolution behavior across nested or referenced models. The companion column RULE_IN_ENCLOSING_MODEL_FLAG provides a related indicator of whether the rule resides in the enclosing model itself. Together these flags allow implementers to distinguish locally authored rules from externally referenced ones without traversing the underlying tables manually.
Because it is a view and not a table, the object is read-only and intended for query access. It is commonly consumed by validation utilities, migration scripts, and diagnostic reports that must reconcile rule-to-node assignments after model changes or during environment promotion.
Underlying Base Objects
The definition of CZ_PSNODE_RULE_REFS_V joins four primary sources: CZ_RULES, CZ_RULE_PARTICIPANTS_V, CZ_EXPLMODEL_NODES_V, and CZ_MODEL_REF_EXPLS. CZ_RULES supplies the rule header attributes, including rule name, type, description, effectivity, and template-related flags. CZ_RULE_PARTICIPANTS_V supplies the participant role list and the linkage between a rule and the model reference node it applies to. CZ_EXPLMODEL_NODES_V supplies the exploded model node structure, including node name, type, parent identifiers, and the development project context. CZ_MODEL_REF_EXPLS provides the model reference explosion records that connect participants to their descendant nodes.
Supporting objects include CZ_DETAILEDRULETYPES_LKV, which resolves the numeric detailed rule type into a descriptive value label; CZ_RULE_FOLDERS, used in a scalar subquery to retrieve the display tree sequence for the rule; and CZ_FUNC_COMP_SPECS, referenced in the view metadata for functional component specification resolution. The CZ_UTILS package is also listed as a dependency for helper logic. The join enforces DELETED_FLAG = '0' on both CZ_RULES and CZ_MODEL_REF_EXPLS, ensuring that logically deleted records are excluded from results.
Key Columns
- MODEL_ID / PSN_MODEL_ID — Identifiers for the containing model and the model associated with the product structure node.
- PS_NODE_ID / PS_NODE_NAME / PSN_PS_NODE_TYPE — The product structure node and its classification.
- PARENT_ID / EFFECTIVE_PARENT_ID — Hierarchy references used to reconstruct node ancestry.
- REFERENCED_RULE_FLAG — Returns '0' when the rule's development project equals the enclosing model, and '1' otherwise, marking it as an externally referenced rule.
- RULE_IN_ENCLOSING_MODEL_FLAG — Returns '1' when the rule belongs to the enclosing model's development project.
- RULE_ID / RULE_NAME / RULE_TYPE / RULE_TYPE_STRING — Rule identity and classification, with the numeric type decoded via CZ_DETAILEDRULETYPES_LKV.
- PARTICIPANT_ROLE_LIST / DETAILED_RULE_TYPE — Participant roles and detailed rule type from the participant view.
- EFFECTIVE_FROM / EFFECTIVE_UNTIL / EFFECTIVITY_SET_ID — Effectivity window for the rule.
- DISABLED_FLAG / INVALID_FLAG / DELETED_FLAG — State indicators for filtering active content.
- SEQ_NBR — Display sequence derived from CZ_RULE_FOLDERS for folder types other than RSQ, RFL, and FNC.
Common Use Cases and Queries
A frequent task is identifying which rules apply to a product structure node and whether those rules are local or referenced. The following query filters by node and flags referenced rules.
SELECT ps_node_name, rule_name, rule_type_string, referenced_rule_flag FROM cz_psnode_rule_refs_v WHERE ps_node_id = :node_id AND referenced_rule_flag = '1' ORDER BY seq_nbr;
Impact analysis queries count rules per model to assess reuse:
SELECT model_id, COUNT(*) total_rules, SUM(DECODE(referenced_rule_flag,'1',1,0)) referenced_rules FROM cz_psnode_rule_refs_v GROUP BY model_id;
Diagnostic reports commonly filter on disabled_flag = '0' and invalid_flag = '0' to isolate active rule assignments, and join to CZ_RULES for effectivity checks. Because the view exposes both V columns and participant roles, it supports configuration audit reporting without requiring custom joins to the base tables.
-
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_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: APPS.CZ_PSNODE_RULE_REFS_V
12.2.2
-
VIEW: APPS.CZ_PSNODE_RULE_REFS_V
12.1.1
-
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_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: APPS.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,
-
VIEW: APPS.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,
-
VIEW: APPS.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,
-
VIEW: APPS.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,
-
VIEW: APPS.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,
-
VIEW: APPS.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,
-
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 ,
-
eTRM - CZ Tables and Views
12.1.1
description: Import control table responsible for NOUPDATE flags ,
-
eTRM - CZ Tables and Views
12.2.2
description: Import control table responsible for NOUPDATE flags ,