Renaming Data Elements at the Order Level

You rename a data element at the order level by providing an alias for the data element in the Order editor Order Template tab. When you rename data elements at the order level, Design Studio automatically updates that data element name in all associated tasks and extended orders. However, the data element instance in the Data Dictionary is not affected by the change.

For example, consider that you have a data model that contains two instances of a data element called EmployeeID: one defined as a string (defined by the employee's name and a two-digit number), the other defined as an integer (defined by a six-digit number). To avoid data type collisions in the run-time environment, you can rename one instance of the EmployeeID data element at the order level.

To rename data elements at the order level:

  1. From the Studio menu, select Show Design Perspective.

  2. Click the Studio Projects tab.

  3. Double-click the existing order that contains the data element to rename.

    The Order editor opens with the Order Template tab active. See "Order Editor Order Template Tab" for more information.

  4. In the Order editor Order Template tab, right-click on the data element, select Refactoring, and then select Rename.

    The Rename Order Template Node dialog box is displayed.

    The dialog box displays the current data element node name and the data element node name as defined in the Data Dictionary. The rename that you make here does not affect the node name at the Data Dictionary level.

  5. In the Name field, enter the new name for the data element.

  6. (Optional) Click the Preview button.

    The Rename Order Template Node dialog box shows all instances of the data element defined in related tasks and extended orders that will change after you rename it at the order level.

    If the rename is not allowed, a problem error is displayed. You can check the error log for information on why the rename failed.

    Click Continue to proceed.

  7. Click OK.

    Design Studio implements the change immediately in the project.

Related Topics

Order Editor