Interface IStockLevelsService
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface IStockLevelsService
Methods
CancelReserve(Int32, StockAdjustment[])
Declaration
Task CancelReserve(int warehouseId, StockAdjustment[] items)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CommitReserve(Int32, StockAdjustment[])
Declaration
Task CommitReserve(int warehouseId, StockAdjustment[] items)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetStockLevel(Int32, Int32)
Declaration
Task<StockLevel> GetStockLevel(int itemId, int warehouseId)
Parameters
Type |
Name |
Description |
System.Int32 |
itemId |
|
System.Int32 |
warehouseId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<StockLevel> |
|
GetStockLevels(Int32, Boolean)
Declaration
Task<StockLevel[]> GetStockLevels(int warehouseId, bool showNotTracked)
Parameters
Type |
Name |
Description |
System.Int32 |
warehouseId |
|
System.Boolean |
showNotTracked |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<StockLevel[]> |
|
GetStockLevelsBulk(List<Int32>, Boolean)
Declaration
Task<StockLevel[]> GetStockLevelsBulk(List<int> warehouseIds, bool showNotTracked)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.Int32> |
warehouseIds |
|
System.Boolean |
showNotTracked |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<StockLevel[]> |
|
ReserveStock(Int32, StockAdjustment[])
Declaration
Task ReserveStock(int warehouseId, StockAdjustment[] items)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|