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
//greg
11/04/2024, 2:33 PM
Looks like you already have your answer.
b
Boris Yasen
11/04/2024, 2:33 PM
So can't be deleted?
u
//greg
11/05/2024, 2:43 AM
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 ?