<?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: Problem using Global Table for process time in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480544#M219</link>
    <description>&lt;P&gt;You're using item.Type as the row number when getting the value from the Decor master table. The item that enters the processor when the error happens has a Type label of 4. So since you're using item.Type and the Type label is 4 the code tries to get the value of the cell in the 4th row. However, your table only has 3 rows and so you get an error.&lt;/P&gt;&lt;P&gt;It looks like you renamed the row headers of the table to be "Row 4", "Row 5", and "Row 6". But, if you look up a table value using a number it doesn't use the row headers at all. My advice, (if you are never going to have item types 1-3) is to change your row value from item.Type to:&lt;/P&gt;&lt;PRE&gt;item.Type - 3&lt;/PRE&gt;&lt;P&gt;that way type 4 will look up the value in row 1.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2019 16:32:32 GMT</pubDate>
    <dc:creator>Matthew_Gillespie</dc:creator>
    <dc:date>2019-09-09T16:32:32Z</dc:date>
    <item>
      <title>Problem using Global Table for process time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480543#M218</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Flexscrip exception: Invalid row number: 4 in Global Table "Decor master" at MODEL:/Decoración 1&amp;gt;variables/cycletime&lt;/P&gt;
&lt;P&gt;I'm trying to set up the process time of a processor for three products using a global table. It shows me this error and I haven't been able to fix it. Apparently there's something wrong with the way I created the table.&lt;/P&gt;
&lt;P&gt;Could anyone help me?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2019 17:38:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480543#M218</guid>
      <dc:creator>SebastianCanasV</dc:creator>
      <dc:date>2019-09-08T17:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Global Table for process time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480544#M219</link>
      <description>&lt;P&gt;You're using item.Type as the row number when getting the value from the Decor master table. The item that enters the processor when the error happens has a Type label of 4. So since you're using item.Type and the Type label is 4 the code tries to get the value of the cell in the 4th row. However, your table only has 3 rows and so you get an error.&lt;/P&gt;&lt;P&gt;It looks like you renamed the row headers of the table to be "Row 4", "Row 5", and "Row 6". But, if you look up a table value using a number it doesn't use the row headers at all. My advice, (if you are never going to have item types 1-3) is to change your row value from item.Type to:&lt;/P&gt;&lt;PRE&gt;item.Type - 3&lt;/PRE&gt;&lt;P&gt;that way type 4 will look up the value in row 1.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 16:32:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480544#M219</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-09-09T16:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Global Table for process time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480545#M220</link>
      <description>&lt;P&gt;Thank you very much &lt;A rel="user" href="https://answers.flexsim.com/users/87/matthew.g.html" nodeid="87"&gt;@Matthew Gillespie&lt;/A&gt;, I've just changed it and now it's working!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 18:25:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-using-global-table-for-process-time/m-p/13480545#M220</guid>
      <dc:creator>SebastianCanasV</dc:creator>
      <dc:date>2019-09-09T18:25:37Z</dc:date>
    </item>
  </channel>
</rss>

