question

Salma Neeq2 avatar image
0 Likes"
Salma Neeq2 asked Joerg Vogel answered

Count boxes in a rack

Hi! I am building a cross docking model. One of the requirments is to count the boxes that weren't dispatched in the racks at 7 am of the next day, so then I could make new orders. It is possible to do that? How could I count the boxes left in the racks? Thank you

FlexSim 21.2.4
distributionscount boxescross docking model
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You can count any first subnode level by rackobj.subnodes.length

If you have items on pallets then you will need to find them recursively.

This is a job for a command like forobjecttreeunder.

If you want to get them over more racks or your whole warehouse, then it is a task for method queryItems

But this method count only items in the first subnode level. This evaluates only the references directly stored in your warehouse. It will count the pallets, but not the items or totes on the pallet.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.