can both the recipient email address and the "toBe...
# ask-stanley-ai
l
can both the recipient email address and the "toBeEmailed" of an invoice be modified in the same request through the rest api
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it appears that both the recipient email address and the "toBeEmailed" field of an invoice can be modified in the same request through the REST API. However, there are a few things to consider: 1. The "toBeEmailed" field should add a message record to the message sublist on the transaction, with the recipient being the value(s) in the email field. However, NetSuite might not actually send out an email depending on the account's email preferences, but you should at least have something in the message sublist. 2. If you are testing in a sandbox, make sure you have whitelisted the email addresses in the preferences for sandbox/Release Preview. 3. Make sure there are no other scripts or workflows manipulating email fields. 4. The 'From' email address can be updated in the Preferences / General settings, but this would affect all emails sent from that person via the system. 5. If you want to change the 'From' email address for a specific invoice, you might need to customize the whole thing via a workflow (i.e., not use the standard "toBeEmailed" checkbox). ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813601494
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812152147
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809244812
Please provide your feedback on this answer.