Generation Export

Generation exports create a generation- or level-based format for nodes in hierarchies. The export outputs a record for each node, its ancestor nodes, and their properties. You can output this information to a file. You can use this export type to create a format where hierarchy relationships are represented as columns.

To create a generation export:

  1. On the Home page, select Export.
  2. Click New compare toolbar button.
  3. Select Generation as the export type.
  4. Optional: To create substitution parameters for the export:
    1. Click Add Parameters button.
    2. Click Add and add Key-Value pairs.

      Note:

      Key-Value pairs cannot use "<%" or "%>" sequentially or an equal sign.

    3. Click OK.
  5. On the Source tab, select a version or version variable.

    You can select Normal, Baseline, or As-Of versions. The Version list defaults to the Normal versions. To select a Baseline or As-Of version, click Normal under the Version list.

  6. From Hierarchy Selection, select an option:
    • Top Nodes––Click Add, select a hierarchy, and select a node and then click OK. Repeat until all nodes are added.

      Note:

      Use the arrows to reposition the nodes, which determine the order in which hierarchy nodes are exported.

    • Hierarchy Group––Select a hierarchy group property and a hierarchy group

      Note:

      You can use substitution variables for the hierarchy group property and the hierarchy group.

      • Hierarchy Group Property––Select a hierarchy group property or select [Get Value from Parameter] and then select the parameter to use for the property.

      • Hierarchy Group––Select a hierarchy group or select [Get Value from Parameter] and then select the parameter to use for the group.

  7. On the Style tab, select from these options:
    • Node Selection — Determines which nodes (All Nodes, Limb Nodes Only, Leaf Nodes Only) are included

    • Recurse from Top Node — Select to include output for all nodes below the top node. If this option is not selected, then only the selected top node is included. This option is useful when exporting a single record for each hierarchy selected.

    • Include Inactive Nodes — Select to include inactive nodes.

    • Include Implicitly Shared Nodes — Select to include descendant nodes below shared limb nodes that are explicitly shared. Implicit shared nodes are only exported if not filtered out by another option such as top node selection or a query filter. The structure of implicitly shared nodes below a shared parent node is reflected in the ancestor section of the hierarchy export.

      • If a query filter is used in the export, the administrator must explicitly include the shared nodes. For example, the filter (#Children=0) must be changed to ((#Children=0 OR (Shared Node Flag = True)).

      • For the implicitly shared node, the Parent properties reflect the values of the actual node (the primary node). For example, if your export includes the Parent Node property for an implicitly shared node, it will show the parent as the primary node.

    • Root to Node — Select to set the export order (if not selected, the order is Node to Root.) For example, if node A is a parent to node B and this option is selected, then the output is A,B. Otherwise, with this box unchecked, it is B,A.

  8. In the Batch Validations section, select the type of validations to run.

    Note:

    Batch validations are performed only for the hierarchies and nodes included in the export. Validations are run before the export. If errors occur, the export stops.

    • None — No validations run.

    • Assigned — All validations assigned to the version, hierarchies, and nodes for the export run.

    • Selected — Click ellipsis icon to select validations to run.

  9. In the Repeat Parameters section, select from these options:
    • Repeat Number Property — References a local, node-level, integer property that repeats a node within an export structure. For example, given an A-B-C parent-child hierarchy, if a Repeat Num Property has a value of 2 for node B and a value of 1 for nodes A and C, then the export looks like A,B,B,C (node B is repeated twice).

      Note:

      When using Repeat Number Property , the value must be set to at least 1 for nodes to be included in the export results. It is recommended to set the Repeat Number Property default value to 1.

    • Bottom Level Property and Bottom Level Value — Determines the maximum depth of the export structure. This value can be defined as a hierarchy-level, integer property (Bottom Level Property), or as an absolute value (Bottom Level Value.)

      If a bottom level is defined, repeat options are enabled to automatically repeat nodes down to the defined level in the export structure. For example, for nodes A-B-C in a parent-child hierarchy, if the Bottom Level Value is defined as 6, node B has a Repeat Number Property value of 2, and the Repeat Bottom Leaf Node option is selected, then the export structure is A,B,B,C,C,C (the export structure is six levels deep, the leaf node C is repeated until level 6 is reached, and node B is repeated twice).

  10. In the Ancestor Options section, select from these options:
    • Max Ancestor Levels — Defines the number of ancestor levels in the export structure.

    • Use Inverted Levels — The Oracle Essbase level methodology is used where the leaves are at 0 and count up. For a node that has multiple branches under it, the node is the largest of the possible values.

    • Blank Repeated Levels — Prevents repeated nodes from appearing in the output. If cleared, a node may be repeated in the output to achieve the specified level.

    • Group Repeated Columns — Repeated columns are grouped by property in the ancestor columns.

  11. On the Filter tab, select from these options:
    • From Validation, select a validation to apply to the export.

    • From Query, select a query to apply to the export, or, to define a query, click New query button.

      Note:

      The inclusion filter determines the set of nodes to include in the results. The exclusion filter restricts the nodes displayed as ancestor columns.

    • Use text file to include or exclude descendant nodes — Select if you have created a text file with nodes to be included or excluded from the export. The file format is a list of node names with one per line. Select a connection, enter a file name, and select whether to include or exclude the nodes from the export.

  12. On the Columns tab, select an option from the Column Set list:
    • Pre Columns — Properties to export at the beginning of each export record

    • Bottom Node Columns — Properties for the specified bottom node

    • Ancestor Columns — Node properties for the ancestor list of the specified bottom node

    • Post Columns — Properties to export at the end of each export record

  13. Select the properties to display as columns in the export results and move them from Available to Selected.

    For more information, see Export Specific Columns

    Tip:

    Use the Category list to select a property category to ease navigation. Use the up and down arrows to position the column in the Selected list. The first item in the list is the first column, the second item in the list is the second column, and so on.

  14. On the Column Options tab, select options:
    • Pivot — If the property contains a comma-delimited list of values, a separate record is exported for each value with all other export columns set to the same values. The Pivot option may be selected on only one column.

    • Skip Defaults — To place a blank (empty string) or NULL (in output to database table) in the export if the field value equals the default value of the property

    • Primary Key — To define a field (or fields) as the primary key to be used when determining whether duplicates exist. This is also used by the Remove Duplicates option on the Style tab.

    • Fill Value––Used with the Max Ancestor Levels setting on the Style tab to fill the values for ancestor columns beyond the bottom level of the ancestors up to the number of ancestor levels defined in the export profile.

    • Dynamic Value––If you added a Dynamic Column, define the value for the column here. The value can be null or a combination of constant values and substitution variables.

  15. On the Target tab, select the output type for the results:
    • Client File –– Download results via the browser.

    • Server File –– Use an external connection and save results to a network file system or an FTP directory.

  16. Perform an action:
    • If you selected to export to a Client File, choose options:

      • Column Headings — Includes column headings in the export

      • Quoted Strings — Puts quotation marks around each column value. Any existing quotation marks within the column value are doubled.

        For example,

        =IF("ABC","XYZ",)

        changes to

        "=IF(""ABC"",""XYZ"",)"
      • Fixed Width — Allows you to specify field widths, left or right justification for the column, and number of pad characters. You can enter column information in the Fixed Width Option section.

      • Character Encoding — Select one of the encoding options.

      • Replace options — Select up to three characters from the lists to be replaced. For example, commas can be replaced by tabs

      • Header/Footer — Add a line between the header/footer and the body or enter text to be printed on the header and footer of the export results. Enter lines of text into the text box or click Ellipsis button to open a text editor.

        Note:

        You can insert customization tags to further enhance the readability of the export results. For more information, see Customization Tags.

      • Delimiter options — To select a field delimiter character and a record delimiter character

    • If you selected to export to a Server File, you must set your connection and enter a file name. You must have already set up a valid external connection to a UNC or FTP file. You can also select from these options:

      • Column Headings — Includes column headings

      • Quoted Strings — Puts quotation marks around each column value. Any existing quotation marks within the column value are doubled.

        For example,

        =IF("ABC","XYZ",)

        changes to

        "=IF(""ABC"",""XYZ"",)"
      • Fixed Width — Allows you to specify field widths, left or right justification for the column, and number of pad characters. You can enter column information in the Fixed Width Option section.

      • Character Encoding — Select one of the encoding options.

      • Replace options — Select up to three characters from the lists to be replaced. For example, commas can be replaced by tabs

      • Header/Footer — Add a line between the header/footer and the body or enter text to be printed on the header and footer of the export results. Enter lines of text into the text box or click Ellipsis button to open a text editor.

        Note:

        You can insert customization tags to further enhance the readability of the export results. For more information, see Customization Tags.

      • Delimiter options — To select a field delimiter character and a record delimiter character

  17. Do any of the following:
    • To save the export, click Save button.

      You are prompted to define a name, description, and an object access group for the export. Select a custom group or one of the following:

      • User––Personal objects that are only available to an individual user to view and run.

      • Standard––Public objects that are available to all users to view and run. Only Data Manager users can create and modify standard exports.

      • System––Restricted objects that are only available to Application Administrator role users to view and run.

    • To validate the export, click Validate button.

      You can copy validation errors to the clipboard.

    • To run the export, click Run button.

      If you selected to run validations on the Style tab, clicking Run button performs the validations. Then, if no errors occur, the export runs. If validation errors occur, then the export stops, and an error is displayed. Click Validate button for a list of validation errors.