Search Results pay_cost_allocations_d
Overview
PAY_COST_ALLOCATIONS_D is a DateTrack history view owned by the APPS schema in Oracle E-Business Suite (validated for 12.1.1 and 12.2.2). It belongs to the PAY (Payroll) product family and exists specifically to support DateTrack History functionality. In Oracle Payroll, cost allocations define how an employee's payroll costs are distributed across General Ledger accounts, typically expressed as a percentage split across one or more accounting flexfield combinations. DateTrack allows users to make date-effective changes to such records, retaining prior versions rather than overwriting them.
The "_D" suffix denotes a date-tracked (history) view. Its principal role is to expose the full historical progression of cost allocation records — every dated version of an allocation rather than only the currently effective row — so that users and concurrent programs can display or audit the "History" of allocations from the Cost Allocations form. It is a read-only reporting and inquiry construct and should not be treated as a base DML table. In reporting and integration contexts, it provides a denormalized, human-readable projection of allocation data, including the resolved concatenated accounting flexfield segments and the name of the user who last updated the record, making it convenient for audit reports and extracts.
Underlying Base Objects
The view is defined over three documented base objects:
- PAY_COST_ALLOCATIONS_F — the DateTrack-enabled ("_F") base table holding cost allocation records, keyed by COST_ALLOCATION_ID with EFFECTIVE_START_DATE / EFFECTIVE_END_DATE. This is the primary driver of the view.
- PAY_COST_ALLOCATION_KEYFLEX — the table storing the allocation's accounting key flexfield value, joined via COST_ALLOCATION_KEYFLEX_ID. It supplies the CONCATENATED_SEGMENTS value.
- FND_USER — the Oracle Applications user directory, outer-joined (FUSER.USER_ID (+) = PCOST.LAST_UPDATED_BY) to resolve the updating user's USER_NAME without excluding rows where the user is unknown or null.
Because "_F" tables carry DateTrack columns, the "_D" view simply surfaces all effective-dated versions. The ROUND((PCOST.PROPORTION * 100), 2) expression converts the stored proportion into a two-decimal percentage; this expression is aliased in the column list as PROPORTION, while CKEY.CONCATENATED_SEGMENTS is exposed as COST_CODE.
Key Columns
The documented columns are:
- COST_ALLOCATION_ID — surrogate identifier of the allocation record.
- EFFECTIVE_START_DATE / EFFECTIVE_END_DATE — the DateTrack validity window of each historical version.
- PROPORTION — the allocation percentage, derived as PROPORTION × 100 rounded to two decimals.
- COST_CODE — the concatenated accounting flexfield segments for the allocation, sourced from PAY_COST_ALLOCATION_KEYFLEX. This is the value most commonly matched when a user searches on "cost_code."
- LAST_UPDATE_DATE — timestamp of the most recent change to the row.
- LAST_UPDATED_BY — the FND_USER.USER_ID of the user who last updated the record.
Although LEADING_COLUMN_LIST members LAST_UPDATED_BY and USER_NAME are not both enumerated in the excerpt above, the view text resolves LAST_UPDATED_BY against FND_USER to render the updater's USER_NAME, enriching the audit context of each dated version.
Common Use Cases and Queries
Typical uses include auditing allocation history, reconciling payroll cost distribution changes over time, and reporting which accounting combination (cost code) an employee's costs were allocated to on a given date.
- Display all cost codes for a given allocation:
SELECT cost_allocation_id, effective_start_date, effective_end_date,
proportion, cost_code, last_update_date
FROM apps.pay_cost_allocations_d
WHERE cost_code LIKE :p_cost_code
ORDER BY cost_allocation_id, effective_start_date DESC;
- As-at-date cost code lookup: filter EFFECTIVE_START_DATE <= :as_of AND (EFFECTIVE_END_DATE IS NULL OR EFFECTIVE_END_DATE >= :as_of).
- Audit trail: join to FND_USER via LAST_UPDATED_BY to attribute changes, complementing the USER_NAME column already exposed.
Because the view performs the keyflex and user joins and the percentage rounding automatically, it is preferable to querying the base "_F" table directly when cost codes and updater names are required.
-
View: PAY_COST_ALLOCATIONS_D
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_D, object_name:PAY_COST_ALLOCATIONS_D, status:VALID, product: PAY - Payroll , description: Used by DateTrack History , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS_D ,
-
View: PAY_COST_ALLOCATIONS_D
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_D, object_name:PAY_COST_ALLOCATIONS_D, status:VALID, product: PAY - Payroll , description: Used by DateTrack History , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS_D ,
-
SYNONYM: PUBLIC.PAY_COST_ALLOCATIONS_D
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_COST_ALLOCATIONS_D, status:VALID,
-
VIEW: APPS.PAY_COST_ALLOCATIONS_D
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_D, object_name:PAY_COST_ALLOCATIONS_D, status:VALID,
-
VIEW: APPS.PAY_COST_ALLOCATIONS_D
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_D, object_name:PAY_COST_ALLOCATIONS_D, status:VALID,
-
SYNONYM: APPS.PAY_COST_ALLOCATIONS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_COST_ALLOCATIONS_F, status:VALID,
-
SYNONYM: APPS.PAY_COST_ALLOCATIONS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_COST_ALLOCATIONS_F, status:VALID,
-
SYNONYM: APPS.PAY_COST_ALLOCATION_KEYFLEX
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_COST_ALLOCATION_KEYFLEX, status:VALID,
-
SYNONYM: APPS.PAY_COST_ALLOCATION_KEYFLEX
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_COST_ALLOCATION_KEYFLEX, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.FND_USER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_USER, status:VALID,
-
SYNONYM: APPS.FND_USER
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_USER, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,