Right click to a form with level0 members of the chosen parent
I want to create a high level review form where user can right click on the selected cost centre parent and go to a form that only shows the bottom level cost centres for that selection, in a similar way to how user variables work. This works with individual bottom level cost centres, but not with parents.
I would love a simple answer to this, but I'm quite sure it's not possible without some creativity. I've been looking at maybe automatically updating a user variable based on the selection using groovy, but every single parent in the cost centre structure would need to be in the list of user variables and that would become a maintenance nightmare. I considered updating the substitution variable, but that would change it for all users.