Error: Cannot insert the value NULL into column 'COMMENT', table '[DATABASE NAME].dbo.BATCHATTRIBUTE [GUID]'; column does not allow nulls. INSERT fails -- when entering gifts in batch

CRM user may receive the error message above when entering gifts in an Enhanced Revenue Batch. This error message may occur if the batch template contains revenue attribute fields, and the attribute comment field is not included in the batch layout.
Download and install the latest patch, which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Workaround:
When including any revenue attribute fields in the batch template, also include the attribute comment field. The attribute comment field can be left blank. If needed, both fields can be left blank during data entry.  Just having both fields present in the batch template will prevent the error message from occurring.

Environment

 3.0.516.15
 3.0.516, patch 18

Was this article helpful?