From the SS2.0 API it states the following ```To r...
# suitescript
k
From the SS2.0 API it states the following
Copy code
To run a callback function when the OK button is pressed,
pass a function to the then portion of the Promise object. The value of the
pressed button, where OK is true and Cancel is false, is passed to the callback.