question

Jacek Diakun avatar image
0 Likes"
Jacek Diakun asked sameh ALAYET commented

Arrival Schedule - assigning row labels (Arrival1, ...) as items' labels?

Hello,

When Arrival Style of the Source object is set as Arrival Schedule the rows are automatically labelled as Arrival1, Arrival2, .... (the same concerns Arrival Sequence). Is it possible to automatically assign these labels as items' labels? I would like to use them to know from which arrival an item is.

Regards,

Jack

P.S. Of course one can create manually another label and manually enter arrival's number, but it would be not convenient with many arrivals (as rows) generated by the Source.

J.

FlexSim 17.0.12
arrival schedule
· 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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Jacek Diakun,

I'm not sure exactly what you are after. Can you send a small demo model explaining what you are looking to accomplish?

Thanks.

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered sameh ALAYET commented

The OnCreation trigger of the Source has a rownumber variable that tells you the row from the table that spawned the item. You can use the OnCreation trigger to set a label on the item using this rownumber value. Here is an example:

arrivalnumlabel.fsm


arrivalnumlabel.fsm (82.8 KiB)
· 3
5 |100000

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

Jacek Diakun avatar image Jacek Diakun commented ·

@Matthew Gillespie - Thank you very much for your answer. It is exactly what I have looked for.

Regards,

Jack

0 Likes 0 ·
sameh ALAYET avatar image sameh ALAYET commented ·

Hi @matthew.gillespie

In order to route products using labels i added different queues to the same model and used pull rule for each queue

so i'm having i tiny issue and i hope you can help me to solve it .


1 - I need a assign a specific color for each product on creation ( source ) i followed the steps but it seems like i'm missing somethig .

2- i created orders ( 2 lists to keep it simple ) so i added 2 processors followed by 2 queues than applyed pull from list so the question : is there any more efficient and better way to do it specially when the model becomes more complex

Please find my model attached

arrivalnumlabel 1_1_autosave.fsm

Thanks in advance .

Sameh

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel sameh ALAYET commented ·

@sameh.a, please ask a new question. The question of this thread is answered. It is most unlikely, you will get an answer now. An answers-site has got a different policy of threads: One question several answers, but none following up questions. Thank you!

1 Like 1 ·

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.