<?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: Index on storage slots to help speed up find slot query in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583415#M80828</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;No you should not add the address scheme's slot attributes as slot labels - they will override the address scheme values.&lt;/P&gt;&lt;P&gt;I think also that you should be referring to the indexed labels without the slot and item prefix otherwise you will not get the benefit of the indexing system.   Take a look at the &lt;A href="https://docs.flexsim.com/en/23.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Warehousing/Storage.System.html#Method-findSlot"&gt;description of findSlot&lt;/A&gt; towards the bottom where it refers to the difference between&lt;/P&gt;&lt;PRE&gt;WHERE SKU = 5&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;WHERE slot.SKU = 5&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 17 May 2023 17:22:21 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2023-05-17T17:22:21Z</dc:date>
    <item>
      <title>Index on storage slots to help speed up find slot query</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583414#M80827</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello,&lt;/P&gt;
 &lt;P&gt;I have find slot activity that gets hit a huge number of times. I use labels bayID, levelID, and slot.storageObject. Can these be indexed?&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1684334651432.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1517100i2D22FFD3438411A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1684334651432.png" alt="1684334651432.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/19365/felixmh.html" nodeid="19365"&gt;@Felix Möhlmann&lt;/A&gt; : A follow up to previous question on indexing for storage systems, but asking separately. &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 May 2023 14:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583414#M80827</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2023-05-17T14:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Index on storage slots to help speed up find slot query</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583415#M80828</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;No you should not add the address scheme's slot attributes as slot labels - they will override the address scheme values.&lt;/P&gt;&lt;P&gt;I think also that you should be referring to the indexed labels without the slot and item prefix otherwise you will not get the benefit of the indexing system.   Take a look at the &lt;A href="https://docs.flexsim.com/en/23.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Warehousing/Storage.System.html#Method-findSlot"&gt;description of findSlot&lt;/A&gt; towards the bottom where it refers to the difference between&lt;/P&gt;&lt;PRE&gt;WHERE SKU = 5&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;WHERE slot.SKU = 5&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 May 2023 17:22:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583415#M80828</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-05-17T17:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Index on storage slots to help speed up find slot query</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583416#M80829</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Can you pls explain this part further? "No you should not add the address scheme's slot attributes as slot labels - they will override the address scheme values."&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 May 2023 17:24:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583416#M80829</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2023-05-17T17:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Index on storage slots to help speed up find slot query</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583417#M80830</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The address scheme will create levelID as attributes. If you're using the address scheme and set labels using the levelID they would need to be set to match since when you access slot.levelID it will look at the label first and not the address scheme value. You can test this by just running a simple query against the storage system with a rack that uses the address scheme:&lt;/P&gt;&lt;PRE&gt;Storage.system.querySlots("WHERE slot.levelID=1",0)&lt;/PRE&gt;&lt;P&gt;run that before adding your slot label 'levelID' and you will see you get the level one slots returned while afterwards you get no slots returned.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You could add labels for myLevelID and myBayID which you set yourself based on the address scheme values, and then use those without the slot prefix, which &lt;EM&gt;may &lt;/EM&gt;be faster - I'm not sure anyone has tested that.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 May 2023 17:27:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/index-on-storage-slots-to-help-speed-up-find-slot-query/m-p/13583417#M80830</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-05-17T17:27:53Z</dc:date>
    </item>
  </channel>
</rss>

