Hi experts,
I am having a custom table with name field. I want to list those employees when i select contractors in hcmworkerlookup . How to achieve it so.
*This post is locked for comments
Hi experts,
I am having a custom table with name field. I want to list those employees when i select contractors in hcmworkerlookup . How to achieve it so.
*This post is locked for comments
Thank u guys, logic working as expected , I try duplicating the existing scenario and in the hcmworkerlookup class > update query method.
Hi Andre,
Please find the below image,
When i select the contractor , it should display my worker list in the List .The table has the referenceId of the hcmworker field.
The above employee lookup should be form specific.
Thanks,
Kavitha
Hi Kavitha,
Can you explain the full functional requirement? Then we might be able to do better suggestions for you.
I think your data model needs more attention. You should some kind of a link field between the tables, instead of using a name as a key / relation. Names are not unique.
Hi Andre,
The new table i have created not having relation with the contractors.I have only name field alone in the table.when i select the contractors it should list the name field values which i used in the new table.
Hi Kavitha,
Can't you filter your workers by that new field?
If you can, you might simply save the filter and share it with your colleagues.
When they open the workers they can simply apply the filter that you saved and shared.
Best regards,
Ludwig
Hi Kavitha,
Can you confirm if the new table should have a reference to a contractor? The short description is not fully clear to me. Instead of a name field, you can better use the record-ID reference which is used across the standard application. What exactly do you mean with "list those employees when I select...". Is it just a lookup of all contractors or does the data in the lookup needs to get filtered based on the contractors setup in the custom table?
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156