This commit is contained in:
2021-04-01 23:39:50 +00:00
parent bacef71d48
commit f608a514fc
11 changed files with 62 additions and 17 deletions

View File

@@ -20,11 +20,17 @@ namespace AyaNova.Models
[Required]
public decimal Quantity { get; set; }
public decimal Cost { get; set; }//cost at time of entry from part table
public decimal BasePrice {get;set;}//part retail price at time of entry (V7 "Price")
public decimal Price {get;set;}//contract adjusted price or a copy of BasePrice if no contract
public decimal BasePrice { get; set; }//part retail price at time of entry (V7 "Price")
public decimal Price { get; set; }//contract adjusted price or a copy of BasePrice if no contract
public decimal ManualDiscountPct { get; set; }// (V7 "Discount") ad-hoc / % off of the contractprice (which is always set regardless if contract or not) entered manually
public long? TaxPartSaleId { get; set; }
//UTILITY FIELDS
[NotMapped]
public bool IsDirty { get; set; } = false;//never dirty coming from the server
[Required]
public long WorkOrderItemId { get; set; }
[JsonIgnore]