Hello together,
i want to know how many items are stored in all racks in level 1 in a group of racks. I tried several different formulations but failed.
for (int i = 1; i <= groupnummembers("Bereich_2"); i++) { k = Storage.system.queryItems("WHERE slot.storageObject.name==$1 AND slot.levelID == 1",0,groupmember("Bereich_2",i).name).length; j=j+k; }
it seems to me that it doesn't matter if you use == or =
Is somebody able to help?
Thank You!