This has been sitting in a txt file on my desktop for years. I don't remember when it came about, but I put this in a helper class everywhere I go. Inevitably, a supply chain or financial someone isn't going to be happy with the financial dimensions they've been given. This is how you can make those people happy. I recommend making a constant [class] to handle your dimension names.
![](https://www.d365stuff.co/content/images/2018/11/image-12.png)
Here is a revised version, that allows you to update multiple values at once using a Map object:
![](https://www.d365stuff.co/content/images/2018/11/image-13.png)