Cause
The date you have entered in the transaction is posterior to the accounting closing date, that you have entered in the File and accounting properties.
Solution
Correct the transaction date. The date must be included in the initial and final accounting date entered in the File and accounting properties.