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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Create new filter on form

(0) ShareShare
ReportReport
Posted on by 6,494

Hello,

On the po planned order I want to create new Filter (VendorId). By selecting the Vendor in lookup, the grid should be filtered accordingly.

What would be a best approach?

So, I will create an extension of form. Create new String field. And then how can I have this field as lookup to vendors and filter the grid based on it?

Thanks.

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    240,546 Most Valuable Professional on at

    Just use the right data type (VendAccount, I think) for the string control and you'll get a lookup automatically.

    Create a handler for OnModified event of the new control to execute logic when a vendor ID gets specified. Then add/modify/remove a range from the form query.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 345 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 304

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans