AIF Tip – Troubleshooting custom Dynamics AX 2012 AIF Services
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
与本文相关的文章
- 安装 ExFlow ISV 时出现的问题/Issue while installing ExFlow ISV
- D365: 如何在 X++ 中获取最后一个工作流程审批人/D365: How to get last workflow approver in X++
- 如何在 D365 F&O 中手动创建物料批次/How to create Item Batch manually in D365 F&O
- D365FO: 通过 X++ 中获取用于显示的维度值/D365FO: Get dimension display value in X++
- D365: When and how to use postLoad() method
- Consignment Inventory Handling in D365 Finance and Operations