Slow Forms - due to FlowField

aavio
Member Posts: 143
Hai,
My issue is slow forms, i had same coding in sales list as well as purchase list both had almost same no of records ~3000, but purchase list is take some time to open,inbetween it shows the count box also, both the list contains very little coding, only a record count coding..what may the problem, any tips for optimization...plz... :roll:
thanks in adv... 8)
My issue is slow forms, i had same coding in sales list as well as purchase list both had almost same no of records ~3000, but purchase list is take some time to open,inbetween it shows the count box also, both the list contains very little coding, only a record count coding..what may the problem, any tips for optimization...plz... :roll:
thanks in adv... 8)
aav!o
0
Answers
-
i guess you need to choose the correct key for your record count coding, because if it is showing you a counter, that means ( most of the times ) that it has to loop through all the records by itself to count them.0
-
You should use the client monitor to check where the problems are.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
i got the problem, its because of a flowfield which is set in the SourceTableView of the form. but with this flowfield, how can i make it fast..? :-kaav!o0
-
aavio wrote:i got the problem, its because of a flowfield which is set in the SourceTableView of the form. but with this flowfield, how can i make it fast..? :-k
If you post the flowfilter, we can help you define the best index/SIFT.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Frnds,...
i had this slow form issue in purchase list, in the purchase order form, it has sourcetableview with WHERE(Document Type=FILTER(Order),Subcontracting Order=CONST(No)) this is a default filter (not the customized one). since Subcontracting Order is flowfield, iam having this problem.
Subcontracting Order has the calcformula Exist("Purchase Line" WHERE (Document Type=CONST(Order),Document No.=FIELD(No.),Prod. Order No.=FILTER(<>''),Prod. Order Line No.=FILTER(<>0)))
so i tried by giving a key in purchase line table "Document Type,Document No.,Prod. Order No.,Prod. Order Line No." but it seems not much change in speed. ](*,)
need your valuable suggestions. [-o<aav!o0 -
Filters on flowfields are always slow, because you can't index them ( that is, the RESULT of a flowfield ). There's not a lot you can do to imrpove performance, other than finding a way to convert the flowfield to a real one ( which means you need to process the value of it yourself ).0
-
If you don't have subcontracts, you can remove the filter on "Subcontracting Order=CONST(No)" from the sourcetableview.
If you have, you can define a certain numberseries to use for subcontracts (e.g. let the start with 'SCO').
In this way you could remove the filter on "Subcontracting Order=CONST(No)" and put another filter on it. Something like "No."=FILTER(<>SCO*)Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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