Code Fields Page of the New Code File Wizard

Use this page to assign code files to the code file that you are creating (code on code). This is particularly useful in creating reports.

Note: You can define a maximum of nine code files. Assigning code files to a code file is optional.

Codes

Field Description
Number This field displays the numbers of the code fields in the code file that you are creating.
Prompt Use this field to assign a label that Cobra will use as a prompt for the code field. This prompt appears as a column header in all the grids where it is used. You must enter a label in this field if you selected Code (optional), Code (required), Text, or User Field in the Code Field Type field.
Code Field Type Use this field to select the code field type.

Your options are:

  • <none>: Select this option if you do not want to assign code files to the code file that you are creating.
  • Code (optional): Select this option to choose a valid code assignment from the code file specified in the Code File column or to leave the code assignments blank. Codes assignments may be left blank. However, when assigning codes, Cobra will validate that the assigned codes exist in the code file.
  • Code (required): Select this option to require that a valid code assignment be selected from the code file specified in the Code File column. When assigning codes, Cobra will validate if the assigned codes exist in the code file. This option only allows you to assign valid codes from a code file and does not allow blank code assignments. Cobra does not validate existing assignments until individual records are selected. Previously blank or invalid assignments will not be updated automatically.
  • Text: Select this option to enter any text in the code field.
  • User Field: Select this option to choose a user for the code field from the list of users defined in the EPM Security Administrator.
Code File Use this column to assign code files to the code file that you are creating. Click to open the Code File Lookup dialog box, where you can select the code file that you want to use. You can only select a code file in this field if you selected the Code (optional) or Code (required) option in the Code Field Type field.
Note: You can modify the code field assignments afterwards on the Code Fields tab of the Code File Properties dialog box.