Hi. I know this must have a really simple answer ...
# suitescript
m
Hi. I know this must have a really simple answer but what can I interrogate in a user event script to determine what type of record caused the script to fire? I have a ue script that places a custom button on a form and the button needs to perform a different function if called from the version applied to the Customer record vs. the version applied to the Sales Order record. I am just lazy and don't want to make two unique scripts to maintain in the future so I want the decision-making logic in the script.