The end month is using the month when the costing was processed for the employee and not the month when last paid

EXPECTED BEHAVIOR-----------------------The Format 37 to use Termination month as the last month the employee was paid regardless of when the costing was done

STEPS-----------------------The issue can be reproduced at will with the following steps:1. It was noticed that this issue can be reproduced at will for those terminated employees for whom a late payroll action like Costing or Transfer to GL is processed. If there is any payroll action with date earn greater than the employee’s actual termination date, then the Year End Archiver, DIM & Format 37 are taking the date of the last process or payroll action as end date/month.

2. CASE1: Executed costing to 30-Apr-2014Executed Yrend arch to 24-abr: the end date is correctExecuted Yrend arch to 30-abr: the end date is not correctReturned Year end archReturned Costing to 30-apr-2014Executed costing 16-abr to 15-may-2014: DTH CONFIANZA (case 1)Executed yrend arch to 24-abr: (BAJAS_DTH_CONFIANZA)Returned Year end arch