Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Filter processing report

Posted on by 1,392

Hi All,

this is a window variable in a processing only report
DataItem : ex Customer

when i run this report, in the No. filter (As shown in below demonstation) i get all No. of customers

The question is How get only the 10 first customers in the comboBox filter

   0880.test.JPG

thanks

*This post is locked for comments

  • MedInfoTech Profile Picture
    MedInfoTech 1,392 on at
    RE: Filter processing report

    Hi Zaid

    Yes i tried, it doesn't work

    thank you :)

  • Suggested answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Filter processing report

    Hi,

    Can you try applying filter using DataItemTableView in Properties?

    Filter-RP.JPG

  • MedInfoTech Profile Picture
    MedInfoTech 1,392 on at
    RE: Filter processing report

    Hi Manish,

    Yes i tried but i doesn t work for me, the objectif is to see Cust001..Cust010 in No. comboBox

    OnPreReport

    SetFilter("No." , '%1..%2',Cust001,Cust010 );

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: Filter processing report

    Have you tried the second option suggested ?

  • MedInfoTech Profile Picture
    MedInfoTech 1,392 on at
    RE: Filter processing report

    Thank you very much Ziad for your answer :)

  • Suggested answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Filter processing report

    Hi Medo,

    You need to customize this report, not possible to achieve with current functionality. Thanks

  • MedInfoTech Profile Picture
    MedInfoTech 1,392 on at
    RE: Filter processing report

    Hi Manish,

    If you run the 953 report you will get a request page asking you to specify The no. of TS that you want to archive .

    it of type Window ..

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: Filter processing report

    (Report 953 Move Time Sheets to Archive )does not have any request page.

    Second ally you can store the 10 first customer in a variable and then write code to filter those records. This you need to write OnPreReport trigger. If you know the 10 first Customer code would be fixed then you can hard code the same.

  • MedInfoTech Profile Picture
    MedInfoTech 1,392 on at
    RE: Filter processing report

    HI zaid,

    Please take look at 953 report to get what i mean

  • Suggested answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Filter processing report

    Hi,
    First of all, the processing only report does not have request page.
    - If you want to get top 10 customers, either use filter by range like 123..1643 (i.e 123 is the first customer and 1643 is the 10th customer).
    - If you have random Top 10 customers and dont know the id's at run time then you need to customize the report.

    If you are using existing report Customer - Top 10 List then write 10 as Quantity.

     Top-10-CUST.PNG

    For more details have a look: https://msdn.microsoft.com/en-us/library/hh179052(v=nav.90).aspx
    https://msdn.microsoft.com/en-us/library/hh933864(v=nav.90).aspx


    Let me know if you need help in report customization.

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans