Field Definitions and Result Codes
Field definitions consist of four elements: name, type, length, number of places to the left or right of the decimal point for numeric values. There are two types of field definitions: pre-defined and user-defined. Pre-defined field definitions begin with an underscore character (_) and are provided with the system. An example is "_Clock IN Time."
Result codes define the data that employees can enter into certain pre-defined or custom field definitions. Create as many results as needed for the field. The results available to an employee will be determined by the Result Code Profile.
Field definitions are tied to a result code template, which are added to a form using a control step.
Manage field definitions
- Select Application Setup > Activities Setup > Field Definitions and Result Codes.
-
To
createa field definition, click
Create
. To edita field definition, select it and click Edit
. You cannot edit a pre-defined field definition. To duplicate a field definition, select it and click Edit
. On the Edit page, select Save as a new named entity and enter a new field name for the field definition. To delete a field definition, select it and click Delete
. At the prompt, click Yes. You cannot delete a pre-defined field definition. To activate a field definition , select All or Inactive in the Filter drop-down box. Select the definition and click Activate.
To inactivatea field definition , select All or Active in the Filter drop-down box. Select the definition and click Inactivate. You cannot inactivate a pre-defined field definition.
-
Complete the following fields:
- Field Name: Name used for mapping. Does not appear on the form.
- Data Type ID: Data type of the field; for example, alphanumeric or time.
- Field Length: Number of characters that can be entered in the field.
- Digits: For decimal value fields, number of digits allowed to the right or left of a decimal.
-
Click
Save
.
Result codes
Definition
Result codes define the data that employees can enter into a form.
You can create result codes for pre-defined or user-defined field definitions. For example, for forms with a Scrapped Quantity field, you can add a field for which users can select a result code to explain why material was scrapped.
Result codes are grouped in result code profiles; result code profiles are assigned to activity profiles for employees.
Pre-defined fields for result codes
The Activities system provides the following pre-defined fields for which you can create result codes. Result code fields are optional on activity forms to enhance result information.
- _Completed Quantity Code
- _Reworked Quantity Code
- _Scrapped Quantity Code
For example, for _Scrapped Quantity Code, you may want to create result codes to indicate reasons why material was scrapped.
Create and edit result codes
- Select Application Setup > Activities Setup > Field Definitions and Result Codes.
- Select the field definition for which you are defining a result code.
-
To create a result code, on the create or edit Field Definition page, click Create
. To edit a result code, select it and click Edit
. To delete a result code, select it and click Delete
. At the prompt, click Yes. To activate a result code, select All or Inactive in the Filter drop-down. Select a result code and click Activate.
To inactivate a result code, select All or Active from the Filter drop-down. Select a result code and click Inactivate.
-
In the result code window, enter a unique name and description.
- At data collection devices (for example, the InTouch device) or in the system's user interface, users enter the result code into the form.
-
Click
Save
.
