Last week I post a solution to problem of old code on Dynamics Ax 2012 Client, That work for single client and it is not possible to clear cache on manually on every client. Later I found better solution to reset the client cache at AOS. Reference is
According to that reference we have to reset the GUID, so all Clients have to reset its cache, this method required AOS restart.
static void ResetAUC(Args _args) { #AiF SysSQMSettings _Settings; ; ttsbegin; update_recordset _Settings setting GlobalGUID = str2Guid(#EmptyGuidString); ttscommit; info("Now we have to Restart the AOS Service to use a new GlobalGUID."); }
Its works for me.