d365stuff-chat / posts /update-defaultdimension.md
mafzaal's picture
Sure! Pl
9ed2c7f

30 November 2018 / x++

Update defaultDimension

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.

Here is a revised version, that allows you to update multiple values at once using a Map object:

Michael Stashwick

Michael Stashwick

Read more posts by this author.

Read More