28.2.7 Using Validation Screen

In the C/Books, there are fields that must be validated against another file. For example, when entering purchase orders, you must enter a valid vendor code into the Vendor field. If you enter a vendor code not in the Vendor master file, the error message, "Not valid", is displayed and the cursor remains in the Vendor field. As an aid in finding valid entries, when a field is validated against another file, a validation screen is provided to search the validating file. For example, in the Purchase Orders data entry form header screen below, the field Vendor is validated against the vendor master file. To display a validation screen. position the cursor in the validated field as shown below.

oeiphelp00000006.gif

Press the GOLD <F1> key and then type the letter V. This displays the validation screen associated with the validated field. In this case, a screen similar to the one shown below is displayed.

oeiphelp00000006.gif

The query and find functions can be used to find the desired record. In this case, the vendor we are looking for is "Heirloom Furniture". After the vendor is found, the display looks as shown below:

oeiphelp00000006.gif

Press the GOLD <F1> key and type the letter E to redisplay the original screen. In this case, the Purchase Orders header screen is redisplayed.

oeiphelp00000006.gif

Notice that the correct vendor number has been copied from the validation screen and that the vendor name and phone number from the vendor master are now displayed. This feature works the same for all validated fields of all C/Books data entry forms.