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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Add Segmented Entry to Form

(0) ShareShare
ReportReport
Posted on by

Hello all,

my goal is to add a Segmented Entry to a form, where the user can choose an Account. The field behind is on a custom table. You can see the table and the field properties in the attached picture.

I used this link as reference for my goal:

https://msdn.microsoft.com/en-us/library/hh300644.aspx 

Here are the tables and properties:

0083.screenshot1.png

My first problem is, that i can't override the method "resolveReference" on my custom field (i added it as new method so far).

3716.screenshot2.PNG

The second problem is (mabye it is caused from the first problem, but i think not), that when i open the form, the field is already filled, without an entry on my table!

1205.screenshot3.PNG

The steps i have done so far:

1. Create Table "MDISAutoSettlementTmp"

2. Add two field and define properties

3. Add the new table to Form Datasources

4. Follow the steps  on the posted link above 

Thanks in advance for your help!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Try to just create resolveReference method yourself, if there is no override option, to see if it works.

    You can take a look also some of the bloggers' posts on this for reference, other than MSDN:

    https://dynamicsaxgyan.wordpress.com/2011/11/11/segmented-entry-control-to-a-form-in-dynamics-ax-2012-ledger-dimension-x/

  • Community Member Profile Picture
    on at

    Thank you for your help. I added it without override already. I will check the link in a few minutes.

  • Vilmos Kintera Profile Picture
    46,149 on at

    Double-check the Extended Data Type of the Field which you have created.

  • Community Member Profile Picture
    on at

    You are right, the EDT have to be "LedgerDimensionAccount" now i can use the segmented entry without that ax will crash.

    But the second problem, that the segmented entry is filled without an entry on my table still exists.

  • Community Member Profile Picture
    on at

    OK now i got it! In the form was already a "ledgerDimensionAccountController" and this was responsible for the "default Value".

    Thanks

    PS: I choose the your answer with the link as suggested answer, because this link give me the rigth way/focus.

  • Vilmos Kintera Profile Picture
    46,149 on at

    No worries, glad I could be of help!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans