<?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: Storage according to OderID- Which condition must be given? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560354#M62972</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can use the same syntax for finding a matching slot as you had on the racks - but in this case you're searching the whole storage system.  So where you now have &lt;/P&gt;&lt;PRE&gt;WHERE OrderID IS $1.OrderID&lt;/PRE&gt;&lt;P&gt;which would require you to label the slots with the OrderID whenever you assign and unassign a slot, you can instead use:&lt;/P&gt;&lt;PRE&gt;WHERE slot.slotItems.length&amp;gt;0 AND slot.slotItems[1].OrderID IS $1.OrderID&lt;/PRE&gt;&lt;P&gt;In large systems the second option is likely to be slower, and may be noticeable.  For you model I think it should be fine.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 30 Dec 2020 19:21:36 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2020-12-30T19:21:36Z</dc:date>
    <item>
      <title>Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560351#M62969</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello!&lt;/P&gt;
 &lt;P&gt;Items with the same OrderID should be stored in a slot in the same rack. For this I have applied: &lt;STRONG&gt;slot.slotItems.length &amp;gt; 0 ? slot.slotItems[1].OrderID == item.OrderID : true&lt;/STRONG&gt; as a condition in the slot strategy. Now I have noticed that some items are stored on a different rack. Can someone help me and tell me what is wrong with this code? &lt;/P&gt;
 &lt;P&gt;Thank you very much!&lt;/P&gt;
 &lt;P&gt;Attached the model and 2 screenshots. &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/35645-entwurf-10-3-ohnepicktime-mitpallettruck.fsm" target="_blank"&gt;Entwurf_10_3_ohnePickTime_mitPalletTruck.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35629-flexsim-2020-for-education-commercial-use-prohibit.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504644iDF662938283002BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="35629-flexsim-2020-for-education-commercial-use-prohibit.png" alt="35629-flexsim-2020-for-education-commercial-use-prohibit.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35630-flexsim-2020-for-education-commercial-use-prohibit.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504645i519692F98A77D638/image-size/large?v=v2&amp;amp;px=999" role="button" title="35630-flexsim-2020-for-education-commercial-use-prohibit.png" alt="35630-flexsim-2020-for-education-commercial-use-prohibit.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Dec 2020 08:05:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560351#M62969</guid>
      <dc:creator>martin_b6</dc:creator>
      <dc:date>2020-12-29T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560352#M62970</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;In your model you find an empty slot across all 4 racks and then assign that to the pallet.  Then you move to the rack of the slot and unload the item on the pallet to the rack,  NOT the rack.  At that point the rack executes it's storage strategy since the item has not been assigned a slot and places it in a slot.&lt;/P&gt;&lt;P&gt;If, instead of assigning the pallet the slot you change it to the item on the pallet, you will fill all the empty slots with items, and not group by the order.  This is also not what you want.&lt;/P&gt;&lt;P&gt;So you need to change the process flow to first find a matching slot and if there is none &lt;EM&gt;then&lt;/EM&gt; find an empty slot.  THen you can assign the slot to the item and not the pallet and it will work okay.  I'd remove the rack slot strategy to save the confusion.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 16:17:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560352#M62970</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-12-30T16:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560353#M62971</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you for your answer, &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@jason.lightfoot&lt;/A&gt; I have now changed my process flow and tried to find a matching slot beforehand and if there is none, an empty slot. I have also neglected the palettes and assigned the items to the slot. Then I removed the rack slot strategy. But now the items are not stored grouped by OrderID. What do I have to do to ensure that the items are stored in groups?&lt;/P&gt;
 &lt;P&gt;Thank you very much!&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35711-processflow.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504640i6881B0904A9FF9C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="35711-processflow.png" alt="35711-processflow.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/35683-entwurf-10-4.fsm" target="_blank"&gt;Entwurf_10_4.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 18:45:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560353#M62971</guid>
      <dc:creator>martin_b6</dc:creator>
      <dc:date>2020-12-30T18:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560354#M62972</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can use the same syntax for finding a matching slot as you had on the racks - but in this case you're searching the whole storage system.  So where you now have &lt;/P&gt;&lt;PRE&gt;WHERE OrderID IS $1.OrderID&lt;/PRE&gt;&lt;P&gt;which would require you to label the slots with the OrderID whenever you assign and unassign a slot, you can instead use:&lt;/P&gt;&lt;PRE&gt;WHERE slot.slotItems.length&amp;gt;0 AND slot.slotItems[1].OrderID IS $1.OrderID&lt;/PRE&gt;&lt;P&gt;In large systems the second option is likely to be slower, and may be noticeable.  For you model I think it should be fine.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:21:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560354#M62972</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-12-30T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560355#M62973</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Notice now that you probably need to filter which storageObjects you can use so to avoid the floorStorage.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:36:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560355#M62973</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-12-30T19:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560356#M62974</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;It looks like you also need to say which racks to consider, since you don't want to find slots in floor storage.&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:48:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560356#M62974</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-12-30T19:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560357#M62975</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you very much! The operator already sorts the items in the floor storage but if I change the floor storage to a queue then it works great.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:51:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560357#M62975</guid>
      <dc:creator>martin_b6</dc:creator>
      <dc:date>2020-12-30T19:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560358#M62976</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can leave it as floor storage if you want.  Just put the racks in a group called "Racks" and then use this line:&lt;/P&gt;&lt;PRE&gt;WHERE slot.slotItems.length&amp;gt;0 AND slot.slotItems[1].OrderID IS $1.OrderID AND Group(\"Racks\").isMember(slot.storageObject)&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:59:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560358#M62976</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-12-30T19:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Storage according to OderID- Which condition must be given?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560359#M62977</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Perfect! Thank you very much, works great!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Dec 2020 20:39:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/storage-according-to-oderid-which-condition-must-be-given/m-p/13560359#M62977</guid>
      <dc:creator>martin_b6</dc:creator>
      <dc:date>2020-12-30T20:39:12Z</dc:date>
    </item>
  </channel>
</rss>

