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 ,
-
APPS.BEN_ASSIGNMENT_API dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.OTA_EL_ENROLL_SS dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_CAL_SHD dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.OTA_BULK_ENROLL_UTIL dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HREMPTER dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_H2PI_PERSON_UPLOAD dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.OTA_TRNG_ENROLL_SS dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_ASSG_COST_SS dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_CAL_BUS dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_CONTINGENT_WORKER_API dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_MEE_VIEWS_GEN dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_COST_ALLOCATIONS_F_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_PAY_INTERFACE_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.OTA_BULK_ENROLL_UTIL dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.OTA_TRNG_ENROLL_SS dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_DATE_CHK dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_MEE_VIEWS_GEN dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PER_ASG_BUS2 dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_CAL_SHD dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_DELETE dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_CAL_DEL dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_H2PI_PERSON_UPLOAD dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_ASSIGNMENT_INTERNAL dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_PERSON_DELETE dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PER_CANCEL_HIRE_OR_APL_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_CAL_INS dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_CAL_DEL dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_PAY_INTERFACE_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_COST_ALLOCATION_SWI dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_COSTING_KFF_UTIL_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_ASSIGNMENT dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.OTA_ENROLL_IN_TRAINING_SS dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PER_ASG_BUS2 dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PER_CANCEL_HIRE_OR_APL_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_CAL_BUS dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_CONTINGENT_WORKER_API dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HR_PERSON_INTERNAL dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_ASSIGNMENT dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.HREMPTER dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.OTA_MANDATORY_ENROLL_UTIL dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.OTA_ENROLL_IN_TRAINING_SS dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_CAL_UPD dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_CAL_UPD dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.PAY_COST_ALLOCATION_API dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on PAY_COST_ALLOCATIONS_F
12.2.2
-
APPS.HR_CHANGE_START_DATE_API dependencies on PAY_COST_ALLOCATIONS_F
12.1.1
-
APPS.PAY_COSTING_KFF_UTIL_PKG dependencies on PAY_COST_ALLOCATIONS_F
12.1.1