So, we have a task to create an invoice. This is a process flow, first we check all values such as Debtor code, vat code etc. If not ok, these must be set and then the invoice can be made. If all is ok from the start, the invoice is made.
BUT, not all people clicking the Create Invoice, cannot add certain values on the account - like discount, vat code, debtor code. So, what I kinda what I a ‘You have insufficient rights for this… EXIT.”
Is there a way to detect and show such a message?