Lists the costing configuration done at the position level. It is really helpful to verify or reconcile the costing configuration before going live with the payroll application or after any mass changes.
Only 2 segments are listed as a sample. You may include more segments as configured in your cost allocation key flexfield.
Costing of Position
select pos.position_code,
pcac.PROPORTION,
pcaf.effective_start_date,
pcaf.effective_end_date,
pcac.SOURCE_SUB_TYPE,
pcac.segment2,
pcac.segment3
from PAY_COST_ALLOCATIONS_F pcaf
,PAY_COST_ALLOC_ACCOUNTS pcac
,hr_all_positions_f pos
where pcaf.cost_allocation_record_id = pcac.cost_allocation_record_id
and pcaf.source_type = 'POS'
and trunc(SYSDATE) BETWEEN pcaf.effective_start_date AND pcaf.effective_end_date
and trunc(SYSDATE) BETWEEN pos.effective_start_date AND pos.effective_end_date
and pos.position_code = nvl(:p_pos_code, pos.position_code)
and pcaf.source_id = pos.position_id;
Tips for using the queries
- Create a BI Publisher data model, add a new SQL Query data set that uses the HCM application database as its data source, and paste the query in. Remove the trailing semicolon as the data model editor rejects it.
- Match the segment columns to your cost allocation key flexfield structure, as the number of segments differs between implementations.