Item Variant flowfilter lookup (via table relation)

Arhontis
Member Posts: 667
Hello all,
I encounter a strange problem, can anyone try this simple thing?
* Go to an item card that has variants, or create some variants.
* Then open the flow filters window and try to select a value in the Variant Filter by lookup.
* Look at the filters that has been set on that lookup form. It should set a filter in the Item No. field (in the lookup form) but in my case it sets ''.
Can anyone see if it happens too?
I used 3.70.A, 4.1, 4.2 and 4.3.
I encounter a strange problem, can anyone try this simple thing?
* Go to an item card that has variants, or create some variants.
* Then open the flow filters window and try to select a value in the Variant Filter by lookup.
* Look at the filters that has been set on that lookup form. It should set a filter in the Item No. field (in the lookup form) but in my case it sets ''.
Can anyone see if it happens too?
I used 3.70.A, 4.1, 4.2 and 4.3.
0
Answers
-
It is correct. When you are setting the filters, "actual" record is not initialized on the "filter form". And because on the field is tablerelation ""Item Variant".Code WHERE (Item No.=FIELD(No.))" and No. = '', the lookup is filtered to empty value. Filter form is not based on actual record from the opened form... (you are setting filters for all existing records, not just for the one you selected...)0
-
](*,)
I thought so... Thanks kine...
Correct me if I am wrong but that way we have some "useless" flow filters that can be used properly through code and reports...0 -
It is not "useless". It is just "by design", when you have pseudo-field (it means value for one record is different for another record) with filter meaning (same value for all records). Because it is field, you can set TableRelation based on current record, but because it is filter, in time of setting this filter the record is not initialized... 8)
You know - it is like Photon - it is particle and it is wave-like...
Yes, for user it is very strange behaviour, but it is very easy to use in code...0 -
Thanks for your effort Kine...
(I would love a Photon gun right now... :evil:)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