Search Results for

    Show / Hide Table of Contents

    Class StockLevelsService

    Inheritance
    System.Object
    StockLevelsService
    Implements
    IStockLevelsService
    Namespace: DirectScale.Disco.Extension.Services
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class StockLevelsService : Object, IStockLevelsService

    Constructors

    StockLevelsService(IApiService)

    Declaration
    public StockLevelsService(IApiService apiService)
    Parameters
    Type Name Description
    IApiService apiService

    Methods

    CancelReserve(Int32, StockAdjustment[])

    Declaration
    public Task CancelReserve(int warehouseId, StockAdjustment[] items)
    Parameters
    Type Name Description
    System.Int32 warehouseId
    StockAdjustment[] items
    Returns
    Type Description
    System.Threading.Tasks.Task

    CommitReserve(Int32, StockAdjustment[])

    Declaration
    public Task CommitReserve(int warehouseId, StockAdjustment[] items)
    Parameters
    Type Name Description
    System.Int32 warehouseId
    StockAdjustment[] items
    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
    Type Name Description
    System.Int32 warehouseId
    StockAdjustment[] items
    Returns
    Type Description
    System.Threading.Tasks.Task

    Implements

    IStockLevelsService
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX