question

IV avatar image
0 Likes"
IV asked Jeanette F commented

Load and Unload Different type of Boxes at One Time

Hi everyone, I am new in flexsim. I have a picklist with detail Id Toko (store), Part Number (IdPN), and Qty

1670212530493.png

I want the operator load and unload 2 or more IdPN at one time (based on Toko). For example: Load and unload IdPN 7 and 30 for Toko A. Thanks.

Simulasi PIck & Pack - Pick per Toko.fsm

FlexSim 22.2.0
process flow
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @IV, 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.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jason Lightfoot commented

You can batch the tokens based on the "Toko" label while combining the "row" labels into an array. You then pull the items in a subflow that gets executed for each row in the array.

1670228609414.png

simulasi-pick-pack-pick-per-toko_1.fsm


· 5
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
Or in a qeury you can ARRAY_AGG IdPN and GROUP BY Toko.
0 Likes 0 ·
IV avatar image IV Jason Lightfoot ♦♦ commented ·

Can you explain more how to use ARRAY_AGG, because I not only need IdPN but also the qty of IdPN.


I already tried use ARRAY_AGG to in pull from list

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ IV commented ·
You can use ARRAY_AGG on Qty too, but if you're really looking for a table like that then I'd use a table label.
0 Likes 0 ·
IV avatar image IV commented ·

Thank you for your help, but there is miss. The operator picks the right number of boxes but the wrong IdPN. For example: Operator must pick 2 boxes for IdPN 43 and 5 boxes for IdPN 60. But the operator picked 7 boxes for IdPN 60.


I already fixed it. simulasi-pick-pack-pick-per-toko-1.fsm


Thanks a lot

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann IV commented ·

Yes, you are right. "Label Access on Parent Only" needed to be deactivated in the first Run Sub Flow activity.

1670397492858.png

Though your solution of rearranging the order also works well.

0 Likes 0 ·
1670397492858.png (13.0 KiB)