Skip to Content
0
Feb 19, 2009 at 07:40 PM

Removal of ItemCycleCount from ItemWarehouseInfo

24 Views

DI API 2007

Is there a way to remove a ItemCycleCount from a Items-->ItemWarehouseInfo using the DI API?

Items >ItemWarehouseInfo >ItemCycleCount

Since the ItemCycleCount object does not have a remove method, I have tried updating the Items with a xml (missing the ItemCycleCount(s) <ITW1> I want to delete) yet the missing ItemCycleCount(s) remain.

oItem = (SAPbobsCOM.Items)SAPConnect.oCompany.GetBusinessObjectFromXML(newxmlFile,0);
int theerror;
theerror = oItem.Update();

Any thoughts or is this just not possible with is DI API, once you set it to something you can only update it with is DI API.

Thanks

Ken Worst