add shared pricing resolution with fixed yem price,GRN weighted and FIFO valuation cost fallback

This commit is contained in:
2026-07-27 15:00:44 +05:30
committed by ImanThiyanga
parent 1f9e12e84b
commit 4f722432cd
7 changed files with 110 additions and 38 deletions
@@ -32,6 +32,7 @@ public sealed class CreateSalesInvoiceLineRequest
[Range(0.0001, double.MaxValue)] public decimal Qty { get; set; }
[Range(0, double.MaxValue)] public decimal FreeQty { get; set; }
[Range(0, double.MaxValue)] public decimal? UnitPrice { get; set; }
public bool AllowManualPriceOverride { get; set; }
[Range(0, 100)] public decimal DiscountPct { get; set; }
[Range(0, double.MaxValue)] public decimal DiscountAmount { get; set; }
[Range(0, 100)] public decimal TaxPct { get; set; }
@@ -31,6 +31,7 @@ public sealed class CreateSalesSlipLineRequest
[Range(0.0001, double.MaxValue)] public decimal Qty { get; set; }
[Range(0, double.MaxValue)] public decimal FreeQty { get; set; }
[Range(0, double.MaxValue)] public decimal? UnitPrice { get; set; }
public bool AllowManualPriceOverride { get; set; }
[Range(0, 100)] public decimal DiscountPct { get; set; }
[Range(0, double.MaxValue)] public decimal DiscountAmount { get; set; }
[Range(0, 100)] public decimal TaxPct { get; set; }