Page total in NAV
lockwc
Member Posts: 8
Anybody tried creating page totals for reports in NAV?
Example 1/xx, 2/xx etc
Understand it is difficult to do that in NAV but any one did it successfully?
Advice required and appreciated.
Example 1/xx, 2/xx etc
Understand it is difficult to do that in NAV but any one did it successfully?
Advice required and appreciated.
0
Comments
-
Check this : http://www.mibuso.com/dlinfo.asp?FileID=752Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
kriki wrote:Check this : http://www.mibuso.com/dlinfo.asp?FileID=752
Thanks - saw the replies posted from people downloaded.
Useable for simple reports but not for documents like invoice etc.
a case for Un-solvable Nav stories,
Rgds0 -
It is possible to do it for invoices, but you have to control all. You have to define how many lines per page, then read all lines, divide them between pages in a temptable and when you have done all, you can print from that temptable, but you have to control the pageskips, ...lockwc wrote:Useable for simple reports but not for documents like invoice etc.
Like in the old times when printerdrivers didn't exist.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
In reading your post I thought of trying this, and it seems to work.
I have a payroll report I do, and I could use page totals for wages.
I just created a variable for pgtotal and pgtotaltoshow.
Employee, TransFooter (2) - OnPreSection()
pgtotaltoshow := EarningsAmount - pgtotal
Employee, TransFooter (2) - OnPostSection()
pgtotal := pgtotal + pgtotaltoshow
EarningsAmount is the group total for the wage
Then I put the variable pgtotal in the transfooter
and the report prints correctly, every page prints the total of the wages on that page. Is this what you are trying to accomplish. Or am I reading it wrong ?0 -
Hello you can also call the report recursively and get the total pages.
You can use that for complicated reports like invoices.0 -
Hi, Can you please give more information on how to run a report 'recursively'?
Your help is much appreciated.0 -
Either I am misunderstanding something or you are overcomplicating it but page totals for f.e. invoices should be dead simple.
On Sales Invoice Line - OnAfterGetRecord you say LineAmtTotal += "Line Amount"; and show this variable in the TransFooter.
If you need a strictly page total i.e. not a running total but only the total of records on that page and not the previous pages, then CLEAR this variable in a TransHeader - OnPreSection0
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
- 322 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
