Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Error message when you generate an EFT file for Payables Management in Microsoft Dynamics GP: "EXCEPTION_CLASS_SCRIPT_DIVIDE_BY_ZERO"
Article ID: 2669725 - View products that this article applies to.
When you generate the Payables Management EFT file, you receive the following error message. The EFT file still generates, however the batch remains in the Generate EFT Files window.
Unhandled script exception:
Division by zero, script aborted.
This message is caused by having the Add Pad Blocks check box marked in the EFT File Format Maintenance window but one of the supporting lines for Number of Pad Chars or Pad Lines in Multiple Of has a value of '0'. The system is unable to calculate how to pad the rows in the file because of the 0 value.
To resolve this problem, follow these steps:
Pad Blocks means that the bank requires the EFT output file to be rounded up to a certain number of rows so their system will accept it. So the Add Pad Blocks feature will add dummy rows to the end of the file to bring the file up to a specific rounded number of rows as required by the bank.
For example, assume the bank requires the file to be padded in blocks of 10 rows. Below are examples of how the Pad Blocking will work:
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2669725 - Last Review: February 10, 2012 - Revision: 2.0