problem with filtering in NAV 5.0 SP1 - SQL option

Doomhammer
Member Posts: 211
Hi
We upgraded customer's DB from 4.0 SQL to 5.0 SP1 SQL. DB works fine, but we encountered problem with filtering.
User runs Item list, he sets filter to field No. and filter behaves really strange - there are some records, but not all, which should be in filter - for example, we set filter to 501*, there are 20 records with 501, but only 5 records are shown
there are no additional filters set on item list.
in addition, when user tries to move in filtered list using page up/down or using cursor key up and down, no of records in filter decreases, after few moves in list, there are no records.
Thanks for ideas, how to fix it.
We upgraded customer's DB from 4.0 SQL to 5.0 SP1 SQL. DB works fine, but we encountered problem with filtering.
User runs Item list, he sets filter to field No. and filter behaves really strange - there are some records, but not all, which should be in filter - for example, we set filter to 501*, there are 20 records with 501, but only 5 records are shown
there are no additional filters set on item list.
in addition, when user tries to move in filtered list using page up/down or using cursor key up and down, no of records in filter decreases, after few moves in list, there are no records.
Thanks for ideas, how to fix it.
Martin Bokůvka, AxiomProvis
0
Answers
-
-
Are you sure there are no filters that were set through code using FILTERGROUP that you cannot remove. When you set these they are not displayed in the filters list.
No Security Filters in the permissions? Like they are only allowed to see Item Category = 'XYZ'.0 -
1) You can try to use SQL Profiler to see what is going on between NAV and SQL and to see real filter sent to the SQL.
2) Check code in the form triggers like OnGetRecord etc.0 -
there is no code (except standard code) in OnAfterGetRecord (on Item List)
this behavior is not only in item list form, but in other list - every table behaves so strangely. for example, in Location, i'll set filter MT* to Code field and filtering is not correct.
this happens even if iľl try to run table (not form).
I'll try to run SQL profilerMartin Bokůvka, AxiomProvis0 -
this issue is solved in Update 1 for NAV 5.0 SP1 (KB956161)
I requested it from MS support, tested it and it works fine.Martin Bokůvka, AxiomProvis0
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