thanks for the post.
I also ran into this issue, but in a material dispensing operation...different industry but same type of printout. Rather than print the layout you work from with the side scroll bar and everything, I made a separate "Printing" layout.
In the "Print" layout, I put the # of rows in the portal to 175 and just let it rip. Make sure, however, you handle the "sliding and printing" to move up the summary fields and footers for invoices that only have 3 or 4 lines.
Does that make sense in your application?
Thanks - that does work. I had actually already set up a special layout for printing the invoice so it was quite easy to change the number of portal rows (and make the "body" section a lot bigger! ;-) The sliding up of the fields in the trailing summary worked well too. Again, thanks!
I don't think it's a good way to do that.
First how about an invoice with item more than the total records you set in the portal?
Second, I just tested the solution, it is hard to adjust the portal height depending on your Head height. As a result you can lost rows in the page break place. My solution is using a script to switch to the LineItem table by goto the related records when you want to print the Invoice. There you create a new layout for print only, which is in list view only. This way, there is no loss for the items in your invoice and no limit on how many item can appear in the invoice.
how do you do lineitem. i have invoice system and i am trying figure out how to set up nice layout for invoice when it get printed. any sample code will be appreciate it.