Drilldown with field filter

bbass
Member Posts: 7
Hi there,
I have 3 customer-specific drilldown fields on the Item Card. The fields operate like a structure. If you choose a value out of the first drilldown field and then you want to fill in the second drilldown field, you only may view the records that have the same value as the one of the first drilldown field.
- the table/form that's behind the first drilldown field has the following
key: Itemgroup
- the table/form that's behind the second drilldown field has the following
keys: Itemgroup
Itemsubgroup
Any idea to pass the value (Itemgroup), that is selected by the customer out of the first drilldown field, as a filterfield on Itemgroup when opening the drilldown of the second field?
Thanks in advance!
I have 3 customer-specific drilldown fields on the Item Card. The fields operate like a structure. If you choose a value out of the first drilldown field and then you want to fill in the second drilldown field, you only may view the records that have the same value as the one of the first drilldown field.
- the table/form that's behind the first drilldown field has the following
key: Itemgroup
- the table/form that's behind the second drilldown field has the following
keys: Itemgroup
Itemsubgroup
Any idea to pass the value (Itemgroup), that is selected by the customer out of the first drilldown field, as a filterfield on Itemgroup when opening the drilldown of the second field?
Thanks in advance!
0
Comments
-
On your form, you can programe the trigger OnLookUp for each field instead of using the direct field property. Catch the value of the first lookup field and use it in the OnLookUp for your next field and so on. Actually I think there is an example in HowTo's here on mibuso.com
Best regards,
Ole0 -
First of all - as I understand - it's not drilldown, but lookup feature.
If this is true, you can achieve this by setting proper table relations on fileds:
I use 3 levels of grouping and I used existing fileds:
1. "Inventory Posting Group"
with table relation:
"Inventory Posting Group"
2. "Item Category Code"
with table relation:
"Item Category".Code WHERE (Def. Inventory Posting Group=FIELD(Inventory Posting Group))
3. "Product Group Code"
with table relation:
"Product Group".Code WHERE (Item Category Code=FIELD(Item Category Code))®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯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