update: after adding --verbosity=debug-detailed to paramers.txt I get 2 extra lines with EInvoiceingEnabled in the log (version 8.4 2017-10-12 (build 84190509)):
2019-07-22 10:06:37 (1) AD importing row 31
2019-07-22 10:06:37 (1) AD delete pricelist AAA from PBESEAGR
2019-07-22 10:06:37 (1) AD delete... pricelist from PBESEAGR
2019-07-22 10:06:37 (1) AD EInvoiceingEnabled err1 res=1
2019-07-22 10:06:37 (1) AD EInvoiceingEnabled err3 res=1
2019-07-22 10:06:37 (1) AD CopyDVP with some KeyMasterArrType touchedf!=false
2019-07-22 10:06:37 (1) AD
2019-07-22 10:06:37 (1) AD dump of call stack
2019-07-22 10:06:37 (1) AD Exiting to protect the database
then I tried to do the same with the same data in version 8.5 2019-06-12 (build 85310413) and it did not crash:
2019-07-22 10:13:27 (1) AD delete pricelist AAA from PBESEAGR
2019-07-22 10:13:27 (1) AD delete... pricelist from PBESEAGR
2019-07-22 10:13:27 (1) AD EInvoiceForCustomer SystemMode=0
2019-07-22 10:13:27 (1) AD EInvoices for customer are turned off
2019-07-22 10:13:27 (1) AD importing row 32
As I understand it has something to do with EInvoicing or am I wrong?