PM_DataItemLovUserReturnKeyName

Const.PM_DataItemLovUserReturnKeyName

The framework sends the Const.PM_DataItemLovUserReturnKeyName message to a data item in order to retrieve a custom key name for which value should be returned.

Parameters

Name Description
wParam Unused
lParam Unused

Comments

By default, the framework will use the column name in the LOV reference tha is the first key column.
LOV references having a limited (or incorrect) view comment definition, might still be used due to letting the client compensate for the missing meta data, defining the proper name to be used for the return value.

Example

switch (e.ActionType)
{
   case Ifs.Fnd.ApplicationForms.Const.PM_DataItemLovUserReturnKeyName:
   e.Handled = true;
   e.Return = Sal.HStringToNumber("PERIOD_START");
   return;
}

Returns

Return the column name if the reference should use a custom column name for returning its value.