When you edit some method on class in AX and then use it on BC you will notice .Net code uses the old method.
You can restart IIS, AOS or both but this is not the best solution and not always solve our problem.
We just need to flush the AOD on AX side.
We will just write one line code to the .net application
Microsoft.Dynamics.BusinessConnectorNet.Axapta.CallStaticClassMethod(“SysFlushAOD”, “doFlush”);
You can use this code after Axapta logon and just before calling the static method.
Hope it helps,
Have a nice AXing,
Alper.
Hiç yorum yok:
Yorum Gönder