You can Debugging Functions - #2 by Aaron_Moreng and bpm dump has been there forever. Also there is a new dump sources checkbox. Gives you the Epicor generated code.
I respect the idea but won’t cede it entirely. Both widgets and code can be incredibly unreadable. The generated code is not easily read either. I will cede @jgiese.wci’s point that we really can’t make readable widgets. It’s out of our control. We CAN make more readable code but not to the point of following basic Clean Code techniques. That’s also out of our control since we cannot make our own classes, test harnesses, etc. Not sure where one can go from here because we are limited in our scope.
With the ease of access to the externals folder and custom assemblies folders these days this is less of an issue, but it would be tops if we could define classes and even use those as types for things like functions… would be… sooo awesome
So here is my widget code translated to C# for creating a new user. But im still having issues enabling the new user it seems like my get by id is empty data set.
Lol the first part is working but not the second part. I cant seem to see why it is not working. I was able to use the updateext on swagger page to get it to work so i will try that next but i am close.
Not causing your problem, but I would still set this to false. Since you’re Windows SSO, you may want to set the SSO only flag too. Setting the password to blank would potentially allow anyone on the network to log in via SSL or net.tcp. Forcing SSO should block that. Best not to allow blank passwords IMHO.
So, the user “Devin123.Draeger” appears in User Account Security Maintenance? Just not enabled?
As for the original (actual) issue, I still don’t get why the update fails in any kind of function I made. Sorry @Devin.Draeger
Since yesterday, I have tried Ice vs Erp, Update vs UpdateExt, and a dozen other things. But if they don’t work and all I need is to do one more thing, I’ll just skip the Function for that part.