Help with creating a inventory

Help with creating a inventory

Hello!
We have encountered problems with creating an inventory. The problem is notdesigning the actual inventory in Zoho Creator. The problem is that we do not know howto subtract the data from storage when a product is produced. So the stock balance is always updated after we made ​​a product.

Does anybody know how to solve this problem, or if anyone has ideas on this pleaserespond.

Sincerely