How can I attach a timesheet to a customer invoice...
# ask-stanley-ai
m
How can I attach a timesheet to a customer invoice in NetSuite when sending the invoice via email?
c
AI generated answer (using internal Slack threads):
To attach a timesheet to a customer invoice in NetSuite when sending the invoice via email, you would need to create a custom workflow or use SuiteScript. Here's a general approach: 1. Create a Workflow: You can create a workflow with two states. The first state adds an 'Email Invoice' button. Use this button to transition to the second state and set the action to 'Email'. In the email body, write the content you want and attach the PDF invoice. 2. Use SuiteScript: If you want to attach other files stored in the files subtab, you can use SuiteScript. You would need to search for the attached file and then attach them in your email. Unfortunately, there's no specific code sample provided in the threads, but this is the general approach. Remember, if you start your email from native NetSuite UI using their email tools, all replies will be captured back in NetSuite with no further action required. However, all the back/forth replies can add some clutter to the Communications Tab. ****** 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.850543082
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845763
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844481826
Please provide your feedback on this answer.