Ron
02/13/2025, 7:22 PMCeligo AI
02/13/2025, 7:22 PMAI generated answer (using internal Slack threads):The error
SSS_AUTHOR_MUST_BE_EMPLOYEE
is thrown when the author of an email being sent via SuiteScript does not match an employee record in NetSuite. This error is common when using the N/email module in SuiteScript or when a workflow is set up to send an email.
In the context of copying an assembly item, it's possible that there's a script or workflow that's being triggered during the process which is trying to send an email. If the author of this email does not match an employee record, you will encounter this error.
Here are a few things you can do to resolve this issue:
1. Check if there are any scripts or workflows attached to the assembly item that are trying to send an email. If there are, ensure that the author of the email is an employee.
2. If you're using the N/email module in a script, ensure that the author ID is set to an employee's internal ID.
3. If you're using a workflow to send the email, you might need to set a specific sender. If you want the sender to be dynamic, you could create a custom field to store the author of the email and update the workflow action to get the author from this custom field.
4. If you want to send the email from the system, you can set the author to -5. This represents the system in NetSuite.
Remember to always ensure that the author of the email matches an employee record in NetSuite to avoid this error.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/13/2025, 7:23 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.840965688
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837902963
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829214931
Celigo AI
02/13/2025, 7:23 PM