Instead of rule writing ,you can use database copy functionality directly from hfm workspace.
I believe that your issue is the periodic member...
Can you run the same rule without the view member?
Thank you for your answers.
Actually it's working fine but it seems that before running the rules I have to initiate the data. Because there was no data, when I run the calculation it doesn't calculate anything but if I put a 0, submit and then run again the calculation it works.
if you run "consolidate all" instead of "consolidate all with data" or "consolidate" than it works without the zero.
You may want to add an impactstatus flag so that when budget is consolidated (Run a consolidate all w/data in the budget for the first time) it will mark the entities with data in the budget as CH in the Forecast_1 scenario. That would prevent the need to run a consolidate all which can cause performance issues down the line depending on your setup.