These scenarios can be used to verify the business logic.
- If a line has an empty end date but has auto renew, it indicates it would be auto-renewed when the payment plan gets auto-renewed.
- If a line has an end date and also has auto renew, it indicates it has already been auto-renewed. In the usual workflow, this would indicate that the payment plan has also been auto-renewed.
TODO: to what extend are these scenario compatible with non-instalment payment plans?
start date | end date | auto renew | scenario |
---|
payment plan start date | N/A | yes | - the line is in the current period
- the line is to be renewed in the next period
|
payment plan start date | larger than the payment plan end date | yes | - the line is in the current period
- the line has been renewed in the next period
|
payment plan start date | N/A | no | - the line is in the current period
- the line won't be renewed in the next period
|
payment plan start date | smaller than payment plan end date | no | - the line has been removed from the current period and won't be renewed
|
N/A | N/A | yes | - the line isn't in the current period
- the line was added in for the next period
- the line is to be renewed in the next period
|
N/A | larger than the payment plan end date | yes | - the line isn't in the current period
- the line was added in for the next period
- the line has been renewed in the next period
|
N/A | N/A | no | - the line isn't in the current period
- the line was added in for the next period
- the line won't be renewed in the next period
|