question

WH avatar image
0 Likes"
WH asked WH commented

How to pull from list to follow global table?

Hello, Thank you for reading my question.

I want to make model follow this process.
In my model, "Piece Picking Process", I bring tote box based on Global table (table name is Order_Data)
I used pull from List to bring order data and then I want to make travel where I already set on global table. Global table has ordernumber, Picking Location and Quantities.

However, My model doesn't work travel activity.
And one more question, I wonder that if I use "List", I can see "id" for each data.
Is it possible to read data from lower class in "id"? I think I can find id number contains ordernumber, Location, Quantities, but I'm not sure possible to lower data in each ids.

Thank you in advanced.

Outbound_Piece_Pallet.fsm

FlexSim 22.2.0
global tablepull from listtravelarraylabel array
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered WH commented

The "id" you are seeing is a pointer to the token that was pulled off the list. Through the respective label you can access the labels on that token. ("token.pulled[N].Location_Inventory", for example)

So you'd run a subflow for each pulled order token and pull the needed piece quantity. The list option "Use First SELECT Value as Quantifier" makes is so that the requested/pulled quantity is subtracted from the label named as the first SELECT value. For example, when you request a quantity of 10, "SELECT PieceQty" would subtract 10 from the PieceQty list field. The item is kept on the list until the field becomes 0.

capture1.png

In another nested subflow you can then have the picker travel to each pulled item and create the number of pieces that was pulled from that box.

outbound-piece-pallet-fm.fsm

I fixed some issues in your model to get all this to work. I added the "Location_Inventory" to each box and changed the list field name accordingly, so the boxes can be pulled from the list filtered by location.

And you had a "&&" in the second Pull From List activity. Multiple WHERE clauses would be separated by either AND or OR. You do not need this when going from WHERE to ORDER BY.


· 3
5 |100000

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