question

Boris M3 avatar image
0 Likes"
Boris M3 asked Ben Wilson commented

Change item bay or level in storage system

I have a floor storage with 1 bay and 4 levels. When a new item arrives i have to always put it in position (1,4,1) and move the others to the lower level( The one stored in (1,4,1) to (1,3,1) and so on).

I'm trying to do it with flexscript but when i assign the new slots to the Storage.Slot.Item already stored ir doesn't move.

How can i do it with flexscript so i don't have to use a Load and unload task in the process flow and add another task executer to my model?

PD.: I read about item virtualization and if a get the stored item with Storage.Slot.Item it's a re-created item and not the original one, i didn't get what's the difference betwen them or how i can get the actual stored item from a storage and move it to another bay and level selected by me.

FlexSim 19.2.4
flexscriptstoragestorage.itemstorage.slot.item
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

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Ben Wilson commented

Assigning a slot doesn't move the item. Once you assign the new slot, you can move the object out of the rack, and move it back in with the moveobject() command or with the Move Object activity.

· 1
5 |100000

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

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Boris M3,

Did @jordan.johnson's Answer help you with your question? If so, please hit the Accept link. If not, please comment back to let us know how else we can help.

Thanks

0 Likes 0 ·