·6·
3,Gross Demand计算流程
在Gross Demand的计算过程中,将不考虑Alternative项,虚拟项,Running Change等需求,但是要考虑Job Order Material List,以及其他的一些Demand。
假定有一个物料,其BOM结构如下所示:
·7·
BOM结构
3.1 横向汇总计算所有BOM的所有Gross Demand计算方法。
通过使用LLC进行遍历,将属于该Item最低层LLC的所有的物料,进行Order by Date,则可得到该物料在本次需求计算中的所有的需求List。
? Gross Demand:=BOM Parent Demand*BOM Qty+(T-1)JOB Order ML。 ? Gross Date:=Parent Demand Date+Lead Time。
注意:应该为每类需求指定一个Ordinal编号(或者是Gross Class),例如: 1:Job Order 2:Normal 3:Others
注意:应该将结构虚项直接滤除,直接爆其子项。
·8·
LLC 遍历
在遍历完成后,应该要得到一个如下的Table记录Gross Demand。
Gross Demand Temp Table
Demand_ID D4 D4 D4 D4 D4 P/N A0 B D F B Qty BOM=2 100 200 200 200 100 Date LT=2 20/1 18/1 18/1 16/1 15/1 LLC 0 1 1 2 1 P/M Made Made Made Made Made Item Type Normal Normal Normal Normal Normal Pegging MPS Normal Normal Normal JOB ORDER PeggingNo 0 2 2 2 1
有了这样一份表格,然后根据P/N和Date进行排序和汇总,便可以得到Gross Demand。 3.2 竖向计算某特定BOM的Gross Demand计算方法
可以根据BOM的展开规则,计算子项的Gross Demand,其计算方式为:
·9·
根据BOM层层展开
? Gross Demand:=BOM Parent Demand*BOM Qty+(T-1)JOB Order ML。 ? Gross Date:=Parent Demand Date+Lead Time。 这将同样得到类似的TABLE
Gross Demand Temp Table
Model:A0
D_ID D4 D4 D4 D4 D4 P/N A0 B D F B QTY BOM=2 100 200 200 200 100 DATE LT=2 20/1 18/1 18/1 16/1 15/1 Level 0 1 1 2 3 P/M Made Made Made Made Made Item Type Normal Normal Normal Normal Normal Pegging MPS Normal Normal Normal JOB ORDER PeggingNo 0 2 2 2 1 最后,然后根据Level和Date可以进行排列本物料的Gross Demand,排列的建议:
Gross Demand Planning Report
Planning Date:2010-1-10 ITEM B Ordinal 1 2 3 Total Shortage 1 2 3 Total Shortage T0 T1 100 100 0 -100 50 20 70 -70 T2 50 50 -50 100 100 -100 T3 10 10 -10 T4 100 100 -100 100 20 20 -20 T5 20 20 -20 0 Total 200 50 20 270 -270 200 -200 D
·10·
4,Net Demand计算流程
Net Demand的计算使用Gross Demand作为主要需求,计算物料真正的需求,进而得到Shortage,然后便可以计算Bulky。
在计算Net Demand时需要考虑如下的三个因素: ? 1,Alternative项,可替代物料。
? 2,结构虚项,一种虚拟BOM,为了保证BOM结构的简易性。 ? 3,Running Change,在计划期间需要进行工程变更的物料。
系统需要根据当前公司的供应能力生成一份供应能力报表,包含如下信息:
Supply Capicity Report
(Include all Running change Items,alternative Items and virtual structure sub items) ITEM B Ordinal PO/PR JOB Order Bulky Item OnHand PO/PR JOB Order Bulky Item OnHand T0 100 100 T1 100 200 100 T2 100 300 100 T3 300 100 T4 100 400 100 T5 100 500 100 D For Non-Bulky Items : Total Supply Qty = Total nettable qty + OS PR/PO Qty
For Bulky Items : Total Supply Qty = Total nettable qty + OS Committed Vendor Stock (OS VMI Qty)
这些数字将在进行MRP运算时作为Supply的依据。 4.1 标准Net Demand计算
Net Demand计算的过程就是一个供需平衡的过程,MRP主要计算需求多少,要供应多少。 Net Demand=Gross Demand-Supply。
1, 请将Gross Demand进行Group by PartNumber Order By Date,PartNumber ASC,得到Gross
Demand排列列表。
Normal MRP Process
P/N B Gross Demand Supply Lot size Scrapt Rate Net Demand Balance Gross Demand Supply Lot size Scrapt Rate Net Demand Balance T0 100 100 1 1 0 0 T1 200 100 100 0.98 104 4 T2 T3 T4 T5 D 4.2 Alternative Item ’s Net Demand计算 如果B可以由E和F来代用,假定的情形是: