Correct Use of LOV [message #675479] |
Tue, 02 April 2019 04:06 |
|
drosso
Messages: 2 Registered: April 2019
|
Junior Member |
|
|
Hi,
I'm new to APEX and I'm trying to understand the correct usage of a LOV Item; in my use cases I often have fields that are made of a code and a description: the description is shown on the form whilst the code remains beneath the scene and must be used when the record is saved to DB.
At the moment, for all these fields I'm using LOV items, where the description is the display value and the code the return value: I thought that referencing the item when saving to DB would allow me to access the code (i.e. the return value of the LOV) but it seems that the description (i.e. the display value) is always given.
Am I doing something wrong ? Should I use a different kind of item in this case ?
Thank you.
|
|
|