Form Validation: Check new stock quantity before submit form

I’m working on a stock movement form to record outgoing transactions. One of the requirements is to ensure that the stock level cannot go negative after an outbound transaction. For example, if the current stock is 10 units and the user tries to record an outbound transaction of 15 units, the system should prevent this and show an error message.

I have tried on linkage rules, set validation, and workflow bu have no clue how to do that. Please help.


You can use pre-action trigger: Pre-action trigger - NocoBase

1 Like

May I know the cost of this plugin?

It’s $400 / $800