HELP ARTICLE

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


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’.

RECENT POSTS


Use the REST Connector to parse nested Value Arrays
SmartConnect email task fails with error: An invalid character was found in the email header
Does SmartConnect import into Avalara Avatax software
Could not initialize a collection when launching SmartConnect
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key when you open a SmartConnect map.

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.