Back

Cannot insert the value NULL into column ‘DISAVAMT’

Published: Nov 08, 2012
Post Author Written by David Youngquist

When running a SmartConnect map into Sales Order Processing (SOP), receiving an error that says ‘Cannot insert the value NULL into column ‘DISAVAMT’, table ‘TWO.dbo.SOP10100′; column does not allow nulls. INSERT fails.’  There is nothing mapping to the Discount Available Amount, so it should be defaulting. 


This occurs when something is wrong with the payment terms assigned to the customer the Invoice is for. Open up the Customer Maintenance form and find out what payment terms are assigned to the customer. Drill back to open up the specific payment term. In this case it was the Discount Type drop down was set to blank. Once that was corrected, the SOP Invoice imported correctly.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.