Views:
Problem:  Trying to use Transaction Import to import debit adjustments.  They don’t want to include the document type in the data file.

Cause: The voucher and adjustment entry screen defaults to a document type of voucher (VO).

Resolution:  If the document type is going to be AD for all of the documents being imported, and you don’t want to include the document type in the data file, you can hard code it in the control macro.  Instead of something like this in the control macro:

serr = SetObjectValue( "cdoctype", ImportField(2) )

Edit the control macro to hard code the document type, like this:

serr = SetObjectValue( "cdoctype", “AD”)