Option Filter

sneha
Member Posts: 191
How can I do this?
In Item table, ItemType is a option field with option values A,B,C
I want to filter ILE in OnOpen form, of Item Type A. I don’t want to add Item Type field to ILE
In Item table, ItemType is a option field with option values A,B,C
I want to filter ILE in OnOpen form, of Item Type A. I don’t want to add Item Type field to ILE
0
Answers
-
sneha wrote:I don’t want to add Item Type field to ILE
Why? :-k
There are ways...
But you'll need to loop your entries and either Mark your records or copy your records to a temporary record variable and open the form based on that.
Each solution has pros and cons.
In both cases, too many entries would slow you down...
From where do you open the form?
PS: I would add the field...0 -
sneha wrote:How can I do this?
In Item table, ItemType is a option field with option values A,B,C
I want to filter ILE in OnOpen form, of Item Type A. I don’t want to add Item Type field to ILE
You basically have to GET the Item and do a currreport.skip if the conditions are met.
I highly recommend that you save yourself the headache and just create a field or a flowfield to filter on.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
I think Temporary record on form will do since you don't want to add a field on ILE,Use the SourceTableTemporary properties and insert the records when met your filters.Sendoh
be smart before being a clever.0 -
Definitely add the field. Your solution, to get the item, then mark the ILEs or put them in a temp table, is going to take longer and longer as your item master grows.
It's a pretty simple modification to add the field / flowfield to the table.0 -
Thanks to all, I added a flowfield to ILE0
-
I think it was the best road to follow... :thumbsup: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