You know the feeling.
You have spent all morning trying to figure out why items - that you know should show up for purchasing – does not show up in the planning worksheet. No matter what you select in the planning parameters on the Item Card is ignored by the planning.
You might have run into one of the small peculiarities of Dynamics NAV 2013 to 2015. The situation occurs if you have selected Location Mandatory on the Inventory Setup card and you are not using the manufacturing module.
Here is the problem and the fix, first we go to the Inventory Setup:
The Item has been set up like this:
…and the planning:
In my book, I should get a planning suggestion to buy 26 pcs of my item, but the Planning remains empty.
No errors - no warning what so ever when running the Calculate Plan:
However if I add a default Components At Location in the Manufacturing Setup – Regardless if manufacturing is used with this customer or not then – then everything works fine:
Fantastic – now it works.
This is due to this small piece of code in Codeunit 99000854:
Don’t ask me why