Create User Fields
Use the User Fields Maintenance (XMO) program to add up to 25 user (i.e., custom) fields to many PowerShift files. See Background, Road Map and Set User Field Transfer Parameters for more information.
The program displays these fields:
Field Name |
Displays |
File description |
The title or description of the file |
File name |
The file name |
Fields defined |
Selected:
User fields have been created |
Select the file for which you want to create user fields and click Select or double click the line.
If no user fields have been defined for the file, look ahead to step 4. The selected file name and description is displayed with existing user fields:
Field Name |
Displays |
Seq |
The sequence number of the field |
Fld act? |
Selected if the field is active |
Field desc |
The field's label on the screen |
Fld type |
The field type |
Req/Opt |
R if the field requires; O if an entry is optional |
Fld lg |
The field length |
Prec |
The number places to the right of the decimal point |
Table? |
Selected if the entry is validated against a table |
Lookup? |
Selected if the field is used as a sort field in lookups |
Help text |
The message displayed when a user enters or maintains the field |
Choose the appropriate options:
To |
Do This |
Add a user field |
Click Add. See step 4. |
Delete this user field |
Click Delete. The field will no longer be displayed on program screens. Important! |
Copy the selected user field |
Click Copy. See Copy. |
Display or change a user field |
Click Select or double-click the line. See step 4. |
Print the list of user fields |
Click Print. See Print. |
Set up transfer parameters |
Click Transfer. See Set User Field Transfer Parameters. |
Specify a different file |
Click OK. See step 1. |
Return to the menu |
Click Exit. |
Enter or change data in these fields:
Field Name |
Type / Max Length |
Action / Description |
||||||||||||||
Seq no |
Required |
Accept the displayed sequence number or enter a different number. User fields display in sequence number order. Note |
||||||||||||||
Field description |
Required |
Enter the screen label to use for this field. |
||||||||||||||
Field type |
Required |
Select the field type:
|
||||||||||||||
Required/Optional |
Required |
Select R if this user field requires an entry or select O if an entry is optional. If you select R, users will not be able to leave the field blank. |
||||||||||||||
Field length |
Conditional |
Enter the length of this user field. If the field type is alphanumeric or numeric, you are required to specify the length of the user field. Maximum field lengths vary, depending on the user field type you have selected:
|
||||||||||||||
Precision |
Conditional |
For a numeric field, enter the number of places to the right of the decimal point that can be entered. The maximum is 8 but precision cannot be greater than the declared field length. For example, if the field length is 6, then 6 is the maximum precision. Leave the field blank or accept 0 to disallow fractional entries in the field. |
||||||||||||||
Table validation? |
Conditional/Optional |
For an alphanumeric field, select if you want to create a list of valid choices that display on a drop-down list or leave blank if you do not. When a table is associated with the field, users can select from a list of valid choices. Note |
||||||||||||||
Lookup sort? |
Conditional |
For an alphanumeric field, select if you want to be able to sort on this field in lookups or leave blank if you do not. When you sort the lookup by this field, only those records with an entry in it are included. Note |
||||||||||||||
Lookup sort key |
Conditional |
If you selected Lookup sort?, enter a sort key. The program uses this determine how to sort records displayed in lookups. The sort key must be unique; the program will not allow you to save one that is not. Hint! |
||||||||||||||
Default value |
Optional |
Enter the value you want to display. This will vary depending on the user field type:
|
||||||||||||||
Help text |
Optional |
Enter a message that the program will display below the field when a user enters or maintains this field. For example, enter a prompt or other help text. |
||||||||||||||
Field active? |
Optional |
Select to activate this field or clear to make this field inactive. |
||||||||||||||
Print field? |
Optional |
Select to print this field label and entry on documents output with the document management system:
|
To |
Do This |
Change a field |
Move the cursor to the field and make changes. |
Accept changes and leave the record displayed |
Click Apply. |
Exit without changing this field |
Click Cancel. |
Change the Seq no field |
Click Change no. Note |
Create choices from which users can select on a drop-down list |
Click Table. See Create a Table of Choices. |
Clear existing data so that the user field can be deleted and re-defined |
Click Reset. The program prompts Reset will clear existing data for this user field. Continue with reset? Click Yes to reset the field or click No to end this action. |
Return to the list of user fields |
Click OK. |
Exit and return to the menu |
Click Quit. |