razer456
08/30/2021, 3:52 PMSandii
08/30/2021, 4:03 PMvar itemSearchObj = search.create({
type: "item",
filters:
[
["formulanumeric: CASE WHEN {inventorylocation} = {preferredlocation} THEN 1 ELSE 0 END","equalto","1"]
],
columns:
[
search.createColumn({
name: "itemid",
sort: search.Sort.ASC
}),
"locationquantityonhand"
]
});
Sandii
08/30/2021, 4:05 PMrazer456
08/30/2021, 4:12 PMrazer456
08/30/2021, 5:52 PMMark C
08/30/2021, 6:21 PMSandii
08/30/2021, 6:37 PMlocationWhateverYouWant
, those are the not the same as the ones that sum over all the locationsrazer456
08/30/2021, 7:12 PM