Discuss formulas and business rules for your application.
Recently active
Hello - Does anyone used the AWS SDK (Dot Net) to download the file to the OS batch harvest folder? using SIC if so, could you please provide high level steps? Any Help would be appreciated.
Hi , I used the journal event handler extensibility rule available on the forum in order to segregate the approval and post process. The issue that i am having is that once the user submits the journal or quick posts it the page does not refresh on its own and the user has to manually refresh the page to the see the journal status . Basically it should show the submitted status and approval and reject buttons highlighted but it only shows that after the user manually refreshes. Is there a way we can refresh the page after the message is displayed?
Hi, I am trying to create an account member formula where I have Account A divided by Account B, but the scenario in the denominator should be decided based on Text3 in the POV Scenario. E.g. A#10000:S#Actual / A#20000:"& SourceScenario &" SourceScenario = IF Pov.Time + 12 > Scenario Text 3, ThenSourceScenario = Forecast, ElseSourceScenario = Actual This is how far Ive come but it is not working yet: 'Use FC as scenario if POV time is more than 12 months more than last seeded actual month in FC.If api.Pov.Scenario.Text(3) > api.Time.AddTimePeriods(12, True) ThenDenominatorScenario = ":S#FC_WIP"ElseDenominatorScenario = ":S#ActualL4LAtRealRate"End If
Hello! Any inputs or documentation for configuring the SFTP process with SIC?Recently we have installed the SIC and configured successfully and was able to pull the data. We are facing issues with the SFTP process with SIC, followed the SIC admin guide and configured by creating a new gateway and copied the Gateway info to the OneStream Smart Integration Connector Local GatewayServer Configuration Utility, but the status in OneStream shows as 'offline'.TIA!!
Hi, I am using the LoadCustomTableUsingExcel function to load an Excel file to an application table. The function seems to be working fine in most cases. However, I am having issue with tables having unique constraints. The table has Payroll, PeopleGroup and Amount columns. The unique constraint was added because users can also insert into the table using an SQL editor component, so we want to avoid them do be able to insert duplicated rows. When trying to load a row which already exist in the table using the LoadCustomTableUsingExcel function I get the following error (example): “Column ‘Payroll, PeopleGroup' is constrained to be unique. Value 'Payroll_AE, PplGroup001' is already present.” This issue only appears when loading in Merge. Replace works fine. Normally (with table not having a unique constraint) it is not an issue loading rows that are already in the application table because the Merge tag in the Excel file make so that only new rows are added to the table while rows
I am trying to get the Journal Post Group from Workflow Profile Properties Using JournalsEventHandler Business rule. Does anyone have done this before? Is it possible to get the Journal Post Group from the Workflow Profile?
I am trying to revamp the data integration between OneStream and Oracle Financial Cloud. The implementation partner used HttpWebRequest throughout the integration business rules but under platform 8.2 this functionality is now obsolete. Is there a working sample from OneStream on how to employ HttpClient with Oracle?
Hello ... Under platform 8.2, we get warnings in business rules that reference function QueueDataMgmtSequence. Does anyone know what function should be utilized instead? 1) Warning at line 114: 'Public Overloads Function QueueDataMgmtSequence(si As SessionInfo, sequenceName As String, customSubstVars As Dictionary(Of String, String)) As TaskActivityItem' is obsolete: 'This is a temporary function used by Marketplace Solutions for backwards compatibility with old XF versions. Please change your code to use supported functionality.'.
I am looking for a sample code for SqlTableEditorSaveData function to restrict saving No value from my SQLtable editor drop down. I have Yes, No and Yes_optional in my drop down but I don't want user to save No option as yes and no are based on some value criteria but they can select Yes_Optional.
Hello All, Is there a quicker way to get the list of entities having data in a particular cube for a certain scenario and year combination, without using a finance business rule? One of the options I am thinking is to query the DataRecordsxxxx tables, but I believe that is not recommended...
Hello Experts, I am looking to write a Dashboard Extender rule by which I can fetch the list of all the dashboards under a Dashboard Group and set the value as a delimited list to a Parameter. Is it possible ? The idea is to dynamically populate a list with new Dashboards as they are added. Please suggest other workarounds if the above is not feasible. Many Thanks
Hello Everyone,We have been using ExecuteFileHarvestBatch to automate our Data Loads. However I could not make it work for Direct Load profiles.Is anyone aware if we have api support to automate Direct Loads?
Hi, is there a limit on the number of cells that can be updated through Table Views? We have a large table, 250 rows by 140 columns. When we try to update all values at once, there are many cells that do not update. When we only load 10 or so rows at a time, it updates all values correctly. thanks, Greg
OneStream is the best EPM app for consolidation and everything planning - it is going to kill Hyperion / Essbase !! Does anyone have a sample business rule BR for sorting rows in a column based on values in a column. e.g. in screen shot, I want to sort by ascending order of values (NR) in column B in Cubeview? I probably have a written something similar long time ago, but would like to see if someone else wrote a better BR.
Hi Team, Is there any way to add/remove users/groups via business rule(dynamically). i want to add user dynamically i.e not by clicking manually System---Security---Create user. Thank you in Advance really appreciate.
Unposting
Hi OneStreamers, is it somehow possible to reference a System Extender rule from an application level business rule (e.g. Dashboard XFBR String)? We would need this to centralize some functions, that should be available and standardized across multiple OneStream applications. Thanks Markus
Hello everyone,I am trying to create a table in OS with the fx rates by calling an APIwhile calling the API, i can get the data needed but i have this error <Type 'SqlBulkCopy' is not defined.> that's doesn't allow me to copy the data in a table in OS.this is a part of the code, the lines in orange are the ones not working. 'create table ' #Region "Create Table Currencies_Mantu" Dim sSQL As String = $" IF OBJECT_ID('Table_rate_mantu') IS NOT NULL BEGIN DROP TABLE Table_rate_mantu END CREATE TABLE Table_rate_mantu ( fromCurrency varchar(255), exchangeRate numeric(18, 5), date varchar(255) ); " Dim strPeriod As String = "" Dim strCurrency As String = "" Dim strPivot As String = "" Dim strclo As Double = 0 Dim vavg As Double = 0 For Each row As DataRow In dt.Rows strCurrency = row("fromCurrency") ' strclo = row("Value1") vavg = row("exchangeRate") strPeriod = row("Date")
hi Experts, i've a member formula (stored calc) to calculate %. My scenario type is periodic. i'm calculating % for various P&L accounts. M1,M2 and M3 %s is correct but for quarter, system is adding M1%, m2% and m3% which is not right. i want to write specific logic for qtr..for example: take quarterly expense and divide by revenue to calculate Qtrly %. is there a way i can override Qtr%? i may use dynamic calc to override V#QTD in report. but just wanted to know if there is more elegant way of doing this. pls guide
I'm trying to pull a Text field from a workflow in a transformation event handler rule but ran into an issue. I originally tried to use api.Workflow.GetWFText1() but that does not work in a transformation event handler rule. Is there a way to get it using a BRAPI
Is the any documentation available on all of the listed functions in OneStream for namespaces/libraries? other than API Overview.
Hi All, I want to ask about my issue on FDXExecuteCubeView. It cannot export annotation columns or columns with text even I have put the parameter includeCellTextCols to True. Here's the annotation column member filter : Fyi, the annotation appears in cube view but not in data table result from FDXExecuteCubeView. Thanks for your help.
Can anyone confirm if a GetDataBuffer function only pulls back real data? In other words it will not return dynamically calculated data (say from a dynamic account) or derived data? Trying to understand the limiitation of what data the function will and will not return. Thanks.
I call a data adapter and store results in DataTable in below snippets. How can I bulk load OneStream data in this DataTable to external database table? External database connection is ready and working in below method. Using dbConnApp As DbConnInfo = BRApi.Database.CreateExternalDbConnInfo(si, externalConnectinoName)brapi.Database.ExecuteSql(dbConnApp, sqlQuery, False) Using ds As DataSet = brapi.Dashboards.Process.GetAdoDataSetForAdapter(si, isSystemLevel, workspaceID, adapterName, resultsTableName, dctVars) If ds.Tables.Count > 0 Then ' If there are >0 tables in the results Using dt As DataTable = ds.Tables(0).Copy() 'Remove unsed columns dt.Columns.Remove("Cube") dt.Columns.Remove("TransformationRuleProfile") For Each Col As DataColumn In dt.Columns BRApi.ErrorLog.LogMessage(si, Col.ColumnName) Next Return dt End Using End If End Using
I would like to export data from existing OneStream dashboard and load it into external database table. I did some research and below is a draft business rule written in Visual Basic. What it does is to call data adapter and store the results. Next step is to load data from DataTable into external database table. Questions is, it gives a warning "Function GetAdoDataSetForAdapter is obsolete", what is the current supported function? Dim dctVars As New Dictionary(Of String, String) Using ds As DataSet = brapi.Dashboards.Process.GetAdoDataSetForAdapter(si, False, "AdapterName", "ResultsTable", dctVars) If ds.Tables.Count > 0 Then ' -- If there are >0 tables in the results Using dt As DataTable = ds.Tables(0).Copy() Return dt End Using End If End Using
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.