Statements "group by" config is failing
Overview
While downloading statements from a Journal with configuration of group statements by month I notice two statements were created from the same month, when only one was expected.
To replicate this error
-
Add a Xunnel Token to an instance with xunnel account and download the accounts associated to this token.
-
Create a Journal with
Type = Bank
andBank Feeds = Automated Bank Synchronization
. -
Associate this journal to an account previously downloaded with Xunnel.
-
Return to the brand new journal and set
Synchronization Frequency = Create monthly statements
. -
Go to the Accounting dashboard and select the journal you just create, change the
Xunnel synchronization date
to the 15th of the current month (for example), then press theSynchronize now
link in the journal kanban. -
Change again the
Xunnel synchronization date
to the 1st of the current month (for example), and then press theSynchronize now
link in the journal kanban. -
check the statements of the journal, you'll see two statements from the current month when only one was expected.
Expected behavior
After sync the journal (with Synchronization Frequency = Create monthly statements
) more than once in the same month and with the Xunnel synchronization date
from the same month every one of these times the result should be only one statement per month.