question

Henna N avatar image
0 Likes"
Henna N asked Henna N commented

Create initial inventory referring global table

Hello,

In the model i want to create a initial inventory in Queue1 buffer. Where a pallet contain 1 box in it. In the global table given 3 parts of which each Part contain a quantity. Example: part1 has 3 Quantity 3 pallet and each box in pallet should be created same as follows.

I have already tried with process flow to create object and move object but how to refer Quantity for each part is not known. Please do help

intial inventory.fsm

FlexSim 20.0.10
global tableinitial inventory
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
1 Like"
Jason Lightfoot answered Henna N commented

Student tips:

I would do more in the source and not use the run subflow.

In your token source, set the quantity field as you did in the subflow. Then add token labels for PartNum and Quantity - also at the source - each one's value reading the table based on tokenIndex (which will be the same as the table row).

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

Henna N avatar image Henna N commented ·
@Jason Lightfoot Thank you it worked!
0 Likes 0 ·

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.