共用方式為


Sorting in Microsoft Dynamics AX 2009 AxdItem and AxdInventoryOnhand data sources can effect paging in the Microsoft Dynamics AX 2009 adapter

Paging is implemented in the Microsoft Dynamics AX 2009 adapter and relies on the AIF services to return the keys to the Items to be integrated in ascending order by ItemID.  If the AIF services that the Item to Product map relies on do not sort the returned item keys in the proper order, you might find that you are missing products in Microsoft Dynamics CRM after the map runs.  For many customers, the data sources for the AxdItem and AxdInventoryOnHand queries may sort by RecId.

By adding ItemId to the sorting option and then removing RecId from the sorting option (this order of operations is important) on those queries the Item to Product map should work as expected, as shown in the screenshot below:

Note: If you have other custom business logic that utilizes these queries, you will want to analyze if this change will affect that logic.

Comments

  • Anonymous
    May 04, 2014
    Thanks

  • Anonymous
    February 23, 2015
    Hi, i want to report by method not the direct field form data source.

  • Anonymous
    February 23, 2015
    @Sathish - I'm not clear on what your intent is?  Are you looking to call a method on the AIF service directly from a map in Connector for Microsoft Dynamics?