Search Results pay_cost_allocations_f
Overview
The PAY_COST_ALLOCATIONS_F table is a core data object within the Oracle E-Business Suite Payroll (PAY) module, specifically for releases 12.1.1 and 12.2.2. It stores detailed cost allocation information for employee assignments, enabling the distribution of payroll and labor costs across multiple accounting segments. This table is essential for accurate financial accounting and reporting, as it defines how an employee's earnings and associated costs are charged to different departments, projects, accounts, or other cost centers. As a date-effective table (indicated by the "_F" suffix and the EFFECTIVE_START_DATE and EFFECTIVE_END_DATE columns), it maintains a historical record of how cost allocation rules for an assignment change over time, ensuring payroll runs apply the correct costing rules for any given period.
Key Information Stored
The table's primary key is a composite of COST_ALLOCATION_ID, EFFECTIVE_START_DATE, and EFFECTIVE_END_DATE, which uniquely identifies each dated row of cost allocation data. The most critical columns include COST_ALLOCATION_ID, which is the unique identifier for the allocation set, and COST_ALLOCATION_KEYFLEX_ID. This foreign key column links to the PAY_COST_ALLOCATION_KEYFLEX table, which holds the specific combination of accounting flexfield segments (e.g., Company, Cost Center, Account) that define the charge account. The BUSINESS_GROUP_ID column, a foreign key to HR_ALL_ORGANIZATION_UNITS, secures the data within the appropriate organizational boundary. Additional columns typically found in this structure, though not explicitly listed in the provided metadata, would include ASSIGNMENT_ID to link to the employee assignment and PERCENTAGE or AMOUNT fields to specify the proportion of cost allocated to each key flexfield combination.
Common Use Cases and Queries
A primary use case is generating reports on labor cost distribution for financial month-end close or project accounting. Auditors may query this table to verify that payroll costs are charged according to company policy. During payroll processing, the engine reads this table to determine the accounting entries to create. A common SQL pattern retrieves the active cost allocation for a specific assignment as of a given date:
- SELECT pca.cost_allocation_keyflex_id, pca.percentage FROM pay_cost_allocations_f pca WHERE pca.assignment_id = :p_assignment_id AND SYSDATE BETWEEN pca.effective_start_date AND pca.effective_end_date;
Another frequent query joins to the key flexfield table to report the actual segment values:
- SELECT pca.assignment_id, pk.concatenated_segments, pca.percentage FROM pay_cost_allocations_f pca, pay_cost_allocation_keyflex pk WHERE pca.cost_allocation_keyflex_id = pk.cost_allocation_keyflex_id AND pca.business_group_id = :p_bg_id;
Related Objects
As indicated by the foreign keys, PAY_COST_ALLOCATIONS_F has direct dependencies on several key tables. The most significant relationship is with PAY_COST_ALLOCATION_KEYFLEX, which stores the accounting flexfield combinations referenced by COST_ALLOCATION_KEYFLEX_ID. It also references HR_ALL_ORGANIZATION_UNITS via BUSINESS_GROUP_ID for security. This table is typically a child of PAY_ASSIGNMENTS_F (via ASSIGNMENT_ID, implied by its purpose). Key APIs, such as the PAY_COST_ALLOCATIONS_API in the HRMS library, are used to create and maintain rows in this table programmatically. Data is often accessed via key payroll views like PAY_COST_ALLOCATIONS_V, which provides a more user-friendly layer over the underlying table structure.
-
Table: PAY_COST_ALLOCATIONS_F
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_F, object_name:PAY_COST_ALLOCATIONS_F, status:VALID, product: PAY - Payroll , description: Cost allocation details for an assignment. , implementation_dba_data: HR.PAY_COST_ALLOCATIONS_F ,
-
Table: PAY_COST_ALLOCATIONS_F
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_F, object_name:PAY_COST_ALLOCATIONS_F, status:VALID, product: PAY - Payroll , description: Cost allocation details for an assignment. , implementation_dba_data: HR.PAY_COST_ALLOCATIONS_F ,
-
View: PAY_COST_ALLOCATIONS_X
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_X, object_name:PAY_COST_ALLOCATIONS_X, status:VALID, product: PAY - Payroll , description: Date-effective view. , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS_X ,
-
View: PAY_AU_ASG_PAY_RUNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_AU_ASG_PAY_RUNS_V, object_name:PAY_AU_ASG_PAY_RUNS_V, status:VALID, product: PAY - Payroll , description: Australian localisation view. , implementation_dba_data: APPS.PAY_AU_ASG_PAY_RUNS_V ,
-
View: PAY_AU_ASG_PAY_RUNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_AU_ASG_PAY_RUNS_V, object_name:PAY_AU_ASG_PAY_RUNS_V, status:VALID, product: PAY - Payroll , description: Australian localisation view. , implementation_dba_data: APPS.PAY_AU_ASG_PAY_RUNS_V ,
-
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 ,
-
View: PAY_COST_ALLOCATIONS_X
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_X, object_name:PAY_COST_ALLOCATIONS_X, status:VALID, product: PAY - Payroll , description: Date-effective view. , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS_X ,
-
Table: PAY_COST_ALLOCATION_KEYFLEX
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_COST_ALLOCATION_KEYFLEX, object_name:PAY_COST_ALLOCATION_KEYFLEX, status:VALID, product: PAY - Payroll , description: Cost Allocation key flexfield combinations table. , implementation_dba_data: HR.PAY_COST_ALLOCATION_KEYFLEX ,
-
Table: PAY_COST_ALLOCATION_KEYFLEX
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_COST_ALLOCATION_KEYFLEX, object_name:PAY_COST_ALLOCATION_KEYFLEX, status:VALID, product: PAY - Payroll , description: Cost Allocation key flexfield combinations table. , implementation_dba_data: HR.PAY_COST_ALLOCATION_KEYFLEX ,
-
View: PAYBV_COST_ALLOCATIONS_F_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAYBV_COST_ALLOCATIONS_F_V, object_name:PAYBV_COST_ALLOCATIONS_F_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAYBV_COST_ALLOCATIONS_F_V ,
-
View: PAYBV_COST_ALLOCATIONS_F_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAYBV_COST_ALLOCATIONS_F_V, object_name:PAYBV_COST_ALLOCATIONS_F_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAYBV_COST_ALLOCATIONS_F_V ,
-
View: PAY_COST_ALLOCATIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS, object_name:PAY_COST_ALLOCATIONS, status:VALID, product: PAY - Payroll , description: Date-effective view. , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS ,
-
View: PAY_COST_ALLOCATIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS, object_name:PAY_COST_ALLOCATIONS, status:VALID, product: PAY - Payroll , description: Date-effective view. , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS ,
-
View: PAY_COST_ALLOCATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_V, object_name:PAY_COST_ALLOCATIONS_V, status:VALID, product: PAY - Payroll , description: View of cost allocations for the effective date with concatenated segments from the cost allocation keyflex. , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS_V ,
-
View: PAY_COST_ALLOCATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_COST_ALLOCATIONS_V, object_name:PAY_COST_ALLOCATIONS_V, status:VALID, product: PAY - Payroll , description: View of cost allocations for the effective date with concatenated segments from the cost allocation keyflex. , implementation_dba_data: APPS.PAY_COST_ALLOCATIONS_V ,
-
View: PAY_KR_SEPL_LIAB_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_KR_SEPL_LIAB_SUMMARY_V, object_name:PAY_KR_SEPL_LIAB_SUMMARY_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_KR_SEPL_LIAB_SUMMARY_V ,
-
View: PAY_KR_SEPL_LIAB_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_KR_SEPL_LIAB_SUMMARY_V, object_name:PAY_KR_SEPL_LIAB_SUMMARY_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_KR_SEPL_LIAB_SUMMARY_V ,
-
View: PAY_NZ_ASG_PAYMENT_RUNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ASG_PAYMENT_RUNS_V, object_name:PAY_NZ_ASG_PAYMENT_RUNS_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_NZ_ASG_PAYMENT_RUNS_V ,
-
View: PAY_NZ_ASG_PAYMENT_RUNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ASG_PAYMENT_RUNS_V, object_name:PAY_NZ_ASG_PAYMENT_RUNS_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_NZ_ASG_PAYMENT_RUNS_V ,
-
View: PAY_KR_SEP_LIAB_DETAIL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_KR_SEP_LIAB_DETAIL_V, object_name:PAY_KR_SEP_LIAB_DETAIL_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_KR_SEP_LIAB_DETAIL_V ,
-
View: PAY_KR_SEP_LIAB_DETAIL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_KR_SEP_LIAB_DETAIL_V, object_name:PAY_KR_SEP_LIAB_DETAIL_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_KR_SEP_LIAB_DETAIL_V ,