Can OR statement be used when applying Table or flow filter?

vaxo_jj
Member Posts: 54
Can OR statement be used when applying Table or flow filter to General Journal?
exp. Account Type = Vendor OR Department Code = ADM.
exp. Account Type = Vendor OR Department Code = ADM.
0
Comments
-
No, it cannot be used. You can search the forum for more informations but in general you need to use temp table or marks and filter the table two times or rething the process.0
-
Add a function "ShowRecord" to your table that returns a Boolean based on the value of the 2 fields. You will then need to add code to the OnFindRecord and OnNextRecord of the form to check this function and display the correct records.
I'm not sure if I'm clear on what you are trying to do.There are no bugs - only undocumented features.0 -
I'm also trying to do something similar with Serial Ledger Entries. The fields include Index No., Item No., Serial No., Transaction Date, Transaction Type. I want to display on my Form only the last entry for a given Item No. and Serial No. - I cannot find any documentation that helps me with the OnNextRecord, heck if I comment out my code with curlys the form still is wacky, using Navison 2.0C0
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