pms- master - get latest payroll order by date