After code cleanup

This commit is contained in:
2022-07-09 04:17:38 +00:00
parent aaed4430f1
commit f9baf2b3df
53 changed files with 255 additions and 465 deletions

View File

@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace AyaNovaQBI
{
@@ -12,23 +8,23 @@ namespace AyaNovaQBI
public uint Concurrency { get; set; }
public string Description { get; set; }
public string Serials { get; set; }
public long PartId { get; set; }
public string PartDescriptionViz { get; set; }
public string PartNameViz { get; set; }
public string UpcViz { get; set; }
public long PartWarehouseId { get; set; }
public string PartWarehouseViz { get; set; }
public decimal Quantity { get; set; }
public decimal SuggestedQuantity { get; set; }
public long? TaxPartSaleId { get; set; }
public string TaxCodeViz { 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
@@ -40,26 +36,26 @@ namespace AyaNovaQBI
public decimal? PriceOverride { get; set; }//user entered manually overridden price, if null then ignored in calcs otherwise this *is* the price even if zero
public string UnitOfMeasureViz { get; set; }//"each", "hour" etc
public decimal PriceViz { get; set; }//per unit price used in calcs after discounts or manual price if non-null or just ListPrice if no discount or manual override
public decimal NetViz { get; set; }//quantity * price (before taxes line total essentially)
public decimal TaxAViz { get; set; }//total amount of taxA
public decimal TaxBViz { get; set; }//total amount of taxB
public decimal LineTotalViz { get; set; }//line total netViz + taxes
//workaround for notification
public List<string> Tags { get; set; } = new List<string>();
public string Name { get; set; }
public long WorkOrderItemId { get; set; }
}
}