namespace CashLineERP.Contracts.Sales;

public sealed record SalesOrderLineResponse(
    long SalesOrderLineId,
    int LineNumber,
    long ItemId,
    long WarehouseId,
    decimal OrderedQuantity,
    decimal AllocatedQuantity,
    decimal DeliveredQuantity,
    string UnitOfMeasureCode,
    decimal UnitPrice,
    decimal BaseUnitPrice,
    long? PricingRuleId,
    string? PricingRuleCode,
    string PricingSourceCode,
    decimal DiscountAmount,
    decimal DiscountPercent,
    long? DiscountOverrideId,
    string DiscountSourceCode,
    string? TaxCode,
    decimal LineNetAmount,
    decimal LineTaxAmount,
    decimal LineTotalAmount);
