In Sales Invoice report , Transheader and Transfooter are not priniting for some reason. I have added one new data item just after the sales invoice line.
I am bit stuck here!!!
Sorry I gave the wrong information.
What it is suppose we are printing a sales invoice report and it prints in 2 pages. If the information from one dataitem ( say Sales Invoice line ) start printing from first page and goes to second page then TransFooter and Transheader both prints and it works fine.
But what happened with one of my client is information from Sales Invoice line dataitem got printed in first page and in second page it started printing for next dataitem.
Obviously, Transheader or Transfooter of Sales Invoice Line would not execute.
But the client requirement is to print "Continued To next page" if report is printed in more than one page.
Try this (not realy a beautifull way):
-create a global text that you fill up with "Continued To next page" at "OnAfterGetRecord" of the header-record.
-Create a footer-section on the header-record with in it the global text.
-in the "OnPostDataItem()" of the line, you put it to blank.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
The transfooter must be on the dataitem, which is divided with the pagebreak, for example PageLoop in standard reports. It is not called, when the pagebreak is between two dataitems...
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
What it is suppose we are printing a sales invoice report and it prints in 2 pages. If the information from one dataitem ( say Sales Invoice line ) start printing from first page and goes to second page then TransFooter and Transheader both prints and it works fine.
But what happened with one of my client is information from Sales Invoice line dataitem got printed in first page and in second page it started printing for next dataitem.
Obviously, Transheader or Transfooter of Sales Invoice Line would not execute.
But the client requirement is to print "Continued To next page" if report is printed in more than one page.
Regards,
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
-create a global text that you fill up with "Continued To next page" at "OnAfterGetRecord" of the header-record.
-Create a footer-section on the header-record with in it the global text.
-in the "OnPostDataItem()" of the line, you put it to blank.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.