Skip to main content

Notifications

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,035 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!

Community AMA December 12th

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

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans