Steps

To create a new data management step, select the Create Step The Create Step icon is two blue and black squaresicon.

Name

The name of the data management step.

Description (Optional)

The description of the data management step.

Data Management Group

The data management group the step belongs to.

Step Type

The type of data management step chosen. There are various data management step types.

The following properties display based on the step type selected.

Calculate

A step can be created to use one of the consolidation/calculation options.

Calculation Type

Select a calculation type. You can choose from the following options:

  • Calculate: This runs a calculation when dashboard components are changed. It runs calculations at the entity level within the local member of the Consolidation dimension without translating or consolidating.

  • Translate: This runs a translate when dashboard components are changed. It runs the Calculate step above at the entity level and then translates data within the translated member of the Consolidation dimension for each applicable relationship.

  • Consolidate: This runs a consolidate when dashboard components are changed. This runs the Calculate and Translate steps and then completes the calculations required all the way up the Consolidation dimension.

  • Force Calculate, Translate, or Consolidate: The Force menu, for example, Force Consolidation, items run as if every cell included is marked as needing to be calculated, translated, or consolidated.

  • Calculate, Translate, or Consolidate with Logging: The Logging items, for example, Force Translation with Logging, trigger additional detailed logging which can be viewed in the Task Activity area. Drill into a log to see the length of time and details for every calculation.

  • Force Calculate, Translate, or Consolidate with Logging: This runs a Force Calculation, Translation, or Consolidation with Logging.

Execute Cube or Scenario Dynamic Source Data Copy

Execute the cube's or scenario's Dynamic Source Data Copy as part of the calculation if applicable. When Use Default is selected, the cube's or scenario's ExecuteCopyDuringCalc option is deferred to. When set to True, the copy is run. When set to False, the copy is skipped regardless of the cube's or scenario’s options.

Data Units

Cube

Specify the cube where the consolidation/calculation will run.

Entity Filter

Specify the entity, list of entities, or any combination of entity hierarchies to be included in the consolidation/calculation.

Parent Filter

If alternate hierarchies are used, a parent may be specified and included in the consolidation/calculation.

Consolidated Filter

Specify the Consolidation member or members to be included in the consolidation/calculation.

Scenario Filter

Specify the Scenario member or members to be included in the consolidation/calculation.

Time Filter

Specify the Time member or members to be included in the consolidation/calculation.

Execute Scenario Dynamic Source Data Copy

This copies base-level cube data from a specified source scenario, using the Dynamic Source Data settings, to a specified target scenario. Data copy occurs when a standard calculation is run on the target scenario and, by default, follows the standard OneStream calculation sequence.

Clear Data

General (Step)

Use Detailed Logging

When set to True, a detailed log found in the Task Activity Log provides additional detail about the process. 

Data Units

Cube

Select the cube where the consolidation/calculation will run.

Entity Filter

Select the entity, list of entities, or any combination of entity hierarchies to be included in the consolidation/calculation.

Scenario Filter

Select the Scenario member or members to be included in the consolidation/calculation.

Time Filter

Select the Time member or members to be included in the consolidation/calculation.

Origin

Clear Imported Data

This indicates whether the Import member of the Origin dimension should be included in the step.

Clear Forms Data

This indicates whether the Forms member of the Origin dimension should be included in the step. 

Clear Adjustment Data and Delete Journals

This indicates whether the Adjustment members of the Origin dimension should be included in the step. 

Clear Data Cell Attachments

This indicates whether the data cell attachments of the Origin dimension should be included in the step. 

Copy Data

General

Use Detailed Logging

When set to True, a detailed log found in the Task Activity log provides additional detail about the process.

Source Data Units

Source Cube

Select the source cube for the data copy.

Source Entity Filter

Select the source entity, list of entities, or any combination of entity hierarchies to be included in the data copy.

Source Scenario

Select the source Scenario member or members to be included in the data copy.

Source Time Filter

Select the source Time member or members to be included in the data copy.

Source View

Select the View member to be included in the data copy. This selection enables users to copy YTD data into a Periodic member and the other way around.

Source Data Units

Destination Cube

Select the destination cube for the data copy.

Destination Entity Filter

Select the destination entity, list of entities, or any combination of entity hierarchies to be included in the data copy.

Destination Scenario

Select the destination Scenario member or members to be included in the data copy.

Destination Time Filter

Select the destination Time member or members to be included in the data copy.

Destination View

Select the destination View member to be included in the data copy.

Origin

Copy Imported Data

Choose True or False to copy O#Import data

Copy Forms Data

Choose True or False to copy O#Forms data. 

Copy Adjustment Data

Choose True or False to copy O#Adjustments data.

NOTE: If the Source View and Destination View properties are left blank, the data copies to the same View member. For example, YTD will copy to YTD or Periodic will copy to Periodic.

Copy Data Cell Attachments

Select the data cell attachments to be included in the data copy.

Custom Calculate

The typical use of the custom calculate step is flexibility and speed of calculations during data entry. For instance, a user could make on-the-spot changes in a form, run a custom calculate and quickly experience what-if analysis based on the limited amount of data on the form. Instead of running a full calculate or consolidation on a Data Unit, this step can be used to run a calculation on a slice of data within one or many Data Units. For example, the calculation could be executed from within data management by selecting Save on a form in workflow through a Forms Event Handler or related a dashboard button could be used to enter budget data.

This type of calculation does not create audit information for each data cell affected and will therefore run faster than using the Copy Data step type.

The user running this must be a member of the scenario’s manage data group or the step will fail. This helps prevent unauthorized users from launching steps like this which could alter or clear data unintentionally.

General

Use Detailed Logging

When set to True, a detailed log found in the Task Activity Log provides additional detail about the process. 

Data Units

These are the Data Unit settings for what are affected by the applied calculation. A single cube and scenario can be affected by this step. Single or multiple entities, entity parents, consolidation members, and time periods can be affected through the Filter properties for entity, parent, consolidation, and time in this section using the Member Filter Builder dialog box. The related business rule entered in the business rule property runs once for each of the number of Data Units specified here. These Data Unit members, for example, entity, scenario, and time, can be referenced in the related business rule with functions such as API.Pov.Entity.Name. Otherwise, they will not need to be mentioned within the context of the business rule. Upon running, this resets the calculation status of the affected Data Units needing calculation.

Point of View

These are the single member entries of dimensions not in the Data Unit to be affected by the calculation. The properties are for view, account, flow, origin, IC and UD1-UD8. These values are provided in the step as a convenience and to be referenced from within the business rule. For instance, the UD1 member listed here in the POV setting could be referenced from within the business rule as api.Pov.UD1.Name. This can make the business rule flexible since the same rule could be used against multiple data management custom calculate steps but run differently based on the POV setting.

Business Rule

Business Rule and Function Name

Enter the name of the finance-type business rule and contained function to run when the step runs. This enables you to specify settings such as Durable Storage within the rule. A simple example of a business rule which calculates data with Durable Storage is displayed below:

The following example shows a business rule which calculates data with Durable Storage:

Copy

VB.Net

Select Case api.FunctionType
    Case FinanceFunctionType.CustomCalculate
        If args.CustomCalculateArgs.FunctionName.XFEqualsIgnoreCase("myFunctionName") Then
            api.Data.Calculate("A#Profit = A#Sales - A#Costs", True)
        End If
End Select

NOTE: When a calculation or consolidation runs on this same Data Unit after this data management step is run, the data saved as calculated by this step is cleared unless it is saved with a Storage Type of Durable. ClearCalculatedData is the first step in the standard calculation sequence that runs during a calculation or consolidation on cube data. In this case, durable data is ignored during a calculate or even a force calculate or consolidate unless a ClearCalculated function is used within the business rule or Member Formula to purposely clear the durable data. However, if a calculation recalculates even data marked as Durable, it is replaced by the newly calculated data.

It is suggested that if this calculation within a custom calculate data management step is to be replicated within a separate Member Formula or business rule, both can refer to the same saved finance business rule function by name.

See Examples of Key Functions in Use for examples of using API.Data.Calculate and API.Data.ClearCalculated to store and clear Durable data as desired.

Parameters

Refer to any parameters inside the business rule by listing them here in name-value pairs.

Example: Name1=Frankfurt, Name2=[Houston Heights]

Custom parameters can be used by using the correct syntax. This displays a prompt to the user at run-time.

Example: Name3=|!myParam!|

Execute Business Rule

Use Detailed Logging

When set to True, a detailed log found in the Task Activity log provides additional detail about the process.

Business Rule

Business Rule

Select from the available application business rules to run custom scripts or procedures.

Parameters (Optional)

This field is provided to pass parameters or variables into the selected business rule.

Export Data

Use Detailed Logging

When set to True, a detailed log found in the Task Activity log provides additional detail about the process.

Output Files

File Share File Name

The name given to the file being exported to the application file share.

Include Cube in File Name

When set to True, the cube name is included in the file name when exporting. 

Include Entity in File Name

When set to True, the entity name is included in the file name when exporting. 

Include Parent in File Name

When set to True, the parent name is included in the file name when exporting. 

Include Cons in File Name

When set to True, the consolidation member name is included in the file name when exporting. 

Include Scenario in File Name

When set to True, the scenario name is included in the file name when exporting. 

Include Time in File Name

When set to True, the time name is included in the file name when exporting. 

Overwrite Existing Files

Set this to True to overwrite a previously exported file when exporting. 

Options

Include Zeroes

When set to True, zero amount records are included when exporting. 

Include Member Descriptions

When set to True, member descriptions are included when exporting. 

Include Cell Annotations

When set to True, cell annotations are included when exporting. 

Include Input Data

When set to True, input type data is included when exporting. 

Include Calculated Data

When set to True, calculated data is included when exporting. 

Data Units

Cube

Specify the cube where consolidation/calculation will run.

Entity Filter

Specify the entity, list of entities, or any combination of entity hierarchies to be included in the consolidation/calculation.

Parent Filter

If alternate hierarchies are used, a parent may be specified in order to be included in the consolidation/calculation.

Consolidated Filter

Specify the consolidation member or members to be included in the consolidation/calculation.

Scenario Filter

Specify the scenario member or members to be included in the consolidation/calculation.

Time Filter

Specify the time member or members to be included in the consolidation/calculation.

Combinations of Data Filters (use #All for all stored base-level data)

Use standard Member Filter functionality to select specific data required for all dimensions listed below:

  • Account Filter (e.g., “A#IS.Descendants, A#All”)

  • Flow Filter

  • Origin Filter

  • IC Filter

  • UD1-8 Filter

Specific Data Filters

Use standard Member Filter functionality to have fine grain control over the data exported. Use this filter to choose more specific intersections of data.

Export File

Use the export file data management step to export an Extensible Document or Report Book to OneStream’s File Share.

General

Use Detailed Logging

If set to True, a detailed log found in the Task Activity log will provide additional detail about the process.

Output File

File Share Folder

Enter the name of the File Share folder where the desired file is saved.

File Name Suffix

Enter a suffix to include in the name of the file.

Overwrite Existing Files

Set to True to overwrite a previously exported file when exporting.

Source File

File Source Type

Select a file source type. You can choose from the following options:

  • URL: Display a file from an internal or external web page. 

  • Application/System Dashboard File: Display a file stored in the Workspace maintenance unit File section. 

  • Application/System Database File: Display a file stored in the application or system Database Share. 

  • File Share File: Display a file from the File Share. 

URL or Full File Name

The URL or name of the file being used. Enter the full URL name or select the ellipsisEllipses icon and browse to the desired file.

Process Extensible Document

When set to True, the data management step runs and processes the attached Extensible Document file. When set to False, the unprocessed file displays. This is mainly used for testing purposes.

NOTE: An Extensible Document is a Text, Word, PowerPoint, or Excel file that uses parameters in its content. The file name must contain .xfDoc before the extension. For example, StatusReport.xfDoc.docx. See Presenting Data With Extensible Documents.

Read Parameter Names from Extensible Doc

When set to True, the parameters used in the Extensible Document prompt the user when the data management sequence is run. When this is set to False, the parameters can be specified ahead of time in the parameters property below.

Parameters

Enter a comma separated list of name value pairs.

Example: ParameterName1=ValueName1, ParameterName2=[Value Name2]

Export Report

Use Detailed Logging

When set to True, a detailed log found in the Task Activity log provides additional detail about the process.

Output File

File Share File Name

The name given to file being exported to the application file share.

Include Object Name in File

When set to True, the dashboard object is included in the file name when exporting. 

Overwrite Existing Files

Set to True to overwrite a previously exported file when exporting. 

Report File Type

Select a report file type. You can choose from the following options:

  • Combined PDF File: This combines and exports all report PDF’s into one PDF file.

  • PDFs in Zip File: This exports all contained PDF’s individually in a ZIP file.

Object Type

Indicate whether a dashboard or dashboard profile object is to be exported.

Object Name

The name of the dashboard or dashboard profile being used.

Object Parameters (Optional)

Enter parameters to pass or variables to use when running the report normally.

Reset Scenario

This step is similar to the clear data step, except it clears additional related application data. It will run faster because it does not create audit information for each data cell affected. It clears data within a range (including parent entity data), audit information, workflow status, and calculation status. This is intended for administrator use.

The user running it must be a member of the scenario’s manage data group or the step will fail. This helps prevent unauthorized users from launching this step, which could alter or clear data unintentionally. It is recommended to change the manage data group from Nobody to a select exclusive user group before running and then change back to Nobody afterward.

IMPORTANT: Ensure that your application database is backed up before performing a Reset Scenario. Reset data will clear, including data marked as Durable.

General

Use Detailed Logging

If set to True, a detailed log found in the Task Activity log will provide additional detail about the process. 

Data Units

Scenario

Choose one scenario to be reset.

Reset All Time Periods

This defaults to True, which removes data and resets the workflow status for all time periods. When set to False, the next three properties are enabled. 

Start Year / End Year

The first and last years’ worth of time to clear from the application and workflow status.

Start Time Period in First Year (Optional)

The time period referenced in First Year to begin clearing data.