最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

AIF Tip – Troubleshooting custom Dynamics AX 2012 AIF Services

网络文摘 William 1485浏览 0评论
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


发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址