web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

FlowField , FlowFilter

(0) ShareShare
ReportReport
Posted on by 212

Hi

  How FlowField , FlowFilter & SumIndexFields work together

I have created FlowField in SalesPerson/Purchaser . Why i need to create SumIndexField on key.

Thanks

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    which version you are using?

  • Verified answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, regarding FlowField and FlowFilter, I hope the following video will help.

    https://www.youtube.com/watch?v=MQNbPHft4uI

    ZHU

  • Lars Lohndorf-Larsen Profile Picture
    on at

    As also mentioned, it depends on which version you use, I think in the newer versions you don't need to creeate a sumindex field, though it may hurt performance if you don't. Here is an example of a SumIndex:

    Order By "Item No.", "Location Code", and SumIndex field is Quantity:

    Item No. Location Code Quantity (accumulated) Calculate total
    1000 BLUE 1
    1000 BLUE 2
    2000 BLUE 3 3
    2000 RED 4
    2000 RED 5
    2000 RED 6
    2000 RED 7
    2000 RED 8
    2000 RED 9 9
    2000 ORANGE 10
    3000 BLACK 11
    3000 WHITE 12

    The table is from a number of transactions, each with Quantity 1. It keeps an accumulated total by the order specified. Each time a new transaction is recorded, the Sumindex gets updated.

    Now say that you want to know the total for Item 2000, on RED location. Then all you do, is you take the accumulated number from the last line in that section (9), and deduct the accumulated number from the line just before (3), and just substract that, so we get 9 - 3 = 6. So we have quantity = 6 for Item 2000 on RED location.

    The smart thing is that using this method, you can always get the total from only 2 reads, whether we are totalling up 5 transactions, or 5 million transactions, but it works only as long as you have the accumulated totals in the right order. When we don't have the right index, then of course the system needs to read and summarize all the entries in the scope

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans