Cannot insert null in DISAVMT when you use eConnect to integrate Payables Transactions into Microsoft Dynamics GP

This article provides a solution to an error that occurs when you use eConnect to integrate Payables Management Transactions into Microsoft Dynamics GP.

Applies to:   Microsoft Dynamics GP
Original KB number:   976357

Symptoms

When you use eConnect to integrate Payables Management Transactions, you may receive the error:

Cannot insert the value NULL into column 'DISAVAMT', table 'TWO.dbo.POP10300'; column does not allow nulls. INSERT fails. The statement has been terminated.

Cause

The message that you receive is because the drop-down list for Discount Type field is blank that will cause the null error to be returned.

Resolution

To resolve the issue, you have to open the Payment Terms Setup window through the following method.

  1. Select the Vendor ID that you use on the payables transaction in the Vendor Maintenance window.

  2. Click the Options button.

  3. Click the Payment Terms hyperlink.

    Note

    The Payment Terms Setup window will open.

  4. Check the Discount Type field to see whether the drop-down list is blank.

  5. If the drop-down list is blank select either the Percent or Amount value and then press the Save.

This process will set the drop-down list to the specific value that you have specified instead of blank. This allows for the payables transaction to be integrated.

Disclaimer

Microsoft and/or its suppliers make no representations or warranties about the suitability, reliability or accuracy of the information contained in the documents and related graphics published on this website (the "materials") for any purpose. The materials may include technical inaccuracies or typographical errors and may be revised at any time without notice.

To the maximum extent permitted by applicable law, Microsoft and/or its suppliers disclaim and exclude all representations, warranties, and conditions whether express, implied or statutory, including but not limited to representations, warranties, or conditions of title, non infringement, satisfactory condition or quality, merchantability and fitness for a particular purpose, with respect to the materials.