REP001 Create Fields

Visual LANSA

REP001 - Create Fields

The Repository field definitions are the foundation of your business applications. Other objects in the Repository 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 Repository 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 1. Prepare Your System

Step 2. Copy Fields

Step 3. Manually Create Fields

Step 4. Reference Fields

Step 5. Delete a field

Step 6. Create a Dynamic List for Your Fields

Step 7. Create and Execute Test Form

Step 8. Change your field definitions

Summary

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 Visual LANSA User Interface Tutorials.