Search Results pa_expenditures_s
Overview
The APPS.PA_EXPENDITURES_PKG package body is a stored PL/SQL program unit in the Oracle E-Business Suite Applications (APPS) schema that supports the Oracle Projects (PA) expenditure management subsystem. Its primary business function is to provide the low-level data manipulation logic required to maintain rows in the expenditure tables that record project costs captured from external sources such as Oracle Payables, Oracle Purchasing, Oracle Time and Labor, and Oracle Inventory. In EBS 12.1.1 and 12.2.2 the package is documented with a status of VALID and an API classification of OTHER, indicating that it is an internal runtime component rather than a publicly published business API. It underpins the DML (insert, update, delete, and lock) behavior for expenditure records and their associated expenditure items, ensuring that project cost transactions are persisted consistently and that row-level locking is applied where concurrent processing demands it.
Key Procedures and Functions
The package exposes a small set of documented procedures, each addressing a specific DML responsibility:
- INSERT_ROW — Creates a new row in the primary expenditure table, establishing the base record for a project cost transaction.
- UPDATE_ROW — Modifies an existing expenditure row, typically to reflect corrections or adjustments to previously captured costs.
- DELETE_ROW — Removes an expenditure row, used when a transaction is reversed or invalidated.
- LOCK_ROW — Acquires a lock on a specified row to prevent concurrent modification, supporting the integrity of the surrounding transaction.
A fifth routine is present in the package but is not itemized in the documented procedure list. The procedures are invoked collectively to enforce referential and transactional consistency. The specific parameter lists follow the standard Oracle Projects internal conventions and are not enumerated here; callers should reference the package specification for exact signatures.
Tables Accessed
The package operates against several core Oracle Projects tables, referenced through APPS synonyms:
- PA_EXPENDITURES — The primary expenditure header/detail table that stores captured project cost transactions; the target of INSERT_ROW, UPDATE_ROW, and DELETE_ROW operations.
- PA_EXPENDITURES_S — A shadow or interface-related table used in conjunction with the primary expenditure record, relevant to the "pa_expenditures_s" search term.
- PA_EXPENDITURE_ITEMS — Stores the constituent line-level items belonging to an expenditure, maintaining the one-to-many relationship between expenditures and their items.
- DUAL — The standard Oracle single-row utility table, used for scalar evaluations and lookups within the package logic.
The package also depends on PA_EXPENDITURE_ITEMS_PKG and FND_MESSAGE, indicating that it delegates item-level logic and standard error-message construction to companion utilities.
Usage Notes
PA_EXPENDITURES_PKG is an internal component invoked primarily by Oracle Projects forms, concurrent programs, and dependent PL/SQL packages rather than by end users directly. The ETRM metadata records it as referenced by one other package and, notably, not referenced by any database object outside its own dependency chain, confirming its role as a supporting unit. Custom development should avoid calling these routines directly wherever a documented public API exists, because the procedures embody assumptions about transaction state and concurrency. When integration or extension work requires interaction with these routines, the calling code must supply a valid transaction context and honor the LOCK_ROW convention to prevent lost updates.
-
SEQUENCE: PA.PA_EXPENDITURES_S
12.2.2
owner:PA, object_type:SEQUENCE, object_name:PA_EXPENDITURES_S, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURES_S, status:VALID,
-
SEQUENCE: PA.PA_EXPENDITURES_S
12.1.1
owner:PA, object_type:SEQUENCE, object_name:PA_EXPENDITURES_S, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURES_S, status:VALID,
-
PACKAGE BODY: APPS.PA_EXPENDITURES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_EXP_COPY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXP_COPY, status:VALID,
-
PACKAGE BODY: APPS.PA_EXPENDITURES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_BURDEN_COSTING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BURDEN_COSTING, status:VALID,
-
PACKAGE BODY: APPS.PA_BURDEN_COSTING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BURDEN_COSTING, status:VALID,
-
PACKAGE BODY: APPS.PA_CALC_OVERTIME
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CALC_OVERTIME, status:VALID,
-
PACKAGE BODY: APPS.PA_CALC_OVERTIME
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CALC_OVERTIME, status:VALID,
-
PACKAGE BODY: APPS.PA_PAY_INTERFACE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PAY_INTERFACE, status:VALID,
-
PACKAGE BODY: APPS.PA_EXP_COPY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXP_COPY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PA_TRX_IMPORT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_TRX_IMPORT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PA_TRX_IMPORT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_TRX_IMPORT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PA_EXP_COPY dependencies on PA_EXPENDITURES_S
12.2.2
-
APPS.PA_BURDEN_COSTING dependencies on PA_EXPENDITURES_S
12.1.1
-
APPS.PA_CALC_OVERTIME dependencies on PA_EXPENDITURES_S
12.2.2
-
APPS.PA_EXPENDITURES_PKG dependencies on PA_EXPENDITURES_S
12.2.2
-
APPS.PA_CALC_OVERTIME dependencies on PA_EXPENDITURES_S
12.1.1
-
APPS.PA_TRX_IMPORT dependencies on PA_EXPENDITURES_S
12.2.2
-
APPS.PA_PAY_INTERFACE dependencies on PA_EXPENDITURES_S
12.2.2
-
APPS.PA_TRX_IMPORT dependencies on PA_EXPENDITURES_S
12.1.1
-
APPS.PA_EXPENDITURES_PKG dependencies on PA_EXPENDITURES_S
12.1.1
-
APPS.PA_EXP_COPY dependencies on PA_EXPENDITURES_S
12.1.1
-
APPS.PA_BURDEN_COSTING dependencies on PA_EXPENDITURES_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1