MAINTAIN LIST OF VALUES BY TABLE#
The Maintain List of Values by Table (IMLOV) form is used maintain the List of Values (LOV’s) by specific tables within the application.
The definition data for the Maintain List of Values by Table screen is stored in the P2K_AM_LIST_OF_VALUES, P2K_AM_LIST_OF_VALUES_COLUMNS and P2K_AM_DATA_ACCESS_OBJECTS tables.
- List of Values
- This field will provide the name of the list of values being defined.
- Title
- This field provides the title of the LOV which will appear at the top of the LOV box.
- Usage
- This field will indicate if the LOV is Pre-loaded (McKessonHigh Line provided), User Defined or Obsolete.
- Where Clause
- The Where Clause corresponds to an SQL statement and dictates how the data in the LOV can be filtered.
The drop down menu for this field displays all the Where Clauses defined in the Main
For example, suppose you have created an LOV that will provide a list of positions, however, you would like to see only those positions in the Finance department. You would indicate here that the retrieved data be restricted to the Finance department.
- To Replace
-
- LOV Title (FRE)
- If the form is to be displayed in a second language, this field allows you to provide an alternate language name for the LOV. (On the example screen, the second language is identified as French, ‘Prompt (FRE)’.)
- Purpose
- This field provides a quick description of the data source. Non-updatable
- Exclude from CACHE
- #
- The sequence number indicates the order in which the columns in the LOV box will appear.
- Column
- Use this field to indicate the information to go into the columns. You will make your choice from the selection provided in the drop down menu.
The information in this field will be derived from the data source.
- Display As
- This field allows you to give a title to the column in the LOV box.
- Width
- This field indicates the width of the column in the LOV box.
- Sort Order
-
- Usage
- This field will indicate if the LOV is Pre-loaded (McKessonHigh Line provided), User
Defined or Obsolete.
- Column Title (FRE)
- If the form is to be displayed in a second language, this field allows you to provide an alternate language name for the column. (On the example screen, the second language is identified as French, ‘Prompt (FRE)’.)
Whenever you update an LOV, the information needs to be loaded into the system. If you do not load the information, the LOV will not reflect the changes until the system has been restarted.
- Physical Column Name
- Clear LOV
- This field clears the old information provided in the LOV. The new information will not be reloaded until the first time a user accesses the LOV. This may cause a time delay for that user.
- Load LOV
- This field will loads new information into the LOV. This means that the first user who
accesses the new LOV will not experience a time delay.
You can use this button to test the system and see if the information loads properly and in a timely manner.