Const.PM_DataItemLovUserWhereUseOnce
An application or the framework sends the Const.PM_DataItemLovUserWhereUseOnce message to a data item establishing if the user where clause, defined using Const.PM_DataItemLovUserWhere, should only be run once, upon opening.
Name | Description |
---|---|
wParam | Unused |
lParam | Unused |
Use this message in places where the LOV should only show a initial selection upon opening but not afterwards, when doing additional searching.
switch (e.ActionType) { case Ifs.Fnd.ApplicationForms.Const.PM_DataItemLovUserWhere: e.Handled = true; e.Return = Sal.HStringToNumber("COMPANY_ID = (SELECT &AO.User_Access_API.Get_User_Current_Company_Id FROM Dual)"); break; case Ifs.Fnd.ApplicationForms.Const.PM_DataItemLovUserWhereUseOnce: e.Handled = true; e.Return = true; break; }
Return true if the LOV search should use the where clause defined in PM_DataItemLovUserWhere only once, upon its opening.