0

Batch a script to records

Hello,

I would like to know if in list view I can run a script on multiple record at once,

I explain, I have lot of invoice paid and I would like to export all of this in pdf with the script "importFile", is there a way even to do one at once?

Thanks

Thierry

4 replies

null
    • Alexander_Koenig
    • 6 yrs ago
    • Reported - view

    Hi Thierry,

    you can export multiple documents as PDF at once. There is a button to print all visible records.

    Bildschirmfoto 2018-11-09 um 18.36.35

    • Thierry_Grosjean
    • 6 yrs ago
    • Reported - view

    Thank you Alex I've forgot this options.

    • Thierry_Grosjean
    • 6 yrs ago
    • Reported - view

    Alex, when I do that I record all my invoice in 1 file? 250 invoices in 1 PDF file? I'ts not the good way.

    • Support
    • 5 yrs ago
    • Reported - view

    Hallo, 

    If you want to have single PDF's you may use a button with a loop for the printRecord() function:

     

    printRecord(recordId, layoutName) - Creates a PDF from the given record and print layout name.
    |  printRecord(record(Invoices, 1), "My Invoice Template")

    e.g.

    for i in selcect 'My Choice of records' do 

    printRecord(record(MyTable, 1), "My Invoice Template")

    end

     

    Best regards, Jörg

Content aside

  • 5 yrs agoLast active
  • 4Replies
  • 2222Views