Search Results pa_cc_dist_lines
Overview
PA_CC_DIST_LINES is a Projects (PA) module view that presents cross-charge distribution lines in Oracle EBS 12.1.1 and 12.2.2. It is a Single-Org view, meaning it filters rows from the underlying multi-org table to the operating unit currently set in the session. The view is not implemented as a standalone database object in every environment; the ETRM metadata indicates "Not implemented in this database," which means it is typically created only where the Projects cross-charge distribution functionality is deployed. In practice, the view is used for reporting, reconciliation, and integration of cross-charge accounting entries generated by the Projects costing engine.
The view is defined over PA_CC_DIST_LINES_ALL, the base table that stores cross-charge distribution lines. It exposes both the accounting code combination identifiers — DR_CODE_COMBINATION_ID (debit) and CR_CODE_COMBINATION_ID (credit) — which are the source of the "cr_code_combination_id" column commonly referenced in queries and reports.
Underlying Base Objects
The ETRM documentation does not enumerate referenced base objects, but the view text shows it selects directly from PA_CC_DIST_LINES_ALL. The WHERE clause applies the operating-unit (ORG_ID) security predicate using USERENV('CLIENT_INFO'), so rows are restricted to the current organization context. Because it selects from the _ALL table rather than a _TL table, no additional language or translation tables are involved. No joins to other tables are present in the documented view text; all columns originate from PA_CC_DIST_LINES_ALL.
Key Columns
- CC_DIST_LINE_ID — Primary key identifying the cross-charge distribution line.
- EXPENDITURE_ITEM_ID — Links the distribution line to the originating expenditure item.
- DR_CODE_COMBINATION_ID / CR_CODE_COMBINATION_ID — Debit and credit accounting flexfield code combination identifiers. The credit column (CR_CODE_COMBINATION_ID) is the one most frequently queried for account derivation and reconciliation.
- AMOUNT — Distribution amount for the line, expressed in ACCT_CURRENCY_CODE.
- LINE_TYPE, LINE_NUM, CROSS_CHARGE_CODE — Classify the distribution line, its sequence, and cross-charge logic.
- PROJECT_ID, TASK_ID, ORG_ID — Project, task, and operating unit context.
- REVERSED_FLAG, LINE_NUM_REVERSED, DIST_LINE_ID_REVERSED — Identify reversal relationships between distribution lines.
- PA_DATE, GL_DATE, GL_PERIOD_NAME, PA_PERIOD_NAME — Project and General Ledger accounting dates and periods.
- TRANSFER_STATUS_CODE, TRANSFERRED_DATE, TRANSFER_REJECTION_CODE, GL_BATCH_NAME — Track the transfer of the line to GL and any rejection reasons.
- TP_* columns (TP_BASE_AMOUNT, TP_JOB_ID, and currency/rate columns) — Transfer price and markup basis information.
- REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID — Concurrency and audit context.
Common Use Cases and Queries
Typical scenarios include reconciling cross-charge accounting entries, verifying debit/credit account combinations for transferred distributions, and checking transfer or rejection status before GL posting. A common pattern joins EXPENDITURE_ITEM_ID back to expenditure items and looks up the credit account.
Sample query:
SELECT cc.CC_DIST_LINE_ID, cc.EXPENDITURE_ITEM_ID, cc.AMOUNT, cc.DR_CODE_COMBINATION_ID, cc.CR_CODE_COMBINATION_ID, cc.PA_DATE, cc.GL_DATE, cc.TRANSFER_STATUS_CODE FROM PA_CC_DIST_LINES cc WHERE cc.EXPENDITURE_ITEM_ID = :expenditure_item_id;SELECT cc.CR_CODE_COMBINATION_ID, gcc.concatenated_segments, SUM(cc.AMOUNT) FROM PA_CC_DIST_LINES cc, GL_CODE_COMBINATIONS_KFV gcc WHERE cc.TRANSFER_STATUS_CODE = 'T' AND cc.CR_CODE_COMBINATION_ID = gcc.code_combination_id GROUP BY cc.CR_CODE_COMBINATION_ID, gcc.concatenated_segments;SELECT cc.* FROM PA_CC_DIST_LINES cc WHERE cc.PA_PERIOD_NAME = :period AND cc.REVERSED_FLAG = 'N';
Because ORG_ID filtering is applied through the view, queries automatically respect the session's operating unit; explicit ORG_ID predicates are therefore optional but can improve clarity in multi-org reporting.
-
View: PA_CC_DIST_LINES
12.2.2
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
View: PA_CC_DIST_LINES
12.1.1
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
APPS.PA_PACCGLTR_XMLP_PKG SQL Statements
12.1.1
-
APPS.PA_PACCGLTR_XMLP_PKG SQL Statements
12.2.2
-
APPS.PA_CC_GL_TRANS_CCDS SQL Statements
12.2.2
-
APPS.PA_CC_GL_TRANS_CCDS SQL Statements
12.1.1
-
View: PA_CC_DIST_SUM_REP_MRC_V
12.1.1
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_cc_dist_lines_all, pa_mc_cc_dist_lines_all , implementation_dba_data: Not implemented in this database ,
-
View: PA_CC_DIST_SUM_REP_MRC_V
12.2.2
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_cc_dist_lines_all, pa_mc_cc_dist_lines_all , implementation_dba_data: Not implemented in this database ,
-
PACKAGE: APPS.PA_INVOICE_DETAIL_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_INVOICE_DETAIL_PROCESS, status:VALID,
-
PACKAGE: APPS.PA_INVOICE_DETAIL_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_INVOICE_DETAIL_PROCESS, status:VALID,
-
SYNONYM: APPS.PA_CC_DIST_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_CC_DIST_LINES, status:VALID,
-
SYNONYM: APPS.PA_CC_DIST_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_CC_DIST_LINES, status:VALID,
-
PACKAGE BODY: APPS.PA_PACCGLTR_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PACCGLTR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_CC_BL_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CC_BL_PROCESS, status:VALID,
-
APPS.PA_CC_BL_PROCESS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PA_CC_GL_TRANS_CCDS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CC_GL_TRANS_CCDS, status:VALID,
-
PACKAGE BODY: APPS.PA_PACCGLTR_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PACCGLTR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_CC_GL_TRANS_CCDS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CC_GL_TRANS_CCDS, status:VALID,
-
PACKAGE BODY: APPS.PA_XLA_SWEEP_TXN_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_XLA_SWEEP_TXN_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_CC_BL_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CC_BL_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_DETAIL_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_DETAIL_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.PA_XLA_SWEEP_TXN_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_XLA_SWEEP_TXN_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_CC_GL_TRANS_CCDS
12.2.2
-
PACKAGE BODY: APPS.PA_INVOICE_DETAIL_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_DETAIL_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.PA_CC_GL_TRANS_CCDS
12.1.1
-
View: PA_CC_DIST_LINES_MRC_V
12.1.1
product: PA - Projects , description: Single-org, single currency view for pa_cc_dist_lines_all , implementation_dba_data: Not implemented in this database ,
-
View: PA_CC_DIST_LINES_MRC_V
12.2.2
product: PA - Projects , description: Single-org, single currency view for pa_cc_dist_lines_all , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.PA_PACCGLTR_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PACCGLTR_XMLP_PKG
12.1.1
-
APPS.PA_CC_BL_PROCESS SQL Statements
12.1.1
-
VIEW: PA.PA_CC_DIST_LINES_ALL#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_CC_DIST_LINES_ALL#, status:VALID,
-
TABLE: PA.PA_CC_DIST_LINES_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_CC_DIST_LINES_ALL, object_name:PA_CC_DIST_LINES_ALL, status:VALID,
-
PACKAGE: APPS.PA_CC_BL_PROCESS
12.2.2
-
APPS.PA_XLA_SWEEP_TXN_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.PA_CC_BL_PROCESS
12.1.1
-
APPS.PA_XLA_SWEEP_TXN_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.PA_INVOICE_DETAIL_PROCESS
12.1.1
-
PACKAGE: APPS.PA_INVOICE_DETAIL_PROCESS
12.2.2
-
APPS.PA_INVOICE_DETAIL_PROCESS SQL Statements
12.2.2
-
APPS.PA_INVOICE_DETAIL_PROCESS SQL Statements
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PA_PACCGLTR_XMLP_PKG dependencies on PA_CC_DIST_LINES
12.2.2
-
APPS.PA_CC_BL_PROCESS dependencies on PA_CC_DIST_LINES
12.2.2
-
PACKAGE BODY: APPS.PA_CC_BL_PROCESS
12.2.2
-
APPS.PA_PACCGLTR_XMLP_PKG dependencies on PA_CC_DIST_LINES
12.1.1
-
APPS.PA_INVOICE_DETAIL_PROCESS dependencies on PA_CC_DIST_LINES
12.1.1
-
APPS.PA_XLA_SWEEP_TXN_PKG dependencies on PA_CC_DIST_LINES
12.1.1
-
APPS.PA_CC_GL_TRANS_CCDS dependencies on PA_CC_DIST_LINES
12.2.2
-
APPS.PA_INVOICE_DETAIL_PROCESS dependencies on PA_CC_DIST_LINES
12.1.1