Created
January 19, 2018 10:47
-
-
Save d-oderbolz/28899afa6c6d8d0399857828a93af0f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getActiveProductsManagedByUser: function(user_sys_id){ | |
try | |
{ | |
if (! this.checkSysId(user_sys_id)) | |
{ | |
throw("getProductsManagedByUser: Not a valid sys_id - " + user_sys_id); | |
} | |
// Rest of code here | |
} | |
catch (e) | |
{ | |
// Nice to read this using reflection | |
var context = "KMClientScripts.getActiveProductsManagedByUser"; | |
gs.error(context + "-" + e.message); | |
gs.eventQueue('script.error', null, context, e.message); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment