Jira code: AN-77
In order to include all previous payments, credits etc. for a client that exists within the date range of that statement.
Solution
We have to generate the customer Statements by checking the “SHOW ONLY OPEN TRANSACTIONS” field on the Generate Statement Page. Check this box to include only open transactions on statements. So the statement will include only the invoice, payment and credit with status ‘open’.
In some account, the field may be checked by default due to the SHOW ONLY OPEN TRANSACTIONS ON STATEMENTS preference is enabled on the Accounting Preference.
Setup->Accounting Preference->Show only open transactions on statements.
If you disable this feature then “SHOW ONLY OPEN TRANSACTIONS” field will not be checked by default.