In D365FO there has been added a lot more validations when trying to remove an account structure from a ledger. These validations makes it next to impossible to replace and existing account structure in a company that is live. Validations on uncommitted tax and source documents means that we have to delete all lines on Purchase orders that post to an account in the structure you want to replace. For a company that is live, it is not a viable solution. It should be possible to add a replace function to account structure and revalidate/update existing source documents and uncommitted tax, and other places that would stop a removal of an existing account structure. At the very least it should be possible to read from the warning/stop message what records are causing the stop.
Comments
We faced the same issue and unfortunately, could not identify the Job or fix the issue. Support suggested to delete all open transactions, which is not possible since many transactions have been approved through workflow.From system documentation, https://learn.microsoft.com/en-us/dynamics365/finance/general-ledger/configure-ledger It will take a few minutes for the account structures to be added and saved. When the changed account structure is saved to the ledger, the process to synchronize all the unposted transactions will begin. You must wait until the change is completed for the current ledger in the legal entity where the change is being made before you can make an account structure change for a ledger in another legal entity. Note that the account structures that you select must be active. Otherwise, the details of the account structures won't be effective in the legal entities where they are linked. Account structure activationWhen you are satisfied with your new setup or a change to an account structure, you must activate it. If an account structure is assigned to a ledger, this activation can be a long running process, as all unposted transactions in the system must be synced to the new structure. Posted transactions are not impacted by account structure changes.
Category: General Ledger
Yes, please!!!
Category: General Ledger