The BOM Procedure

Example 2.3 Bill of Material with Scrap Factor Information

(View the complete code for this example.)

As in the introductory example described in the section Getting Started: BOM Procedure, this example uses two data files, PMaster3 and ParComp3, as input data sets for the BOM procedure. The PMaster3 data set, shown in Output 2.3.1, lists the part master records for all items of the ABC Lamp Company. The Part and Desc variables contain the part number and description, respectively. The Unit and LeadTime variables contain the unit of measure and lead time information for the item identified by the Part variable. The ParComp3 data set (shown in Output 2.3.2) lists all product structure records in the company. The Parent and the Component variables contain the part numbers for the parent item and the component, respectively. The QtyPer, Fscrap, and LTOff variables contain the quantity per assembly, scrap factor, and lead-time offset information, respectively, for the relationship identified by the Parent and Component variables. The SDate and EDate variables are the start and end dates for the bill of material effectivity dates. The effectivity dates are used to determine when a component is active as a part of the bill of material. In this example, item '1700' uses component '2200' until the end of the 7th of April, 2001. Starting on April 8, 2001, item '1700' uses component '2210' instead. Refer to Landvater and Gray (1989) for more information about bill of material effectivity dates.

Output 2.3.1: Part Master Data Set (PMaster3)

ABC Lamp Company
 
Part Master Records

PartDescUnitLeadTime
1100Finished shaftEach2
12006-Diameter steel plateEach3
1300HubEach2
14001/4-20 ScrewEach1
1500Steel holderEach2
1600One-way socketEach2
1700Wiring assemblyEach1
21003/8 Steel tubingInches3
220016-Gauge lamp cordFeet2
221014-Gauge lamp cordFeet2
2300Standard plug terminalEach1
A100Socket assemblyEach1
B100Base assemblyEach1
LA01Lamp LAEach2
S100Black shadeEach2


Output 2.3.2: Product Structure Data Set (ParComp3)

ABC Lamp Company
 
Product structure Records

ParentComponentQtyPerFscrapLTOffSDateEDate
LA01B1001....
 S1001....
 A1001.2..
B10011001....
 12001....
 13001.1..
 14004.3..
A10015001....
 16001....
 17001....
11002100260.2...
150014002....
17002200120.1..07APR2001
 2210120.1.08APR2001.
 23001....


The following code invokes PROC BOM to produce the indented bill of material and the summarized parts list.

  /* Create the indented BOM with lead time */
proc bom data=ParComp3 pmdata=PMaster3
         out=IndBOM3 summaryout=SumBOM3;
   structure / part=Part
               leadtime=LeadTime
               parent=Parent
               component=Component
               quantity=QtyPer
               factor=Fscrap
               offset=LTOff
               id=(Desc Unit)
               rid=(SDate EDate);
run;

The indented bill of material in Output 2.3.3 is similar to the one displayed in Output 2.2.2, with additional fields for scrap factor, lead-time offset, total offset, and the start and end effectivity dates. The values of scrap factor, lead-time offset and the effectivity dates are carried from the product structure input data set shown in Output 2.3.2. The value of the total offset (denoted by the Tot_Off variable) is determined by the procedure as the total lead-time offset accumulated from the end item identified by the _Prod_ variable to the item identified by the _Part_ variable. In addition, the value of the quantity per product (denoted by the Qty_Prod variable) for each record of this indented bill of material has been increased by the scrap factor to account for anticipated loss within the manufacture of the product 'LA01'. See the section Indented BOM Data Set for information about determining the quantity per product when scrap factor is in effect.

Output 2.3.3: Indented Bill of Material with Scrap Factor (IndBOM3)

ABC Lamp Company
 
Indented Bill of Material, Part LA01

Obs_Level__Parent__Part_DescQtyPerFscrapQty_ProdUnitLeadTimeTot_LeadLTOffTot_OffSDateEDate_Prod_
10 LA01Lamp LA..1Each22.0..LA01
21LA01B100Base assembly10.01Each1300..LA01
32B1001100Finished shaft10.01Each2500..LA01
43110021003/8 Steel tubing260.226Inches3800..LA01
52B10012006-Diameter steel plate10.01Each3600..LA01
62B1001300Hub10.01Each2511..LA01
72B10014001/4-20 Screw40.04Each1433..LA01
81LA01S100Black shade10.01Each2400..LA01
91LA01A100Socket assembly10.01Each1322..LA01
102A1001500Steel holder10.01Each2502..LA01
113150014001/4-20 Screw20.02Each1602..LA01
122A1001600One-way socket10.01Each2502..LA01
132A1001700Wiring assembly10.01Each1402..LA01
1431700220016-Gauge lamp cord120.112Feet2602.07APR2001LA01
1531700221014-Gauge lamp cord120.112Feet260208APR2001.LA01
16317002300Standard plug terminal10.01Each1502..LA01


The summarized parts list, which has been sorted by the _Part_ variable, is displayed in Output 2.3.4. Comparing it with the summarized parts list displayed in Output 2.1.3, you can see the impact of scrap factor on the gross requirement (and hence, the net requirement). Moreover, the summarized parts list data set shown in Output 2.3.4 contains a record for each of the items '2200' and '2210', and the gross requirements of these two items are not affected by the bill of material effectivity dates.

Output 2.3.4: Summarized Parts List (SumBOM3)

ABC Lamp Company
 
Summarized Parts List, Period 3

_Part_Low_CodeGros_ReqOn_HandNet_ReqLeadTimeDescUnit
110021.001.02Finished shaftEach
120021.001.036-Diameter steel plateEach
130021.001.02HubEach
140036.006.011/4-20 ScrewEach
150021.001.02Steel holderEach
160021.001.02One-way socketEach
170021.001.01Wiring assemblyEach
2100331.2031.233/8 Steel tubingInches
2200313.2013.2216-Gauge lamp cordFeet
2210313.2013.2214-Gauge lamp cordFeet
230031.001.01Standard plug terminalEach
A10011.001.01Socket assemblyEach
B10011.001.01Base assemblyEach
LA0101.001.02Lamp LAEach
S10011.001.02Black shadeEach


Last updated: August 24, 2020