Hi All, Is there any way to add a comment box so t...
# suitescript
s
Hi All, Is there any way to add a comment box so that user can enter comments before deleting any transaction records?
n
Yes, you can add a text type field to transactions for sure. I suspect you want to enforce the filling in of this when you delete? If so you could write a User Event script and deploy to transactions that runs beforeSubmit, on DELETE and checks that field. If it's empty, thrown an error to prevent the record saving. Just be careful you do mean ALL transactions though, you might want to only deploy that script to certain types 😉
s
Ok Thank you I will check this
s
Thank you @battk
n
Ha, bonus, hadn't even considered that.