web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics AX 2012 / CRM connector - vendor integration

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I have exposed the VendVendTableService to the dynamics ax 2012 / crm connector. I have created a custom map. I was able to synchronize data from a custom entity in CRM(that i called "Suppliers") to AX, but for the Vendor Name.

I have noticed that the name of the vendor is saved in a table in AX called DirPartyTable.

If i map the name in the DirPartyTable\Item\Name property i get the following error: "This document does not support the AxDirPartyTable class." If i map the name in the Organization Name\Item\Name property i get the error: "Unable to cast object of type 'Dynamics.Ax.Application.AxDirPartyTable' to type 'Dynamics.Ax.Application.AxDirOrganization'."

If i do not set any of the  "Name" properties exposed, the vendor is created but it has no name.

The mapping is shown in the picture below.

 

 

Please Help,

Thank You

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Tristan Cartony Profile Picture
    Microsoft Employee on at

    The Connector cannot work with polymorphic types, which is what DirParty is. Instead, you'll want to make sure the service returns the explicit type--in this case it looks like it should return DirOrganization. You can find an example of this in the query for AxdConnCustomerOrg service--this was a custom service built just for Connector that exposes DirOrganization information on the Customer. You'll want to change your query to match this one. Hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans