Now here’s a funny thing. There was a posting on the Dynamics AX community forum the other day from someone working on AX2009 and they had the condition that the item’s stock on hand information (InventSum) was different from the sum of the inventory transactions (InventTrans). In the old days (AX 2009) we used to see that occasionally – more often on systems where someone was daft enough to try to customise something to do with inventory transactions. We saw it less on AX 2012 systems, and hopefully we won’t ever see it on Dynamics 365 for Operations (fingers crossed). I wasn’t expecting to find Consistency check in Dynamics 365 for Operations, but I searched for it, and up it popped:
Consistency check has been around for a while (like me), and on most systems takes ages to run – mostly it takes so long to run that it’s not usable – unless you use it selectively.
When you open Consistency check you see:
In this case I’m only interested in items and so I choose the ‘Inventory management’ module in the droplist and that filters the tree menu for me (and I’ve opened the Inventory management and Items options):
So now I can de-select the options I’m not interested in, giving:
Now for the trick – right-click on the ‘Item’ option and you get:
If you don’t right-click exactly on the Item option you don’t get the Dialog option – so if you’re not seeing that, just experiment a bit. Dialog gives us our familiar filter query screen:
Enter an item number (or a selection) and then click OK, and we are back on the main form:
There’s nothing here to indicate that our filter query is in effect but click OK and you’ll get something like:
(or something more interesting if anything is amiss).
You’ll have noticed that there’s a Check/Fix option:
If you can, try this in a copy of your production system before running it on the live system, (because I’ve seen it fix issues even if I set ‘Check’, and it can’t fix all of the issues it reports).
Dynamics 365 for Operations also has a ‘…’ ellipsis button, that’s another way to access the Dialog / Filter option, but again the Dialog option is only active if you’ve selected a relevant action option.
Another tip. Because the report is an Infolog, (and because of the long run times) you can run the consistency check as a one-off batch job (out of hours). Then you have a permanent record of the Infolog, because you can go back to the Batch job history and re-access the Infolog.
In AX2012 R3 the form looks like this:
And as previously discussed, the dialog option is only active if you have a relevant option selected in the menu tree, or you can right-click:
And in AX 2009 the form looks like this:
So you can see that not a lot has changed in the user interface.