I want to use the "pickRank" property when I search for an item in a storage rack, to make sure I pull the most accessible pallet first. The manual gives syntax for accessing it in code but not how to use it in a Query.
I've tried a couple of ideas but nothing is working. Here is one example (which doesn't work!):
I figured out how to use script to save the pickRank in a label:
Object pall = token.pallet;
Storage.Item SI = Storage.Item (pall);
int pick = SI.assignedSlotItem.pickRank;
(side issue: What happened to the option for typing in script?)
I could then use the label in the query above, but this seems rather convoluted!
Is there a simpler way?
Thanks!