I have a 1.0 scheduled script which logs execution in the script deployment record via nlapiLogExecution(). The script logs when there is an email sent from the script. How can I log the sent email in the communications tab on the sales order everytime the script sends an email?
01/09/2018, 12:57 AM
How is the script sending the email, if it is using nlapiSendEmail, there is a parameter there where you can attach it to the sales order.