Skip to main content

Notifications

Announcements

No record found.

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

  • Vilmos Kintera Profile Picture
    46,149 on at
    RE: Add Segmented Entry to Form

    No worries, glad I could be of help!

  • Community Member Profile Picture
    on at
    RE: Add Segmented Entry to Form

    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.

  • Community Member Profile Picture
    on at
    RE: Add Segmented Entry to Form

    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.

  • Vilmos Kintera Profile Picture
    46,149 on at
    RE: Add Segmented Entry to Form

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

  • Community Member Profile Picture
    on at
    RE: Add Segmented Entry to Form

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

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Add Segmented Entry to Form

    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/

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 Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans