Search Results xnp_msg_structures
Overview
The XNP_MSG_STRUCTURES table is a core metadata repository within the Oracle E-Business Suite Number Portability (XNP) module, present in both the 12.1.1 and 12.2.2 releases. Its primary function is to define and enforce the structural hierarchy and parent-child relationships of all elements that compose a valid XML message used in number portability transactions. This table acts as the architectural blueprint for message construction, ensuring that all XML messages exchanged during the porting process adhere to a predefined, consistent, and valid format. By governing the permissible nesting and sequence of data elements, it is critical for the reliable parsing, validation, and processing of complex porting messages between service providers and the central system.
Key Information Stored
The table's design centers on establishing relationships between message components. The STRUCTURE_ID column serves as the unique primary key for each relationship record. The MSG_CODE column identifies the specific message type (e.g., a port request or response) to which the structural rule applies, linking to the XNP_MSG_TYPES_B table. The core relationship is defined by the PARENT_ELEMENT_ID and CHILD_ELEMENT_ID columns, which store foreign keys to the XNP_MSG_ELEMENTS table. Each record explicitly states that a given child element is permitted to exist directly under a specified parent element within the XML hierarchy for a particular message type. This structure allows for the modeling of complex, multi-level XML document type definitions (DTDs) or schemas directly within the database.
Common Use Cases and Queries
A primary use case is the dynamic generation and validation of XML message payloads. During message assembly, application logic queries this table to determine the correct sequence and nesting of elements. Conversely, during message ingestion, the structure is validated against these rules. Common queries include retrieving the full element tree for a message type or identifying all direct children of a specific parent element. For instance, to analyze the structure of a 'Port Request' message (assuming a MSG_CODE of 'PORT_REQ'), a developer or administrator might execute:
- SELECT child.element_code, parent.element_code FROM xnp_msg_structures s, xnp_msg_elements child, xnp_msg_elements parent WHERE s.msg_code = 'PORT_REQ' AND s.child_element_id = child.element_id AND s.parent_element_id = parent.element_id ORDER BY parent.element_code;
This is essential for troubleshooting, custom report development, and understanding the integration data model.
Related Objects
The XNP_MSG_STRUCTURES table maintains integral relationships with other key XNP metadata tables, as defined by its foreign key constraints. It is centrally linked to the XNP_MSG_TYPES_B table via the MSG_CODE column, which categorizes the message types. Furthermore, it has two distinct foreign key relationships with the XNP_MSG_ELEMENTS table: one for the PARENT_ELEMENT_ID and another for the CHILD_ELEMENT_ID. This means the XNP_MSG_ELEMENTS table, which stores the definition of individual XML elements (name, data type), is referenced twice to resolve the identifiers for both the parent and child nodes in any hierarchical relationship. These relationships collectively form the foundation of the XNP module's message definition framework.
-
Table: XNP_MSG_STRUCTURES
12.2.2
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_STRUCTURES, object_name:XNP_MSG_STRUCTURES, status:VALID, product: XNP - Number Portability , description: Contains the structural relationship or hierarchy of all the elements in the XML message , implementation_dba_data: XNP.XNP_MSG_STRUCTURES ,
-
Table: XNP_MSG_STRUCTURES
12.1.1
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_STRUCTURES, object_name:XNP_MSG_STRUCTURES, status:VALID, product: XNP - Number Portability , description: Contains the structural relationship or hierarchy of all the elements in the XML message , implementation_dba_data: XNP.XNP_MSG_STRUCTURES ,
-
APPS.XNP_MSG_SCHEMA dependencies on XNP_MSG_STRUCTURES
12.1.1
-
APPS.XNP_MSG_BUILDER dependencies on XNP_MSG_STRUCTURES
12.2.2
-
APPS.XNP_MSG_BUILDER dependencies on XNP_MSG_STRUCTURES
12.1.1
-
APPS.XNP_MSG_SCHEMA dependencies on XNP_MSG_STRUCTURES
12.2.2
-
APPS.XNP_MESSAGE dependencies on XNP_MSG_STRUCTURES
12.1.1
-
APPS.XNP_MESSAGE dependencies on XNP_MSG_STRUCTURES
12.2.2
-
APPS.XNP_MSG_BUILDER dependencies on XNP_MSG_STRUCTURES_S
12.1.1
-
VIEW: XNP.XNP_MSG_STRUCTURES#
12.2.2
owner:XNP, object_type:VIEW, object_name:XNP_MSG_STRUCTURES#, status:VALID,
-
APPS.XNP_MSG_SCHEMA SQL Statements
12.1.1
-
APPS.XNP_MSG_BUILDER dependencies on XNP_MSG_STRUCTURES_S
12.2.2
-
TRIGGER: APPS.XNP_MSG_STRUCTURES+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XNP_MSG_STRUCTURES+, status:VALID,
-
APPS.XNP_MSG_SCHEMA SQL Statements
12.2.2
-
SYNONYM: APPS.XNP_MSG_STRUCTURES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XNP_MSG_STRUCTURES, status:VALID,
-
APPS.XNP_MSG_BUILDER dependencies on XNP_MSG_ELEMENTS
12.2.2
-
APPS.XNP_MSG_SCHEMA dependencies on XNP_MSG_ELEMENTS
12.2.2
-
APPS.XNP_MSG_SCHEMA dependencies on XNP_MSG_ELEMENTS
12.1.1
-
Table: XNP_MSG_ELEMENTS
12.1.1
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_ELEMENTS, object_name:XNP_MSG_ELEMENTS, status:VALID, product: XNP - Number Portability , description: Contains XML message elements , implementation_dba_data: XNP.XNP_MSG_ELEMENTS ,
-
Table: XNP_MSG_ELEMENTS
12.2.2
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_ELEMENTS, object_name:XNP_MSG_ELEMENTS, status:VALID, product: XNP - Number Portability , description: Contains XML message elements , implementation_dba_data: XNP.XNP_MSG_ELEMENTS ,
-
SYNONYM: APPS.XNP_MSG_STRUCTURES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XNP_MSG_STRUCTURES, status:VALID,
-
VIEW: XNP.XNP_MSG_STRUCTURES#
12.2.2
-
APPS.XNP_MSG_BUILDER SQL Statements
12.2.2
-
APPS.XNP_MSG_BUILDER dependencies on XNP_MSG_ELEMENTS
12.1.1
-
APPS.XNP_MSG_BUILDER SQL Statements
12.1.1
-
TRIGGER: APPS.XNP_MSG_STRUCTURES+
12.2.2
-
TABLE: XNP.XNP_MSG_STRUCTURES
12.2.2
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_STRUCTURES, object_name:XNP_MSG_STRUCTURES, status:VALID,
-
APPS.XNP_MESSAGE dependencies on APP_EXCEPTION
12.2.2
-
APPS.XNP_MESSAGE dependencies on APP_EXCEPTION
12.1.1
-
FUNCTION: APPS.XNP_MSG_STRUCTURES=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:XNP_MSG_STRUCTURES=, status:VALID,
-
TABLE: XNP.XNP_MSG_STRUCTURES
12.1.1
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_STRUCTURES, object_name:XNP_MSG_STRUCTURES, status:VALID,
-
FUNCTION: APPS.XNP_MSG_STRUCTURES=
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
Table: XNP_MSG_TYPES_B
12.2.2
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_TYPES_B, object_name:XNP_MSG_TYPES_B, status:VALID, product: XNP - Number Portability , description: Contains data dictionary for the message , implementation_dba_data: XNP.XNP_MSG_TYPES_B ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
Table: XNP_MSG_TYPES_B
12.1.1
owner:XNP, object_type:TABLE, fnd_design_data:XNP.XNP_MSG_TYPES_B, object_name:XNP_MSG_TYPES_B, status:VALID, product: XNP - Number Portability , description: Contains data dictionary for the message , implementation_dba_data: XNP.XNP_MSG_TYPES_B ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.XNP_MSG_SCHEMA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XNP_MSG_SCHEMA, status:VALID,
-
PACKAGE BODY: APPS.XNP_MSG_SCHEMA
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XNP_MSG_SCHEMA, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.XNP_MESSAGE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.XNP_MSG_BUILDER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XNP_MSG_BUILDER, status:VALID,
-
12.2.2 DBA Data
12.2.2