Back

The Sales Header does not exist. Identification fields and values: Document Type=’Quote’No.=’’

Published: Jun 10, 2019
Post Author Written by Ethan Sorenson

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.

  1. Log into Business Central and publish a duplicate of the web service you are using with a simple name such as ‘SalesInvoice2’.
  2. Edit the destination of the map to go to both destinations in one map.
  3. Map the first service with all fields except ‘Tax_Area_Code’.
  4. Map the second service with the ‘No’ field and ‘Tax_Area_Code’. (Make sure to check the update existing box, and group on ‘No’.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.