- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2019 04:54 AM
After clicking add to time sheet from the task list, an entry is created. The project time category drop down is not required and defaults to None when the time card is saved. Looking to make that drop down mandatory. Please advise. thanks
Solved! Go to Solution.
- Labels:
-
Time Card Management
- 2,198 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2019 05:16 AM
I have implemented a solution although a bit of a hack. The time sheet portal doesn't appear to adhere to the dictionary configurations for a property to be mandatory. In the save function in the time card main container widget, I added an explicit check for a value in the field in the record coming into the function. Threw an alert and return false if validation failed. Thanks Andrew for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 03:15 AM
Hello Ken,
i kind of needed the same solution could you paste your code of how did you edit the widget i am not able to find a solution for this.
Thanks in advanced
Maitri Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 08:59 AM
Please consider upvoting the idea submitted in community.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 08:59 AM
If anyone else is interested in this :
Please consider upvoting the idea submitted in community.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 02:33 PM
Found a pretty straight-forward solution for this. Try a data policy on time_card table. Condition: State = Submitted (OR State = Approved (if auto-approving timesheets)) AND Category is Project/Project Task.
Data policy rule on project_time_category = mandatory.
This should work in time sheet portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2024 10:11 PM
Hi @GregF2
Thank you for your solution. I have implemented this data policy, when trying to submit a time card without notes the data policy is triggered and an alert pops up that the field is mandatory. However, after completing the mandatory field and then trying to re submit there is some issue. Not able to submit as the same alert pops up even if the mandatory field has been completed. Can you assist please?