This commit is contained in:
2022-07-07 13:53:26 +00:00
parent 929421468d
commit 627ad48a9d
3 changed files with 88 additions and 86 deletions

View File

@@ -3378,7 +3378,9 @@ namespace AyaNovaQBI
{
throw new ApplicationException(response.StatusMessage + " Code: " + response.StatusCode);
}
}// v8 saw this with one record in testing update, assuming it's a glitch due to coding experimentation in the data
// StatusMessage "The query request has not been fully completed. There was a required element (\"190000-933272656\") that could not be found in QuickBooks." System.String
IItemInventoryRetList il = response.Detail as IItemInventoryRetList;
@@ -5069,8 +5071,8 @@ 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 (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);
@@ -5085,7 +5087,7 @@ namespace AyaNovaQBI
IMsgSetResponse responseSet = sessionManager.DoRequests(requestSet);
// Uncomment the following to view and save the request and response XML
//// Uncomment the following to view and save the request and response XML
//string requestXML = requestSet.ToXMLString();
//MessageBox.Show(requestXML);
// SaveXML(requestXML);
@@ -5258,8 +5260,8 @@ 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 (QVersion > 6.0)//new v8
// ca.ManufacturerPartNumber.SetValue(T(31, c.ManufacturerNumber));
if (USE_INVENTORY)