Dynamics Hide Part of Report Request Page

AlexLim
Member Posts: 16
Hi all,
I have tried search though online and forum but I can't find related post, maybe i using wrong keyword or something.
Anyway, back to the point.
Due to many reason, I have a report that need print from multiple source(record). For example, Item and Sales Header, and the request page will show 2 filter section, 1 for item and the other for Sales Header.
So my question is, can i hide the individual section based on condition?
For example, if I print from Item, it will only show Item filter section and vise versa.


I know the easiest way is split to multiple report, but again, due to many reason, specially maintenance of layout.
I did try set the sorting in DataItemTableView properties to hide the filter and set filter when print from item, to see I can "force" the filter come out or not. But no luck at the end, either hide or show the section only.
I can guess that this is not possible in Navision, however I hope I wrong.
Thank in advance.
I have tried search though online and forum but I can't find related post, maybe i using wrong keyword or something.
Anyway, back to the point.
Due to many reason, I have a report that need print from multiple source(record). For example, Item and Sales Header, and the request page will show 2 filter section, 1 for item and the other for Sales Header.
So my question is, can i hide the individual section based on condition?
For example, if I print from Item, it will only show Item filter section and vise versa.


I know the easiest way is split to multiple report, but again, due to many reason, specially maintenance of layout.
I did try set the sorting in DataItemTableView properties to hide the filter and set filter when print from item, to see I can "force" the filter come out or not. But no luck at the end, either hide or show the section only.

I can guess that this is not possible in Navision, however I hope I wrong.
Thank in advance.

0
Answers
-
You are correct in that what you are trying to achieve is not possible.1
-
You could try putting the filters on the Request Page and take them off your dataitem. You can then show and hide them with a variable on the visible property.
You could also create a function on the report itself and call that before running the report and then checking in the PreDataitem if the condition is met then break out of the dataitem.0 -
You could try putting the filters on the Request Page and take them off your dataitem. You can then show and hide them with a variable on the visible property.
This I had think before, however might not a good way as i cant keep add if user request to add new filter.
You could also create a function on the report itself and call that before running the report and then checking in the PreDataitem if the condition is met then break out of the dataitem.
I not quiet sure the meaning of " then break out of the dataitem.", can you explain further?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