Skip to main content

Notifications

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 114
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.
  • Martin Dráb Profile Picture
    234,031 Most Valuable Professional on at
    filter the default lookup based on the company in other lookup
    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.
  • Viswanath M Profile Picture
    114 on at
    filter the default lookup based on the company in other lookup
    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
    234,031 Most Valuable Professional on at
    filter the default lookup based on the company in other lookup
    All right, so you have a table. Now please react to the rest of my previous reply.
  • Viswanath M Profile Picture
    114 on at
    filter the default lookup based on the company in other lookup
    I have already created the table and add the field. 
  • Martin Dráb Profile Picture
    234,031 Most Valuable Professional on at
    filter the default lookup based on the company in other lookup
    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?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans