<?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: Is it possible to link MRP data to Flexsim model ? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518395#M29838</link>
    <description>&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/8186/tannerp.html" nodeid="8186"&gt;@Tanner Poulton&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks a lot, this is very close to my need.&lt;/P&gt;
&lt;P&gt;One clarification I might have not made. When the Processor1 is outputting 1 item, the change in INV should be : (with N being the last qty in the Inv column)&lt;/P&gt;
&lt;P&gt;Item 1 = N-2&lt;/P&gt;
&lt;P&gt;Item 2 = N-1&lt;/P&gt;
&lt;P&gt;Item 3 = N-1&lt;/P&gt;
&lt;P&gt;Item 4 = N-10&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;These 4 subtractions should,happen every time Processor1 output qty 1&lt;/P&gt;
&lt;P&gt;Right now, the model is doing one item after the other only.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 07:09:18 GMT</pubDate>
    <dc:creator>marco_c4</dc:creator>
    <dc:date>2019-04-16T07:09:18Z</dc:date>
    <item>
      <title>Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518386#M29829</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.2.5 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My question is related to MRP data: inventory and demand forecast, in relation to the sources in the model.&lt;/P&gt;
&lt;P&gt;How can I link the "on-hand inventory" in the sources I am using for my model?&lt;/P&gt;
&lt;P&gt;Also, If my product is made of 10 items in it's BOM, do I have to have 10 sources to reflect that?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 08:26:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518386#M29829</guid>
      <dc:creator>marco_c4</dc:creator>
      <dc:date>2019-03-27T08:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518387#M29830</link>
      <description>&lt;P&gt;The best way to link your data would be through Global Tables. Do you have any experience with importing tables into FlexSim? Once you've imported a table with all your quantity and label data, you can have the Source reflect that in its production. There's many ways to access table data, however, so I'm afraid I can't give an example without knowing more about your data. Perhaps you could upload your files in a private question if you need further help.&lt;/P&gt;&lt;P&gt;Additionally, you can have 10 sources or use Process Flow to create those 10 items in your BOM. To achieve this using Process Flow, you'd just use Create Object activities after sources. Let me know if you have more questions about this.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 19:54:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518387#M29830</guid>
      <dc:creator>tanner_p</dc:creator>
      <dc:date>2019-03-28T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518388#M29831</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/8186/tannerp.html" nodeid="8186"&gt;@Tanner Poulton&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks a lot for your answer. I have no experience in uploading Global Tables. My goal is to know how much of each components of my BOM I have consumed during the simulation run.&lt;/P&gt;
&lt;P&gt;To do that, I am thinking of:&lt;/P&gt;
&lt;P&gt;1/ Import BOM items and QTY in 1 table&lt;/P&gt;
&lt;P&gt;2/ Link each finished flow item to the same table and multiply?&lt;/P&gt;
&lt;P&gt;Are there any other methods to do "inventory management" in FlexSim? My ERP can extract tables in csv format.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 07:31:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518388#M29831</guid>
      <dc:creator>marco_c4</dc:creator>
      <dc:date>2019-04-02T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518389#M29832</link>
      <description>&lt;A rel="user" href="https://answers.flexsim.com/users/12605/marcoc4.html" nodeid="12605"&gt;@Marco Casavecchia&lt;/A&gt;&lt;P&gt;You should know how to control 'Global Table' of flexsim for the purpose of your doing with BoM and on-hand inventory.&lt;/P&gt;&lt;P&gt;Or if you do not use your BoM data, you can use the process flow template of 'Material Consumption and Replenishment'&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 09:15:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518389#M29832</guid>
      <dc:creator>SimFlex_support</dc:creator>
      <dc:date>2019-04-02T09:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518390#M29833</link>
      <description>&lt;P&gt;Please review the custom code that dynamically updates the Global Table (which could be used as a BOM). Whenever an item is processed, the inventory for that item's type is decremented by 1. Obviously, this model is incomplete, but hopefully you can apply the concepts from it to your own model and make it work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18435-global-table-update.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1498846iF109B4EBFA9D0991/image-size/large?v=v2&amp;amp;px=999" role="button" title="18435-global-table-update.png" alt="18435-global-table-update.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hopefully this helps! Global Tables can be very powerful tools and they're worth learning.&lt;/P&gt;&lt;P&gt;Model: &lt;A id="18436" href="https://answers.flexsim.com/storage/temp/18436-inventory-bom.fsm"&gt;inventory-bom.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 20:18:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518390#M29833</guid>
      <dc:creator>tanner_p</dc:creator>
      <dc:date>2019-04-09T20:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518391#M29834</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/8186/tannerp.html" nodeid="8186"&gt;@Tanner Poulton&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks a lot for this inventory-bom code. It is very close to my need.&lt;/P&gt;
&lt;P&gt;2 questions on the code itself:&lt;/P&gt;
&lt;P&gt;- In the "OnReset" code: can the 500 value be taken from a table cell?&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
&lt;P&gt;- In the "OnProcessFinish" code: how can I select from which "Type X" it will decrease of -1 as the simulation runs?&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 12:25:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518391#M29834</guid>
      <dc:creator>marco_c4</dc:creator>
      <dc:date>2019-04-10T12:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518392#M29835</link>
      <description>&lt;P&gt;To pull a value from a table cell, use:&lt;/P&gt;
&lt;PRE&gt;int value=Table("GlobalTable1")[row][column];&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;Or do you mean pulled from one table and inserted into another?&lt;/P&gt;
&lt;P&gt;The "Type X" right now is the Type label on the item coming in, so just edit the line&lt;/P&gt;
&lt;PRE&gt;int row = item.Type;&lt;/PRE&gt;
&lt;P&gt;so that you can select which row will be decremented.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 19:56:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518392#M29835</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2019-04-10T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518393#M29836</link>
      <description>&lt;P&gt;I have uploaded an example of what I would like to change in this custom code.&lt;/P&gt;
&lt;P&gt;&lt;A id="18477" href="https://answers.flexsim.com/storage/attachments/18477-bom-inv-decremental-logic.xlsx"&gt;bom-inv-decremental-logic.xlsx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Basically, I need to be able to have something different than just -1 decremental qty. And also, be able to have quantities uploaded of on-hand inventory, instead of 500 for every item.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 15:23:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518393#M29836</guid>
      <dc:creator>marco_c4</dc:creator>
      <dc:date>2019-04-11T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518394#M29837</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/12605/marcoc4.html" nodeid="12605"&gt;@Marco Casavecchia&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I believe that the following updated model should accomplish what you are thinking. There are a couple things I changed.&lt;/P&gt;&lt;P&gt;First, since you have an Excel file now, I was able to use the Excel file for direct import upon model reset (meaning that when you update the Excel sheet, it will update your Global Tables in FlexSim). There's tutorials on how to use FlexSim Import/Export, so hopefully it's straightforward enough that you can pick it up quickly. You will have to change the directory for you model. Do this by clicking the (...) next to Excel Workbook and identifying your Excel sheet.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18478-excel-import-1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1498849iF714470CCA521132/image-size/large?v=v2&amp;amp;px=999" role="button" title="18478-excel-import-1.png" alt="18478-excel-import-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Second, once you have imported your Global Tables, you'll need to change the code so that you're accessing the current INV value and then subtracting the BOM value from it. I think you called this "- X". The new script for the OnProcessFinish Trigger looks like the image below. Note that I used two row and column values in case you choose to alter those.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18479-process-finish-trigger-script.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1498851i5AEFB9948E26D38C/image-size/large?v=v2&amp;amp;px=999" role="button" title="18479-process-finish-trigger-script.png" alt="18479-process-finish-trigger-script.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hopefully this helps. Of course, you're probably going to need to designate more functions, such as what happens when the INV levels are insufficient and such. This will all require using a lot of custom code. Before taking on a large model, you might consider talking to your local distributor about consulting. There are many ways to utilize FlexSim and we would hope you can find the best one for your simulation. &lt;/P&gt;&lt;P&gt;Model: &lt;A id="18480" href="https://answers.flexsim.com/storage/attachments/18480-bom-inventory.fsm"&gt;bom-inventory.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 17:21:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518394#M29837</guid>
      <dc:creator>tanner_p</dc:creator>
      <dc:date>2019-04-11T17:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518395#M29838</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/8186/tannerp.html" nodeid="8186"&gt;@Tanner Poulton&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks a lot, this is very close to my need.&lt;/P&gt;
&lt;P&gt;One clarification I might have not made. When the Processor1 is outputting 1 item, the change in INV should be : (with N being the last qty in the Inv column)&lt;/P&gt;
&lt;P&gt;Item 1 = N-2&lt;/P&gt;
&lt;P&gt;Item 2 = N-1&lt;/P&gt;
&lt;P&gt;Item 3 = N-1&lt;/P&gt;
&lt;P&gt;Item 4 = N-10&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;These 4 subtractions should,happen every time Processor1 output qty 1&lt;/P&gt;
&lt;P&gt;Right now, the model is doing one item after the other only.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 07:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518395#M29838</guid>
      <dc:creator>marco_c4</dc:creator>
      <dc:date>2019-04-16T07:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to link MRP data to Flexsim model ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518396#M29839</link>
      <description>&lt;P&gt;Instead of using item.Type, just update the code to run a "for()" loop for each row in the table. That way, it will decrement each row for each item. Hopefully this helps. Please see updated model attached.&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/temp/18565-bom-inventory-update.fsm"&gt;bom-inventory-update.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:26:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-link-mrp-data-to-flexsim-model/m-p/13518396#M29839</guid>
      <dc:creator>tanner_p</dc:creator>
      <dc:date>2019-04-16T16:26:49Z</dc:date>
    </item>
  </channel>
</rss>

