Server side script to verify dropdown field values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2024 11:18 AM
I want to create a server side script to verify whether certain category values like x ,y, z are present in the category field dropdown on the sn_hr_core_case table. How can I achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2024 02:49 PM - edited ‎07-14-2024 02:50 PM
This may or may not work depending on how you interpret the question. Your code only cares about the choices defined at a specific table level, but tables that extend other tables can inherit choices from higher levels of the table hierarchy.
Are you only concerned about choices that are specifically defined at [sn_hr_core_case] table level or also about the ones inherited from [task] table level?
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/