I'm trying to add a message to JEs on view. There is not an easy way to do this that I know of by deploying a client script, and the only way I know to fire a custom function in a client script is using a button. What's the best way to do this? The use case is warning the user when AP/AR are locked (because it breaks the approval workflow).