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
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
Hello Etienne,
Do you try building something that is called 'derived dimensions' in D365FO?
Best regards,
Ludwig
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
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.
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
Hi Etienne,
Are you using AX or F&O?
There is an OOB feature showing all/valid, please check it out.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156