Used on or in active rotations/templates until date logic
When you inactivate a rotation or a shift from a specific date, the Used on or in active rotations/templates until value is also updated. This value shows the last day the shift was active before the earliest inactivation date. Consider these rules when you are monitoring the last day of shift activity before the earliest inactivation date:
- When a rotation or a row is in Draft status, it is not considered in the calculation.
- If the row is active with no inactivation date, the Used on or in active rotations/templates until value is the same as the Effective End Date.
- When you specify an inactivation date, the Used on or in active rotations/templates until value is recalculated based on the earliest inactivation date. For example, a rotation is active until 01/01/3000 but the inactivation date is on 12/01/2025. Then, the Used on or in active rotations/templates until value is 30/11/2025.
- When a rotation row has multiple active versions and no inactive version, the days that are effectively covered by the newer versions of the rotations are not considered in calculation. The Used on or in active rotations/templates until value only shows the outcome of the rotation row after the newest version of the rotation is activated.
For example, there are two versions of a shift. Version 1 is active from 07/21/2025-01/01/3000 while Version 2 is active from 07/23/2025-01/01/3000. Version 2 of the shift overrides Version 1 starting from 07/23/2025. As a result, the Used on or in active rotations/templates until value of Version 1 is on 07/22/2025.
Another example is if there is an inactive version of a shift:- Version 1 is active from 07/21/2025-01/01/3000.
- Version 2 is active from 09/01/2025-01/01/3000.
- Version 3 is active from 12/01/2025-01/01/3000.
- Version 4's effective date is 01/01/2026-01/01/3000 but is currently inactive..
- Version 1: 08/31/2025
- Version 2: 11/30/2025
- Version 3: 12/30/2025
When multiple versions of a shift exists, the newer version overrides the older version starting from its activation date.