on 04-10-2017 8:41 AM - last edited on 02-03-2024 11:03 PM by postmig_api_4
Hi,
You will need to create your own report type
See below example
SAPbobsCOM.ReportTypesService rptTypeService = (SAPbobsCOM.ReportTypesService)_oCom.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.ReportTypesService);
SAPbobsCOM.ReportType newType = (SAPbobsCOM.ReportType)rptTypeService.GetDataInterface(SAPbobsCOM.ReportTypesServiceDataInterfaces.rtsReportType);
newType.TypeName = TypeName; //Your choice of TypeName
newType.AddonName = SBOAddon.gcAddOnName; //Your choice of AddOnName
newType.AddonFormType = frmTypeEX; //The formType this layout will be called from
newType.MenuID = RptMnuUID; //Your menuID for calling this report
SAPbobsCOM.ReportTypeParams newTypeParam = rptTypeService.AddReportType(newType);
The Corresponding table for this service is "RTYP"
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 |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.