Multi company - Filter error

thens
Member Posts: 17
Following error occurs in NAV 5 SP1.
Considers 2 company's:
Company A: This company has job 1 to 10
Company B: This company has job 11 to 20
When I work in company A, I open de Job card, with job 4.
I close this one and open company B.
When I now try to open the job card, I get the following error:
Microsoft Dynamics NAV
There is no Job within the filter.
Filters: No.: 4, Advanced Job: Yes
OK
It seems that Nav is trying to open this same Job card (Job 4), eventhough I am working in another company.
This company does not have this Job, so the error makes sence in that way...
Does anyone have a clue how to solve this?
Thanks in advance!
Considers 2 company's:
Company A: This company has job 1 to 10
Company B: This company has job 11 to 20
When I work in company A, I open de Job card, with job 4.
I close this one and open company B.
When I now try to open the job card, I get the following error:
Microsoft Dynamics NAV
There is no Job within the filter.
Filters: No.: 4, Advanced Job: Yes
OK
It seems that Nav is trying to open this same Job card (Job 4), eventhough I am working in another company.
This company does not have this Job, so the error makes sence in that way...
Does anyone have a clue how to solve this?
Thanks in advance!
0
Comments
-
Hi,
try to set the SaveTableView property in the form to "no". Drawback: no filters will be saved. Another workaround would be to test on the form if the filter is empty:
OnOpenForm:
If isempty then reset;
This will open the form without filters if the filters lead to an error. Should also apply to pages btw...
with best regards
Jens0 -
Try to delete your zup file and try!!!!!!!!!!!0
-
I have found similar problem. In most cases is problem the filter on primary key. If you look at standard forms like Sales Order, you can find one line which clears the primary key filter. It could help you too...0
-
Hi,
even this in OnFindRecord() of the form would avoid the error, but not clear the filter:EXIT(FIND(Which));
Interesting option, though.
with best regards
Jens0
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