Hello! I am working on a User Event script that tr...
# suitescript
k
Hello! I am working on a User Event script that tracks deletion of Transaction records. In our instance, we have the
Use Deletion Reason
feature turned on, which forces the user to select the reason for deleting the transaction. Currently the deletion reason pop-up section has 2 fields i.e. Deletion Reason (a list with values Original Document Damaged and Other) and memo. In my User event script, I am able to get the value and text for Deletion Reason field (
fieldId: deletionreason
), however, I am not able to access memo from the script. Has anyone worked on something like this and been able to access Deletion reason memo as well?
b
log the record in the user event before its deleted so that you can see all its fields
alternatively use the debugger for the same purpose