Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Form Customization in AX 2009

(0) ShareShare
ReportReport
Posted on by 519

Hello guys,

I have form(ProdUpdateJour with 6 DataSource) with lookup field. Lookup field have 6 values(Base Enum).

If I choose each value in the lookup field, it fetches data from different data source and appears on the form.

Now, I have to combine all datasource and show the common field values on the form.

Primary field - ProdId

Common fields - ProdId, Status, UserId, Data& time.

I need to add 7th Base enum(All Status). If I choose "All Status", user want to see the joined records from different data source.

Kindly help me to achieve this scenario.

Thanks  

  • Suggested answer
    ergun sahin Profile Picture
    ergun sahin 8,816 Moderator on at
    RE: Form Customization in AX 2009

    Of course it is possible, but you may not get the performance you want.

    You can combine all tables in a view or query and use this new object in lookup. (It is possible to do the same thing in code with query, but view will be easier)

    You can create a tmp table, Populate the temp table with the common data. You can use tmp table in lookup(Depending on the size of the data, this option may be very slow. I would also recommend using insert_Recordset)

  • Vignesh R Profile Picture
    Vignesh R 519 on at
    RE: Form Customization in AX 2009

    Each lookup values are refers to each data source in the form.

    Relation : 1:n

    Main Table : ProdTable

    Sub Tables : ProdParmCostEstimation, ProdParmScheduling, ProdParmStartUp, ProdParmReportFinished, ProdParmHistoricalCost, ProdParmStatusDecrease

    I want to include a new lookup value "All"(7th lookup value).Whenever, I choose "All" lookup value.  It should appear all common record from all data source in the form.

  • Suggested answer
    ergun sahin Profile Picture
    ergun sahin 8,816 Moderator on at
    RE: Form Customization in AX 2009

    You already have lookup codes for the other 6 values. It sounds like you could solve the problem if you copied one of them. But we can't say for sure without seeing the codes. Can you share the codes with us?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans