Skip to Content
Former Member
Apr 28, 2009 at 02:39 PM

Web service connection string.



'Set Connection parametres- (System, DB Name, SBO id, SBO passowrd , DB ID, DB password)

SetConnectionParam("xxxxx", "xxxxx", "xxxx", "xxx", "xxx", "xxx")

' defined column and row

dsCustInfo = GetBlankSalesOrderDataSet()

dtHeader = dsCustInfo.Tables("SalesHeader")


If ConnectToDatabase() Then

oCompany = Session("g_CompanyConnection")

oRecSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

As shown, the connection paramatres in defined in every methods. Do anyone have any idea how to create a config file to store this parameters to provide ease of updating as from time to time the parameters will have changes. ( changing server)

Please provide me the instructions and steps to generate a config file. Thank alot!

Best Regards,