If you are importing a Sales Transaction using the Business Central web services and receive this error, then a workaround will be required to import the record.
The Sales Header does not exist. Identification fields and values: Document Type=’Quote’No.=’’
Cause
The cause for the error is the Business Central web services cannot set the ‘Tax_Area_Code’ field when creating a new record. This field can only be set using an update. Therefore, the error message is looking for an existing order and is unable to find one.
Resolution
We will modify the map to create the document, then go back and update that field after creation.
- Log into Business Central and publish a duplicate of the web service you are using with a simple name such as ‘SalesInvoice2’.
- Edit the destination of the map to go to both destinations in one map.
- Map the first service with all fields except ‘Tax_Area_Code’.
- Map the second service with the ‘No’ field and ‘Tax_Area_Code’. (Make sure to check the update existing box, and group on ‘No’.