Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Records are not showing when using Flow field

Posted on by 90

I have created a flow field in job planning lines where it should give the sum of invoice quantity and show the invoice record when opining job invoices page. I wrote this code  

 CalcFormula = Sum("Job Planning Line Invoice"."Quantity Transferred" WHERE("Job No." = FIELD("Job No."),
                                                                                        "Job Task No." = FIELD("Job Task No."),
                                                                                        "Job Planning Line No." = FIELD("Line No."),
                                                                                        "Document Type" = filter(Invoice)));
            Caption = 'Qty. Transferred to Invoice';
            DecimalPlaces = 0 : 5;
            Editable = false;
            FieldClass = FlowField;
The same code is written in the base application table but without  "  "Document Type" = filter(Invoice))) "  so when I click on the number , the job invoices page opens and show the filters but without any record.
  • Suggested answer
    Vaishnavi J Profile Picture
    Vaishnavi J 3,056 on at
    RE: Records are not showing when using Flow field

    Hi,

    Use DrillDownJobInvoices function OnDrillDowntrigger in the flowfield of the page extension. Refer the below screenshot

    pastedimage1644592289034v1.png

    This will help you to fetch the record

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.

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!

Community AMA December 12th

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans