AppleScript UI Scripting and click
You can try using Automator “Watch Me Do” and record your actions in that business application. When you are done recording your actions, you can select all of those recorded actions and copy them to your clipboard. You can then paste into a script editor document. From there you will be able to see the commands and UI elements then just backward engineer them to suit your needs

For example in this following image, the commented code was what I pasted into script editor from the copied commands of “Watch me do” in Automator.  The compiled code was my re-wording of it