uspAPBalanceCheck throws 'Divide by zero' error

Issue No: AP-9149
Created 9/17/2020 7:48:33 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-251232 - Execution of uspAPBalanceCheck throws error|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-251232]   1. Execute below uspAPBalanceCheck in Knapp Oil.   *Issue:*   1. It throws below error.   !pastedImage_d144254_0.png|height=558,width=453!   *Expected Result:*   1. It should noty throw any error.