Report to search from two table
sbilly
Member Posts: 231
I have two table "Archived Sales Header" and "Sales Header".
And I have an Order No, what I want that when I enter the Order No in the request form,the report will display if it is archived or not.
Thanks for help
And I have an Order No, what I want that when I enter the Order No in the request form,the report will display if it is archived or not.
Thanks for help
0
Comments
-
Then what problem you are facing to achieve it?0
-
The problem I faced, is that I can do it only for the archived order or for the current Ordr but for both I can't.
I don't how to setrange the Order No. in the sales Header and in the archived sales header.0 -
You can have both tables in the dataset of your report and based on where it is (Archived ot not) show the appropriate sections.
Another solution is to create a "facade" report that is only catching the filters. If the order is archived you can move it back to a temporary instance of the sales header and Always use one report layout.
Many ways to Rome...0 -
Anwian is correct here.
If you are looking for a solution to the filtering problem, though, there are at least two options. One is to use the GETFILTER command. It returns the filter that is set on a field in a table. You can use that return value as the filter for another field.
You could also just create a global variable and put it on the request form of the report. Use that variable's value to set your filters.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


