RTC filtered page with no records crashes client

r44712
Member Posts: 40
Hi all,
Not sure what's happening, but:
I've a custom page that filters customer ledger entries for a custom field "payment requested" (boolean) for being TRUE.
Whilst there are entries in the table that fit that criteria, the Page opens without error. However, if there are no entries that fit that criteria (an empty dataset), it causes the whole client to crash, loose connection to the server and prompt the user if they wish to re-connect to the DB.
As soon as entries are amended (so that payment requested = TRUE - so that we get data that fits the filter criteria again), the page opens without error.
What on earth's going on?
I tried repeating the problem in Cronus using the Sales List, having set the filter crtieria to be "Status = Open" and added the standard document release function to the same page. At which point I released all of the documents one by one until there were none left. The result was no error happened.
Has anyone else experienced this at all?
Thanks in advance!
Not sure what's happening, but:
I've a custom page that filters customer ledger entries for a custom field "payment requested" (boolean) for being TRUE.
Whilst there are entries in the table that fit that criteria, the Page opens without error. However, if there are no entries that fit that criteria (an empty dataset), it causes the whole client to crash, loose connection to the server and prompt the user if they wish to re-connect to the DB.
As soon as entries are amended (so that payment requested = TRUE - so that we get data that fits the filter criteria again), the page opens without error.
What on earth's going on?
I tried repeating the problem in Cronus using the Sales List, having set the filter crtieria to be "Status = Open" and added the standard document release function to the same page. At which point I released all of the documents one by one until there were none left. The result was no error happened.
Has anyone else experienced this at all?
Thanks in advance!
0
Comments
-
any error message? is there code you added? are you trying to calc a total of somekind at the bottom?0
-
Hi,
There is some custom code, but this is added to an "Action". I can't even open the page at present. There's no totalling at the bottom of the Page. In essence, its no different to the standard Customer Ledger Entries Page, it just has a specific filter for "payment requested" added.
The specific message that comes up is (incidentally, its not called 'XXXXX', I've deliberately "blanked-out" parts for security purposes):
Microsoft Dynamics NAV
The server "net.[url=tcp://XXXX:7046/DynamicsXXXXXX/Service]tcp://XXXX:7046/DynamicsXXXXXX/Service[/url]" is either unavailable or your connection has been lost. Do you want to attempt to reconnect?
Yes No
Followed by:
Microsoft Dynamics NAV
The connection to the server has been lost. The application will close.
OK
Throughly confusing as to why it should be doing this!!!0 -
In this topic I had problem with filtering boolean field viewtopic.php?f=32&t=39640 , but I had no crashes.-Mihail- [MCTS]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