Search Results pa_expenditure_items_pkg
Overview
PA_EXPENDITURE_ITEMS_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM as an "OTHER" API type. Its principal business function is to encapsulate the low-level data manipulation and concurrency control logic for expenditure item records and their associated comments within Oracle Projects. Expenditure items are the atomic building blocks of project cost collection; they represent individual transactions — labor, expense reports, usage, supplier invoices, and miscellaneous costs — that are charged against a project, task, and expenditure type. Since these records drive project costing, billing, revenue recognition, and capitalization, their integrity is critical. This package provides the programmatic layer that Oracle Projects forms and higher-level processing packages rely upon to insert, modify, delete, and lock expenditure item rows safely, ensuring that DML against the base tables occurs consistently and in a controlled fashion.
Key Procedures and Functions
The documented interface exposes five procedures, of which four are catalogued as core DML operations:
- INSERT_ROW — Creates a new expenditure item record. It populates the base expenditure item table and its corresponding translation (TL) table, typically returning the generated primary key for use by the calling context.
- UPDATE_ROW — Modifies attributes of an existing expenditure item, applying changes across both the base and translation tables to keep them synchronized.
- DELETE_ROW — Removes an expenditure item and its dependent translation/comment rows, subject to project accounting business rules that restrict deletion of processed or billed items.
- LOCK_ROW — Acquires a row-level lock on the selected expenditure item, serializing concurrent access so that two sessions cannot modify the same item simultaneously.
- One additional documented procedure completes the package interface; together these routines form a table-handler style API used internally rather than by external integrations.
Parameter lists are not enumerated in the ETRM metadata and should not be assumed; callers should inspect the package specification in the target instance.
Tables Accessed
- PA_EXPENDITURE_ITEMS — the base table storing expenditure item transactions.
- PA_EXPENDITURE_ITEMS_S — the sequence/primary-key backing table used to generate unique expenditure item identifiers during inserts.
- PA_EXPENDITURE_COMMENTS — stores free-text comments attached to expenditure items, maintained alongside the parent item.
All three are referenced via APPS synonyms, meaning the package operates entirely within the APPS schema namespace.
Usage Notes
PA_EXPENDITURE_ITEMS_PKG is an internal, form-driven package rather than a published open interface. It is referenced by PA_EXPENDITURES_PKG, the broader expenditure processing package that orchestrates cost collection and validation, indicating a layered design in which PA_EXPENDITURES_PKG provides higher-level business logic while PA_EXPENDITURE_ITEMS_PKG handles row-level persistence. It is most commonly invoked indirectly through Oracle Projects expenditure entry forms and through PA_EXPENDITURES_PKG during transaction import and adjustment. Custom code should not call this package directly; the supported integration path is the Oracle Projects open interfaces (for example, the expenditure import APIs), which apply validation and accounting that this low-level handler does not. Direct DML bypassing these routines risks orphaned translation rows, duplicate keys, and inconsistent comments, and is unsupported.
-
PACKAGE: APPS.PA_EXPENDITURE_ITEMS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_EXPENDITURE_ITEMS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_EXPENDITURE_ITEMS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURE_ITEMS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_EXPENDITURE_ITEMS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURE_ITEMS_PKG, status:VALID,
-
PACKAGE: APPS.PA_EXPENDITURE_ITEMS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_EXPENDITURE_ITEMS_PKG, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_ITEMS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_ITEMS_S, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_ITEMS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_ITEMS_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,
-
SYNONYM: APPS.PA_EXPENDITURE_COMMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_COMMENTS, status:VALID,
-
PACKAGE BODY: APPS.PA_EXPENDITURES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURES_PKG, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_COMMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_COMMENTS, status:VALID,
-
PACKAGE: APPS.PA_ADJUSTMENTS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_ADJUSTMENTS, status:VALID,
-
PACKAGE: APPS.PA_ADJUSTMENTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_ADJUSTMENTS, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_ITEMS, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_ITEMS, status:VALID,
-
PACKAGE: APPS.PA_EXPENDITURE_ITEMS_PKG
12.1.1
-
PACKAGE: APPS.PA_EXPENDITURE_ITEMS_PKG
12.2.2
-
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.PA_EXPENDITURE_ITEMS_PKG dependencies on PA_EXPENDITURE_ITEMS_PKG
12.2.2
-
APPS.PA_EXPENDITURES_PKG dependencies on PA_EXPENDITURE_ITEMS_PKG
12.1.1
-
APPS.PA_EXPENDITURE_ITEMS_PKG dependencies on PA_EXPENDITURE_ITEMS_PKG
12.1.1
-
APPS.PA_EXPENDITURES_PKG dependencies on PA_EXPENDITURE_ITEMS_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_EXPENDITURE_ITEMS_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_EXPENDITURE_ITEMS_PKG
12.2.2
-
APPS.PA_EXPENDITURE_ITEMS_PKG dependencies on PA_EXPENDITURE_ITEMS
12.1.1
-
APPS.PA_EXPENDITURE_ITEMS_PKG dependencies on PA_EXPENDITURE_ITEMS
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,
-
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: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,