====== Prerequisites ====== * Before proceeding with the gratuity calculation, ensure that the following conditions are met: ===== Employee eligibility ===== * The employee’s PRGF Flag or Pension Scheme Flag is activated via **Employee** --> **Employee List** --> **Details** --> **Categories/Groups/UD** {{:spay:hrmsprocguide:emp_prgf_and_pps_flags.png|}} ===== Left Reason ===== * The Left Reason is configured as Gratuity and/or Self Retirement, as applicable via **Payroll** --> **Settings** --> **Left Reason** {{:spay:hrmsprocguide:settings_left_reason.png|}} ===== Gratuity Parameters ===== * The Payment/Deduction (PDcodes) mapping under the Gratuity parameters via **Payroll** --> **Monthly Procedures** --> **Gratuity** --> **Parameters Tab** * 3A: When using the Gratuity functionality for the first time, ensure that each Payment/Deduction is mapped to the corresponding PD code by selecting it from the drop-down list. If a required PD code is missing from the list, contact the HRMS Support Team via **Contact SICORAX Support** * 3B: After the mapping is completed, click **Save** {{:spay:hrmsprocguide:pd_mapping1.png|}}