Unhandled script exception: Division by zero, script aborted.

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:

  1. Go to Project Cost | Transactions | Create SOP Transactions.
  2. Create or select a Process Batch ID.
  3. Expand the list to view all transactions.
  4. 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’.

  1. Click Process.
  2. Close the window.