GroupTotalFiels based on user input
vdbholland
Member Posts: 3
I want to create a report with this lay-out:
Dataitems:
Item
Sales Invoice Line
There are linked with (No.).
The results is all the 'Sales Invoice Line' records from a certain Item.
Depending on user input (in the Request Form) I want to group the 'Sales Invoice Line' records by "Document No." or by "Shipment Date" in GroupTotalFields
I present the totals (Unit Cost (LCY),Amount) in a groupfooter.
I wanted to change the GroupTotalfields value in the ONPREDATAITEM code but that is impossible.
However, I don't have any other idea how to handle this.
Can you help me further?
Dataitems:
Item
Sales Invoice Line
There are linked with (No.).
The results is all the 'Sales Invoice Line' records from a certain Item.
Depending on user input (in the Request Form) I want to group the 'Sales Invoice Line' records by "Document No." or by "Shipment Date" in GroupTotalFields
I present the totals (Unit Cost (LCY),Amount) in a groupfooter.
I wanted to change the GroupTotalfields value in the ONPREDATAITEM code but that is impossible.
However, I don't have any other idea how to handle this.
Can you help me further?
0
Comments
-
You can play around with the totalscausedby function in the showoutput, but in the end it may be cheaper to make 2 reports.0
-
Thanks! I thought already about it...
0 -
It is possible to do it in one report, but you need to create two sets of dataitems and use currreport.break command to skip one of them.
Mbad's hint is better.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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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