Filter works on table but not on form (sales invoice header)

ben5000
Member Posts: 110
Hi experts,
I'm facing a quite strange issue in that when I filter the sales invoice header table (on the primary key field) on the list and card form,
the filter does not seem to be applied (no FILTER mention in the status bar at bottom right of the form).
But when I filter the primary key ("No.") directly on the table it does work.
Any help would be welcome
ps: the problem happens on every sales-invoice-header-based forms
I'm facing a quite strange issue in that when I filter the sales invoice header table (on the primary key field) on the list and card form,
the filter does not seem to be applied (no FILTER mention in the status bar at bottom right of the form).
But when I filter the primary key ("No.") directly on the table it does work.
Any help would be welcome

ps: the problem happens on every sales-invoice-header-based forms
0
Answers
-
Do you have any customizations on these forms? I confirm that, this does not happen in the base objects..
Chn0 -
standard BE db,form 132 (version NAVW16.00.10):
Form - OnAfterGetRecord()
SETRANGE("No.");
Is standard that filters on "Sales Invoice Header"."No." are wiped when the system GET's the record.
However, in the list the No. filter should work. (form 143)0 -
It is same with me, on the form 132, if I remove the SETRANGE("No.") from OnAfterGetRecord everything is fine, else the filter does not seem to work. However, form 143 is quite ok here.0
-
Thanks for your replies
Same for me except that it didn't work as expected on the list form. I exported the form as .txt and did some search on "SETRANGE('No.');" and found out that a guy had put such code in the onFormat trigger of a custom field ](*,) ](*,) ](*,)
Solved anyway thanks for your help 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