using WIDESEA_Core.BaseRepository; using WIDESEA_Core.BaseServices; using WIDESEA_DTO.Stock; using WIDESEA_Model.Models; namespace WIDESEA_IStockService { public interface IStockInfoService : IService { IRepository Repository { get; } Dt_StockInfo? GetStockByPalletCode(string palletCode); List GetStockInfosByPalletCodes(List palletCodes); List GetStockInfos(string materielCode, string lotNo, string supplyCode, List locationCodes); List GetUseableStocks(string materielCode, string batchNo,string supplyCode); Dt_StockInfo GetStockInfoByPalletCode(string palletCode); void AddMaterielGroup(Dt_StockInfo stockInfo); (List, Dictionary) GetOutboundStocks(List stockInfos, string materielCode, decimal needQuantity, out decimal residueQuantity); List GetStockSelectViews(int orderId, string materielCode); List GetSelectViewDTOs(string orderNo, string materielCode); List GetAllocateSelectViewDTOs(int orderId, string materielCode); } }