Data Items MOD000100
Access
- Customizer → System Customizer → Data Items
- Customizer → System Customizer → Data Dictionary → click on the link on the UF UDI field
In this module, you can
- edit data items by changing the data item parameter right here in the module or by caarrying out different actions on data items via the context menu.
- define value ranges for data items
- assign sub-data items to data items and thus define a data item structure if the data items in question are complex data items
- add notes to the data items
- have a look at dynamic variables in which the selected data item is used
Caution
- In this module, no new data items can be created. New data items can only be created in data tables of the Data Dictionary module.
Details
- Via the link on the DT data field, the data table of the data item is opened in the Data Dictionary module. This module contains further data item parameters which can be looked at or edited.
Module variants
Base | The required data item is displayed including all existing subareas, e.g. DI notes, sub-DIs (if available), etc. |
Empty Python IDs | If this module variant is selected in the empty Data Items module and the Edit → Filter menu item (CTRL+Q) is clicked on, all DIs which do not possess any Python ID are displayed. |
Simplified display | The required data item is displayed without subareas. For comparison, see the Base variant |
With type | For the required data item, DF type, PPMS type and DB type are displayed in addition. |
Edit Data Item
Information
- Data items can be edited
- by adjusting data item parameters right here in the module according to your requirements or
- by opening special modules via the context menu with the help of which you can edit particular components of the data items like, e.g., exits, value ranges, symbols, etc.
Context Menu
- Via the commands contained in the context menu, the following actions can be carried out:
- Open SQL statement from value range: opens the statement entered in the PY value range of the source DI in the SQL Statements module. The statement can be edited here.
- If no PY value range exists on the DI, the DI(xxxxxx) has no Python value range! message will be displayed.
- Open dialog message from VR: opens the dialog messages entered in the PY value range of the source DI in the Dialog Messages module. The dialog message(s) can be edited here.
- If no PY value range exists on the DI, the DI(xxxxxx) has no Python value range! message will be displayed.
- Open Dis from value range: opens all DIs that occur in the value range of the source DI.
- If no value range exists on the DI, the It is not possible to open DIs from the value range of Di(xxxxxx). The function is only available for data items with PY, CO, PF, PL value range types. message will be displayed.
- Open constant from value range: opens the dialog messages entered in the PY value range of the source DI in the Text Constants module. The text constant(s) can be edited here.
- If no PY value range exists on the DI, the DI(xxxxxx) has no Python value range! message will be displayed.
- Check use: provides a means to check the use of the DI.
- When you select the command, a dialog message will be displayed asking you to select the area to be checked for use.
- Afterwards, the respective data will be opened in the Object Use module.
- Edit exit: opens the exit entered on the DI in the Exits module. The exit can be edited here.
- Edit format: opens the format entered in the Formats module. The format can be edited here.
- If no format is allocated on the DI, the Formats module will not be opened.
- Edit symbol: opens the symbol entered on the DI in the Symbols module. The symbol can be edited here.
- If no symbol is allocated on the DI, the Symbols module will not be opened.
- Open SQL statement from value range: opens the statement entered in the PY value range of the source DI in the SQL Statements module. The statement can be edited here.
Update System Customizing
Caution
- If system customizing changes are made to data tables or data items (e.g. new data items are created, data item parameters are changed), the Tools → Restart PLANTA service menu item must be executed in order to make the changes visible.
- Note: If you click on the menu item, all open client connections (sessions) are closed. During restart, new client connections are not possible. This does not apply to changes made to I-texts, e.g. changes to the DI name or adjustment of value ranges (also of the VR type).
- Before restarting the service, the target directory must be deleted so it can be created anew upon server restart in order to make sure that the POJO classes contained in it, which are responsible for the meta data of the data dictionary, are generated anew.
Create Value Range
Procedure
- Enter the required data item in the Data Items module and select a value range type from the VR type listbox.
- In the Value Range field you can either
- create a calculation formula or
- a check formula or
- a Python value range, depending on the VR type.
- Save.
Note
- Via the Edit value range button the value range is opened in an editor and can be edited there.
- If the value range has been empty before, a template will be pasted which can subsequently be edited in the editor.
Data Item Structure
Information
- Data items that are built from other data items in a hierarchical structure in line with particular rules are complex data items.
- They receive their values and properties from sub-DIs but act like conventional data items and can be displayed and partially edited in modules.
- They are always virtual.
- They can be made up of simple or complex data items. The structural depth of a complex data item is not limited.
Procedure
- Enter the required data item in the Data Items module.
- Right-click on the data item record.
- Select Insert → Subordinate data item from the context menu.
- Enter the number of the subordinate data item in the Sub--DI field.
- Define the parameters for the sub-DI.
- Save.
Details
- Procedure for customizing individual complex data items:
Dynamic Variable
Information
- The display of the dynamic variable is for informational purposes only. The assignment and editing of dynamic variables takes place in the Dynamic Variables module.
See also: Dynamic variables |
Data Item Note
Information
- Here, you can edit default notes and create new individual notes and update them.
Create Individual Notes
- Enter the required data item in the Data Items module.
- Right-click on the data item.
- Select Insert → Individual note from the context menu.
- Enter your text in the Note field.
- If the note is to be displayed in the Data Field Information module, the Display checkbox must be activated.
- Save.