Skip to main content

Notifications

Microsoft Dynamics NAV forum
Suggested answer

How to club Parent and child dataitem's filter to run a report in NAV 2016?

Posted on by 112

I want to run "Suggest Vendor Payments" report such that filters from "vendor" data item (Parent Data Item) has been used. In order to apply the filters from "Vendor Ledger Entry", I have added this table as a child Data item. But the filters applied from "Vendor Ledger Entry" (Child Dataitem) has been ignored and the filters from Parent DataItem (Vendor) is only applied in the results fetched once the report runs.

Can anyone suggest how to apply the filters from both the tables while running the report ?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,612 Super User 2024 Season 2 on at
    RE: How to club Parent and child dataitem's filter to run a report in NAV 2016?

    Hi, This Report has only one DataItem (Vendor), so you cannot add filters directly from "Vendor Ledger Entry". Even if you add Child Dataitem, its logic is not to extract data from your Child Dataitem, so it should have no effect.

    pastedimage1675818707213v1.png

    pastedimage1675818862232v2.png

    If you do some customization now,  I think you can add the fields you need in "Vendor Ledger Entry" to the Request Page, and then add the filter code in report object.

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,217 Moderator on at
    RE: How to club Parent and child dataitem's filter to run a report in NAV 2016?

    hello

    you should share some more info about your customization

    DAniele

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,023 Moderator on at
    RE: How to club Parent and child dataitem's filter to run a report in NAV 2016?

    Hi,

    Can you please share what you have achieved so far? Including code in Txt format only.

    Thanks.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans