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 :
Microsoft Dynamics NAV (Archived)

Flowfield exist()

(0) ShareShare
ReportReport
Posted on by 453

Hi 

I have the below flowfield that I use for a Cuegroup.

I want to do following:

I want to add an Exist(). If Exist returns true, the CalcFormula must be as below else another one. 

field(3; ServiceLine ; Integer)
{
  FieldClass = FlowField;
  Editable = false;
  Caption = 'Service Lines';                                         
  CalcFormula = count("Service Invoice Line" where("Document Type"=Filter(1));                           
         
}


*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Not possible unfortunately.

  • Verified answer
    Mehdi26 Profile Picture
    453 on at

    Hi Stefano

    You are right. I found a work around for that.

    I created a flowfield HeaderExist in table Service Invoice Line.

    And in the table I used for my cues, I set the filter. 

    field(3; ServiceLine ; Integer)
    {
      FieldClass = FlowField;
      Editable = false;
      Caption = 'Service Lines';                                         
      CalcFormula = count("Service Invoice Line" where("Document Type"=Filter(1), "HeaderExist"=Filter(False));                           
             
    }


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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans