Skip to main content

Notifications

Announcements

No record found.

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

FlowField , FlowFilter

Posted on by 210

Hi

  How FlowField , FlowFilter & SumIndexFields work together

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

Thanks

  • RE: FlowField , FlowFilter

    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

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    RE: FlowField , FlowFilter

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

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

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: FlowField , FlowFilter

    which version you are using?

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans