hougaard / Simple-Object-Designer

Issue tracking for the Simple Object Designer for Business Central
7 stars 0 forks source link

Flow Field Filter #258

Closed AALEngTech closed 1 year ago

AALEngTech commented 1 year ago

Hi, Is it possible to have the "count" flow field filter use two boolean const of true.

ie. The two fields are "Quality Issue" & "Delivery Issue" which are marked on the purchase header. I use the flow field to count how many purchase orders have issues and display this on the vendor card.

It works fine to count them interdependently but if i try sum the values the records where there were both issues are counted twice.

Many thanks Lee

hougaard commented 1 year ago

Sure, you just add two const lines in the filter section on the flowfield.

AALEngTech commented 1 year ago

I’ll try add that again, I maybe had something wrong the first time so I assumed it would require both const lines to be true. In records where either is true or both I want it to show them.

Out of interest, how would you them make it be both need to be true?

On 8 Aug 2023, at 00:33, Erik Hougaard @.***> wrote:



Sure, you just add two const lines in the filter section on the flowfield.

— Reply to this email directly, view it on GitHubhttps://github.com/hougaard/Simple-Object-Designer/issues/258#issuecomment-1668704329, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRTTX246DWDHNZM4HP3AS3XUF3M7ANCNFSM6AAAAAA3HUWNUY. You are receiving this because you authored the thread.Message ID: @.***>

hougaard commented 1 year ago

You cannot create an "or" condition, that's not supported by BC.