This commit is contained in:
@@ -942,6 +942,8 @@ namespace AyaNova.Biz
|
||||
l.Add(new FormField { TKey = "WorkOrderItemPartPartWarehouseID", FieldKey = "WorkOrderItemPartPartWarehouseID", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "WorkOrderItemPartQuantity", FieldKey = "WorkOrderItemPartQuantity", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "WorkOrderItemPartTaxPartSaleID", FieldKey = "WorkOrderItemPartTaxPartSaleID", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "PartUPC", FieldKey = "PartUPC", TKeySection = "WorkOrderItemParts" });
|
||||
|
||||
l.Add(new FormField { TKey = "Cost", FieldKey = "PartCost", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "ListPrice", FieldKey = "PartListPrice", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "Price", FieldKey = "PartPriceViz", TKeySection = "WorkOrderItemParts" });
|
||||
|
||||
@@ -3068,6 +3068,7 @@ namespace AyaNova.Biz
|
||||
if (o.PartId != 0)
|
||||
part = await ct.Part.AsNoTracking().FirstOrDefaultAsync(x => x.Id == o.PartId);
|
||||
o.PartViz = part.Name;
|
||||
o.UpcViz=part.UPC;
|
||||
|
||||
TaxCode Tax = null;
|
||||
if (o.TaxPartSaleId != null)
|
||||
|
||||
@@ -17,6 +17,8 @@ namespace AyaNova.Models
|
||||
public long PartId { get; set; }
|
||||
[NotMapped]
|
||||
public string PartViz { get; set; }
|
||||
[NotMapped]
|
||||
public string UpcViz { get; set; }
|
||||
[Required]
|
||||
public long PartWarehouseId { get; set; }
|
||||
[NotMapped]
|
||||
|
||||
Reference in New Issue
Block a user