A new knowledge base article has been published on our support portal.
In this scenario our business requirement is that when a user tries to delete an Invoice record that has been marked as paid we would like to stop this and show an error message to the user. See the screenshot below for an example,
N52 Formula Manager Solution
The Formula Manager solution works like this,
- We create a server-side only formula that fires for the Delete event of an Invoice
- The formula itself first checks to see if the Invoice has been marked as Paid
- And if true it will show the error message