Thursday, September 19, 2013

AIF Tip - Troubleshooting custom Dynamics AX 2012 AIF Services

Greetings Friends!

It's been a while since I have posted. Have been very busy with work. Thought to do a quick post on how important is to Generate CIL in AX 2012 which I tend to forget often as this was not required in the previous versions of AX!

Scenario

1. Create a new AIF Service
2. Generate and Deploy it
3. Consume .net code
4. Make modifications to the AIF Service
5. Update the AIF Service

.Net code still cant understand the modifications made to AXDClass e.g. updatenow method, hence the old logic is still used the new logic implemented in updateNow method never gets invoked.

Solution

Run Generate Icremental/Full CIL from System Administration > Periodic > Compile into .Net Framework CIL


No comments:

Post a Comment