Hi , there is a client requirement to change the file name of the downloaded invoice prints .
Is this doable ??
Currently we have the default name of pdf as custinvc_1234.pdf but I need this name of the pdf to be the {documentnumber}.pdf of the invoice .
Kindly advice on this . Thanks
m
Marc
01/24/2024, 11:21 AM
I think yes by create a custom button Print PDF ( use client script who call another script to print the pdf and use a logic to rename the file with document number )
s
shree sashti
01/24/2024, 11:27 AM
Is there a way to achieve this in the ADV pdf templates code itself ??
n
NickSuite
01/24/2024, 1:55 PM
Not really @shree sashti. Scripting is the way as @Marc mentioned.