<?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: Count Boxes in a rack that has both pallets and boxes mixed in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570455#M70860</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, &lt;/P&gt;
 &lt;P&gt;I did the change as you mentioned and the values in my dashboard completely dissapeared. (Dashboard 2/XXXRack Content by SKU.&lt;/P&gt;
 &lt;P&gt;Aslo, the Systems Console started showing some lines that were not there before, related to the Statistic Collector that were modified.&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72732-example-with-expansion.fsm" target="_blank"&gt;Example with expansion.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 17 Aug 2023 11:41:07 GMT</pubDate>
    <dc:creator>GerardoRodea</dc:creator>
    <dc:date>2023-08-17T11:41:07Z</dc:date>
    <item>
      <title>Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570448#M70853</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello,&lt;/P&gt;
 &lt;P&gt;In my model, I have both boxes and pallets with boxes stored. When I do the counting, the box and the pallet count as 1, regardless if the pallet contains for example 5 boxes.&lt;/P&gt;
 &lt;P&gt;How can I make it counting the total boxes?&lt;/P&gt;
 &lt;P&gt;I am attaching my model and the picture that best describes the problem.&lt;/P&gt;
 &lt;P&gt;Additional point: If you count the boxes/pallets, in the picture and compare it with the model, it is always adding 1. I cannot understand where this additional 1 is coming from.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72461-example-new.fsm" target="_blank"&gt;Example new.fsm&lt;/A&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72462-example-of-counting-boxes-pallet.jpg" target="_blank"&gt;example of counting boxes pallet.JPG&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 12:45:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570448#M70853</guid>
      <dc:creator>GerardoRodea</dc:creator>
      <dc:date>2023-08-10T12:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570449#M70854</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The offset of 1 stems from the row label starting at 1 instead of 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1691672973459.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518921iE9EF41FEFBB1373C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1691672973459.png" alt="1691672973459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To account for pallets, change the "Delta" value to either return the number of subnodes of the entering/exiting item if there are any and 1 otherwise. (Negative values for exit event)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1691673030534.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518924iF279E78EF943CFC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="1691673030534.png" alt="1691673030534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:11:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570449#M70854</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-08-10T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570450#M70855</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks for the reply. 
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;I want to count boxes, not pallets. As you can see from my model, I have a mix of both in the rack and it is only counting 1 either is a pallet with multiple boxes or 1 box.
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:19:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570450#M70855</guid>
      <dc:creator>GerardoRodea</dc:creator>
      <dc:date>2023-08-10T13:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570451#M70856</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;That's what the change is for. "To account for pallets..." was meant as: To account for the fact that an entering item could be a pallet and count the content instead of the pallet itself....&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:22:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570451#M70856</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-08-10T13:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570452#M70857</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks for the clarification,
 &lt;P&gt;So then, I would need to modify the Delta to the custom code you have shown. Does it needs to be done for the On Slot Entry / On Slot Exit? or only for one of them?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:29:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570452#M70857</guid>
      <dc:creator>GerardoRodea</dc:creator>
      <dc:date>2023-08-10T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570453#M70858</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 For both, and the slot exit would be the same code but negative for the numbers to return
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570453#M70858</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-08-10T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570454#M70859</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/42528/gerardorodea.html" nodeid="42528"&gt;@GRodea&lt;/A&gt;, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;
 &lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Aug 2023 13:40:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570454#M70859</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-08-15T13:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570455#M70860</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, &lt;/P&gt;
 &lt;P&gt;I did the change as you mentioned and the values in my dashboard completely dissapeared. (Dashboard 2/XXXRack Content by SKU.&lt;/P&gt;
 &lt;P&gt;Aslo, the Systems Console started showing some lines that were not there before, related to the Statistic Collector that were modified.&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72732-example-with-expansion.fsm" target="_blank"&gt;Example with expansion.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Aug 2023 11:41:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570455#M70860</guid>
      <dc:creator>GerardoRodea</dc:creator>
      <dc:date>2023-08-17T11:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count Boxes in a rack that has both pallets and boxes mixed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570456#M70861</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;1. There is a spelling mistake in the code(s).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692277099883.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518930i4737E1B321061AA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692277099883.png" alt="1692277099883.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. You have to return the negative number of subnodes for the exit event.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692277157209.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518931i6091648CAF82C5F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692277157209.png" alt="1692277157209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Aug 2023 13:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/count-boxes-in-a-rack-that-has-both-pallets-and-boxes-mixed/m-p/13570456#M70861</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-08-17T13:01:13Z</dc:date>
    </item>
  </channel>
</rss>

