mg2017
12/02/2021, 11:23 PMconst pdf_file = render.pickingTicket({
entityId: parseInt(so_id),
printMode: render.PrintMode.PDF
});
log.debug({title: 'PDF File ID', details: pdf_file});
//Store PDF in new folder
pdf_file.folder = 1737513;
pdf_file.name = company_name_lookup.entityid + '_' + pdf_file.name;
const file_id = pdf_file.save();
I am storing the delivery note of a SO in the file cabinet. I am wanting to attach this file and use it in an email. How can I achieve this? Even better, if I don't need to store the file in file cabinet, but can use it directly in the email.mdr
12/02/2021, 11:35 PMmg2017
12/02/2021, 11:47 PMmdr
12/02/2021, 11:52 PMmdr
12/02/2021, 11:52 PMmg2017
12/04/2021, 3:28 PM