I'm getting `That record is not editable.` on afte...
# suitescript
r
I'm getting
That record is not editable.
on afterSubmit UE script. Can you not set values on newRecord and save?
b
no, explicitly forbidden
r
@battk The reason I ask is that the email case creation feature is not respecting sourcing and filtering on a custom field.
I'm not exactly sure what's going on when cases are created that way. Any tips on how to set values there? I'd like it to happen on create.
I'm just pulling a field from the associated contact record.
b
im not quite following what you want to happen
r
Setup->Support->Support Prefs->Inbound email. It automatically creates cases sent there. The phone number field is sourced from the company record and it's working. We have a custom field, phone extension, which is sourced from the contact record, but the native email case creation feature is not respecting the sourcing and filtering options on the phone extension field.
I think because it's custom.
I'm trying to force the field to be sourced from the same corresponding field on the contact record.
b
haven't worked with inbound email. I only have the general advice about the sourced field: dont store value
r
it's too late... unchecking that box deletes all data. tested in SB 😕
b
it deletes the data, but the field will always have the current value
e
Makes the field unsearchable
which could be fine