Problems planning items with Location Mandatory in Dynamics NAV 2013 to 2015?

dreamstime_m_14568949

 

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:

image

 

The Item has been set up like this:

image

 

…and the planning:

image

 

In my book, I should get a planning suggestion to buy 26 pcs of my item, but the Planning remains empty.

Let’s try:

image

 

No errors - no warning what so ever when running the Calculate Plan:

image

 

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:

image

 

…and the planning:

image

 

Fantastic – now it works.

 

This is due to this small piece of code in Codeunit 99000854:

image

 

Don’t ask me why Smiley

 

image393333

Anonymous
Related