0

Save record as PDF

I have created a print layout for my invoice records.

Is there a way to reference this view in code so I can create a pdf via a button on the form view of the record instead of going through all the intermediary steps?

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Alan Cooke
    • Alan_Cooke.1
    • 5 mths ago
    • Reported - view

    Replace "CONSUMABLES" for your report name and there you go.  Just place this under a button.

    printRecord(this, "CONSUMABLES")

    Note:  Only prints the current record (as in 'this')

    Like
Like Follow
  • 5 mths agoLast active
  • 1Replies
  • 70Views
  • 2 Following