Results for “data_source_reference”

22 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

XNP_MSG_STRUCTURES is a core configuration table within the XNP - Number Portability module of Oracle E-Business Suite, available in both 12.1.1 and 12.2.2. The table stores the structural relationship, or hierarchy, of all elements that compose an XML message payload used during number portability processing. In practice, it defines which message elements are parents of which child elements, thereby describing the nesting and tree topology of each XML message type known to the application.

From a data modeling perspective, the metadata classifies this object heuristically as a link table. This is a modeling suggestion: the table primarily resolves relationships between message types and elements rather than holding descriptive attributes on its own. It sits between the message type definitions and the element definitions, binding them into a navigable structure.

Key Information Stored

Two unique indexes act as business-key candidates. XNP_MSG_STRUCTURES_U1 covers STRUCTURE_ID and ZD_EDITION_NAME, while XNP_MSG_STRUCTURES_U2 covers MSG_CODE, CHILD_ELEMENT_ID, PARENT_ELEMENT_ID, and ZD_EDITION_NAME. The UK1 key documented as MSG_CODE, CHILD_ELEMENT_ID, PARENT_ELEMENT_ID confirms that a given child may attach to a given parent only once per message type.

Common Use Cases and Queries

Typical scenarios include reconstructing the XML message hierarchy for a given message type, validating element nesting before message generation, and reporting the data sources that feed each element. A common query retrieves the direct children of a parent element:

  • SELECT child_element_id, sequence_in_parent FROM xnp_msg_structures WHERE msg_code = :msg_code ORDER BY sequence_in_parent;
  • Recursive queries using CONNECT BY PRIOR child_element_id = parent_element_id START WITH parent_element_id IS NULL render the full XML tree for a message type.
  • Joining to XNP_MSG_ELEMENTS resolves element names and attributes for readable hierarchy reports.
  • Reporting queries filter by SECURITY_GROUP_ID to respect multi-tenant boundaries.

Related Objects

  • XNP_MSG_TYPES_B — joined on MSG_CODE; defines each message type.
  • XNP_MSG_ELEMENTS — joined twice, on PARENT_ELEMENT_ID and CHILD_ELEMENT_ID, to resolve parent and child element definitions.
  • FND_SECURITY_GROUPS — joined on SECURITY_GROUP_ID for multi-tenant security.