- Create a Button on Invoice called SEND EMAIL using SuiteScript. Only show this button to View Mode and when User is Administrator.
- If user click that button, it should send an email with Invoice PDF Attachment.
Asked
Active
Viewed 424 times
-1
1 Answers
0
This can be done in workflow :
- Create a Workflow against Transactions, subtype Invoices. Check the On Create and On View Or Update checkboxes.
- Change the name of the first state to "Start".
- In the "Start" state, add a button, call it "SEND EMAIL", set the Trigger On field to View. Add a condition of User Role Is Administrator.
- Create a second state, call it "Do Send".
- Add a transition from "Start" to "Do Send". Change the Execute On Button field and choose "SEND EMAIL".
- Add a Send Email action to the "Do Send" state. Configure the action parameters (sender, recipient, body, subject, etc). Check the Include Transaction checkbox and select your preferred format (PDF/HTML/etc).

Simon Delicata
- 401
- 5
- 15
-
No, only using SuiteScript. – nexiv Oct 17 '22 at 05:23