Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Retrieve all dimensions required by name from MainAccount

(0) ShareShare
ReportReport
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
    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
    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
    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
    11,723 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
    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
    22,319 Moderator 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans