Scheduling by time operation
When a scheduling is associated to an inspection, the expiry date of the test is calculated in the following way:
If the inspection has never been done: the expiry date is the date of the creation of the inspection.
if the inspection result is completed and there is already an existing expiry date, the following cases could verify.
Defining:
the current date as the date of the test
first recurring date as the first occurrence date according to scheduling
second recurring date as the second occurrence date according to scheduling
interval_1 = (first recurring date) – (current date)
interval_2 = (second recurring date) - (first recurring date)
the two cases are:
interval_1 < 50% of interval_2, the new expiry date is set to second recurring date
interval_1 => 50% of interval_2, the new expiry date is set to first recurring date
In the following table, some other examples of how the scheduling works.
Scheduling frequency | Last result date | Expiry date |
Yearly: on 7 May | 5 May 2018 | 7 May 2019 |
7 May 2018 | 7 May 2019 | |
9 May 2018 | 7 May 2019 | |
Monthly: every 1 month on day 7 | 5 May | 7 June |
7 May | 7 June | |
9 May | 7 June | |
30 May | 7 July | |
1 June | 7 July | |
Weekly: every 1 week on Monday and Thursday | Sunday 2 | Monday 6 |
Monday 3 | Thursday 17 | |
Tuesday 4 | Thursday 17 | |
Thursday 6 | Monday 17 | |
Friday 7 | Monday 17 | |
Weekly: every 3 week on Monday and Thursday | Sunday 2 | Monday 17 |
Monday 3 | Monday 24 | |
Tuesday 4 | Monday 24 | |
Thursday 6 | Monday 24 | |
Friday 7 | Monday 24 |
If a scheduling is linked to a working calendar, the Expiry date of the inspection is calculated considering the working and non-working days set in the calendar.
The scheduling linked to a By part inspection is not affected by NOK results. The new expiry date is calculated starting from the execution date.