Hi Rajesh,
You can use it as follows then:
SAPbobsCOM.Items oItem = (SAPbobsCOM.Items)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
if (oItem.GetByKey(ItemCode) == true)
{
// Here you need to Update as Item already exists.
}
else
{
//Add Item Code.
}
Hope it helps. Please close this thread, if you got the answer.
Kind regards,
ANKIT CHAUHAN
SAP Business One Global Support