Hello Community,
Creating a msdyn_timeoffrequest adds a grayed out area the scheduling board, deleing the same msdyn_timeoffrequest wont remove it.
Does anyone know how to remove the gray are programmatically?
Dynamics 365 Online 9.x
Hello Community,
Creating a msdyn_timeoffrequest adds a grayed out area the scheduling board, deleing the same msdyn_timeoffrequest wont remove it.
Does anyone know how to remove the gray are programmatically?
Dynamics 365 Online 9.x
The timeoff request simply adjusts the resource's working hours, i.e. it sets the respective period to "not working". This will not be undone if you delete the request. Especially if you had overlapping requests, we would need to keep an audit trail to be able to un-do. If you want to remove the non-working hours, simply set the period to "working" again, this should also be doable through the API.
Hello Ross,
Did you check also work hours of resources?
Regards,
Shayan
Resource Type: User
I have no issue deleting msdyn_timeoffrequests.
Creating a msdyn_timeoffrequest will occupy a time slot on the calendar(grayed out), that time slot will still be occupied after said msdyn_timeoffrequest is deleted.
Is there a way to delete the gray part based on the msdyn_timeoffrequest?
Hi Ross Ben,
Can you post a screenshot of the greyed out area of the scheduling board?
You can delete a msdyn_timeoffrequest record programmatically by using the DeleteRequest, Delete, or the below Web API Operation.
DELETE [org URI]/api/data/v9.0/msdyn_timeoffrequests(msdyn_timeoffrequestid)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156