Hello,
I am trying to model a replenishment process in the attached model. I want that empty CUtotes on the "rack15" be selected according to the smallest "SC" value of their corresponding items (the value in the 4th column of table “CWDB”), and if two items have the same "SC" value then the critical item (critical items are the items of type 2 and 5) is prioritized. I tried several custom codes in "Query/ Object / Array" of "Pull from List0" activity, but with no result.
Would anyone help me to write the correct code for this, please.
Regards.