I have a method BPM on SO Update that when certain conditions are met, a email is being sent to the OrderHed.EntryPerson. All our Epicor users have an email address entered in the User Account Maintenance (UserFile) so I tried to pull the email address
Two choices - #1
The TableCaches. No db hits.
e.g. -
Ice.TableCache.XYZ
such as
Ice.TableCache.UserFileCache
This is an in memory and cross app server cache of the UserFile table. Any updates to the table are managed by notifying other app servers of the changes to invalidate the cache on the other app server (Web Farm / Garden friendly).
The core systems use these caches heavily and I expect to see more appearing in the system.
The ?? is a null check. It only works in the latest version of C# (unfortunately not in 10.1.500 for me)
It essentially means as long as everything the ?? is NOT null, do the rest. It really saves a load of time because in reality, nearly everything needs to be null checked.
If you build and compile the BPM custom code in an external assembly instead of the built-in code editor you can code in Visual Studio and use all the current language features. Once I discovered how to do this I’ve never looked back…
You knew I’d be back at some point… or were you hoping for complete annihilation? I thought we had the Coup d’état talk before… shakes fist
I survived mostly unscathed (except for some bruises to my ego… that sh*t was scary)
Now… where was I… oh yeah