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)

Auto populate other fields in forms based on selection field in lookup

(0) ShareShare
ReportReport
Posted on by

Hi friends,

Form Level

If i select a record in lookup ,based on the selected record other fields below the lookup need to be auto populated and it should contain related information based on selection

For this scenario which method do i need to overide.Also where should i use this code.?

Please suggest me some solutions.......

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    For this scenario which method do i need to overide.

    modified field (If you are using RecId of other table, you can use reference groups with no code needed)

  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Remember that there are three Modified methods that you may need to look at depending on the requirements.

    1. If its a filter control on your form, i.e. Not linked to any datasource, you should most likely override the control's "modified" method.

    2. If it is a datasource specified field on your form but the functionality is only related to your form then you can override it on the field on the datasource on your specific form

    3. If it is a global rule that you are wanting you can override the ModifiedField method on the Table

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