|
Chapter Contents |
Previous |
Next |
| The BOM Procedure |
/* Generic and phantom part data */
data Phantom2;
input Part $8.
Desc $24.
Req 8.0
Unit $8.
LeadTime 4.0
;
datalines;
LAXX Lamp LA 10000 Each 3
4000 Common parts . Each 0
A10X Socket assembly options . Each 0
B10X Base assembly options . Each 0
S10X Shade options . Each 0
;
/* Additional options and alternative parts */
data Option2;
input Part $8.
Desc $24.
Req 8.0
Unit $8.
LeadTime 4.0
;
datalines;
A101 Three-way socket assem. . Each 1
B101 7in Base assembly . Each 1
B102 8in Base assembly . Each 1
S101 14in White shade . Each 2
S102 14in Cream shade . Each 2
S103 14in Yellow shade . Each 2
S104 15in Black shade . Each 2
S105 15in White shade . Each 2
S106 15in Cream shade . Each 2
S107 15in Yellow shade . Each 2
1201 7-Diameter steel plate . Each 3
1202 8-Diameter steel plate . Each 3
1601 Three-way socket . Each 2
;
/* part-component relationship data */
data ParComp2;
input Part $8.
Component $8.
QtyPer 8.2
;
datalines;
LAXX 4000 1.00
LAXX B10X 1.00
LAXX S10X 1.00
LAXX A10X 1.00
4000 1100 1.00
4000 1300 1.00
4000 1400 4.00
4000 1500 1.00
4000 1700 1.00
B10X B100 0.32
B10X B101 0.41
B10X B102 0.33
S10X S100 0.07
S10X S101 0.18
S10X S102 0.24
S10X S103 0.10
S10X S104 0.06
S10X S105 0.14
S10X S106 0.22
S10X S107 0.10
A10X A100 0.11
A10X A101 0.92
B100 1200 1.00
B101 1201 1.00
B102 1202 1.00
A100 1600 1.00
A101 1601 1.00
1100 2100 26.00
1500 1400 2.00
1700 2200 12.00
1700 2300 1.00
;
The part identified as `4000' is the phantom item for common parts `1100', `1300', `1400', `1500', and `1700'. Each available option is structured as a model item with a quantity per parent (identified as the QtyPer variable) that represents its forecast popularity or option percentage. Note that the total percentage of each option in this example is more than 100 percent (for example, the total percentage of the `A10X: Socket assembly options' is 0.11 + 0.92 = 1.03). This extra percentage is used to cover the uncertainty of the exact percentage split. Using this procedure to cover possible high side demand for each option is called option overplanning (Fogarty, Blackstone, and Hoffmann 1991). The new part master data set PMaster2 combines the generic and phantom part data, the additional options data, and the old part master file shown in Output 1.1.1. The modularized single-level BOM data set, SlBOM2, combines the data set PMaster2 with the part-component data set ParComp2 by using PROC SQL. The SAS code to accomplish this is as follows:
/* Append the old part master data to the new */
/* phantom item and additional option data sets */
data PMaster2;
set Phantom2
Option2
PMaster1(where=(Part NE 'LA01'));
run;
proc sort data=PMaster2;
by Part;
run;
proc sort data=ParComp2;
by Part;
run;
/* Merge the Part-Component information to the new */
/* part master data to create an input data set */
proc sql;
create table SlBOM2 as
select PMaster2.*,
ParComp2.Component, ParComp2.QtyPer
from PMaster2 left join ParComp2
on PMaster2.Part=ParComp2.Part;
quit;
Output 1.2.1: Modularized Single-Level Bills of Material
proc sort data=SlBOM2;
by Part;
run;
/* Display the single-level BOM data */
proc print data=SlBOM2 noobs;
title 'ABC Lamp Company';
title3 'Modularized Single-Level Bills of Material';
run;
The following code invokes PROC BOM to generate the planning BOM and the summarized BOM from the modularized single-level BOM:
/* Generate the indented BOM and summarized BOM data sets */
proc bom data=SlBOM2 out=IndBOM2 summaryout=SumBOM2;
structure / part=Part
requirement=Req
leadtime=LeadTime
component=Component
quantity=QtyPer
id=(Desc Unit);
run;
/* Display the indented BOM data */
proc print data=IndBOM2 noobs;
var _Level_ _Part_ Desc QtyPer Qty_Prod
Unit LeadTime Tot_Lead _Parent_ _Prod_;
title 'ABC Lamp Company';
title3 'Indented Bill of Material, Part LAXX';
run;
proc sort data=SumBOM2;
by _Part_;
run;
/* Display the summarized BOM data */
proc print data=SumBOM2 noobs;
title 'ABC Lamp Company';
title3 'Summarized Bill of Material, Part LAXX';
run;
The indented bill of material is shown in Output 1.2.2. Output 1.2.3 lists the quantity of each part that is needed to build 10,000 lamps.
Output 1.2.2: Planning Bill of Material with Option Overplanning
|
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.