Doubt about SumIndexField

LLOSETI
Member Posts: 4
Hi friends... I have a doubt about SumIndexField in a Table Key....
I tried to find it on internet but I can't, so I hope one of you can clarify my doubt...
I have one table (Table A) with many keys with diferent fields... and many of them have specified the same field as SumIndexField (Field "Total Importe producción" a.k.a Total Production Amount)... that is why we need to Totalize this field applying different filters in many places of the program:

In other table (Table B) I have a CalcField that totalize our field Field "Total Importe producción" from the Table A... applying different filters.

My doubt is... how I know the program is applying the optimal Key from the Table A? is it a dogma of faith? Does exist any way to specify mannually the key from "Table A" I want to use to my CALCFIELD?
The thing is I consider it takes long time to calculate the information I want... I know my table is a big one with thousands of registters... but I have the feeling that it is not applying the right key... (just my impression)
Thank you
I tried to find it on internet but I can't, so I hope one of you can clarify my doubt...
I have one table (Table A) with many keys with diferent fields... and many of them have specified the same field as SumIndexField (Field "Total Importe producción" a.k.a Total Production Amount)... that is why we need to Totalize this field applying different filters in many places of the program:

In other table (Table B) I have a CalcField that totalize our field Field "Total Importe producción" from the Table A... applying different filters.

My doubt is... how I know the program is applying the optimal Key from the Table A? is it a dogma of faith? Does exist any way to specify mannually the key from "Table A" I want to use to my CALCFIELD?
The thing is I consider it takes long time to calculate the information I want... I know my table is a big one with thousands of registters... but I have the feeling that it is not applying the right key... (just my impression)
Thank you
0
Best Answers
-
When the flowfield (Table
is calculated it will use the first key from table A that supports all of the applied filters. Even if not the most optimal for calculating the SumIndexField.
In older versions, you had to have a key in table A that both included all the fields for applied filters plus the desired SumIndexField. Neither of these is a requirement in newer versions. But can still help performance.
There are no bugs - only undocumented features.0 -
Does this mean calculating the Item."Net. Change" field without any FlowFilter fields set, other than "Date Filter", would use the key "Item No.","Posting Date" and sum up without any SumIndexFields, or are keys with the used SumIndexField at least preferred over other keys?
It will use the first key that supports the applied filters and the SumIndexField.
There are no bugs - only undocumented features.0
Answers
-
When the flowfield (Table
is calculated it will use the first key from table A that supports all of the applied filters. Even if not the most optimal for calculating the SumIndexField.
In older versions, you had to have a key in table A that both included all the fields for applied filters plus the desired SumIndexField. Neither of these is a requirement in newer versions. But can still help performance.
There are no bugs - only undocumented features.0 -
When the flowfield (Table
is calculated it will use the first key from table A that supports all of the applied filters. Even if not the most optimal for calculating the SumIndexField.
0 -
Does this mean calculating the Item."Net. Change" field without any FlowFilter fields set, other than "Date Filter", would use the key "Item No.","Posting Date" and sum up without any SumIndexFields, or are keys with the used SumIndexField at least preferred over other keys?
It will use the first key that supports the applied filters and the SumIndexField.
There are no bugs - only undocumented features.0 -
Thanks guys!!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions