OBarCodeParams = (SAPbobsCOM.BarCodeParams)oBarCodesService.GetDataInterface(BarCodesServiceDataInterfaces.bsBarCodeParams) SAPbobsCOM.BarCodesService oBarCodesService = (SAPbobsCOM.BarCodesService)oCompanyService.GetBusinessService() ![]() Update a Bar Code for an Item using DI API: SAPbobsCOM.ICompanyService oCompanyService = (SAPbobsCOM.ICompanyService)oCompany.GetCompanyService() OBarCode.UoMEntry = 3 //You need to provide 'UomEntry' from 'OUOM' table. ![]() OBarCode.FreeText = "BarCode creation Using DI API" SAPbobsCOM.BarCode oBarCode = (SAPbobsCOM.BarCode)oBarCodesService.GetDataInterface(BarCodesServiceDataInterfaces.bsBarCode) ![]() SAPbobsCOM.BarCodesService oBarCodesService = (SAPbobsCOM.BarCodesService)) You can use it following ways using DI API:Ĭreate a Bar Code for an Item using DI API: SAPbobsCOM.ICompanyService oCompanyService = (SAPbobsCOM.ICompanyService)oCompany.GetCompanyService() Multiple bar codes are allowed for each single UoM of an item.įor more information on Bar Codes in SAP Business One, you can refer to following link:īar Code is exposed a Service Type Object ( BarCodesService) in SAP Business One SDK. In SAP Business One, you can use the Bar Codes window ( Inventory → Bar Codes) to define Bar Codes for your items. A barcode is an optical, machine-readable, representation of data the data usually describes something about the object that carries the barcode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |