Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Want to stop resource from getting booked if has time off request

Posted on by 814

I need to stop the scheduling of a resource if he has approved time of request in that time. Please let me know How I can do it. I want that when we are dragging work order on schedule board and try making a booking, we should not be able to book him on schedule board on his timeoff request period, right now I am able to do his booking even when he has time off request approved.

Any help?

Thanks

  • Suggested answer
    Al Iggs Profile Picture
    Al Iggs on at
    RE: Want to stop resource from getting booked if has time off request

    The idea behind the schedule board is that the dispatcher always has the absolute power, i.e. can even book a resource during time-off.

    The only way to avoid this is creating booking rule, which will be considered by drag and drop and the Schedule Assistant. The rule can then present a warning or prevent the creation/update of the booking.

    Checking the work hours of a resource in your rule's code might be a bigger development effort, what you might want to consider is reflecting the time-off with a separate (dummy) booking. This (1) makes it easier for a dispatcher to distinguish between regular non-working hours and time-off and (2) will likely be easier to check in your booking rule.

    Documentation can be found at docs.microsoft.com/.../set-up-booking-rules and if you do a search in this forum you might also find code samples.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans