I'm translating a script from SS1 to SS2 and there...
# suitescript
k
I'm translating a script from SS1 to SS2 and there's a form.addbutton with the function name as 'SalesOrderScripts.checkForPromotions()'. How would I tell it to find that function in a client script running on that page?