Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

About flowfilter in nav

Posted on by 475

Hi guys,

I have created an aging report to print the no. of pstd, invoices based on the due date and start date value with bucket value of 0-30, 31-60,61-90,>90 days. 

But now I need to filter the data using the date filter(flow filter) in the customer table.

Can you help me on that ..

Warm Regards,

Bharath K

*This post is locked for comments

  • nav.mukesh Profile Picture
    nav.mukesh 617 on at
    RE: About flowfilter in nav

    I am assuming that you have created it based on Report 105.

    Just set your PeriodStartDate before -

    PeriodStartDate[2]:=Customer.GetFileter("Date Filter");

    FOR i := 3 TO 5 DO

     PeriodStartDate[i] := CALCDATE(PeriodLength,PeriodStartDate[i - 1]);

  • Brad_P Profile Picture
    Brad_P 1,542 on at
    RE: About flowfilter in nav

    I am not certain of your field, but you can fill in the variables.

    Customer.Setfilter(FilterField,'Date1..Date2');

    Customer.Calcfields(ValueField);

    Value := value field;

    You can repeat it, however putting the values in dimensioned variables to loop through would be "ideal"

  • bharathkarunakaran Profile Picture
    bharathkarunakaran 475 on at
    RE: About flowfilter in nav

    Sorry to ask ,

    Can you give some example for that above explanation.

    So that i can find it easy to understand.

    Warm Regards

    bharath k

  • Brad_P Profile Picture
    Brad_P 1,542 on at
    RE: About flowfilter in nav

    You'd need to call it for each bucket. Set the date filter range for the bucket, CALCFIELDS, get value, repeat for each bucket.

  • bharathkarunakaran Profile Picture
    bharathkarunakaran 475 on at
    RE: About flowfilter in nav

    Hi ,

    Can use that as an array to put the values in the buckets for creating an aging report .

    Warm Regards,

    Bharath K

  • Hannes Holst Profile Picture
    Hannes Holst 5,767 on at
    RE: About flowfilter in nav

    Just filter as usual in C/AL-Code by using SETRANGE or SETFILTER.

    The filter will be considered when executing CALCFIELDS.

    Of course, under the circumstance that the FlowField actually offers to use the Date Filter as a Filter-Option.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans