Previous  Next          Contents  Index  Navigation  Glossary  Library

Special Validation Events

You specify the event at which your special validation routine should fire. Valid events include:

The following events are present in Oracle Applications for compatibility with future versions, and you should not use them.

You may have only one of each type of event. Usually, you use special validation to call an existing key flexfield, and you should usually define one of each type of event. However, you should not define a Load event if you do not use either an ID field (a field that contains the code combination ID number) or a data field (a field that contains the hidden ID numbers corresponding to the values of value sets that use hidden ID columns).

Edit

Calls your special validation routine when your user's cursor enters the segment in a data entry mode. You usually use POPID(R) for your Edit event.

Load

Calls your special validation routine immediately after a query to populate your segment. You usually use LOADID(R) for your Load event.

The user exit you define for Load obtains a value and description based on a stored hidden ID, and fires when your user queries data into the flexfield segment. You should define a Load event if and only if you use a hidden ID. If you have a Load event, you must have a non-null ID field (a field that contains the code combination ID number) or data field (a field that contains the hidden ID numbers corresponding to the values of a value set that uses a hidden ID column). If you have a Load event, you must use :!ID (described below) with either an ID field or data field. Your user exit passes the contents of :!ID to your report or flexfield instead of the contents of :!VALUE (described below).

Validate

Calls your special validation routine whenever the user's cursor leaves the segment or closes the pop-up window, or whenever a default value is copied into the segment or report parameter. The Validate event also fires after a query to generate value descriptions for queried values. You usually use VALID(R) for your Validate event.

You must have a Validate event.


         Previous  Next          Contents  Index  Navigation  Glossary  Library