Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

CRM 2011 Connector to NAV key error, please help with integration error

Posted on by Microsoft Employee

Help please, when trying to send an Account record from CRM to NAV using the Dynamics Connector.  The Account is a duel setup (segmentation) for both the Customer and Vendor cards in NAV.  We can send to either card individually (Customer or Vendor) without issue; but, if we try to come back and resend the same Account record to the opposite card in NAV, we get supplied key errors shown below.  The trace log was not very helpful only providing "Inner Exception: Exception has been thrown by the target of an invocation."

Sending to Customer first successfully then Vendor get error: [Account to NAV Vendor Card] has encountered an error while processing key [[Test1 Send, 5bf63bd5-ba2a-e311-ba63-00155d006a06]]. Table Id 18 of a supplied key does not match Table Id 23 of the page 26  source table.

Sending to Vendor first successfully then Customer get error: [Account to NAV Customer Card] has encountered an error while processing key [[Test2 Send, 74f0b705-b92a-e311-ba63-00155d006a06]]. Table Id 23 of a supplied key does not match Table Id 18 of the page 21  source table.

Has anyone experienced this issue?  Where is the error coming from (feels like validation from NAV)?

Thoughts on how to address this issue and get an Account sent to both the Customer and Vendor cards in NAV?

Thanks.

*This post is locked for comments

  • Jens Glathe Profile Picture
    Jens Glathe 6,092 on at
    RE: CRM 2011 Connector to NAV key error, please help with integration error

    Hi TroyMB,

    sounds suspiciously like a RecRef problem. And from the look of it, is it possible that only one link is supposed to be there? The second transaction gets called with the new page, but the old record type.

    HTH

    with best regards

    Jens

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans