I want to import vendor invoices into D365. For this purpose, a data project and a recurring data job were created (
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/data-entities/data-import-export-job). It includes the invoice header, its lines, and attachments. (
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/entity-vendor-invoice-header-vendorinvoiceheader etc.)
This job is used to import both single invoices and batches (packages, zip archives, with several invoices). Previously (v10.0.35), everything worked properly, but now (v10.0.38), there is weird behavior when importing a batch of invoices.
The invoice header contains the fields INVOICEDATE and DUEDATE. In the case of importing a single invoice, everything works fine. But when importing a group of invoices (as a batch), dependence on these fields arises between Different (!) invoices from the package.
For example, let's assume that the imported package contains two invoices. In this case, if both invoices have these fields filled in at the same time (possibly with different dates) or blank at the same time, then such a package will be imported successfully. But if one of the invoices has one of these fields filled in, and the other invoice does not have the same field filled in, then the package will not be imported. There will be a /Processed with error/: /The column in entity Vendor invoice header has incorrect data. Please correct the data and try the import again./
Can someone explain where the dependency between different invoices comes from and what to do in this case?
Thanks a lot.