<?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 Schedule source by Global table in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576531#M75641</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I have a a schedule source in the process flow and I have a demand table. Every week, my source will create tokens that have 3 different Models. I want the source to use quantities from a global table. The tricky part is that my demand table is in months, but I want the source to create tokens every 7 days.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1710424565556.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522924iDDA2694299766690/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710424565556.png" alt="1710424565556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I want the source to use the first column for the first 4 weeks, the second column for the next 4 weeks and so on. I am having troubles referring to the correct column and row in the global table, and even if that worked, not sure how to make it use the first column for the first four weeks, then switch to the next column. &lt;/P&gt;
 &lt;P&gt;I'm assuming I need a tracked variable that increments every four weeks, then use that as my column reference?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/80327-schedulesource.fsm" target="_blank"&gt;ScheduleSource.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 Mar 2024 13:58:26 GMT</pubDate>
    <dc:creator>alaaeldakrory</dc:creator>
    <dc:date>2024-03-14T13:58:26Z</dc:date>
    <item>
      <title>Schedule source by Global table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576531#M75641</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I have a a schedule source in the process flow and I have a demand table. Every week, my source will create tokens that have 3 different Models. I want the source to use quantities from a global table. The tricky part is that my demand table is in months, but I want the source to create tokens every 7 days.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1710424565556.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522924iDDA2694299766690/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710424565556.png" alt="1710424565556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I want the source to use the first column for the first 4 weeks, the second column for the next 4 weeks and so on. I am having troubles referring to the correct column and row in the global table, and even if that worked, not sure how to make it use the first column for the first four weeks, then switch to the next column. &lt;/P&gt;
 &lt;P&gt;I'm assuming I need a tracked variable that increments every four weeks, then use that as my column reference?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/80327-schedulesource.fsm" target="_blank"&gt;ScheduleSource.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Mar 2024 13:58:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576531#M75641</guid>
      <dc:creator>alaaeldakrory</dc:creator>
      <dc:date>2024-03-14T13:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule source by Global table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576532#M75642</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P id="isPasted"&gt;It find it is often times easier/clearer to use multiple steps instead of trying to fit everything into one activity or flow.&lt;/P&gt;&lt;P&gt;I would create one token per row in the table. These tokens then create the required number of tokens per type every week.&lt;/P&gt;&lt;P&gt;To get the correct column you could access the current month in the model through the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.0/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/DateTime.html#Property-month" target="_blank"&gt;DateTime&lt;/A&gt; class (then account for the offset because your table starts with march).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1710488119788.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522922i4D7A9B95930DB23E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710488119788.png" alt="1710488119788.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/80357-schedulesource-fm.fsm" target="_blank"&gt;schedulesource-fm.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Mar 2024 07:35:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576532#M75642</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2024-03-15T07:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule source by Global table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576533#M75643</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thank you!
 &lt;P&gt;That works and it makes sense,&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Mar 2024 12:10:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/schedule-source-by-global-table/m-p/13576533#M75643</guid>
      <dc:creator>alaaeldakrory</dc:creator>
      <dc:date>2024-03-19T12:10:05Z</dc:date>
    </item>
  </channel>
</rss>

