Assign Order Number to flow item from Global Table

Assign Order Number to flow item from Global Table

lauren_e_kuchavik
Participant Participant
260 Views
8 Replies
Message 1 of 9

Assign Order Number to flow item from Global Table

lauren_e_kuchavik
Participant
Participant

[ FlexSim 24.1.0 ]

Hi Team,

I'm looking to add a label and color to orders coming from my source model. From the source, I mapped to the Order Position Table. Ideally I'd like to label the items going down from column 6, then moving from row 1 to row 2 etc all while staying in column six. It seems when I attempt to apply a label, it will only apply to column 6 row 1 then repeat instead of moving down within the column.

example.jpg


Snip is from triggers then On creation -- looks like its under groups in my screenshot but it isn't!

Is there a simple way to fix this that I am overlooking?


TIA!

0 Likes
Accepted solutions (1)
261 Views
8 Replies
Replies (8)
Message 2 of 9

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

You can replace the row number with a value that changes.

Attached is an example that increments a label on the source and uses that to read from a table.

SourceReadingDownTable.fsm

0 Likes
Message 3 of 9

lauren_e_kuchavik
Participant
Participant

Hi Jason,

I followed the logic you sent and think I'm still missing something. The label doesn't appear on the flow item coming from my source. I know my model has a few errors in the console, so I'm just trying to figure out where to start first.


TIA


cb-model-3 (1).fsm

0 Likes
Message 4 of 9

logan_gold
Community Manager
Community Manager
@LaurenK, the triggers in Source1 are using different capitalizations when referencing the NumCreated label. The label is initially created as NumCreated, but then it is referenced as current.numCreated later on. You just need to make sure all references to the label are using the capitilzation.


The other errors in the console are unrelated, so if you need help with those, please let us know more about what you're trying to accomplish in the ProcessFlow (where the exceptions are coming from).
0 Likes
Message 5 of 9

lauren_e_kuchavik
Participant
Participant

Got it! I was able to assign the labels to the tote coming out of the source. For now, I have the tote coming down the conveyor, and the label is the "Item Short Number" from the "Totes by Order" global Table.

Is there a way I can fill the tote on creation with the number of boxes that correlates to the SO Number on the "Totes by Order" tab?


So for example, the third tote populated by the source would be labeled 15914238, then contain 3 boxes in it, each having an SO Number of 13662519, 13685448, 13662561, 13685519, 13685247 and 13662653 respectively? The number of boxes per SO number may change. So in Tote 15914238, there will be a total of 8 boxes, 2 in labeled 13685519, and 13662653 then the remainder have 1 carton per the global table.

cb-model-3-1.fsm

Does that make sense?


TIA

0 Likes
Message 6 of 9

jason_lightfoot_adsk
Autodesk
Autodesk

That makes sense but where do you want them located in the racks?

We've asked the same question in the other post you made so I suggest we close this one.

0 Likes
Message 7 of 9

lauren_e_kuchavik
Participant
Participant
Each carton coming down the conveyor will be assigned to a tote in the rack. I think my questions seem similar but I do feel like they are different. My goal in this question is to figure out how to assign the right label for the items coming down the conveyor so that it will match with the position on the rack. I figured out how to assign each tote an order number, but still need to determine how to get the pack lane to match the rack (my other question). I also need to figure out how to get the correct number of cartons to display in the tote, but I understand if that's a new question I think In this one, we may have determined an answer for my original post!
0 Likes
Message 8 of 9

jason_lightfoot_adsk
Autodesk
Autodesk
In the other answer and model I matched the position to the tote (and you had some positions that were referencing a missing 9th slot). Let's just use the one model and post from here on.
0 Likes
Message 9 of 9

lauren_e_kuchavik
Participant
Participant

Agreed, thank you!

0 Likes