Results for “pa_cost_distribution_lines_pk”
6 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PA_COST_DISTRIBUTION_LINES_ALL is the core Oracle Projects table that stores the distribution of expenditure item costs across general ledger accounts, projects, tasks, and reporting currencies. Its documented description is "Information about expenditure item cost distribution." Each row represents one cost distribution line for an expenditure item, identifying the debit and credit accounting flexfield combinations, the amounts in denominator, project, project functional, and accounting currencies, and the transfer status to Oracle General Ledger. The table sits at the intersection of Oracle Projects costing and subledger accounting: it is populated during the cost distribution and burdening process and is the source from which project costs are transferred to GL and summarized for capitalization and asset generation.
From a modeling perspective, the FK structure suggests a satellite-leaning classification: the table holds descriptive, mutable attributes (amounts, status codes, dates, flags) that hang off the central EXPENDITURE_ITEM_ID business key rather than acting as a standalone hub or link. The _ALL suffix indicates multi-organization partitioning by ORG_ID, which must be considered in every query.
Key Information Stored
The primary key is PA_COST_DISTRIBUTION_LINES_PK, composed of LINE_NUM and EXPENDITURE_ITEM_ID. A separate unique index, PA_COST_DISTRIBUTION_LINES_U1 (EXPENDITURE_ITEM_ID, LINE_NUM), serves as the business-key candidate, confirming that line number is only unique within an expenditure item.
The most significant columns include:
EXPENDITURE_ITEM_IDandLINE_NUM— the composite key linking each distribution line to its parent expenditure item.DR_CODE_COMBINATION_IDandCR_CODE_COMBINATION_ID— the debit and credit accounting flexfield combinations (FK toGL_CODE_COMBINATIONS).PROJECT_IDandTASK_ID— the project and task to which the cost is charged.ORG_ID— the operating unit, required for multi-org security.DENOM_RAW_COST,DENOM_BURDENED_COST— raw and burdened costs in the denominator (transaction) currency.PROJECT_RAW_COST,PROJECT_BURDENED_COST— amounts converted to project currency along withPROJECT_CURRENCY_CODE,PROJECT_EXCHANGE_RATE, andPROJECT_RATE_TYPE.ACCT_RAW_COST,ACCT_BURDENED_COST— amounts in accounting currency withACCT_CURRENCY_CODE,ACCT_EXCHANGE_RATE, andACCT_RATE_TYPE.TRANSFER_STATUS_CODE,GL_DATE,TRANSFERRED_DATE,GL_PERIOD_NAME— transfer state to General Ledger, andTRANSFER_REJECTION_REASONfor failures.BATCH_NAME— FK toPA_EXPENDITURE_BATCHES_ALL, identifying the expenditure batch.REVERSED_FLAGandLINE_NUM_REVERSED— self-referencing reversal tracking.PA_DATE,PA_PERIOD_NAME,GL_PERIOD_NAME— accounting dates and periods for Projects and GL.
Common Use Cases and Queries
Typical reporting involves reconciling project costs to GL, auditing untransferred or rejected distributions, and validating burdened versus raw cost amounts.
- Identify distributions not yet transferred to GL: filter on
TRANSFER_STATUS_CODEand nullGL_DATE. - Reconcile project currency to accounting currency by comparing
PROJECT_BURDENED_COSTandACCT_BURDENED_COST. - Trace reversed lines using
LINE_NUM_REVERSEDagainst the sameEXPENDITURE_ITEM_ID.
A representative query pattern:
SELECT pcdl.expenditure_item_id, pcdl.line_num, pcdl.acct_burdened_cost, pcdl.transfer_status_code FROM pa_cost_distribution_lines_all pcdl WHERE pcdl.org_id = :org_id AND pcdl.gl_date IS NULL;
These queries are common in period-end close reporting, cost transfer audits, and capital project asset reconciliation.
Related Objects
The following objects are the most significant dependencies based on documented foreign keys:
PA_EXPENDITURE_ITEMS_ALL— joined onEXPENDITURE_ITEM_ID; the parent expenditure item.GL_CODE_COMBINATIONS— joined onDR_CODE_COMBINATION_IDandCR_CODE_COMBINATION_ID.PA_PROJECTS_ALLandPA_TASKS— joined onPROJECT_IDandTASK_ID.PA_EXPENDITURE_BATCHES_ALL— joined onBATCH_NAME.PA_PROJECT_ASSET_LINE_DETAILS— referencesLINE_NUM; drives asset capitalization.PA_TXN_ACCUM_DETAILSandPA_BC_COMMITMENTS_ALL— referenceLINE_NUMfor accumulation and commitment tracking.PA_MC_COST_DIST_LINES_ALL— multiple currency cost distribution lines referencingLINE_NUM.
-
Information about expenditure item cost distribution
-
Information about expenditure item cost distribution
-
eTRM - PA Tables and Views 12.2.2
-
eTRM - PA Tables and Views 12.1.1
-
eTRM - PA Tables and Views 12.1.1
-
eTRM - PA Tables and Views 12.2.2