I think i have an easy one. After I'm done with a ...
# suitescript
s
I think i have an easy one. After I'm done with a customer, I have to prefix the email with disabled_ I wrote record.submitFields({ type: 'customer', id: 1233, values: {email: 'disabled_jack_black@yahoo.com' }, options: {enableSourcing: false,ignoreMandatoryFields : true} }); I'm getting this error You must provide a password to give this person access to your account. Any idea what I'm doing wrong ?
b
you dont want to change email this way if that customer was granted access to a customer center
s
How can we do it ?
b
remove their access too
changing their email is basically removing their access anyway