I made a process in which i am downloadiing multip...
# ask-stanley-ai
d
I made a process in which i am downloadiing multiple vouchers of a transaction and make them push ina zip file , that make different pdf for each record, for example i downloaded a zip of 4 records that give 4 different pdfs , now inned to merge them i a a single pdf , for both standard vouchers of a trasnacstion and custo transaction\
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that merging multiple PDFs into a single file is not directly supported in NetSuite. However, there are a few workarounds you can consider: 1. Advanced PDF: You can create a custom Advanced PDF/HTML template that includes all the information you need in a single document. This would involve creating a new template that pulls in data from multiple records or transactions. However, this might require significant customization and may not be feasible if the documents to be merged are complex or vary significantly. 2. Map-Reduce Script: You can use a Map-Reduce script to generate PDFs for each transaction and save them in a folder in the file cabinet. Although this doesn't merge the PDFs into a single file, it allows you to download all the PDFs in a single zip file. 3. UserEvent Script or Workflow: You can use a UserEvent script or a custom workflow action to generate a PDF each time a record is created or amended. The PDF can be saved to the file cabinet and associated with the transaction record. This approach can be used to generate a series of PDFs for a single transaction, but again, it doesn't merge the PDFs into a single file. Remember, these are workarounds and may not perfectly fit your use case. You might need to consider using an external tool or service to merge the PDFs outside of NetSuite. ****** 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.831115842
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827819943
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823913693
Please provide your feedback on this answer.