Skip to main content

Notifications

Announcements

No record found.

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

Getting 'filter' is not recognized as an internal or external command,

Posted on by 15

When I run my report through command line I keep on getting this message - 'filter' is not recognized as an internal or external command,

I ran the command -  DynamicsNAV:////runreport?report=104&filter=Customer.City:M*&filter=Customer.Name:A*

the report however loads and runs but it doesnt apply the filter. What is the correct syntax for applying the filters to report through command line in Dynamics NAV 2017

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Getting 'filter' is not recognized as an internal or external command,

    Hello,

    It works on RUN, Just open the run and paste your link, Press Enter, It works.

    pastedimage1593077952178v2.png

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Getting 'filter' is not recognized as an internal or external command,

    Hello,

    This is the correct format:

    DynamicsNAV:////runreport?report=101&filter=Customer.City:'Ri*'&filter=Customer.Name:'M*'

    I did ran it through a different report because in Demo data there is not always data to show within the filter.

    Thanks.

  • Suggested answer
    RE: Getting 'filter' is not recognized as an internal or external command,

    Hi,

    Try this syntax:

    dynamicsnav:////runreport?report=104&filter=Customer.%22No.%22:10000

    As per this walkthrough:

    https://docs.microsoft.com/en-us/dynamics-nav/walkthrough--creating-a-link-from-a-report-to-a-report

    And there are some more examples here:

    https://docs.microsoft.com/en-us/dynamics-nav/how-to--run-reports

    I hope this works?

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans