
Hi,
When creating PDF attachments from purchase order or sales order, using the Attach as PDF action the name will be generated from the layout used plus the source and the source code number.
Is there a way to customize the file name? I wanted it to be just the source (sales or purchase order) plus the source code (number of the sales or purchase order).
I did some extensive search but found nothing about it.
thanks.
In this instance the document attachment table is used. It does have integration events. These would offer the chance to alter the file name. Worth noting an additional function is used before the file is saved to the table to ensure it has a unique value as you could attach multiple versions of the same document. This would be to mimic versions of an order prepared for customer review. You don’t want to alter that if you can help it