SysFormEnumComboBox formEnumComboBox; Set selectedvalues; public void init() { selectedvalues = new Set(Types::Enum); selectedvalues.add(WrkCtrType::Personnel); selectedvalues.add(WrkCtrType::Vendor); formEnumComboBox = SysFormEnumComboBox::newParameters(element, element.controlId(formControlStr(XYZ_ResourceList, XYZ_WrkCtrTable_WrkCtrType)),enumNum(WrkCtrType), selectedvalues); }
I am attaching above code.
I am filtering the Enum value of unbound control from this code which is working fine. but When I am using this code for bounded control it's not working.
Kindly guide me.
Thanks
Hi Muzdalfa,
Have you tried overriding the enter method of that control and delete the Enum elements at runtime?
Try doing that and check.
Refer to the below link.
https://www.schweda.net/blog_d365.php?bid=674&wdl=en
Thanks,
Girish S.
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156