I have a table, Users. I have an other table, Invoices. I have a script that when you press the 'Xero' button, the 'Xero' invoice open in a web browser.
However, only a couple of users have Xero logins. These users have a 1 in the Users::Xero_admin field. How can I have a condition which says,
If the current user (Get ( UserName )) has a '1' in the Users::Xero_admin, let them perform an action etc.