internal ParamsItem(IInventoryKey inventoryKey) { LotKey = inventoryKey.ToLotKey(); WarehouseLocationKey = inventoryKey.ToLocationKey(); PackagingProductKey = inventoryKey.ToPackagingProductKey(); TreatmentKey = inventoryKey.ToInventoryTreatmentKey(); ToteKey = inventoryKey.InventoryKey_ToteKey; }
public ModifyPickedInventoryItemParameters(IInventoryKey inventoryKey, ILocationKey currentLocationKey, int quantity, string customerLotCode, string customerProductCode, IInventoryPickOrderItemKey orderItemKey = null) { InventoryKey = inventoryKey.ToInventoryKey(); CurrentLocationKey = currentLocationKey != null?currentLocationKey.ToLocationKey() : inventoryKey.ToLocationKey(); OrderItemKey = orderItemKey == null ? null : orderItemKey.ToInventoryPickOrderItemKey(); NewQuantity = quantity; OriginalQuantity = 0; CustomerLotCode = customerLotCode; CustomerProductCode = customerProductCode; }