namespace ERPCore.Services.Interfaces;

public interface ISalesPricingService
{
    Task<SalesPriceResolution> ResolveAsync(
        int itemId,
        int warehouseId,
        decimal? requestedUnitPrice,
        bool allowManualOverride,
        CancellationToken ct = default);
}

public sealed record SalesPriceResolution(
    decimal UnitPrice,
    string PriceSource,
    decimal BaseCost);
