Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: Add or Update logic for Item Master

$
0
0

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


Viewing all articles
Browse latest Browse all 2069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>