|
1 | 1 | --- |
2 | | -title: Troubleshoot booking locks from Resource Scheduling Optimization |
3 | | -description: Resolves issues with bookings in the Resource Scheduling Optimization add-in for Microsoft Dynamics 365 Field Service. |
| 2 | +title: Locked booking is infeasible in Resource Scheduling Optimization |
| 3 | +description: Resolves issues with booking locks in the Resource Scheduling Optimization add-in for Microsoft Dynamics 365 Field Service. |
4 | 4 | ms.author: AnilMur |
5 | 5 | author: anilmur |
6 | 6 | ms.reviewer: mhart |
7 | | -ms.date: 12/19/2024 |
| 7 | +ms.date: 02/04/2025 |
8 | 8 | ms.custom: sap:Resource Scheduling Optimization |
9 | 9 | --- |
10 | | -# Troubleshoot issues with booking locks in Resource Scheduling Optimization |
| 10 | +# Locked booking is infeasible in Resource Scheduling Optimization |
11 | 11 |
|
12 | 12 | This article helps troubleshoot issues with booking locks in the [Resource Scheduling Optimization add-in](/dynamics365/field-service/rso-overview) for Microsoft Dynamics 365 Field Service. |
13 | 13 |
|
14 | 14 | ## Symptoms |
15 | 15 |
|
16 | | -A locked booking can't respect all defined constraints. The optimization request continues, but skips over the identified resources that have violations and displays the following error: |
| 16 | +If a locked booking can't respect all defined constraints, the optimization request continues, but skips over the identified resources that have violations. The following error occurs: |
17 | 17 |
|
18 | 18 | **System failed to optimize some records. Inner error(s): Locked booking is infeasible, reason: `Violation`. Tracing data points: `RequirementId`, `RequirementName`, `BookingId`, `BookingName`, `ScheduledTimeWindow`, `FullTimeWindow`, `ArrivalTime`, `Lock Type`** |
19 | 19 |
|
20 | | -## Resolution |
21 | | - |
22 | | -The tracing data points help you identify what went wrong. Try updating the booking settings to address the violation reason before running Resource Scheduling Optimization again. |
| 20 | +## Cause |
23 | 21 |
|
24 | | -### Violation types |
| 22 | +The tracing data points in the message help you identify what went wrong. The violation types include: |
25 | 23 |
|
26 | | -- The locked booking cannot fulfill the time window filter. |
| 24 | +- The locked booking can't fulfill the time window filter. |
27 | 25 |
|
28 | 26 | - **LockBookingTimeWindowFilter**. Potential scenarios: |
29 | 27 | - Locked booking is outside of resource working hours |
30 | 28 | - Invalid promised time window |
31 | 29 | - Invalid travel time |
32 | 30 |
|
33 | | - - **ResourceBreakTimeWindowFilter**. A locked booking conflicts with a [scheduled break time](set-work-hours-resource.md). |
| 31 | + - **ResourceBreakTimeWindowFilter**. A locked booking conflicts with a [scheduled break time](dynamics365/field-service/set-work-hours-resource). |
34 | 32 |
|
35 | 33 | - The eligibility check failed with constraint. |
36 | 34 |
|
37 | | - - **MeetsRequiredSkills**. A locked booking has an invalid match of the [resource skill characteristics](set-up-characteristics.md). |
| 35 | + - **MeetsRequiredSkills**. A locked booking has an invalid match of the [resource skill characteristics](dynamics365/field-service/set-up-characteristics). |
38 | 36 |
|
39 | 37 | - **MeetsRequiredRoles**. A locked booking has an invalid [resource role match](/training/modules/configure-bookable-resources-urs-dynamics-field-service/). |
40 | 38 |
|
41 | | - - **MeetsResourcePreferences**. A locked booking has an invalid [“must choose from” or “restricted” resource](resource-preferences.md). |
| 39 | + - **MeetsResourcePreferences**. A locked booking has an invalid [“must choose from” or “restricted” resource](dynamics365/field-service/resource-preferences). |
| 40 | + |
| 41 | +## Resolution |
| 42 | + |
| 43 | +Update the booking settings to address the violation reason and then run Resource Scheduling Optimization again. |
0 commit comments