question

D. Woo avatar image
0 Likes"
D. Woo asked Jason Lightfoot commented

FindItem does not work

I am going to make piece picking simulation.

There is a shelf rack with tote boxes and each tote box has some stock.

If there is an order, worker finds item and load picking tote box and pick exact quantity from one or more tote boxes.

I tried to use FIndItem by setting process flow properties and script both.

but both do not work correctly.

In case of script, worker picks wrong items.

In case of properties, worker couldn't find stock and do not continue anymore.

Please see my model and find the reason.

[model] homework v0.4 0126.fsm

[properties setting]

finditem-properties.png

[script]

finditem-script.png

FlexSim 23.0.2
rack storagefinditem
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Add SKU to the storage system's item labels.

Then you'll find that P004 is marked as outbound so is not found by the findItem activity and the model stops.

If you want to see the list of pickable stock, run this script:

Storage.system.queryItems("SELECT SKU,Stock").as(Array).as(Table).cloneTo("GlobalTable1")
· 4
5 |100000

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

D. Woo avatar image D. Woo commented ·
Yes, as you said I guess last one was locked.

Would you please update sample know how to solve it?

I've just studied FlexSim weeks ago, so I don't know how to solve it.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ D. Woo commented ·

I expect the Find Item activity should not be marking the found item as outbound.

1675009122344.png

0 Likes 0 ·
1675009122344.png (9.1 KiB)
D. Woo avatar image D. Woo Jason Lightfoot ♦ commented ·
Yes. it works.

Thank you.

and I found a critical mistake using your script.

I used processFlow variables and labels to pick stocks.

It's OK for one picker. but for more than 1 pickers, they shared this value, so they picked mixed SKU and qty.

I changed from processFlow to token, so it works well.

Thank you very much.

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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