Processing accruals did not occur in all cases

The processing of accruals, where a purchase invoice belongs to a different fiscal year than the fiscal year of the accrual, was incorrectly not performed.