This commit is contained in:
2022-07-06 00:22:35 +00:00
parent e87f623017
commit 7d994f6a28

View File

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