Applies to Product - Dynamics 365 Project Operations
What’s happening?
When attempting to cancel a project invoice, an error occurs stating that the posting period is closed, despite the calendars being open for the relevant legal entity. This is the Brazil localization feature in question: Cancel a customer fiscal document (project) (Brazil) - Finance | Dynamics 365 | Microsoft Learn
What’s happening?
When attempting to cancel a project invoice, an error occurs stating that the posting period is closed, despite the calendars being open for the relevant legal entity. This is the Brazil localization feature in question: Cancel a customer fiscal document (project) (Brazil) - Finance | Dynamics 365 | Microsoft Learn
Reason:
This arises due to a validation in the system that incorrectly interprets the period as closed. This is happening when other companies have fiscal periods on hold that appear higher in the FiscalCalendarPeriod table, because the fiscal period validation query does not filter for legal entity.
Resolution:
This was fixed in D365 Finance version 10.0.44 and backported to quality update for version 10.0.43 with build number 10.0.2177.90. Here you can find more information: Details for issue 983092
In case the upgrade to above versions is not planned to be done in next days, the following temporarily workaround can be used:
- Verify that periods are open for the relevant legal entity and for legal entities that appears before in the ledger period list by going to General ledger> Ledger setup> Ledger> Ledger calendars button> Legal entities window.
- In case there is one period in on hold status, open the period temporarily to allow the invoice cancellation to be processed
- Then put the period back on hold.
