WMSlite/WmsLite.Api/Services/Interfaces/IInventoryMovementService.cs

25 lines
1.0 KiB
C#

using System.Threading.Tasks;
using WmsLite.Api.Enums;
using WmsLite.Api.Models;
namespace WmsLite.Api.Services.Interfaces;
public interface IInventoryMovementService
{
Task ApplySnapshotAsync(Inventory inventory, Inventory? existing, InventoryMovementType movementType, string? bizNo = null);
Task PendingInboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task ConfirmInboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task PendingOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task ConfirmOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task ReleasePendingOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task FreezeAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task UnfreezeAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
}