Forum Discussion

WillVitale's avatar
WillVitale
Contributor
2 years ago

Monthly Currency Load Automation

Hello, Currently a brand new customer and I was wondering if there's a way to automate currency loads from a SQL table to load into OneStream? We were told there was a way, but our consultants are t...
  • mkohorst's avatar
    2 years ago

    From years ago....you probably want to replace the deprecated GetCustomDataTable call with something like this: Using dbConnApp As DBConnInfo = BRApi.Database.CreateApplicationDbConnInfo(si)
    Using dt As DataTable = BRApi.Database.ExecuteSql(dbConnApp, sql.ToString, True)