Friday, June 6, 2014

Error: The value _________ is not found in the map. Dynamics AX 2012 AIF setup

Dynamics AX 2012 - Setting up the AIF

On the Inbound Ports form, under Document Data Policies, when clicking View Schema I received the following error:

The value "/SalesOrder/SalesTable/Dimension" is not found in the map.

This same error might be generated for other fields on other tables, so this issue might apply to any AIF Schema that throws an error of the format:

The value _________ is not found in the map.

This may be related to AIF entries that were upgraded from AX version 2009. It could also be caused by services that were implemented in one environment and then the database was transferred to another environment.

The fix was to do ALL of the following:

  1. In the developer environment (Ctrl-D) go to Tools ==> AIF ==> Update Document Services. Choose your document service and regenerate Data Object Classes and update AxBC Classes.
  2. Open the Projects window (Ctrl-Shift-P), find the Axd project for your document. Compile it (F7) and generate incremental CIL (Ctrl-Shift-F7)
  3. In the AOT, open the Service Groups tab. Open the service group that applies
    to your document. (In my case, the SalesSalesOrderService goes in the AccountsReceivableServices group.) Make sure your service is listed in an appropriate group. If it's not there, drag it there from the Services tab.
  4. On the Service Group, compile it (F7), generate incremental CIL (Ctrl-Shift-F7), and deploy it (right-click, Deploy)
 Hope this helps!

2 comments:

Unknown said...

hi Reiff,

my name is tom, and i'm researching aquaponics in the negev desert of Israel. i'm trying to set up my experimental system with arduino and lots of relay boards.
i found your comments on amazon concerning the sainsmart 5A solid state relay board that you posted a half year ago- which was helpfull in that there's no such comments noted on the board so that you have to guess otherwise, :), but it is still not working for me, the relay stays closed.

i have 5v and ground hooked up to ports 10 and 9, and a 220AC load running through the relay, which does not open (turn off the flow of current). when i give a 5v pulse to the port of the relay, the red light goes on, when i remove that 5 v, the light goes off, but the relay stays closed.
do you have any ideas?
if you have a phone number i can call you on i'd be happy to do that in order to save you writing things out.

thanks a lot,
tom

MS Dynamics said...

Thank you for sharing your thoughts and knowledge on this topic.
MS Dynamics Technical Online Training
MS Dynamics AX Technical Training in Hyderabad
MS Dynamics AX Online Training
D365 AX Online Training
d365 ax technical online training
d365 ax technical training