This commit is contained in:
@@ -5680,6 +5680,7 @@ namespace AyaNovaQBI
|
||||
public decimal QBPrice { get; set; }
|
||||
public long WorkOrderItemPartId { get; set; }
|
||||
public string QBListID { get; set; }
|
||||
public string Fix { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -5979,6 +5980,28 @@ namespace AyaNovaQBI
|
||||
|
||||
if (!bDuplicate)
|
||||
{
|
||||
string theFix = string.Empty;
|
||||
switch (Reason)
|
||||
{
|
||||
case MisMatchReason.NothingToInvoice:
|
||||
theFix = "Nothing to invoice";
|
||||
break;
|
||||
case MisMatchReason.PriceDifferent:
|
||||
theFix = "Fix price";
|
||||
break;
|
||||
case MisMatchReason.NotLinkedToQB:
|
||||
if (ObjectType == AyaType.Customer)
|
||||
{
|
||||
theFix = "Link / Export";
|
||||
}
|
||||
else
|
||||
{
|
||||
theFix = "Link";
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
Mismatches.Add(new MisMatch
|
||||
{
|
||||
Name = Name,
|
||||
@@ -5989,6 +6012,7 @@ namespace AyaNovaQBI
|
||||
QBPrice = QBPrice,
|
||||
WorkOrderItemPartId = WorkOrderItemPartId,
|
||||
QBListID = QBListID,
|
||||
Fix = theFix
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user