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.

Exporting to PDF

Featured Replies

Currently when I produce an invoice I need to go to my printing layout, then do a search for my particular invoice and print. Very annoying as sometimes I forget what the invoice number is that I want to print.

Here is the code:

Go to Layout[“InvoicePrinting” (Invoice Line Items)]
Enter Find Mode [Pause]
Perform Find []
GO to Field [invoice Line Items::Todays Date]
Print Setup [Restore]
Print[Restore:Canon MX700 series]
Go to Layout[“Project_Details” (Projects)]
Exist Script []

 

What I want to do is simply go to related record and print, but when I try this I get what appears to be all my line items in my database on my one invoice.

Here is the code:

Go to Related Record [From table: "Invoice Line Items"; Using layout:"InvoicePrinting" (Invoice Line Items)]

Go to Field {Invoice Line Items::Todays Date]

Print Setup [Restore]

Print [Restore: Canon MX700 series]

Go to Layout ["Project_Details"(Projects)]

Exist Script[]

 

Any help appreciated

In the Go to Related Record [ ] step, select the option to Show only related records; Match current record only. This is assuming you are calling the script from the selected invoice's record.

 

Also, your title speaks of exporting to PDF, but your script prints.

  • Author

Thanks for that. I thought I had clicked those on but I guess somehow i never saved it with it turned on.

With regards to the PDF component. Currently what I do is manually go from printing to saving it as a pdf. I am assuming that there is a way to condense all of this to just print as a pdf but do not know how and still allow me to create a custom name for the pdf. Any help appreciated.

Thanks

allow me to create a custom name for the pdf.

 

What should the custom name be?

  • Author

I got it figured out.

My pdf works fine now. Thanks again for your help earlier.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.