Copy the ID number of the data area you have just created to theDAfield in theModules module.
Unhide theScalefield and enter the requested scale (e.g. 8).
For structuring, drag the Project data area over the newly created data area by using SHIFT + the left mouse button and then release the mouse button. As a result, the object area is subordinated to the scale area. Result of the structure:
Scale
Project
Task
Fill thePos. and Parent areafields according to the structure displayed in the module.
To fix the scale, activate theFixed headingparameter and deactivate theHeadingparameter.
A data field can either be displayed as a data field in the module or as an auxiliary bar field. If both are to be displayed, the data field must be assigned to the data area twice.
If you enter 1, 2, or 3 in theWindow data field for an auxiliary bar field, the auxiliary bar field is displayed in window 3. If a value of 9 is entered, the auxiliary bar field is invisible.
Switchto the Bar module variant.
Enter the Python ID of the bar data field in theBar link (DF Python ID)parameter (here: bar_ta_cd_trlt) for the newly inserted Task name field.
Define the auxiliary bar field position in the Dock pointparameter, e.g. 1 Start point is bar end.
Switch to the Layout module variant and enter a width for the Task name auxiliary bar field in theDF widthfield, e.g. 600.
If several auxiliary bar fields are assigned to one bar which is to be displayed at the bar end, they can be positioned in the Layout module variant via the X/Y positions.
Integratingtraffic lights on auxiliary bar fields is possible.
Enable Graphical Creation, Editing, and Moving of Bars
For structuring, drag the link area over the Task data area while holding SHIFT + the left mouse button and then release the mouse button. As a result, the link area is subordinated to the Task area. Result of the structure:
Scale
Project
Task
Link
Fill thePos. andParent areafields according to the structure displayed in the module.
When you open the module, the link in the table (in window 1) is to be displayed closed. For this purpose, set the Displayparameter = blank (no display).
For structuring, drag the resource data area over the Project data area while holding SHIFT + the left mouse button and then release the mouse button. As a result, the resource data area is subordinated to the Project area. Result of the structure:
Scale
Project
Resource
Task
Link
Fill thePos. and Parent areafields according to the structure displayed in the module.
Switchto the Connections module variant.
In the data area assignment of the resource data area, enter the following in theRelation to parent areadata field: 1:N,DI001218:DI001062. Here, DI001218 = Resource and DI001062 = Manager.
As a result, the resource that corresponds to the project manager is displayed per project.
Connections between data areas also work with incomplete keys (e.g. when a child data area is assigned to DT463, whose primary key consists of two fields; but the higher level data area is assigned to DT461, whose primary key consists of only one field).
Module test
Restart the Test Module module.
The project manager resource is displayed below the project form.
Create Module Variant
Objective
To create a module variant in which
the resource data area is not displayed,
additional fields are displayed in the task data area
Create module variant
Open the Task data area.
Insert the following DIs:
DI059007 Milestone: text
DI001488 Hammock task
For the new data fields, select value 9 in theWindow field.
Unhide the newly inserted data fields in window 1.
Click on the button in the module tab.
Click on the Create module variant and enter a name for the new variant.
In order to avoid naming conflicts, the program compares the entered name with existing variant names. As soon as no more matches are found, the arrow icon for creating and saving the new variant is displayed on the right of the new entry.
Click on the arrow symbol or press the Return key.