Search Results hz_dss_grants_pub
Overview
HZ_DSS_GRANTS_PUB is a public PL/SQL API package in the Oracle E-Business Suite Applications (APPS) schema that manages Data Sharing Group (DSS) grants within the Trading Community Architecture (TCA) and its underlying security infrastructure. Data Sharing Groups in Oracle EBS define collections of users, responsibilities, or other grantees that are permitted to access specific secured entities, such as customers, contacts, or accounts. This package provides the programmatic interface for creating, modifying, and validating the access privileges granted to those grantees.
The package exposes grant administration at the level of individual privilege flags — view, insert, update, delete, and administration — allowing callers to define fine-grained permissions against secured entities. It also encapsulates the administrative logic required to determine whether a given user or responsibility holds administrative authority over a Data Sharing Group. As a public API, it is designed to be invoked by other EBS modules, forms, and customer extensions rather than being restricted to internal package use.
Key Procedures and Functions
The documented API surface contains seven procedures and functions, of which three principal entry points are catalogued:
- CREATE_GRANT — Creates a set of grants to a Data Sharing Group. Two documented overloads exist. The first signature aligns with the user interface and corresponds to a "UI Grant Create" operation, accepting a group code, grantee type, grantee key, and the individual view, insert, update, delete, and administrative privilege flags. The second overload is invoked when a new secured entity is added to a Data Sharing Group, accepting a group code, an instance set identifier, and a secured entity status. Both return standard EBS message-list outputs (return status, message count, and message data) and accept an optional initialization flag.
- UPDATE_GRANT — Modifies existing grants associated with a Data Sharing Group, adjusting the privilege flags or grantee assignments previously established through CREATE_GRANT.
- CHECK_ADMIN_PRIV — Evaluates and returns whether the calling context possesses administrative privilege over a Data Sharing Group, supporting authorization decisions before privileged operations are permitted.
Global constants declared within the package (g_dss_admin_create, g_dss_admin_update, g_dss_admin_grant) standardize the administrative action identifiers used across the grant lifecycle.
Tables Accessed
The package operates against several FND and HZ tables through APPS synonyms. FND_GRANTS stores the actual grant records maintained and queried by CREATE_GRANT and UPDATE_GRANT. FND_OBJECTS and FND_OBJECT_INSTANCE_SETS, together with FND_OBJECT_INSTANCE_SETS_S, define the secured object metadata and instance set membership used when a new secured entity is registered. FND_MENUS and FND_RESPONSIBILITY support grantee resolution, since responsibilities are a common grantee type. HZ_DSS_GROUPS_B holds the definition of the Data Sharing Group itself, while HZ_DSS_SECURED_ENTITIES identifies the entities being protected. DUAL is used for scalar evaluations, including portions of the administrative privilege check.
Usage Notes
HZ_DSS_GRANTS_PUB is typically invoked from TCA and Data Sharing Group maintenance forms during grant creation and update operations, and from internal processing that registers newly secured entities into existing groups. The API is also referenced by at least one other documented PL/SQL package, indicating use in higher-level orchestration logic. Custom code should call these procedures rather than inserting directly into FND_GRANTS, because the package enforces the administrative and instance-set validation logic. Callers must supply p_init_msg_list appropriately and always inspect x_return_status and the accompanying message outputs before proceeding, as is standard for EBS public APIs. The header comment dates the original implementation to 2002, with an additional overload added in 2004, and the package remains available in both 12.1.1 and 12.2.2 releases.
-
PACKAGE: APPS.HZ_DSS_GRANTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_DSS_GRANTS_PUB, status:VALID,
-
PACKAGE: APPS.HZ_DSS_GRANTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_DSS_GRANTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_DSS_GRANTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_DSS_GRANTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_DSS_GRANTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_DSS_GRANTS_PUB, status:VALID,
-
PACKAGE: APPS.FND_OBJECT_INSTANCE_SETS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_OBJECT_INSTANCE_SETS_PKG, status:VALID,
-
SYNONYM: APPS.HZ_DSS_SECURED_ENTITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_DSS_SECURED_ENTITIES, status:VALID,
-
SYNONYM: APPS.FND_OBJECT_INSTANCE_SETS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECT_INSTANCE_SETS_S, status:VALID,
-
SYNONYM: APPS.FND_OBJECT_INSTANCE_SETS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECT_INSTANCE_SETS_S, status:VALID,
-
SYNONYM: APPS.HZ_DSS_GROUPS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_DSS_GROUPS_B, status:VALID,
-
PACKAGE: APPS.FND_OBJECT_INSTANCE_SETS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_OBJECT_INSTANCE_SETS_PKG, status:VALID,
-
SYNONYM: APPS.HZ_DSS_SECURED_ENTITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_DSS_SECURED_ENTITIES, status:VALID,
-
SYNONYM: APPS.HZ_DSS_GROUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_DSS_GROUPS_B, status:VALID,
-
PACKAGE BODY: APPS.HZ_DSS_GROUPS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_DSS_GROUPS_PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_DSS_GROUPS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_DSS_GROUPS_PUB, status:VALID,
-
VIEW: APPS.HZ_DSS_GRANTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.HZ_DSS_GRANTS_V, object_name:HZ_DSS_GRANTS_V, status:VALID,
-
VIEW: APPS.HZ_DSS_GRANTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.HZ_DSS_GRANTS_V, object_name:HZ_DSS_GRANTS_V, status:VALID,
-
PACKAGE: APPS.FND_GRANTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GRANTS_PKG, status:VALID,
-
PACKAGE: APPS.FND_GRANTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GRANTS_PKG, status:VALID,
-
SYNONYM: APPS.FND_OBJECT_INSTANCE_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECT_INSTANCE_SETS, status:VALID,
-
SYNONYM: APPS.FND_OBJECT_INSTANCE_SETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECT_INSTANCE_SETS, status:VALID,
-
PACKAGE: APPS.HZ_DSS_GRANTS_PUB
12.1.1
-
PACKAGE: APPS.HZ_DSS_GRANTS_PUB
12.2.2
-
SYNONYM: APPS.FND_MENUS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_MENUS, status:VALID,
-
SYNONYM: APPS.FND_GRANTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_GRANTS, status:VALID,
-
SYNONYM: APPS.FND_GRANTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_GRANTS, status:VALID,
-
SYNONYM: APPS.FND_MENUS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_MENUS, status:VALID,
-
SYNONYM: APPS.FND_OBJECTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECTS, status:VALID,
-
VIEW: APPS.FND_USER_RESP_GROUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_USER_RESP_GROUPS, object_name:FND_USER_RESP_GROUPS, status:VALID,
-
SYNONYM: APPS.FND_OBJECTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECTS, status:VALID,
-
VIEW: APPS.FND_USER_RESP_GROUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_USER_RESP_GROUPS, object_name:FND_USER_RESP_GROUPS, status:VALID,
-
SYNONYM: APPS.FND_RESPONSIBILITY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_RESPONSIBILITY, status:VALID,
-
SYNONYM: APPS.FND_RESPONSIBILITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_RESPONSIBILITY, status:VALID,
-
APPS.HZ_DSS_GROUPS_PUB dependencies on HZ_DSS_GRANTS_PUB
12.2.2
-
PACKAGE: APPS.HZ_UTILITY_V2PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_V2PUB, status:VALID,
-
APPS.HZ_DSS_GRANTS_PUB dependencies on HZ_DSS_GRANTS_PUB
12.1.1
-
APPS.HZ_DSS_GROUPS_PUB dependencies on HZ_DSS_GRANTS_PUB
12.1.1
-
APPS.HZ_DSS_GRANTS_PUB dependencies on HZ_DSS_GRANTS_PUB
12.2.2
-
PACKAGE: APPS.HZ_UTILITY_V2PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_V2PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_DSS_GRANTS_PUB
12.2.2
-
PACKAGE BODY: APPS.HZ_DSS_GRANTS_PUB
12.1.1
-
APPS.HZ_DSS_GRANTS_PUB dependencies on FND_API
12.2.2
-
APPS.HZ_DSS_GRANTS_PUB dependencies on FND_API
12.1.1
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1