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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Pass FlowFilter from RDLC report to flowfield

(0) ShareShare
ReportReport
Posted on by 3,420

Hi

I have flowfilter (date) defined in a flowfield. I'm trying to pass the the date filter when running a report so based on the date selected by end user, the flow field data is filtered:

Flow Fields on table

        field(60003; Balance; Decimal)

        {

            FieldClass = FlowField;

            CalcFormula = sum("G/L Entry".Amount

                                                            WHERE(

                                                                  "Global Dimension 2 Code" = FIELD(Code),

                                                                  "Posting Date" = field(DateFilterP1)

 

                                                            ));

            Caption = 'Balance';

        }

 

        field(60400; DateFilterP1; date)

        {

            Caption = 'Date Filter';

            FieldClass = FlowFilter;

        }

 

Report

 

                    trigger OnAfterGetRecord()//GL Entry

                    var

                        DimValue: Record "Dimension Value";

 

                    begin

                        begin

                           

                        end;

                        begin

                            DimValue.SetRange(Code, "Global Dimension 2 Code");

                            DimValue.SetFilter(DateFilterP1, '%1..%2', 20220501D, 20220610D);//'%1..%2',

                            if DimValue.FindFirst() then

                                DimValue.CalcFields(Balance);

 

                            StartDim2Balance := DimValue.Balance;

                        end;

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    What is the your question?

  • Samantha73 Profile Picture
    3,420 on at

    the above code doesn't work or I cannot pass the flowfilter from report to flowfield. Couldn't find a standard report with an example - perhaps someone can point me to a standard report

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    what is the error you are facing? please share your report here.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans