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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

filter the default lookup based on the company in other lookup

(0) ShareShare
ReportReport
Posted on by 134
I have a business need creating the new form with new custom DataSource contains item, site and warehouse field with relationship to corresponding tables.
Now, I need filter those item, site and warehouse lookup field based on the company which select from other lookup field in the form. without changing the default lookup of the item field.
I have the same question (0)
  • Martin Dráb Profile Picture
    239,647 Most Valuable Professional on at
    We need to define the data model (table) before visualization (forms).
     
    You said you wanted a new custom data source, which probably means that you want a new table. You said it would have item, site and warehouse fields (not other inventory dimensions such as color or batch). You also mentioned that you'll be be able to select items, sites and warehouses from other companies based on a company selection. My understanding is that you need a table with Save Data Per Company = No and you'll add a fourth field to identify the company. Do you agree?

    What is your version of AX?
  • Viswanath M Profile Picture
    134 on at
    I have already created the table and add the field. 
  • Martin Dráb Profile Picture
    239,647 Most Valuable Professional on at
    All right, so you have a table. Now please react to the rest of my previous reply.
  • Viswanath M Profile Picture
    134 on at
    NO,I need the table which properties is save data per company = YES. I have the field company and need to filter all those other fields based on the company lookup.
  • Martin Dráb Profile Picture
    239,647 Most Valuable Professional on at
    But you need to identify the other company. Does it mean that your table contains the standard DataAreaId field, identifying where it's stored, and and additional custom field identifying the company that the data is actually about?
     
    It would help a lot if you described your table and I didn't have to interrogate you. If you make it hard for us to help you, you'll get a solution later or not at all.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 692

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 532 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 478

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans