Storage Location在物料分配时的选择逻辑

在Item Cateogry = L的情况下:

当物料在MARD表里仅有一条S/L记录

image

当物料分配给项目时, 该唯一的S/L将被读出

image

当物料在MARD表里有多条S/L记录

image

S/L将保留为空

image

以上逻辑在INCLUDE LCOMKF1O中实现

image

(1) Here is checked, whether a storage location was entered on the detail screen. If yes, this one will be taken.
(2) MARD (the table where the storage location data for the material is stored per storage location) is read delivering back all storage locations, where this material is existing.
(3) If more than one entry is found in MARD (that means, this material is existing in more than one storage locations), the storage location is cleared again. If only one storage location was found, step (2) fills the storage location for the component.
(4) If more storage locations are found, the storage location for the production supply area is used (if the production supply area is in the work center).
(5) If the storage location is still not determined, the system is using the production storage location from the material master. But if you did not maintain storage location in the material master, then the field will be kept blank.

先查物料有多少个S/L, 仅有一个的话就直接选择进去

多个S/L的话, 对应production supply area的S/L将被选择, 其次是production storage location将被选择,如果都没有维护的话,则留空.

但在Item Category = N的情况下......

image

原文地址:https://www.cnblogs.com/lazymango/p/1964547.html