<@UAY2A4UBA> I think I found the problem. In order...
# suitescript
a
@reptar I think I found the problem. In order to simplify my code, I added this line to the return object of my custom module:
UserID: runtime.getCurrentUser().id
which allows me to get the User ID by just typing
_Ext.UserID
instead of
runtime.getCurrentUser().id
. I do this for a number of things and it’s purely a quality-of-life improvement. The error is stating that my
runtime
module isn’t available when it’s creating the return object.
👍 1