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, ...
Answered

Grid filtered? It doesn't show any results

(0) ShareShare
ReportReport
Posted on by 447

Hello,


I am working with PdsApprovedVendorList form, where I see vendor approved items.

The grid is filtered by article, through args.

Well, I'm trying to add another grid to the side, where I want it to show me providers filtered by a field created in the VendTable table, that is, a query independent of the form and args.

If I execute the form from the AOT (it doesn't have an ítem filter) then I see results in my new grid, but if I execute it normally on an item, I never see anything (and the search criteria is correct).

I have done it in the following way:

- I add a new DataSource called VendTable2
- I add the grid with the DataSource property= VendTable2

- DataSource VendTable2 init method

public void init()

{

super();

this.queryBuildDataSource().addRange(fieldNum(VendTable, VendGroup)).value('INT'));

}

If I get query text just after the super in executeQuery(), I see this:

SELECT FIRSTFAST * FROM VendTable(VendTable2) USING INDEX AccountIdx WHERE ((VendGroup='INT'))

but the VendTable2.RecId = 0

Any ideas?

Thanks in advance.

 

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Try to clear dynalinks, otherwise it might filter by the selected vendor from the previous screen.

    community.dynamics.com/.../ax-2012-add-remove-dynalink-through-x

  • vanels Profile Picture
    447 on at

    Yeah !!!

    I thought that if it did not indicate relation in the datasource this was independent but I see that it does not …

    Many thanks Nikolaos

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 March 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 689

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans