web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

About flowfilter in nav

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Hannes Holst Profile Picture
    5,767 on at

    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.

  • bharathkarunakaran Profile Picture
    475 on at

    Hi ,

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

    Warm Regards,

    Bharath K

  • Brad_P Profile Picture
    1,549 on at

    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
    475 on at

    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
    1,549 on at

    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"

  • nav.mukesh Profile Picture
    619 on at

    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]);

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans