web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Changing defaultdimension

(0) ShareShare
ReportReport
Posted on by 570

Hi,

my little method changes some financial dimension on a default dimension and as result I get a new default dimension (using DimensionAttributeValueSetStorage.save())

If I have a look to the defaultdimension just updated I can see all the financial dimensions I expect, to check them I do the following :

DimensionAttributeValueSetStorage dimStorage;
int i;
dimStorage = DimensionAttributeValueSetStorage::find(52565555301 );

for (i=1 ; i<= dimStorage.elements() ; i++)
{
info(DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name +"----" +dimStorage.getDisplayValueByIndex(i));
}

If I save this new  default dimension in a PurchLine and then shown the financial dimension tab, I miss some financial Dimensions, not all I expect are shown.

Any idea?

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at

    Hi Pix,

    You need to provide some more information. How many dimensions are you using? Do you have some entity backed dimensions setup? Did you include values from different legal entities?

  • Suggested answer
    jasman Profile Picture
    1,413 on at

    Examine the company accounts/currently chosen legal entity for what account structures are active.

    Do the account structures allow for use of all the dimension attributes that you expect to be shown.
    If not they are of course not shown.

  • PIX Profile Picture
    570 on at

    Hi André,

    the dimensions are Project, Cost Center, Vendor and 1 dimensionfinancialTag.

    I cannot see the vendor one even It exists as financial dimension in the target company

    What I did is release a Purchase order from purchase requisition overriding some of the financial dimension. The really strange thing is that I can see the vendor in the purchtable header form but not in the line, even if both default dimensions (header and line) include it. Which Kind of issue is it? Hierachies? dimensions index or what else?

  • jasman Profile Picture
    1,413 on at

    I notice that you use the phrase "target company".

    Are you working with an IC-chain ?

    If so does the Vendor that you are missing exists in the target company ?

  • Verified answer
    PIX Profile Picture
    570 on at

    I've solved: for all  financial dimensions at company level,  I had recreated the dimension set value in the target company and it works!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans