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


Failed to connect to the CRM server : Failed to get CRM Organizations : Access is denied
Connection could not be validated when using Excel data source
Assigning Default Dimensions
Failed to create record.: Property "Editable" for Ship-to Address is invalid!
WinSCP.SessionRemoteException: Network error: Connection to XXXX refused

POPULAR POSTS


Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
Manufacturing Serial Trace SmartList Builder Template
SSL Security error using OLEDB Connection
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

ARCHIVES

open all | close all

TAGS

Business Central CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release Reporting SalesForce SalesForce.com scripting SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Office Hours SmartList SmartList Builder SmartList Designer SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.