<?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: Floor Storage Pull from List with FlexScript Not Working in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595103#M90057</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You need to replace 'current' with 'puller' in the SQL string that you write so:&lt;/P&gt;&lt;PRE&gt;WHERE WH=puller.Column&lt;/PRE&gt;&lt;P&gt;It's as simple as that. &lt;/P&gt;&lt;P&gt;Here's the&lt;A href="https://docs.flexsim.com/en/23.2/Reference/CodingInFlexSim/FlexScriptAPIReference/List/List.html#Method-pull"&gt; documentation on List.pull() &lt;/A&gt; which clearly shows that in the trigger code, 'current' as being passed into the function as the puller, and demonstrates the use of the keyword 'puller' in the examples.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 07 Jul 2023 23:03:00 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2023-07-07T23:03:00Z</dc:date>
    <item>
      <title>Floor Storage Pull from List with FlexScript Not Working</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595098#M90052</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.9 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, I have a group of floor storages with unique warehouse Column label values. They should pull flowitems from an item list whose WH label match their Column label. I have tried the following references, with and without curly braces, and the FlexScript does not execute.&lt;/P&gt;
 &lt;P&gt;WHERE WH = &lt;/P&gt;
 &lt;P&gt;current.Column, current.labels["Column"].value, getlabel(current,"Column")&lt;/P&gt;
 &lt;P&gt;The query only returns the exact string the query. I assume this is because the pick list code declares the query as a string, but it seems like FlexScript should function here - a dynamic query built with labels is a common application.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 15:33:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595098#M90052</guid>
      <dc:creator>c_adam_collins</dc:creator>
      <dc:date>2023-07-07T15:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Floor Storage Pull from List with FlexScript Not Working</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595099#M90053</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;If you're using a pull from list activity to pull, the query needs puller references, so make your puller 'current' and then use &lt;STRONG&gt;puller.Column&lt;/STRONG&gt; in your query.&lt;/P&gt;&lt;P&gt;This assumes that the floor storage is an object process flow member/instance.&lt;/P&gt;&lt;P&gt;Similarly for List.pull() - one of the parameters is for the puller, for which you would enter 'current' again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 16:42:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595099#M90053</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-07-07T16:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Floor Storage Pull from List with FlexScript Not Working</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595100#M90054</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 There is no process flow used here at all - this on the floor storage object input/pull from list. There is no place to mark a puller.
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 18:26:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595100#M90054</guid>
      <dc:creator>c_adam_collins</dc:creator>
      <dc:date>2023-07-07T18:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Floor Storage Pull from List with FlexScript Not Working</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595101#M90055</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The puller is current by default it seems - so you can use the keyword 'puller'.   You can check the parameters in use in the trigger by opening its code in the editor.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 20:54:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595101#M90055</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-07-07T20:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Floor Storage Pull from List with FlexScript Not Working</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595102#M90056</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="picklistpull.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518141iBDB127A939F4DE9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="picklistpull.jpg" alt="picklistpull.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;The attached image shows the code behind the pulling object's input picklist (no process flow). There is no puller variable in the code and the intellisense does not recognize typing 'puller' in the query. Still if they are the same, current should work.&lt;/P&gt;
 &lt;P&gt;Again, this is trying to use the basic "Pull from List" picklist on a fixed resource and include "current.myLabel" in the query input box. The intellisense there recognizes current (it turns blue) but is not executed as FlexScript. But note in the code it is all treated as string, including when curly bracers are used per the SQL query help page.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 21:50:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595102#M90056</guid>
      <dc:creator>c_adam_collins</dc:creator>
      <dc:date>2023-07-07T21:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Floor Storage Pull from List with FlexScript Not Working</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595103#M90057</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You need to replace 'current' with 'puller' in the SQL string that you write so:&lt;/P&gt;&lt;PRE&gt;WHERE WH=puller.Column&lt;/PRE&gt;&lt;P&gt;It's as simple as that. &lt;/P&gt;&lt;P&gt;Here's the&lt;A href="https://docs.flexsim.com/en/23.2/Reference/CodingInFlexSim/FlexScriptAPIReference/List/List.html#Method-pull"&gt; documentation on List.pull() &lt;/A&gt; which clearly shows that in the trigger code, 'current' as being passed into the function as the puller, and demonstrates the use of the keyword 'puller' in the examples.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 23:03:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floor-storage-pull-from-list-with-flexscript-not-working/m-p/13595103#M90057</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-07-07T23:03:00Z</dc:date>
    </item>
  </channel>
</rss>

