Skip to main content

Notifications

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

how we can restrict the booking if work order is already booked to resource

Posted on by 365

pastedimage1626246902700v1.png

As you can see in the above screenshot work order no 0076 is been book twice, I want it should be booked once only 

  • unbeatable Profile Picture
    unbeatable 365 on at
    RE: how we can restrict the booking if work order is already booked to resource

    can you please show me how to do that

  • Suggested answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: how we can restrict the booking if work order is already booked to resource

    There are several ways:

    1 - Limit the Resource Requirements view at the bottom of the Schedule Board so it does not show the Work Order if its already booked

    2 - Create a plugin to throw an plugin exception to count and check the number of bookings connected to the work order if there is more than 1 booking.

    3 - Create a new field on the work order to hold the number of bookings created. When a booking is created you use a workflow to increment the field by 1 and also throw an error if the number is already 1. (You would have to maintain this field somehow. Such as updating the number if a booking is cancelled or deleted)

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans