Backorders not sorted properly

Backorders not sorted properly

thomas_jr
Not applicable
16 Views
2 Replies
Message 1 of 3

Backorders not sorted properly

thomas_jr
Not applicable

[ FlexSim 20.2.3 ]

I've created a small model to test if the backorder queue strategies in my main model work as expected. Basically I have three sources, each spawning a single token. Each token request the exact same 3D-object (a bed). The first token (Source 1) pulls the object. Then two more tokens arrive that request the same object, thus two backorders are created. Source 2 arrives 1 second before Source 3.

I have created the backorder queue strategy for "Beds" as "ORDER BY Arrivalday DESC". The tokens of sources 1, 2 and 3 have arrivalday 1, 2 and 3 respectively.

I expected the token of Source 3 to pull the object after it has been pushed back to the list, but instead it is pulled by the token of Source 2.

Backorder_queue_strategy_issue.fsm

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

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

You should read the documentation on the Back Order Queue Strategy field.

You need to either add a Puller. in front of Arrivalday

ORDER BY Puller.Arrivalday DESC

OR add a field on the list with the expression set to Puller.Arrivalday.



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 3 of 3

thomas_jr
Not applicable

@Matthew Gillespie

Thanks. My bad, I actually already read the documentation but it completely slipped off my mind when working out the test-model.

0 Likes