The calculation of the GL Distribution is comprised of the following steps:
- Validate that the distribution can be done. The application will validate, for each Employee, that Is Finalized is false (un-checked), Is Valid is true (checked), and there is no Cancel Date, under View Pay Cheque.
- Erase the previous GL distribution. If the GL distribution has already been calculated, the application deletes the employees GL distribution for the pay period for which the pay is calculated, so it can be re-generated properly. The distribution is saved under Cost Items and Deductions.
Generate the cost item distribution,for the Debit and Credit transactions. If a partial or full line of coding is specified under Cost Item Per Period, it has precedence. For the segments not specified under Cost Items Per Period, the application then looks at the Automatic Cost Items partial or full line of coding. For the segments not specified under Automatic Cost Items, the application then looks at the Cost Items partial or full line of coding. For the segments not specified under Cost Items, the application looks at the Assignment Financial Coding Block. Code splitting is performed, at the Assignment Financial Coding Block level, if a Percentage different than 100% is specified. Finally, for the segments not specified under Assignment Financial Coding Block, the application retrieves the coding from Position Financial Coding Block. Code splitting is performed, at the Position Financial Coding Block level, based on the Percentage specified under Position Financial Coding Block.
- Generate the deduction distribution, for the Debit and Credit transactions. If a partial or full line of coding is specified under Deductions Per Period, it has precedence. For the segments not specified under Deductions Per Period, the application then looks at the Automatic Deductions partial or full line of coding. For the segments not specified under Automatic Deductions, the application then looks at the Deductions partial or full line of coding. For the segments not specified under Deductions, the application looks at the Assignment Financial Coding Block. Code splitting is performed, at the Assignment Financial Coding Block level, if a Percentage different than 100% is specified. Finally, for the segments not specified under Assignment Financial Coding Block, the application retrieves the coding from Position Financial Coding Block. Code splitting is performed, at the Position Financial Coding Block level, based on the Percentage specified under Position Financial Coding Block.