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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Form Customization in AX 2009

(0) ShareShare
ReportReport
Posted on by 535

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  

I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    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?

  • Vignesh R Profile Picture
    535 on at

    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
    8,826 Moderator on at

    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)

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans