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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Display Methods in Dynamics AX

(0) ShareShare
ReportReport
Posted on by 630

Hi fellows, I've been searching for information about "display methods", although there's info in MSDN I have several doubts about it:

1.  I want to add a display method in the form, so I added a text control to show on it something, do I have to create the display method in the textcontrol or in the method of the form?

If you have an example step by step where I can see how is a method made and the place where it's made I would appreciate it. What I want to do is to show in that display method the sum of the amounts of a table of transaction.

Thanks a lot

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    I believe , you are trying to display sum of amount of transactions.

    1. Go to table --> methods node and write a display method to calculate sum of amount of transactions.

    2. Create a field group named Total amount on table and drop display method created in step 1 in this field group.

    3. Go to form , right click and restore it.

    4. Drill down Form in AOT , you will see that field group in Data sources node --> Table-->Field-->See field groups.

    5. Drag and drop field group to form design at required place. Check labels, data source etc. in control properties.

    6. Open the form and you will see total amount of transactions!

    Hope it helps!

  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    You can place your display method in a table, form data source or directly on a form (similarly with reports). Nevertheless only table method can be cached.
    Find details in Using the display Method Modifier.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans