Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Retrieve all dimensions required by name from MainAccount

Posted on by 15

I'm relatively new in AX coding and I would like to retrieve all dimensions name required when you entrer the MainAccount in the segmented entry control.

Can someone show me how to do that.

Thanks in advence,

Etienne

  • Etienne_Delcour Profile Picture
    Etienne_Delcour 15 on at
    RE: Retrieve all dimensions required by name from MainAccount

    Yes Ludwig it's exactly what I'm looking for but I presume that fonctionnality is only available in D365.

    I'm working in AX2012 R3.

    Anyway, I'm still interrested in having the code to retrieve all dimensions from a main account.

    Thanks in advance.

    Etienne

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Retrieve all dimensions required by name from MainAccount

    Hello Etienne,

    Do you try building something that is called 'derived dimensions' in D365FO?

    www.loganconsulting.com/.../

    Best regards,

    Ludwig

  • Etienne_Delcour Profile Picture
    Etienne_Delcour 15 on at
    RE: Retrieve all dimensions required by name from MainAccount

    I’m working in AX2012 R3.

     

    In the Segmented Entry control, I want to fill in a segment based on what was introduced in an other segment. I have no problem to do that but according to the MainAccount introduced I need to know all the dimensions required by that MainAccount.

     

    So I want to have the code to get all dimensions based on the MainAccount.

     

    I intend to modify the method « segmentValueChanged Â» from the Class « LedgerDimensionAccountController Â» to do the job.

     

    Thanks in advance

     

    Etienne

  • SouravDam Profile Picture
    SouravDam 11,721 on at
    RE: Retrieve all dimensions required by name from MainAccount

    Hello Etienne_Delcour,

    If you kindly elaborate, would be appreciated.

    If the idea is to capture what are those dimension values linked with a main account, then you can simply get this information from account structure form itself. I am not sure whether AX2012 will give that much feasibility to generate the account structure in excel or not.

    Question is; why this is required? Do the user themselves are not fully 'aware' about their account structure and how it's validating in ERP?

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Retrieve all dimensions required by name from MainAccount

    Hi Etienne,

    Are you working with AX2012 or D365FO?

    Can you also let us know for what purpose you need those dimensions retrieved?

    Many thanks,

    Ludwig

  • MATTGUO Profile Picture
    MATTGUO 22,306 on at
    RE: Retrieve all dimensions required by name from MainAccount

    Hi Etienne,

    Are you using AX or F&O?

    There is an OOB feature showing all/valid, please check it out.

    pastedimage1591666090817v1.png

    pastedimage1591666119094v2.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans