An agreement can have the following statuses: planned, active, negotiated, or closed. The planned status means that the agreement is being entered and can be changed to active whenever it is ready to be used. The closed status is used either when the agreement has expired or when you want to make it invalid.
An agreement can be closed regardless of its present status.
If the agreement is changed to closed, it is considered as invalid and no schedule can be generated from this agreement.