HOW TO RESOLVE ‘ATTEMPTED TO DIVIDE BY ZERO’ ERROR IN VAT DETAIL LISTING
Upon generating VAT Detail Listing report, user may encounter the error below:
Double check Deferred transactions as there may be extra lines in the transaction that is not deleted automatically upon saving the transaction.
This is caused by encoding a data in the line and deleting just the data instead of deleting the whole line using the delete function
Once all extra lines in deferred transactions have been deleted, user may now generate VAT Detail Listing successfully without any errors.