Search Results rrs_hierarchy_info
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
RRS_HIERARCHY_INFO is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It is classified under the OTHER API category and forms part of the site hierarchy and hierarchy versioning infrastructure used by Oracle's site and object management modules. The package is declared with AUTHID CURRENT_USER, meaning its unqualified database object references are resolved against the privileges of the invoking user rather than the package owner; in practice this is paired with APPS synonyms on the underlying tables.
The package exposes a read-oriented API surface for retrieving hierarchy headers, hierarchy members, and hierarchy attributes. It supplies both single-retrieval routines and "complete detail" routines that assemble an entire hierarchy structure in one invocation, plus a parallel set of _TEST wrapper procedures intended for validation and diagnostic use. Return values follow the standard Oracle EBS concurrent/API convention, using the status constants G_RET_STS_SUCCESS ('S'), G_RET_STS_ERROR ('E'), G_RET_STS_UNEXP_ERROR ('U'), and G_RET_STS_WARNING ('W'), with the customary x_return_status, x_msg_count, and x_msg_data out-parameters. The package also declares two named exceptions, e_no_hierarchy_found and e_no_parent_member_found, which signal the two most common failure conditions encountered by callers.
Key Procedures and Functions
- GET_HIERARCHY_HEADER — overloaded procedure that returns the header record for a hierarchy. The overloads permit lookup by hierarchy version identifier, by hierarchy identifier plus version number, or by hierarchy name, populating an rrs_hier_header_rec out-record.
- GET_HIERARCHY_MEMBERS — overloaded procedure that returns the member set for a hierarchy version, optionally constrained by a parent member type and parent member identifier, into an rrs_hier_members_tab collection.
- GET_HIERARCHY_ATTRIBUTES — returns attribute information associated with hierarchy members, supporting custom/descriptive attribute retrieval for hierarchy content.
- GET_COMPLETE_HIERARCHY_DETAILS — assembles the full hierarchy payload (header plus members plus attributes) in a single call, suited to callers that need the entire structure without iterative navigation.
- GET_HIERARCHY_HEADER_TEST, GET_HIERARCHY_MEMBERS_TEST, GET_HIERARCHY_ATTRIBUTES_TEST, GET_COMP_HIER_DETAILS_TEST — test/diagnostic counterparts to the four production routines above, used to verify behavior and output without embedding test logic in the main API.
Sixteen documented procedures and functions are associated with the package. Parameter lists are intentionally not reproduced here; callers should obtain signatures from the package specification. NOCOPY is used on the OUT parameters in the documented signatures, reflecting the large collection payloads these routines can return.
Tables Accessed
- RRS_SITE_GROUP_VERSIONS, RRS_SITE_GROUPS_B, RRS_SITE_GROUPS_TL — base, translation, and version tables holding the site group and hierarchy version headers returned by GET_HIERARCHY_HEADER.
- RRS_SITE_GROUP_NODES_B, RRS_SITE_GROUP_MEMBERS — node and membership tables resolving the parent/member relationships returned by GET_HIERARCHY_MEMBERS.
- RRS_SITES_B, RRS_SITE_USES — site definitions and site usage records referenced when resolving member identity.
- EGO_FND_DSC_FLX_CTX_EXT, EGO_OBJ_AG_ASSOCS_B, FND_OBJECTS — extensibility and object/attribute-group association tables that back hierarchy attribute retrieval and contextual descriptive flexfield extension.
- DBMS_UTILITY, PLITBLM — Oracle-supplied utilities used for message stack handling and PL/SQL table manipulation.
These accesses are read-oriented, consistent with a query API. No other packages are documented as referencing RRS_HIERARCHY_INFO.
Usage Notes
RRS_HIERARCHY_INFO is typically invoked from server-side PL/SQL rather than directly from forms or concurrent programs. Callers begin with the appropriate GET_HIERARCHY_HEADER overload to validate the hierarchy and capture version context, then call GET_HIERARCHY_MEMBERS (with parent filters for partial traversal) or GET_COMPLETE_HIERARCHY_DETAILS when the full structure is required. Attribute retrieval is performed through GET_HIERARCHY_ATTRIBUTES after member resolution. The _TEST procedures are used during implementation and patching to confirm behavior against known data. Because return status follows the EBS API convention, callers must inspect x_return_status, then drain x_msg_count/x_msg_data via FND_MSG_PUB or DBMS_UTILITY, and be prepared to handle e_no_hierarchy_found and e_no_parent_member_found.
Note that the user search term "ego_user_attr_row_table" does not correspond to an object documented for this package; the attribute-related table references here are EGO_FND_DSC_FLX_CTX_EXT, EGO_OBJ_AG_ASSOCS_B, and FND_OBJECTS.
-
PACKAGE: APPS.RRS_HIERARCHY_INFO
12.2.2
owner:APPS, object_type:PACKAGE, object_name:RRS_HIERARCHY_INFO, status:VALID,
-
TYPE: APPS.RRS_HIER_HEADER_REC
12.2.2
owner:APPS, object_type:TYPE, object_name:RRS_HIER_HEADER_REC, status:VALID,
-
TYPE: APPS.RRS_HIER_MEMBERS_TAB
12.2.2
owner:APPS, object_type:TYPE, object_name:RRS_HIER_MEMBERS_TAB, status:VALID,
-
PACKAGE BODY: APPS.RRS_HIERARCHY_INFO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_HIERARCHY_INFO, status:VALID,
-
SYNONYM: APPS.RRS_SITE_GROUP_NODES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_GROUP_NODES_B, status:VALID,
-
PACKAGE: APPS.RRS_SECURITY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:RRS_SECURITY_PUB, status:VALID,
-
SYNONYM: APPS.RRS_SITE_GROUPS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_GROUPS_TL, status:VALID,
-
SYNONYM: APPS.RRS_SITE_GROUP_VERSIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_GROUP_VERSIONS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.RRS_SITES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITES_B, status:VALID,
-
TYPE: APPS.EGO_USER_ATTR_DATA_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:EGO_USER_ATTR_DATA_TABLE, status:VALID,
-
SYNONYM: APPS.RRS_SITE_GROUP_MEMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_GROUP_MEMBERS, status:VALID,
-
SYNONYM: APPS.RRS_SITE_GROUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_GROUPS_B, status:VALID,
-
TYPE: APPS.EGO_USER_ATTR_ROW_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:EGO_USER_ATTR_ROW_TABLE, status:VALID,
-
SYNONYM: APPS.RRS_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_USES, status:VALID,
-
TYPE: APPS.RRS_HIER_MEMBERS_REC
12.2.2
owner:APPS, object_type:TYPE, object_name:RRS_HIER_MEMBERS_REC, status:VALID,
-
SYNONYM: APPS.EGO_OBJ_AG_ASSOCS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EGO_OBJ_AG_ASSOCS_B, status:VALID,
-
VIEW: APPS.RRS_SITE_GROUP_NODES_VL
12.2.2
owner:APPS, object_type:VIEW, object_name:RRS_SITE_GROUP_NODES_VL, status:VALID,
-
VIEW: APPS.RRS_LOOKUPS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:RRS_LOOKUPS_V, status:VALID,
-
PACKAGE: APPS.EGO_USER_ATTRS_DATA_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EGO_USER_ATTRS_DATA_PUB, status:VALID,
-
TYPE: APPS.EGO_ATTR_GROUP_REQUEST_OBJ
12.2.2
owner:APPS, object_type:TYPE, object_name:EGO_ATTR_GROUP_REQUEST_OBJ, status:VALID,
-
VIEW: APPS.RRS_SITE_GROUPS_VL
12.2.2
owner:APPS, object_type:VIEW, object_name:RRS_SITE_GROUPS_VL, status:VALID,
-
VIEW: APPS.EGO_PAGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EGO.EGO_PAGES_V, object_name:EGO_PAGES_V, status:VALID,
-
VIEW: APPS.RRS_SITES_VL
12.2.2
owner:APPS, object_type:VIEW, object_name:RRS_SITES_VL, status:VALID,
-
TYPE: APPS.EGO_ATTR_GROUP_REQUEST_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:EGO_ATTR_GROUP_REQUEST_TABLE, status:VALID,
-
PACKAGE: APPS.RRS_HIERARCHY_INFO
12.2.2
-
VIEW: APPS.EGO_PAGE_ENTRIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EGO.EGO_PAGE_ENTRIES_V, object_name:EGO_PAGE_ENTRIES_V, status:VALID,
-
SYNONYM: APPS.EGO_FND_DSC_FLX_CTX_EXT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EGO_FND_DSC_FLX_CTX_EXT, status:VALID,
-
TYPE: APPS.EGO_COL_NAME_VALUE_PAIR_OBJ
12.2.2
owner:APPS, object_type:TYPE, object_name:EGO_COL_NAME_VALUE_PAIR_OBJ, status:VALID,
-
TYPE: APPS.EGO_COL_NAME_VALUE_PAIR_ARRAY
12.2.2
owner:APPS, object_type:TYPE, object_name:EGO_COL_NAME_VALUE_PAIR_ARRAY, status:VALID,
-
SYNONYM: APPS.FND_OBJECTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECTS, status:VALID,
-
VIEW: APPS.EGO_ATTR_GROUPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EGO.EGO_ATTR_GROUPS_V, object_name:EGO_ATTR_GROUPS_V, status:VALID,
-
APPS.RRS_HIERARCHY_INFO dependencies on RRS_HIERARCHY_INFO
12.2.2
-
SYNONYM: PUBLIC.DBMS_UTILITY
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_UTILITY, status:VALID,
-
VIEW: APPS.AR_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LOOKUPS, object_name:AR_LOOKUPS, status:VALID,
-
PACKAGE BODY: APPS.RRS_HIERARCHY_INFO
12.2.2
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,