Hi, good day.
I want to be able to send the electronic documents (PDF and XML) by mail after stamping the invoice in NetSuite, we are using the Mexico Localization bundle to stamp.
I know that it can be done using the comunication tab, clicking on the email button and attaching the corresponding files but this is a bit tedious and we want to find some other way that ir easier to send them.
I made a workflow which adds a button on the invoice where if I click I can send the email with the attached documents corresponding to that invoice, the detail I have is that I cannot send the PDF and XML in a single email I can only attach one od the two files.
I would like to know if there is any way to be able to send the two files (PDF and XML) in a single email through the workflow or if there is any other way to do it, either by script, if it has to be done by script, I would greatly appreciate it Can you help me since I'm new to scripting.
Thank you!