REP001 - Create Fields
The
field definitions are the foundation of your business applications. Other objects in the such as files, components and functions are built from the basic field definitions. The centralization of a single definition and its reuse provide huge productivity benefits.Objectives
- To highlight how the LANSA increases developer productivity.
- To create the following fields in the repository (where iii=your initials):
Field Name |
Description |
Type / Length |
iiiDeptCode |
Department Code |
Alpha(3) |
iiiDeptDescription |
Department Description |
Alpha(20) |
iiiEmployNumber |
Employee ID |
Alpha(2) |
iiiSurname |
Employee Surname |
Alpha(25) |
iiiGivenName |
Employee Given Name |
Alpha(25) |
iiiSalary |
Employee Salary |
Packed(11,2) |
iiiStartDate |
Employee Start Date |
DateTime(26) |
iiiEmployNotes |
Employee Notes |
String(512) |
- These fields will be used to create the Department and Personnel files in later repository exercises.
To achieve these objectives you will complete the following:
Step 3. Manually Create Fields
Step 6. Create a Dynamic List for Your Fields
Step 7. Create and Execute Test Form
Step 8. Change your field definitions
Before You Begin
In order to complete this tutorial, the demonstration Personnel System files must have been installed in this partition. You should also have completed the
.