Search Results g_org_role




Overview

PA_PROJECT_PUB is the public PL/SQL API package within the Oracle Projects (PA) module of Oracle E-Business Suite. Its primary business function is to provide a controlled, programmatic interface for the creation and maintenance of project structures, including the definition of project headers, organizational assignments, key members, classifications, and tasks. The package formulates and enforces business rules governing project setup, thereby shielding external callers from the underlying data model complexity in tables such as PA_PROJECTS and PA_TASKS.

The package body carries a source header identifying version 120.75.12010000.20, reflecting its maintenance lineage across the 12.1.1 and 12.2.2 releases. It is the executable counterpart to the PA_PROJECT_PUB specification and is catalogued in the ETRM as a public (PUB) API, meaning it is intended for invocation by other Oracle EBS components and by customer extensions.

Key Procedures and Functions

The package exposes 78 documented procedures and functions. Thematically, these fall into several functional groups:

The body defines package-level constants for error messaging, including G_ORG_ROLE, G_PROJECT_CODE, G_CUSTOMER_CODE, G_KEY_MEMBER, G_CLASS_CATEGORY_CODE, and G_TASK_CODE, which are used to construct consistent error text returned to callers.

Tables Accessed

The package reads and writes through APPS synonyms over the following documented tables:

Usage Notes

Because PA_PROJECT_PUB is classified as a public API, it is typically invoked from Oracle Projects forms, from concurrent programs that perform bulk project maintenance, and from custom PL/SQL extensions or interfaces that need to create or update project structures. Callers must observe the package's sequencing convention: INIT_PROJECT is called first to initialize the in-memory record, followed by LOAD_* calls to populate attributes such as key members, organization roles, classifications, and tasks, and finally EXECUTE_CREATE_PROJECT or CREATE_PROJECT to persist. LOAD_ORG_ROLE in particular is used during this loading phase to populate organizational role assignments, and it should only be called after INIT_PROJECT has established the session context. The package is referenced by 20 other packages, underscoring its role as a foundational interface within Oracle Projects. All callers must supply valid project IDs and rely on the package's validation routines to detect duplicate references or invalid hierarchy changes. Standard EBS error handling conventions apply, with messages sourced via FND_NEW_MESSAGES.