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.
Under the scale, the bars of the requested and the calculated dates are displayed in the task area.
Customize Tooltip
Objective
To define a tooltip for the requested date bar
Procedure
Open the Task data area.
Insert the requested text in theTooltip field for data field 002001 Bar: requested dates.
CODE
Start: @startDateH(dd.MM.yy)
End: @endDateH(dd.MM.yy)
Duration: @wdDuration days
Save.
Module test
Restart the Test Module module.
If you move the mouse over a requested date under the scale, the tooltip with the corresponding text is displayed.
Customize Auxiliary Bar Fields
Objective
An auxiliary bar field, e.g. the task name, is to be displayed next to the calculated dates.
An auxiliary bar field is a field that is, for instance, displayed next to the bar under the scale.
Procedure
Open the Task data area.
In the standard system, the Python ID is specified for all data items.
If an individual bar data field is used, theDF Python ID field is filled.
Insert field 000807 Task name another time.
Notes
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.
The task name is displayed at the bar end of the calculated dates.
Notes
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
Objective
To enable graphical creation, changing, and moving of the Bar: requested dates bar in the _Task data area
Procedure
Open the Task data area.
Switchto the Bar module variant.
For the 002001 Bar: requested dates bar field, activate the following checkboxes:
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).
In window 3, the link is still displayed.
Save.
Module test
Start the Test Module module.
The links are displayed under the scale and can also be displayed in the table (window 1) by expanding the tree.
Enable Graphical Creation of Links
Objective
To provide a way of graphically creating links
Procedure
Open the Task data area and switch to the Bars module variant.
Activate theLink barcheckbox for the 002951 Bar: calculated dates (Traffic light) data field.
Save.
Module test
Restart the Test Module module.
The links can be created graphically.
Link Data Areas via Relationships
Objective
In the Test Module module, the resource of the project manager is to be displayed below the project form.
Information
DT461 Project and DT467 Resource are not linked to each other via relationships.
Create resource data areas and assign them to the module
Open theModules module and enter the ID number of the Test Module module.
Insert a blank record for the new data area:
Click on the existing data area and then on theInsertbutton in the toolbar or
right-click on the existing data area and select InsertData area assignment.
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.
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.