Search Results pa_agreements_pkg
Overview
PA_AGREEMENTS_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite. It provides the foundational data-maintenance layer for project agreements — the contractual instruments that govern billing terms, revenue recognition, funding limits, invoice formats, and customer invoicing relationships attached to a project or award. In Oracle EBS 12.1.1 and 12.2.2, agreements are maintained in the Projects (PA) module and, in the grants and public-sector context, are shared with the Grants Management (GMS) module. The package encapsulates the canonical insert, lock, update, and delete operations against the agreement tables, ensuring that row-level locking and multi-org (ALL/S) table synchronization are handled consistently. It acts as the low-level persistence mechanism invoked by higher-level agreement maintenance logic rather than being a standalone concurrent submission target.
Key Procedures and Functions
The ETRM documentation identifies four procedures/functions, classified as an "OTHER" application-programming-interface type. Parameter lists are not published in the available metadata and are therefore not reproduced here.
- INSERT_ROW — Creates a new agreement record, populating the agreement tables with the attributes required for billing, funding, and revenue setup.
- LOCK_ROW — Acquires a row-level lock on the target agreement to serialize concurrent modification and prevent lost updates before a change is committed.
- UPDATE_ROW — Applies changes to an existing agreement record, maintaining consistency across the agreement tables.
- DELETE_ROW — Removes an agreement record as part of agreement maintenance or purge activity.
These four operations form a standard maintenance-API pattern; INSERT_ROW, UPDATE_ROW, and DELETE_ROW are the mutating operations, while LOCK_ROW supports optimistic-safe concurrency control.
Tables Accessed
The documented tables accessed through APPS synonyms are PA_AGREEMENTS, PA_AGREEMENTS_ALL, and PA_AGREEMENTS_S.
- PA_AGREEMENTS — the core agreements table holding the principal agreement definition and its billing/funding attributes.
- PA_AGREEMENTS_ALL — the multi-organization variant, covering agreements across operating units in a Multi-Org configuration.
- PA_AGREEMENTS_S — the "S" (security/sequence-enabled) copy used in multi-org, row-level security and set-of-books environments.
The maintenance routines in this package are the mechanism by which the ALL and S tables are kept synchronized with the base table during agreement creation, change, and removal.
Usage Notes
PA_AGREEMENTS_PKG references APPS.PA_INTERFACE_UTILS_PUB, indicating that agreement records can be staged or processed through the interface utilities used for importing and transforming agreement data. It is referenced by GMS_AWARD_PVT, GMS_MULTI_FUNDING, PA_AGREEMENTS_PKG itself (recursive/overload use), and PA_AGREEMENT_CORE. This dependency pattern confirms that the package underlies both Projects agreement maintenance and Grants award/funding processing, where award agreements are created and funded. It is typically invoked indirectly — from the Projects agreement maintenance forms, from award and multi-funding business logic in GMS, and from PL/SQL blocks in custom extensions that need to create, lock, update, or delete agreements. Because it is an internal, low-level persistence package rather than a public API with documented parameter signatures, direct invocation from custom code should account for the ALL/S table synchronization and row-locking responsibilities performed by the package.
-
PACKAGE: APPS.PA_AGREEMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_AGREEMENTS_PKG, status:VALID,
-
PACKAGE: APPS.PA_AGREEMENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_AGREEMENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENTS_PKG, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS_S, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENT_CORE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENT_CORE, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS_S, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENT_CORE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AGREEMENT_CORE, status:VALID,
-
PACKAGE BODY: APPS.GMS_MULTI_FUNDING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_MULTI_FUNDING, status:VALID,
-
PACKAGE BODY: APPS.GMS_MULTI_FUNDING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_MULTI_FUNDING, status:VALID,
-
PACKAGE BODY: APPS.GMS_AWARD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_AWARD_PVT, status:VALID,
-
PACKAGE BODY: APPS.GMS_AWARD_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_AWARD_PVT, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS_ALL, status:VALID,
-
SYNONYM: APPS.PA_AGREEMENTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_AGREEMENTS_ALL, status:VALID,
-
PACKAGE: APPS.PA_AGREEMENTS_PKG
12.2.2
-
PACKAGE: APPS.PA_AGREEMENTS_PKG
12.1.1
-
PACKAGE: APPS.PA_INTERFACE_UTILS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_INTERFACE_UTILS_PUB, status:VALID,
-
PACKAGE: APPS.PA_INTERFACE_UTILS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_INTERFACE_UTILS_PUB, status:VALID,
-
PACKAGE BODY: APPS.PA_AGREEMENTS_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_AGREEMENTS_PKG
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.GMS_AWARD_PVT dependencies on PA_AGREEMENTS_PKG
12.1.1
-
APPS.GMS_AWARD_PVT dependencies on PA_AGREEMENTS_PKG
12.2.2
-
APPS.PA_AGREEMENT_CORE dependencies on PA_AGREEMENTS_PKG
12.2.2
-
APPS.PA_AGREEMENTS_PKG dependencies on PA_AGREEMENTS_PKG
12.1.1
-
APPS.PA_AGREEMENT_CORE dependencies on PA_AGREEMENTS_PKG
12.1.1
-
APPS.PA_AGREEMENTS_PKG dependencies on PA_AGREEMENTS_PKG
12.2.2
-
APPS.GMS_MULTI_FUNDING dependencies on PA_AGREEMENTS_PKG
12.1.1
-
APPS.GMS_MULTI_FUNDING dependencies on PA_AGREEMENTS_PKG
12.2.2
-
APPS.PA_AGREEMENTS_PKG dependencies on PA_AGREEMENTS
12.1.1
-
APPS.PA_AGREEMENTS_PKG dependencies on PA_AGREEMENTS
12.2.2
-
TABLE: SYS.DUAL
12.1.1
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
TABLE: SYS.DUAL
12.2.2
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, 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
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,