This commit is contained in:
@@ -27,35 +27,15 @@ namespace AyaNova.Models
|
||||
[NotMapped]
|
||||
public string TaxPartSaleViz { get; set; }
|
||||
|
||||
// //PRICE FIELDS
|
||||
// [Required]
|
||||
// public decimal Cost { get; set; }
|
||||
// [Required]
|
||||
// public decimal ListPrice { get; set; }
|
||||
// [Required]
|
||||
// public decimal Price { get; set; }
|
||||
// [Required]
|
||||
// public string TaxName { get; set; }
|
||||
// [Required]
|
||||
// public decimal TaxAPct { get; set; }
|
||||
// [Required]
|
||||
// public decimal TaxBPct { get; set; }
|
||||
// [Required]
|
||||
// public bool TaxOnTax { get; set; }
|
||||
// [NotMapped]
|
||||
// public decimal TaxAViz { get; set; }
|
||||
// [NotMapped]
|
||||
// public decimal TaxBViz { get; set; }
|
||||
// [NotMapped]
|
||||
// public decimal LineTotalViz { get; set; }
|
||||
//NOTE: part prices are volatile and expected to be frequently edited so snapshotted when newly added unlike other things like rates etc that are protected from change
|
||||
public decimal Cost { get; set; }//cost from source record (e.g. serviceRate) or zero if no cost entered
|
||||
public decimal ListPrice { get; set; }//List price from source record (e.g. serviceRate) or zero if no cost entered
|
||||
|
||||
//Standard pricing fields (mostly to support printed reports though some show in UI)
|
||||
//some not to be sent with record depending on role (i.e. cost and charge in some cases)
|
||||
public decimal? PriceOverride { get; set; }//user entered manually overridden price, if null then ignored in calcs otherwise this *is* the price even if zero
|
||||
[NotMapped]
|
||||
public decimal CostViz { get; set; }//cost from source record (e.g. serviceRate) or zero if no cost entered
|
||||
[NotMapped]
|
||||
public decimal ListPriceViz { get; set; }//List price from source record (e.g. serviceRate) or zero if no cost entered
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string UnitOfMeasureViz { get; set; }//"each", "hour" etc
|
||||
[NotMapped]
|
||||
|
||||
Reference in New Issue
Block a user