Custom Payslip Prints Wrong Amounts
Hello experts!
We use a custom format for our payslips. When the payslips are generated, if an employee has money going to different banks, and one prenotes and the other does not, that employee would be paid via direct deposit to the one bank/account, and the remainder would be issued to them in a check.
For example, an employee is paid $1000, which would be split 90% to account A and 10% to account B. The prenote for account A processed, but not for account B. When this happens, $900 would go into account A, and the employee should be issued a check for $100. This is where we're running into a problem. With our custom format, when the above scenario happens, the employee would be issued the direct deposit for account A for $900, and instead of getting a check for $100, the check that is being produced is for