filter field error
Karenh
Member Posts: 209
I had a report on a line table, with some filter fields in NAV 2015. I just changed it to add the header table, and moved the filter fields there so the user will be filting on values in the header table. When I test it, I get an error 'SO0000988' can not be filtered against field 65 because the field is not there. The last time that I ran the report, I was filtering on the order number field in the sales shipment line table. That filter value has been saved. The error is because the filter cannot be applied any more.
It seems to me that when a report is modified, these saved values for filter fields should be deleted.
It is stopping me from making the change because all the users have run the report with filters.
Where are the filter values saved? I already checked the personalization table 2000000080, and not there.
It seems to me that when a report is modified, these saved values for filter fields should be deleted.
It is stopping me from making the change because all the users have run the report with filters.
Where are the filter values saved? I already checked the personalization table 2000000080, and not there.
0
Best Answer
-
These user specific report filters are stored in the file
C:\Users\<username>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\PersonalizationStore.xml
where <username> has to be replaced with the corresponding windows profile user name.
You can close the NAV client, edit this file and delete the xml tags <PersonalizationObject ...> ...</PersonalizationObject>, which refer to the report. Just search for ReportID<xxxxx>, where <xxxxx> is the number of the report. This had to be done for each user, having set any filter to the field, which causes the problem. This seems indeed to be a bug.
Here is the official recommendation for these kind of problems:
https://msdn.microsoft.com/en-us/library/dn948193(v=nav.90).aspxNew kits on the blog: https://massivedynamicsblog.wordpress.com5
Answers
-
These user specific report filters are stored in the file
C:\Users\<username>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\PersonalizationStore.xml
where <username> has to be replaced with the corresponding windows profile user name.
You can close the NAV client, edit this file and delete the xml tags <PersonalizationObject ...> ...</PersonalizationObject>, which refer to the report. Just search for ReportID<xxxxx>, where <xxxxx> is the number of the report. This had to be done for each user, having set any filter to the field, which causes the problem. This seems indeed to be a bug.
Here is the official recommendation for these kind of problems:
https://msdn.microsoft.com/en-us/library/dn948193(v=nav.90).aspxNew kits on the blog: https://massivedynamicsblog.wordpress.com5 -
Thanks for the information. I resolved the problem by making the modified report a new report object with the word New after the name. I added it to the menu. I will be deleting the original report object and removing it from the menu.
I definitely consider this a bug.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 323 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
