This commit is contained in:
@@ -770,7 +770,7 @@ namespace AyaNovaQBI
|
|||||||
//var mapId = (long)row["MAPID"];
|
//var mapId = (long)row["MAPID"];
|
||||||
var removeItem = QBIntegration.Items.Where(z => z.Id == bi.Id).First();
|
var removeItem = QBIntegration.Items.Where(z => z.Id == bi.Id).First();
|
||||||
//TODO: this needs to be a reverse for next loop
|
//TODO: this needs to be a reverse for next loop
|
||||||
bool bResult = QBIntegration.Items.Remove(bi);
|
bool bResult = QBIntegration.Items.Remove(removeItem);
|
||||||
if (!bResult)
|
if (!bResult)
|
||||||
MessageBox.Show("Error attempting to remove unmapped item; it could not be found in the map list");
|
MessageBox.Show("Error attempting to remove unmapped item; it could not be found in the map list");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user