|
@ -282,11 +282,7 @@ export function byPacking(label, locationCode, fromInventoryStatuses, callback) |
|
|
value: locationCode |
|
|
value: locationCode |
|
|
}) |
|
|
}) |
|
|
if (fromInventoryStatuses) { |
|
|
if (fromInventoryStatuses) { |
|
|
let status = "" |
|
|
var status = fromInventoryStatuses.join(','); |
|
|
fromInventoryStatuses.forEach(res => { |
|
|
|
|
|
status = res + "," |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
filters.push({ |
|
|
filters.push({ |
|
|
column: "inventoryStatus", |
|
|
column: "inventoryStatus", |
|
|
action: "in", |
|
|
action: "in", |
|
@ -350,11 +346,12 @@ export function byBatch(label, locationCode, fromInventoryStatuses, callback) { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (fromInventoryStatuses) { |
|
|
if (fromInventoryStatuses) { |
|
|
let status = "" |
|
|
var status = fromInventoryStatuses.join(','); |
|
|
fromInventoryStatuses.forEach(res => { |
|
|
filters.push({ |
|
|
status = res + "," |
|
|
column: "inventoryStatus", |
|
|
|
|
|
action: "in", |
|
|
|
|
|
value: status |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
filters.push({ |
|
|
filters.push({ |
|
|
column: "inventoryStatus", |
|
|
column: "inventoryStatus", |
|
|
action: "in", |
|
|
action: "in", |
|
@ -427,11 +424,12 @@ export function byQuantity(label, locationCode, fromInventoryStatuses, callback) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (fromInventoryStatuses) { |
|
|
if (fromInventoryStatuses) { |
|
|
var status = "" |
|
|
var status = fromInventoryStatuses.join(','); |
|
|
fromInventoryStatuses.forEach(res => { |
|
|
filters.push({ |
|
|
status = res + "," |
|
|
column: "inventoryStatus", |
|
|
|
|
|
action: "in", |
|
|
|
|
|
value: status |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
filters.push({ |
|
|
filters.push({ |
|
|
column: "inventoryStatus", |
|
|
column: "inventoryStatus", |
|
|
action: "in", |
|
|
action: "in", |
|
@ -486,9 +484,11 @@ export function byUniqueId(label, locationCode, fromInventoryStatuses, callback) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (fromInventoryStatuses) { |
|
|
if (fromInventoryStatuses) { |
|
|
var status = "" |
|
|
var status = fromInventoryStatuses.join(','); |
|
|
fromInventoryStatuses.forEach(res => { |
|
|
filters.push({ |
|
|
status = res + "," |
|
|
column: "inventoryStatus", |
|
|
|
|
|
action: "in", |
|
|
|
|
|
value: status |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
filters.push({ |
|
|
filters.push({ |
|
|