<?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 Help writing SQL syntax in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577982#M76777</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.15 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted" style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;In this model, trucks arrive and use docks for loading and unloading. At first, type 1 trucks arrive. However, when type 2 trucks arrive, they have priority for loading.&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;I tried to build SQL syntax by integrating WHERE with ORDER, but it didn't work.&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1729287031227.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1525643i963BE48608BE2104/image-size/large?v=v2&amp;amp;px=999" role="button" title="1729287031227.png" alt="1729287031227.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/87462-problem-sql-syntax.fsm" target="_blank"&gt;problem-sql-syntax.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 18 Oct 2024 21:32:06 GMT</pubDate>
    <dc:creator>willrs</dc:creator>
    <dc:date>2024-10-18T21:32:06Z</dc:date>
    <item>
      <title>Help writing SQL syntax</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577982#M76777</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.15 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted" style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;In this model, trucks arrive and use docks for loading and unloading. At first, type 1 trucks arrive. However, when type 2 trucks arrive, they have priority for loading.&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;I tried to build SQL syntax by integrating WHERE with ORDER, but it didn't work.&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1729287031227.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1525643i963BE48608BE2104/image-size/large?v=v2&amp;amp;px=999" role="button" title="1729287031227.png" alt="1729287031227.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:8.0pt;margin-left:0cm;line-height:107%;font-size:15px;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/87462-problem-sql-syntax.fsm" target="_blank"&gt;problem-sql-syntax.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Oct 2024 21:32:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577982#M76777</guid>
      <dc:creator>willrs</dc:creator>
      <dc:date>2024-10-18T21:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help writing SQL syntax</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577983#M76778</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Which token gets to acquire something first is controlled by the "Back Order Queue Strategy" you can set in the resource's properties.&lt;/P&gt;&lt;P&gt;It also takes the form of an SQL query ORDER BY clause where "puller" references the token. The following would allow tokens with a higher "Tipo" label to acquire a dock before others.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1729490555030.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1525640i0E5F4AA90C60D4C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1729490555030.png" alt="1729490555030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2024 06:03:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577983#M76778</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-10-21T06:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help writing SQL syntax</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577984#M76779</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Thanks Felix, this worked!&lt;/P&gt;
 &lt;P&gt; But I have a question about how to write an SQL syntax, using WHERE and ORDER, directly in "Acquire". Isn't that possible?&lt;/P&gt;
 &lt;P&gt; &lt;/P&gt;
 &lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2024 16:31:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577984#M76779</guid>
      <dc:creator>willrs</dc:creator>
      <dc:date>2024-10-21T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help writing SQL syntax</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577985#M76780</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/43310/willrs.html" nodeid="43310"&gt;@WillRS&lt;/A&gt;,&lt;/P&gt;&lt;P id="isPasted"&gt;The query on the acquire activity will be for the resources. The back-order strategy query will be for the tokens acquiring the resource. In the case that you want to order the tokens, you will apply a SQL query to the back orders like he described. You will find this in the advanced options for the resource. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1729538113039.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1525642iF1BD972C34F46CE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="1729538113039.png" alt="1729538113039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2024 19:15:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577985#M76780</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-10-21T19:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help writing SQL syntax</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577986#M76781</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Okay, I understand&lt;/P&gt;
 &lt;P&gt;Thanks!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2024 19:37:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-writing-sql-syntax/m-p/13577986#M76781</guid>
      <dc:creator>willrs</dc:creator>
      <dc:date>2024-10-21T19:37:09Z</dc:date>
    </item>
  </channel>
</rss>

