When you edit some method on class in AX and then use it on BC you will notice .Net code uses the old method.
refresh code etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
refresh code etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
27 Temmuz 2012 Cuma
Flush .Net Business Connector Cahce
Hi,
When you edit some method on class in AX and then use it on BC you will notice .Net code uses the old method.
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.
Etiketler:
.Net,
.net business,
.net business connector,
c#,
doFlush,
flush,
flush cache,
Microsoft,
Microsoft Dynamics AX,
Microsoft Dynamics AX 2009,
refresh,
refresh code,
renew,
renew code,
sysFlushAOD
Kaydol:
Kayıtlar (Atom)


