SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.CESTCodeService oCESTCodeService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.CESTCodeService);
SAPbobsCOM.CESTCodeData oCESTCodeData = oCESTCodeService.GetDataInterface(SAPbobsCOM.CESTCodeServiceDataInterfaces.cestcsCESTCodeData);
oCESTCodeData.Code = "29.999.00";
oCESTCodeData.Description = "Added via DI";
oCESTCodeService.Add(oCESTCodeData);
SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.CESTCodeService oCESTCodeService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.CESTCodeService);
SAPbobsCOM.CESTCodeParams oCESTCodeParams = oCESTCodeService.GetDataInterface(SAPbobsCOM.CESTCodeServiceDataInterfaces.cestcsCESTCodeParams);
SAPbobsCOM.CESTCodeData oCESTCodeData;
oCESTCodeParams.AbsEntry = 984;
oCESTCodeData = oCESTCodeService.GetByParams(oCESTCodeParams);
oCESTCodeData.Description = "Updated via DI";
oCESTCodeService.Update(oCESTCodeData);
SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.CESTCodeService oCESTCodeService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.CESTCodeService);
SAPbobsCOM.CESTCodeParams oCESTCodeParams = oCESTCodeService.GetDataInterface(SAPbobsCOM.CESTCodeServiceDataInterfaces.cestcsCESTCodeParams);
oCESTCodeParams.AbsEntry = 984;
oCESTCodeService.Delete(oCESTCodeParams);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
6 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |