When second SUPPLY agreement sets the validTo value for the previous SUPPLY agreement and when you delete this second SUPPLY agreement, then the fist SUPPLY agreement is not restored to original validTo date.
Steps
Create new MP and GRID agreement
Create first SUPPLY agreement with same dates as GRID agreement
Create new SUPPLY agreement with different OS so, that it starts somewhere in the future
Observe, that first SUPPLY agreement is correctly ended and validTo date is set
Now delete the second SUPPLY agreement
Expected result nr 1 - first SUPPLY agreement is restored to original validTo date
Actual result - not restored:
Expected result nr 2 - OS of the first SUPPLY agreement gets DD notification about restoration of the first SUPPLY agreement
Actual result - OS nr 1 gets DD notification about delete of second SUPPLY agreement:
Summary
When second SUPPLY agreement sets the validTo value for the previous SUPPLY agreement and when you delete this second SUPPLY agreement, then the fist SUPPLY agreement is not restored to original validTo date.
Steps