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
-
Hi Thierry,
you can export multiple documents as PDF at once. There is a button to print all visible records.
-
Thank you Alex I've forgot this options.
-
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.
-
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