Skip to main content

Notifications

Announcements

No record found.

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

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

(0) ShareShare
ReportReport
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

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans