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


ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key when you open a SmartConnect map.
Connection could not be validated when using Excel data source
You do not have the following permissions on TableData eOneChangeMain: Read
SOP Taxes not automatically calculating when using SmartConnect and Avalara AvaTax
Downloading older versions of SmartConnect

POPULAR POSTS


SSL Security error using OLEDB Connection
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
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms

CATEGORIES

ARCHIVES

open all | close all

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.