Functionality This function module helps to compute the Annual Pensionable Emolument(APE) of an employee for cases in which no averaging of the the last 3years is required, ie. no promotion, reversion or reduction due todisciplinary action during the last 3 years prior to an employee'sretirement. It will first attempt to read from the payroll cluster the last regularpayroll result of the employee just prior to retirement. If no payrollresult could be found, it shall simulate payroll run for the employee. Afterwhich, it will retrieve from the results table the wage types /PENand /PEB (Pensions Scheme wage types customised based on ProcessingClass 86) to determine the APE amount, the Pensionable Salary Per Annumand the Pensionable Allowance Per Annum. One worthy point of note is that if there is a WPBP split in the lastpayroll result, it will pick up the last relevant pay details of theemployee. Please copy this standard function module and amend otherwiseif you have your own otherwise specific requirements. Example In last payroll result, we have in RT>>: WT,,APZNR,,BETRG($)> /PEB,,01,,2400 /PEB,,02,,2600 /PEN,,01,,2700 /PEN,,02,,2950 In WPBP>> table: APZNR,,BEGDA,,ENDDA> 01,,20001101,,20001104 02,,20001105,,20001130 In the above example, our current function module will pick up theentry with APZNR=02, ie the last valid record. APE will be returned as$2950*12 while Basic Salary Per Annum as $2600*12. Pensionable Allowance Per Annum will be returned as the differencebetween the APE and the Basic Salary (APE - Basic Salary) |