not sure about the error but did you try setting a...
# suitescript
s
not sure about the error but did you try setting autoname checkbox to false and then set the entityid during create?
record.setValue("autoname", false);
record.setValue("entityid", customer.entityId);
d
I believe this is the resolve - thanks you
s
welcome