Friday 31 October 2014

AX 2012 Integrations - using Microsoft Connector for Dynamics

Although MS Connector for Dynamics' purpose is to connect and integrate products from MS Dynamics family it is possible to use it to integrate AX and 3rd party's systems.

We are currently using Connector this way. I faced several problems through AIF services development to be able to use them with Connector. Here are some points.


1 - If you plan to use your AIF Document Service with Connector then mind that Query's name must be the same as Service class' name. (So when Query is "AxdImportCustomer" then Service class must be called "AxdImportCustomer".)

2 - If you plan to use updates within Connector then mind that the base table used in query must have DAXIntegrationId field of type GUID. You have to fill this field with new guid when record is created and you have to be able to provide correct value into service if you want to update record.
Connector will never call find operation of service when DAXIntegrationId field is not present in query. Then Connector will never call update operation of service.
Also you need to have find operation in your service.

No comments:

Post a Comment