HELP ARTICLE

NAV 2017 Error: Data object not provided


I recently ran into a unique error when importing Sales Transactions into NAV 2017.

Failed to create record. Unable to call service: Data object not provided.


This error message is caused by bug in the web services in NAV 2017. The Odata web services link together parent and child data and creates the link between them using a lookup on the newly created header record and assigning it to the line. In the NAV 2017 web service the lookup portion is not available, so we see an error saying the object was not provided.

There are a couple options to work around this error.

Break the integration into two maps

The first map will only create the header, so we will not map the line.

Then we will create a second map that will only have the SalesLines node mapped. We will need to provide a value for the document_no so NAV knows which document to use.

 

Use the SOAP Web Services

In most scenarios I would not recommend using the SOAP Web Services, but in this case, there is a justified reason to do it. Here is a Help Article for configuring the SOAP connector. The mapping is almost the same as when using the Odata connector, other than a couple ‘specified’ fields. The NAV 2017 sample integrations includes examples of sales transactions.

RECENT POSTS


Type must be equal to 'Inventory' in Item: No.=XXXX. Current value is 'Service'.
Error 1068: The dependency service or group failed to start.
Deleting Source Files from Archive Folder
The Sales Header does not exist. Identification fields and values: Document Type=’Quote’No.=’’
How to Exclude Data Source Rows

POPULAR POSTS


Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
Manufacturing Serial Trace SmartList Builder Template
The server process could not be started because the configured identity is incorrect.
SSL Security error using OLEDB Connection
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

ARCHIVES

open all | close all

TAGS

CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight ERP Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration integration manager Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release Reporting SalesForce SalesForce.com scripting SmartConnect SmartConnect.com 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.