Results for “pa_expenditure_items_u1”

22 results




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

Overview

PA.PA_EXPENDITURE_ITEMS_ALL is the master transaction table in Oracle Projects that stores individual expenditure items — the atomic units of cost and revenue that flow through the Project Costing, Billing, and Capitalization processes. Each row represents a single detail line associated with a parent expenditure (PA_EXPENDITURES_ALL) and is linked to a project, task, and expenditure type. The table is a multi-org view/table defined with a Type A Multi-Org designation, meaning queries automatically filter to the current operating unit via ORG_ID while data for other operating units is ignored. It resides in the APPS_TS_TX_DATA tablespace with a PCT Free of 40, and its indexes live in APPS_TS_TX_IDX.

Because the table records transactional facts tied to a parent expenditure and enriched with descriptive attributes (currency, rate, cost, revenue, capitalization, cross-charge details), a Data Vault heuristic classifies it as satellite-leaning rather than a pure hub or link. Its grain is one row per expenditure item, making it a natural detail satellite to the PA_EXPENDITURES_ALL hub, while its many foreign keys to reference tables (currencies, rate types, expenditure types) act as link attachments.

Key Information Stored

The table contains 205 documented columns. The most consequential include:

Note that the documented physical schema lists PA_EXPENDITURE_ITEMS_U1 as covering (EXPENDITURE_ITEM_ID, BILL_HOLD_FLAG), a composite unique index that also serves as a business-key candidate for item/hold combinations.

Common Use Cases and Queries

Typical usage centers on cost and revenue reporting, unprocessed-item cleanup, and billing integration. A common pattern retrieves all items for a project whose costs have not yet been distributed:

  • Reporting project cost detail: join to PA_EXPENDITURES_ALL on EXPENDITURE_ID and PA_PROJECTS_ALL on PROJECT_ID, filtering by a date range on EXPENDITURE_ITEM_DATE.
  • Finding undistributed items: SELECT ... WHERE COST_DISTRIBUTED_FLAG = 'N' OR COST_BURDEN_DISTRIBUTED_FLAG = 'N'.
  • Identifying billing candidates: WHERE BILLABLE_FLAG = 'Y' AND BILL_HOLD_FLAG = 'N' AND REVENUE_DISTRIBUTED_FLAG = 'N'.
  • Tracing adjustments: self-join via ADJUSTED_EXPENDITURE_ITEM_ID or SOURCE_EXPENDITURE_ITEM_ID to reveal original versus correcting items.
  • Cross-charge tracking: filter on CC_CROSS_CHARGE_CODE and CC_IC_PROCESSED_CODE.

The composite index N22 covering CC_XC and expenditure date supports these cross-charge and date-based queries efficiently.

Related Objects

PA_EXPENDITURE_ITEMS_ALL is central to the Projects data model. Significant related objects include:

These relationships confirm the table's role as the fulcrum between cost collection, burdening, and downstream billing and capitalization activity within Oracle Projects.