Where are the settings that determine the filename...
# ask-stanley-ai
a
Where are the settings that determine the filename of invoices send via the "Merge and Send" button when creating a Message in the NetSuite UI? I mean the filename, not the extension or format.
c
AI generated answer (using internal Slack threads):
The filename of invoices sent via the "Merge and Send" button when creating a Message in the NetSuite UI is determined by the system and it's not directly editable via the UI settings. However, there are workarounds to change the filename. One way to change the filename is by using a workflow action script as mentioned in SuiteAnswers 69220. This would involve creating a custom script that changes the filename based on your requirements. Another way is to use SuiteScript, specifically the N/render module. Here's a sample code snippet provided in one of the threads:
Copy code
javascript
var customPdf = renderer.renderAsPdf();
customPdf.name = "Report Name.pdf";
This code snippet creates a custom PDF and sets its name. Please note that this requires scripting knowledge and might not be suitable for all use cases. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.830627441
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827270508
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824035525
Please provide your feedback on this answer.
d
I don’t think you can change this btw, not without recreating the whole process in script https://www.reddit.com/r/Netsuite/comments/1ppgcz0/netsuite_emails_updating_the_attachment_name/
a
Thanks, that saves me a lot of trouble looking around for a solution.
d
Yeah bit of a pain and feels like an oversight, but welcome to NetSuite