I have a long Find Slot query that is difficult to view in the little query window. I'd rather view it all at once in a code window. How do I place it in the Find Slot activity's Code Editor instead?
I've placed this shortened version in the Code Editor for testing but it does not work correctly and I get 'syntax error, unexpected integer, expecting end of code' error.
Storage.system.findSlot("WHERE $1.PartNo IN (slot.PartNo1,slot.PartNo2) AND slot.hasSpace($1.item) ORDER BY RAND()", 0, token);
Thanks.