question

Jessee Te2 avatar image
0 Likes"
Jessee Te2 asked Jessee Te2 commented

how to fix this error in my simulation: label Items doesn't exist on token id

Hello All,

Can someone help me with my problem? every time when the picker need to pick up something I got dis notification: time: 15.000000 exception: FlexScript exception: label Items doesn't exist on token id: 175 at MODEL:/Tools/ProcessFlow/ProcessFlow/Pick Items>variables/quantity

I Dont know why it is not working. Can someone tell me why this is happening? and how to fix it?

kind regards

simulatie-orderpicken (1).fsm

FlexSim 22.0.1
label item error
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

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst answered Jessee Te2 commented

Hi @Jessee Te2 ,


You are trying to read the label Items, but you don't have this label on your token. Do you know which items the picker should pick? You are telling the picker to pick token.Item, but there is no reference to any item.


· 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.

Jessee Te2 avatar image Jessee Te2 commented ·

Hi Patrick,

I want to pick the orders out of the AggregatedOrders table. But I dont know how to do that. Can you help me how to connect these items so the picker get the stuff out of the OrderHistory table?

I got this model from the internet and I am not very good with this program. This is for a School assignment

Thanks alot,

Kind regrets

0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Jessee Te2 commented ·

simulatie-orderpicken-1_1.fsm

Hi Jessee,


The first thing you need to check is the data type of your Qty column in the Table OrderHistory. This needs to be a number (aligned to the right) and not a string (left aligned). This will already help your flow a lot. Now you get an exception because not all products are in stock. I have changed that a little bit such that you don't get an exception, but the token will wait till the item is available.
Please check that model and your initial stock to see if that helps you.

Good luck

0 Likes 0 ·
Jessee Te2 avatar image Jessee Te2 Patrick Zweekhorst commented ·
Thank you so much!,

I got it. The simulation is now working.

0 Likes 0 ·
Jessee Te2 avatar image Jessee Te2 commented ·

@Patrick Zweekhorst

Hallo Petrick,

Uit het voorbeeld wat ik erbij heb zou het op deze manier moeten werken. Ik begrijp niet hoe ik ervoor kan zorgen dat de orders geraapt worden als hoe ze staan aangegeven in AggregatedOrders. Ik weet niet op welke manier ik de items dusdanig moet koppelen aan de tokens zodat de picker de orders raapt. Heb jij misschien enig idee hoe ik dat in deze situatie voor elkaar kan krijgen?

Met vriendelijke Groet,

Jessee

0 Likes 0 ·