Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Transaction Communication Messages for SalesOrder & Estimate
Hi,
I am sending out an email for the Sales Order. How can I also attach this email to the Estimate for a communication message?
I attempted to add it as a customRecord However, it did not work.
email.send({ author: recipientService.getAuthorId(), recipients: [customerEmail], bcc: recipientService.getFallbackRecipients(), subject: mergeResult.subject, body: mergeResult.body, attachments: [pdfFile], relatedRecords: { entityId: customer.id, transactionId: salesOrder.id, customRecord: { id: estimate.id, type: record.Type.ESTIMATE, }, }
I also tried attaching the message record to the Estimate and/or Sales Order. However, I received an error of Attaching of record type message to salesorder is not supported