How to edit flowitem.label in this case?

How to edit flowitem.label in this case?

thomas_k4
Not applicable
9 Views
3 Replies
Message 1 of 4

How to edit flowitem.label in this case?

thomas_k4
Not applicable

[ FlexSim 21.1.2 ]

Hey Community! I got a little problem here. For the dwell time in the rack, i labeled the flowitems. Now I want to implement a new inventory policy, first for one special article (item.Artikelnummer=46756793.50). To do this, I trash those articles with process flow and instead I want to create them in a different source. The reason therefore is, only if all articles with the same ordernumber are available, they can be released. But as I have no clue how to do this, I just want to time them like it would work this way.

Example picture of Data

39415-1620760902781.pngSo in this case (other articlenumber - just example) the flowitem with the articlenumber 46754748,5 was available on 27.10.2017. But if I would put this article on stock, the whole order would be released 5 days earlier. Therefore i added a second rack (at the moment no function) but doesn't matter now.


So I just separated this special article and wrote the ordernumber with push to list in my list "Auftragsnummer". But the problem is, this will be too late. Because when this article arrives in my source, it is already 27.10 and the whole order is late. So I have to write some custom code, which searches in the GlobalTable1 for all orders this article is included and will edit just the itemlabel (item.Verweilzeit) for the flowitem, which is the time in seconds, the article has to stay in the rack.

So for example I have to search for ordernumbers (column Auftragsnr.) in GlobalTable1 whith articlenumber 46754748,5 and edit the label Verweilzeit from all other articles in this ordernumber by the difference from the penultimate value of Verweilzeit to the last one.

39407-1620761278343.png

Hope you can understand what I am asking, otherwise do not hesitate to ask! Also if there is a simpler way, please tell me!

Thank you!

Simulation_Versuch_Mindestbestand_ProcessFlow_.fsm

0 Likes
Accepted solutions (1)
10 Views
3 Replies
Replies (3)
Message 2 of 4

sebastian_hemmannE3JAU
Collaborator
Collaborator
Accepted solution

Hi @Thomas K4, as I understand you, you know the number of objects that you want to wait for!?

In this case I would use a batch activity and wait until the number of objects is reached.

Please let me know, if I assumed something wrong.

0 Likes
Message 3 of 4

moehlmann_fe
Observer
Observer

Let me ask whether I understood you correctly.
Whenever an item arrives, you want to check whether the last item that will arrive in that order is of the "special" type you want to keep in stock. If that is the case, you want to reduce the dwell time, so the items get released already when all but that "special" item are available.

In your example you would want to reduce the Verweilzeit-label by five days on the first three items in the table once they arrive? Is that correct?

0 Likes
Message 4 of 4

Ben_WilsonADSK
Community Manager
Community Manager

Hi @Thomas K4, was sebastian.hemmann's answer helpful? If so, please click the red "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