Join Slack
Powered by
How can we allow just record edit through UI(not c...
# suitescript
a
Ali
10/20/2020, 11:38 AM
How can we allow just record edit through UI(not create, not delete)?
s
Sam L
10/20/2020, 12:53 PM
Use a workflow to restrict creating & deleting - filter on the record type
a
Ali
10/20/2020, 1:04 PM
Thanks Any other solution?
s
Sam L
10/20/2020, 1:15 PM
What have you tried?
s
Sandii
10/20/2020, 1:26 PM
You could use a UserEvent on the record in beforeLoad and check the context and do whatever you want it to on CREATE or DELETE
a
Ali
10/20/2020, 2:22 PM
@Sandii
how can I show an error and stop loading record for example when user wants to delete the record
s
Sandii
10/20/2020, 2:24 PM
You need to play with but probably need beforeSubmit and check the
context.type
and use
throw
to throw an error instead
Open in Slack
Previous
Next