Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

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

(0) ShareShare
ReportReport
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 74,036 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,272 Super User 2024 Season 1 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,091 Super User 2024 Season 1 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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans