Skip to Content
0
Jun 20, 2017 at 07:05 AM

SAP BUSINESS ONE 9.2 PL 08 Does not support items update for gst relevant in india localization

561 Views Last edit Jun 20, 2017 at 07:05 AM 2 rev

Dear Sir,

I am trying to Update My Item With Di api in sap business one PL 08.

At time when i press button in which item update code is write it stop running.

please Help me regarding this.

Code:

SAPbobsCOM.Items oItem = (SAPbobsCOM.Items)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);

oItem.GetByKey('ABC');

oItem.Excisable = SAPbobsCOM.BoYesNoEnum.tNO;

try

{

oItem.GSTRelevnt = SAPbobsCOM.BoYesNoEnum.tYES;

}

catch (Exception em1) { }

int k = oItem.Add(); if (k != 0)

{ /// ErrorMsg = ErrorMsg + "\r\n " + oCompany.GetLastErrorDescription(); }

Thnak and Regards

Veer Mistry