Manufacturing Order Picklist Draw From Site

The Manufacturing documentation has this to say about specifying sites:

If no issue-from or issue-to site is specified for a component,  default sites will be used.

Default values for the issue-from site site

Refer to the following information about how the issue-from site is determined.

  • The issue-from site from the bill of materials line entered in the Bill of Materials Entry window is used.
  • If a site hasn’t been specified in the Bill of Materials Entry window, the DEFAULT SITE for the item entered in the Item Quantities Maintenance window is used.
  • If a Default Site hasn’t been specified in the Item Quantities Maintenance window, the Draw Inventory From entered in Manufacturing Order Entry window is used. (The default site comes from the scheduling preference you’ve selected for the manufacturing order, but you can change it.)

However, if you leave the BOM Line Issue From Site blank, you cannot get Manufacturing to use the Item’s Default Site when creating a Picklist.  Here’s why…

The BOM Line “Issue From” for CORDG is blank:

The “Default Site ID” for CORDG is SOUTH:

The “Draw Inventory From” site on the Scheduling Preference is WAREHOUSE:

The “Draw Inventory From” site on the Manufacturing Order is populated from the Scheduling Preference, so it is set to WAREHOUSE:

Below is the “Build Picklist” code that sets the Draw From Site:

In plain English this says:

If the “Draw From” site on the BOM Line is empty then

If the Draw From Site on the Manufacturing Order is NOT empty then

Use the Draw From Site on the Manufacturing Order

Else

Use the Item Quantity Maintenance “Default Site”

Else

Use the BOM Line “Draw From” site

 

Note that while we can leave the “Issue From” site blank on the BOM Line, we cannot leave the “Draw From” site blank on the Manufacturing Order–it is a REQUIRED FIELD (shown by the Red, Bold font).  This means that the “Draw From” site on the Manufacturing Order will NEVER be empty.

Re-reading the logic above considering that the “Draw From” site on the Manufacturing Order will always have a value we can see that the “Build Picklist” code will never reach the line that tells it to use the Item’s Default Site.

If the “Draw From” site on the BOM Line is empty (which it is…) then

If the Draw From Site on the Manufacturing Order is NOT empty (which it isn’t…) then

Use the Draw From Site on the Manufacturing Order

Else

Use the Item Quantity Maintenance “Default Site”

Else

Use the BOM Line “Draw From” site

Which means the Draw From Site has two options: Either it is provided by the BOM Line site, or it is provided by the Manufacturing Order.