Skip to main content

Notifications

Announcements

No record found.

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

Filter for CuePages

Posted on by 75
Hi All,
 
           we have a custom page with pdc ledger here all the details are same expect the entry No, it is the primary key, In the cue i want to show the count of the records  it should show the count as based on the  doucment No.  and maturity date the maturity date filter is working fine for me only i want to know how to count based on the same document No. is  same for more records how can we achieve it i am sharing my code for the cue field, thanks for your advices.
 

field(2; /PDC Maturity Date/; Integer)

        {

            FieldClass = FlowField;

            Caption = 'PDC Maturity Date';

            CalcFormula = count( PDC Ledger where(PDC Maturity Date = field(Maturity Date Filter), PDC Cheque No. = filter(<> '')));

 

        }

 

Thanks & Regards

Satish

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Filter for CuePages
    As far as I know, if you don't have a Document No field on your current table, you can't do it with FlowField. You need to consider other methods, such as using variables and then collecting data in the program, or Query to collect data.
     
    Hopefully other experts can give you better advice.
     
    Thanks.
    ZHU

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