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


RM Apply Detail SmartList Builder Template
The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement
GlobalFileName not populated when using in a script
Wrong Date in Dynamics CRM/D365 for Customer Engagement Data Source
Accessing your SmartConnect.com environment after purchasing on behalf of your customer at the eOne Shop

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.
How to update SmartConnect from 10.0.0.51 to SmartConnect 2014
Running a map in SmartConnect and receiving an error that says "The source was not found, but some or all event logs could not be searched."

CATEGORIES

ARCHIVES

open all | close all

TAGS

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