|
Test Plan:
As F&B Group Admin:
Go to End Year Close.
Be sure you have closed the following years: 2011, 2012, 2013, 2014 and 2015.
Be sure you have opened the following years: 2016, 2017, 2018, 2019 and 2020.
Test case A: Filtering dates that belongs to a closed year.
Go to Trial Balance Report and select dates in a closed year, for example in 2014:
From: 05/03/2014
To: 05/11/2014
Execute the report.
If you debug the launched query is now filtering all FACT_ACCT starting from 01-01-2014.
Test case B: Filtering dates that belongs to a closed and an open year.
Go to Trial Balance Report and select the FROM date in a closed year and a TO date in an open year, for example:
From: 05/03/2013
To: 05/11/2015
Execute the report.
If you debug the launched query is now filtering all FACT_ACCT starting from 01-01-2013.
Test case C1: Filtering dates that belongs to an open year.
Go to Trial Balance Report and select dates in an open year, for example in 2017:
From: 05/03/2017
To: 05/11/2019
Execute the report.
If you debug the launched query is now filtering all FACT_ACCT starting from 01-01-2016. In fact it is the first open year after 2015 that is the last closed year. Previous closed years than 2016 are not taken into account.
Test case C2: Filtering dates that belongs to an open year.
Go to End year and close 2016, 2017 and 2018 years.
Go to Trial Balance Report and select dates in an open year, for example in 2019:
From: 05/03/2019
To: 05/11/2019
Execute the report.
If you debug the launched query is now filtering all FACT_ACCT starting from 01-01-2019. In fact it is the first open year after 2018 that is the last closed year. Previous closed years than 2019 are not taken into account. |
|