This commit is contained in:
2022-07-06 23:52:11 +00:00
parent 0c92028bae
commit 929421468d

View File

@@ -5069,6 +5069,9 @@ namespace AyaNovaQBI
ca.SalesPrice.SetValue((double)c.Retail);
ca.PurchaseCost.SetValue((double)c.Cost);
if (QVersion > 6.0)//new v8
ca.ManufacturerPartNumber.SetValue(T(31, c.ManufacturerNumber));
//Set the QB item identification and edit sequence
ca.ListID.SetValue(im.IntegrationItemId);
ca.EditSequence.SetValue(sEditSequence);
@@ -5255,6 +5258,9 @@ namespace AyaNovaQBI
ca.SalesPrice.SetValue((double)c.Retail);
ca.PurchaseCost.SetValue((double)c.Cost);
if (QVersion > 6.0)//new v8
ca.ManufacturerPartNumber.SetValue(T(31, c.ManufacturerNumber));
if (USE_INVENTORY)
{
@@ -5264,7 +5270,7 @@ namespace AyaNovaQBI
var partinventories = rstocklevel.ObjectResponse["data"].ToObject<List<PartInventory>>();
ca.QuantityOnHand.SetValue((double)partinventories.Sum(z => z.Balance));
ca.ReorderPoint.SetValue((double)partstocklevels.Sum(z=>z.MinimumQuantity));
ca.ReorderPoint.SetValue((double)partstocklevels.Sum(z => z.MinimumQuantity));
}
//------------------------