EARS: The system shall treat DELIVERED, REMOVED, EXPIRED, NOT CLAIMED and FAILED TO DELIVER as final delivery statuses, which no event leaves.
Story: As a revenue accountant, I want a service's final delivery status never to change, so that what accounting was told about the service stays true.
Acceptance criteria:
-
ONE-103.1: If a service is DELIVERED, REMOVED, EXPIRED, NOT CLAIMED or FAILED TO DELIVER, then the system shall refuse every event for its delivery status.
-
ONE-103.2: The system shall let every service that is not in a final delivery status reach one through some sequence of events.
-
ONE-103.3: While an order is closed, the system shall refuse every event for the delivery status of its services.
-
ONE-103.4: When every service of an order is in a final delivery status, the system shall mark the order closed.
These are the five statuses the accounting message names as final. UNABLE TO DELIVER is not among them, and the sources do not say whether it is final.