Upgrading a Report to 2013 with Groupfooter + TotalCausedBy

Lilithyan
Member Posts: 32
Hi all,
I have a problem with Upgrading a Report from a Customer from a 4.01 Version to 2013 with absolutely no clue to solve it. Anything I found in other topics in the forum with a similar problem didn't have a posting with a solution in it.
Okay, the problem:
At first glance the Report in the old Version looks very easy. There is only the DataItem Item. There is a normal Header and a normal Footer. And between that there are three GroupFooter, nothing else!
And each of these three has in the OnPreSection one codeline, where the Currreport.Showoutput is defined by a Currrreport.TotalCausedBy.
So I have three codelines, one per Section Trigger in which it states:
CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = Item.FIELDNO(X));
or
CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = Item.FIELDNO(Y));
or
CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = Item.FIELDNO(Z));
with X, Y, Z each being a different field from Item.
How do I upgrade that into 2013?!?!? I haven't even a clue from where to start! Any help would be greatly appreciated.
Ciao,
Lily
I have a problem with Upgrading a Report from a Customer from a 4.01 Version to 2013 with absolutely no clue to solve it. Anything I found in other topics in the forum with a similar problem didn't have a posting with a solution in it.
Okay, the problem:
At first glance the Report in the old Version looks very easy. There is only the DataItem Item. There is a normal Header and a normal Footer. And between that there are three GroupFooter, nothing else!
And each of these three has in the OnPreSection one codeline, where the Currreport.Showoutput is defined by a Currrreport.TotalCausedBy.
So I have three codelines, one per Section Trigger in which it states:
CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = Item.FIELDNO(X));
or
CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = Item.FIELDNO(Y));
or
CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = Item.FIELDNO(Z));
with X, Y, Z each being a different field from Item.
How do I upgrade that into 2013?!?!? I haven't even a clue from where to start! Any help would be greatly appreciated.
Ciao,
Lily
0
Comments
-
the RDLC interpreter works very differently to the classic rendering algorythm. The only data the interpreter can use is the one sent to it in the recordset. And this recordset isn't affected by any code executed from the sections (first reason: you don't have them anymore in 2013 second: it didn't get executed in 2009 eighter)
I'd recomend to read some basic tutorials on building RDLC-Reports for navision because this needs a multi-page explainations with lots of examples.
After that, you will need to analyse the recordset that gets send to the interpreter (found in the "about this page"-Infobox once you opened the report in preview... you'll have to open the infobox once on the request page and then in the preview again.) and you will definatly need some Grouping. Depending on the source report, you'll eighter have to do the summerizing manually in the Dev-Env-Side of the report and or you can rely on some implemented functions like SUM or LAST or a combination of both methods.0 -
Use grouping on each three field in RDLC design.Jatin Patel
Microsoft Dynamics NAV Consultant
Jatin's Blog0
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