Results for “xnp_msg_elements”

50+ results




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

Overview

XNP_MSG_ELEMENTS is a transactional configuration table in the XNP (Number Portability) product of Oracle E-Business Suite. It resides in the XNP schema and stores the individual XML message elements that make up the message definitions used during number portability processing. Each row represents a discrete field or tag within an XML message payload, capturing its name, data type, default value, length, and whether it is mandatory or parameter-driven. This table functions as the element-level metadata repository that drives message construction, validation, and parsing between carriers and the number portability gateway.

From a Data Vault modeling perspective, the mined foreign-key structure suggests a hub-leaning classification. XNP_MSG_ELEMENTS holds a stable business key (the combination of NAME and MSG_CODE) with descriptive attributes such as data type, length, and default value, making it behave similarly to a hub with a small attached satellite of descriptive attributes. This is a heuristic suggestion rather than a documented ETRM designation.

Key Information Stored

All documented columns are listed in the ETRM schema metadata, totalling 16 columns. The most significant are:

Common Use Cases and Queries

Typical use cases include validating which elements are required for a given message type, extracting parameter-driven elements for a specific carrier, and auditing the data types and lengths applied to message fields. A common query joins the parent message type and filters on the mandatory flag:

  • SELECT e.msg_element_id, e.name, e.element_datatype, e.data_length, e.mandatory_flag FROM xnp.xnp_msg_elements e WHERE e.msg_code = :msg_code;
  • SELECT e.name, e.parameter_sequence FROM xnp.xnp_msg_elements e WHERE e.parameter_flag = 'Y' AND e.msg_code = :msg_code ORDER BY e.parameter_sequence;
  • Join to XNP_MSG_TYPES_B to retrieve the human-readable message type name: SELECT t.name, e.name FROM xnp.xnp_msg_elements e, xnp.xnp_msg_types_b t WHERE e.msg_code = t.msg_code;

Related Objects

The table participates in a network of XNP metadata objects that together define message structure:

  • XNP_MSG_TYPES_B — parent message type referenced through MSG_CODE; defines the message header that owns each element.
  • XNP_MSG_ELEMENT_ATTR — child table referencing MSG_ELEMENT_ID; stores attribute-level detail for each element.
  • XNP_MSG_STRUCTURES — references this table twice via PARENT_ELEMENT_ID and CHILD_ELEMENT_ID, defining the hierarchical nesting of message elements.
  • FND_SECURITY_GROUPS — referenced through SECURITY_GROUP_ID for row-level security.

Together these objects form the complete XNP message definition framework used during porting message assembly and validation.