Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
SuiteScript SendEmail Use of RelatedRecords
I'm having a problem being able to attach the email to a custom Project record.
I've successfully been able to use the API to send email as long as I only use either entityId as a related record and attach to an employee record or I remove that optional parameter totally.
I've tried using transactionId and I've tried customRecord, both together and alone. In all cases I get an UNEXPECTED_ERROR which has no details at all about what might be wrong.
Does anyone know what I need to do to have this email attached to my Project record?
/**
*@NApiVersion 2.1