Hi Guy – i hope you are doing great,
Today i am sharing my experience on one of the problem i have faced recently on Financial reports in D365FO, when we edit the report it opens the designer and shown this error “The Operation could not be completed because the item no longer exists.”
This environment we have created by replicating the data and code based from another environment and after that cloning work all components are working fine except this Financial report thing.
After some research and through search i came to know that we have to refresh the data mart to solve this problem.
These steps are for a sandbox/UAT environment. If you need to reset the data mart in your production environment, contact support.
To rebuild the data mart using the steps found here:
https://mix.office.com/watch/36g9prxvg885
The basic steps are as follows:
- Run PowerShell as Administrator.
- Browse to .\MRInstallDirectory.
For a demo or DEV deployment, this will typically be J:\MROneBox\MRInstallDirectory
For Production or HA deployments, this will typically be J:\MRProcessService\MRInstallDirectory for the BI machine and F:\MRApplicationService\MRInstallDirectory for the AOS.
- In the PowerShell window type the following command to import the MRDeploy.psd1 module: Import-Module .\Server\MRDeploy\MRDeploy.psd1
- You can then run the following command to reset the data mart:
Reset-DatamartIntegration -Reason OTHER -ReasonDetail “Testing reset”
- Stop MR Process Service.
- Answer Yes when prompted in PowerShell to continue.
- Start MR Process Service.