Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Printing too long invoices in multiple pages

Featured Replies

Good evening everybody, 
 
I am creating an invoice system with 2 tables: the 1st one contains the product lines that are sold and the 2nd one includes the invoices. Both tables are related.
 
Anyway, I created a layout to print the invoices that has a header for each invoice, a portal where are shown only associated products with each one and footer with the final amount (with VAT included and not).
 
The problem is that some of those invoices have more than 30 sold products and I don´t get to do a layout that allows printing it in multiple sheets keeping the header and footer. 
 
I am now doing a new layout, but listing products sold. The problem is  that all products are shown but unfiltered. 
 
Could anyone help me? 
 
Thank you very much, 
Wardiam

You almost always want to print from the child table (line items). Not sure what you mean by "unfiltered".

  • Author

Hi Comment,

 

I will try to explain it. For example, if I have 3 invoices with 5 products sold in each one, in the table "invoices" I have three records (one for each invoice) and in the table "line items" I have 15 records in total. In both tables, there is a field "idInvoice" that relates both tables.

 

I want to print an invoice with only associated products (items). If I do a layout with a portal, I get this result but whenever the number of items does not exceed the size of the portal. The second option that I tried was to replace the portal for a list of items (in list mode) but in this case I don't get to show only the related products to each invoice (I cannot filter the products) and the 15 products are shown.

 

How could I get to print only the associated items?

 

Thanks,

Wardiam

If you're printing one invoice at a time, start by:

Go to Related Record [Show only related records; From table: “LineItems”; Using layout: “PrintInvoice” (LineItems)]
  • Author

Thanks Comment,

 

perfect, it works now with your suggestion.

  • 1 year later...
  • Newbies

So if I'm right, you never start your lay-out from you invoice table, but form the invoice-items? 
Have the same challenge right now. ;-) 

This question is about printing, and as I said above:

On 10/14/2014 at 2:11 AM, comment said:

You almost always want to print from the child table (line items).

 

  • Newbies

I have this right now. 
It kind of works, but I can't access the field of the invoice itself. 

I need them to make a summary ofcourse. Or am I totally wrong here? 

 

Screen Shot 2016-05-24 at 14.04.10.png

3 hours ago, thijswostyn said:

I have this right now. 
It kind of works, but I can't access the field of the invoice itself.

The invoice fields are not on the layout because you did not put them there.

Put them there.

Put the invoice (parent table) fields on the layout.

Screenshot from converted Comment file.

 

invoice print setup.png

Edited by BruceR

  • Newbies

OMG you guys helped me out like A LOT.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.