I am trying to update an item using the UpdateCollectionResponseData from the Mongoose.IDO and Mongoose.IDO.Protocol DLLs, and I'm getting the follow exception:
Mongoose.IDO.IDOResponseException: Update request must include the _ItemId property, or the RecordDate and RowPointer properties.
at Mongoose.IDO.Client.UpdateCollection(UpdateCollectionRequestData requestData)
And here is the block of code that throws the exception:
UpdateCollectionRequestData UpdateRequest = new UpdateCollectionRequestData();
UpdateCollectionResponseData UpdateResponse = new UpdateCollectionResponseData(UpdateRequest);
UpdateRequest.IDOName = "ue_HYD_Bluecards";
IDOUpdateItem UpdateRow = new IDOUpdateItem(UpdateAction.Update, response.Items[0].ItemID);
//UpdateRow.ItemID = item.ItemID;
UpdateRow.Properties.Add("Printed", qty);
//UpdateRow.Properties.Add("ItemID", item.ItemID);
UpdateRequest.Items.Add(UpdateRow);
UpdateResponse = client.UpdateCollection(UpdateRequest);
I've given UpdateRow an ItemID, and I've verified that the ItemID is stored in the variable correctly, How do I fix this so that it can Update the IDO without any issues?
Thanks!