Creating a Dimension of the Structured Type
You want to create a structured text field to ensure that cost centers are always entered in the predefined format XX-123.4567_8X0 in the input field.
-
Starting from the top navigation, click > Planner > Settings > Dimensions.
-
Choose Add new Dimension.
-
Enter a name.
-
If necessary, enter information text. Use the formatting functions to display complex descriptions clearly.
-
From the Base type dropdown list, select the Structured entry.
-
Click on the Edit structure field.
-
Choose
-
Use the Editor to create a rule:
-
Click Add new regular expression.
-
Select Letters as the variable.
-
In the Length column, enter the value 2.
-
Select a dash (-) from the Separator dropdown list.
-
Click Add new regular expression.
-
Select Numbers as the variable for the second input field.
-
In the Length column, enter the value 3.
-
Select a period (.) from the Separator dropdown list.
-
Click Add new regular expression.
-
Select Numbers as the variable for the third input field.
-
In the Length column, enter the value 4.
-
Select an underscore (_) from the Separator dropdown list.
-
Click Add new regular expression.
-
Select Letters, Numbers as the variable for the fourth input field.
-
In the Length column, enter the value 3.
A line with input fields opens.
-
-
You enter a regular expression (regex).
-
Activate the User defined structure checkbox.
-
Enter the regular expression in the input field below the checkbox.
-
-
-
Click Save
-
Edit the attributes.
-
Choose which User groups have access to the dimension.
-
Click Save.
A dialog box opens.
The Regular expression structure dialog box opens.
You have created a dimension with a structured text dimension, in which users can enter a cost center in a predefined format only.