12-22-2016 1:57 PM - edited 02-03-2024 5:54 PM
Hello,
Update document with 200 lines takes one minute, while with few lines takes seconds.
Enyone suffer this issue?
SBO 9.2 PL 05
Code sample:
SAPbobsCOM.InventoryCountingsService icService = (SAPbobsCOM.InventoryCountingsService)oCompany.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.InventoryCountingsService);
SAPbobsCOM.InventoryCountingParams icParams = (SAPbobsCOM.InventoryCountingParams)icService.GetDataInterface(SAPbobsCOM.InventoryCountingsServiceDataInterfaces.icsInventoryCountingParams);
SAPbobsCOM.InventoryCounting doc = (SAPbobsCOM.InventoryCounting)icService.GetDataInterface(SAPbobsCOM.InventoryCountingsServiceDataInterfaces.icsInventoryCounting);
icParams.DocumentEntry = 1;
doc = icService.Get(icParams);
doc.Remarks = doc.Remarks + " Update By DI ";
icService.Update(doc);
Hi,
My testing with your code on the same SBO 9.2 PL05 with 973 lines in the counting, took me +/- 5 seconds.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.