I'm importing NON_Inventory_item. I'm setting all ...
# suitescript
s
I'm importing NON_Inventory_item. I'm setting all the fields. When I save, I get an error like this {"type":"error.SuiteScriptError","name":"SSS_AUTHOR_MUST_BE_EMPLOYEE","message":"The author internal id or email must match an employee.","id":"","stack":["anonymous(N/serverRecordService when I create the item manually, I don't have an error. What field do I have to set up ?
e
You are using the N/email module inside the script. Check the author ID.
s
I don't have any reference to the N/email 😞
I'm simply adding non inventory item
but I don't have that issue when I import Assembly Item
c
@Simon There may be another script that's deployed to Non-Inventory Items that is being triggered which is expecting a field value to send an email.
s
maybe. I will take a look
You are right. I should have verified before. There is a workflow. Thanks a lot
👍 1