Class StockLevelsService
Inheritance
System.Object
StockLevelsService
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class StockLevelsService : Object, IStockLevelsService
Constructors
StockLevelsService(IApiService)
Declaration
public StockLevelsService(IApiService apiService)
Parameters
Methods
CancelReserve(Int32, StockAdjustment[])
Declaration
public Task CancelReserve(int warehouseId, StockAdjustment[] items)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CommitReserve(Int32, StockAdjustment[])
Declaration
public Task CommitReserve(int warehouseId, StockAdjustment[] items)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetStockLevel(Int32, Int32)
Declaration
public 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
public 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
public 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
public Task ReserveStock(int warehouseId, StockAdjustment[] items)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements