EARS: The system shall keep an order accessible for 13 months from its creation and for 13 months from its first usage while it has an active item, and for 7 days after every item has reached a final status.
Story: As a seller, I want an order to stay retrievable while the customer can still use it, so that I can service the trip and any value it holds.
Acceptance criteria:
-
ONE-406.1: While an order has an active item, the system shall keep the order accessible until 13 months after its creation.
-
ONE-406.2: While an order has an active item and has been used, the system shall keep the order accessible until 13 months after its first usage.
-
ONE-406.3: When every item of an order has become closed or cancelled, the system shall keep the order accessible for 7 more days.
-
ONE-406.4: While an order has an active item, the system shall keep the order accessible.
The resolution defines neither an open item nor first usage. The model reads
an open item as an active one, which depends on a reading of the guide
(ValueReading). The instant of first usage, if any, and the instant
every item reached a final status, if they all have, are inputs.