<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc bom: is the factor option doing the same as the rid option? in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/235071#M1173</link>
    <description>Glad this answers your question!  Please feel free to contact me if you have any questions.</description>
    <pubDate>Tue, 17 Nov 2015 17:11:02 GMT</pubDate>
    <dc:creator>Danny_Shaw</dc:creator>
    <dc:date>2015-11-17T17:11:02Z</dc:date>
    <item>
      <title>proc bom: is the factor option doing the same as the rid option?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/233841#M1164</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like increase the gross requirement of a bill-of-materials by a certain scrap factor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data ProductStructure;
  Input @3 Product $2. @ 7 Component $3. @11 Qty @16 RID $15. @32 ScrapFactor;
  Datalines;
  P2  C1  0.80 Component       0.1
  P2  C4  0.20 Component       0
  C1  C11 0.50 Component       0
  C1  C12 0.50 Component       0
  ;
Run;

Data PartMaster;
  Input @3 Descr $3. @7 Text $35. @45 LeadTime;
  Datalines;
  P2  Product_2                             0
  C1  Component_1                           2
  C4  Component_4                           3
  C11 Subcomponent_1                        3
  C12 Subcomponent_2                        0
  ;
Run;

Proc BOM Data=ProductStructure
         PMData=PartMaster
         Out=BOM_Result;
  Structure / Part=Descr
              Parent=Product
              Component=Component
              Quantity=Qty
	          Factor=ScrapFactor
              ID=(Text)
	          RID=(RID);
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value of qty_prod in bom_result should be 0.44 for both c11 and c12. However, no matter which scrap factor I choose, I always get the same result.&amp;nbsp;In my example "factor" is working exactly like "rid"&amp;nbsp;(I simply get an additional column) which does not really make sense to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have to calculate the actual demand myself using a&amp;nbsp;data step or is there a way to make proc bom do it for me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 14:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/233841#M1164</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2015-11-09T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc bom: is the factor option doing the same as the rid option?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/234630#M1166</link>
      <description>&lt;P&gt;Hi user24feb,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Qty_Prod (quantity per product) variable in Indent BOM data set denotes the quantity of the component required to make one unit of the product. &amp;nbsp;It only uses quantity per assembly information and does not take into account the scrap factor. &amp;nbsp;The gross requirement (Gros_Req) variable in Summarized Parts data set will use the scrap factor along with other information (such as quantity on hand and quantity per) &amp;nbsp;in computing the value. &amp;nbsp;You can use the SUMMARYOUT= option in PROC BOM statement to create a Summarized Parts data set and find the gross and net requirements from the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this will answer your question. &amp;nbsp;Please feel free to contact me if you have any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and best wish,&lt;/P&gt;
&lt;P&gt;Danny&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/234630#M1166</guid>
      <dc:creator>Danny_Shaw</dc:creator>
      <dc:date>2015-11-13T15:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc bom: is the factor option doing the same as the rid option?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/234956#M1172</link>
      <description>Sorry, I forgot the summary output (again; because I usually avoid it.</description>
      <pubDate>Tue, 17 Nov 2015 06:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/234956#M1172</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2015-11-17T06:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc bom: is the factor option doing the same as the rid option?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/235071#M1173</link>
      <description>Glad this answers your question!  Please feel free to contact me if you have any questions.</description>
      <pubDate>Tue, 17 Nov 2015 17:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-bom-is-the-factor-option-doing-the-same-as-the-rid-option/m-p/235071#M1173</guid>
      <dc:creator>Danny_Shaw</dc:creator>
      <dc:date>2015-11-17T17:11:02Z</dc:date>
    </item>
  </channel>
</rss>

