Forum Discussion
ChristianW
3 years agoValued Contributor
Please check here: https://community.onestreamsoftware.com/t5/Accepted-Code-Samples/Event-Handler-for-Consolidate-with-orwithout-logging-or-Force/m-p/3688#M35
With the si object you get the active user. Then you need to check, if the user is in a group of your choice, using a brapi function, to prevent or allow the force consolidate.
There is a chancel flag to cancel silent, or you can use a brapi function to generated an error with a custom error message. Be careful, an error in the event handler prevents some functions to work.
Related Content
- 6 months ago
- 11 months ago