This article replaces TK00124.
Error:
When creating SOP transactions, you receive the following error.
Unhandled script exception: Division by zero, script aborted. EXCEPTION_CLASS_SCRIPT_DIVIDE_BY_ZERO
Cause:
A zero quantity in the billing quantity field produces an error on processing when recalculating taxes and currency transactions.
Resolution:
- Go to Project Cost | Transactions | Create SOP Transactions.
- Create or select a Process Batch ID.
- Expand the list to view all transactions.
- In the transaction list, mark the box for Exclude from Invoice next to the necessary transaction.
Note: When the Exclude from Invoice box is marked, the box for the transaction displays an ‘E’.
- Click Process.
- Close the window.