Hello. Can we delete script records using SuiteScr...
# suitescript
b
Hello. Can we delete script records using SuiteScript? I tried record.delete({type:record.Type.USEREVENT_SCRIPT, id:1}) but it throws Record cannot be created or deleted error
u
Looks like you already have your answer.
b
So can't be deleted?
u
i think not- what about if you try to set it inactive ? could that work for your use case ? does it throw a similar error ?