This error occurs when the document type you are importing — and from which a warehouse document is subsequently generated automatically — does not have the correct subsequent warehouse document type configured.
For example, the warehouse document type used when automatically generating a warehouse document from an invoice.
Alternatively, the subsequent production document type within the warehouse document type.
