static void updateXRef(Args _args) { xRefUpdateIL::updateAllXref(true, false, true); info('Updating XRef batch job added!'); }
It will add a batch job and start working.
Note: I'm running AX 2012 R2 CU7. I'm not sure if this exists in previous AX 2012 versions.
Thanks for sharing! However after updating xref this way all of the forms using Microsoft.Dynamics.AX.Framework.Client.Controls.ChartToolBar are no longer compiled correctly. Assume it is because the batch is running on server and isn't able to resolve the client installed controls. Do you have this issue?
ReplyDeleteSo happy to find good place to many here in the post, the writing is just great, thanks for the good post.
ReplyDeleteVery thoughtful bloog
ReplyDelete