Results for “pa_resources_s”

20 results




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

Overview

PA_CREATE_RESOURCE is an Oracle EBS Projects (PA) schema package body owned by APPS. It provides the core server-side logic for creating and maintaining resource definitions used throughout the Projects suite: resources, resource lists, resource list members, resource groups, resource transaction attributes, and their translatable and language-installation data. The package functions as an internal workhorse rather than a public application programming interface; its API classification recorded in ETRM is OTHER, and it is not referenced by any other database object, though it is itself dependent on a broad set of Projects and Application Object Library components including FND_API, FND_MSG_PUB, FND_PROFILE, PA_GET_RESOURCE, PA_JOB_UTILS, PA_INTERFACE_UTILS_PUB, PA_PLAN_RL_FORMATS_PVT, and PA_RESOURCE_LIST_TBL_PKG.

The immediate relevance to a search on PA_RESOURCE_LIST_MEMBERS_S is that PA_CREATE_RESOURCE is one of the principal packages that writes to the resource list member tables, and it therefore drives the surrogate key generation and the member sequencing that populate PA_RESOURCE_LIST_MEMBERS and its _S (sequence/primary key) companion table. Understanding this package is essential when diagnosing duplicate member rows, gaps in member IDs, or mismatches between a resource list header and its members.

Key Procedures and Functions

ETRM documents sixteen procedures and functions within the package body. These group naturally into four functional areas.

Tables Accessed

The package reads and writes a wide set of Projects tables through APPS synonyms. Core resource tables include PA_RESOURCES and PA_RESOURCES_S (resource definitions and their surrogate keys), PA_RESOURCE_CLASSES_B, PA_RESOURCE_TYPES, and PA_RESOURCE_FORMATS, which define the classification and format attributes of a resource. Resource list structures are held in PA_RESOURCE_LISTS_S, PA_RESOURCE_LISTS_TL (translatable names and descriptions), and PA_RESOURCE_LISTS_ALL_BG, the multi-organization background table. Member-level data resides in PA_RESOURCE_LIST_MEMBERS and PA_RESOURCE_LIST_MEMBERS_S; the latter supplies the sequence-generated primary key for each member row, which is the object referenced in the user's search. Planning list formats and defaults are stored in PA_PLAN_RL_FORMATS, PA_PLAN_RL_FORMATS_S, and PA_PLAN_RES_DEFAULTS. Transaction attributes are written to PA_RESOURCE_TXN_ATTRIBUTES and PA_RESOURCE_TXN_ATTRIBUTES_S. Reference and validation data are read from PA_RESOURCE_GROUPS_VALID_V, PA_RESOURCE_LIST_ASSIGNMENTS_V, PA_EVENT_TYPES_RES_V, PA_EXPENDITURE_TYPES_RES_V, PA_ORGANIZATIONS_RES_V, PA_RESOURCE_TYPES_ACTIVE_V, PA_REVENUE_CATEGORIES_V, and PA_JOBS_V. Language support uses FND_LANGUAGES.

Usage Notes

PA_CREATE_RESOURCE is invoked indirectly by the Projects forms and by concurrent programs that create resources, generate default planning resource lists, or copy resource lists between projects and organizations. Because the package body is not referenced by other database objects, external callers reach it through form-level triggers, workflow, or custom PL/SQL that calls the package directly. When troubleshooting PA_RESOURCE_LIST_MEMBERS_S, verify that member inserts originate from CREATE_RESOURCE_LIST_MEMBER or ADD_RESOUCE_LIST_MEMBER and that the sequence-backed key in the _S table is committed transactionally with the base member row. Copy operations through COPY_RESOURCE_LIST and COPY_RESOURCE_LISTS should be checked for orphaned members if a copy terminates mid-transaction. Language-related procedures, ADD_LANGUAGE, TRANSLATE_ROW, and LOAD_ROW, are normally executed during installation, patching, or translation maintenance, not during routine production use.