I have a question regarding the data model. I have created a form, where user can select products form a cascading combo. I would like to display the current stock of the selected product to the user. Furthermore, when he types in the amount he would like to purchase, the stock should be decreased by this amount after saving.
Where should I create the stock column? Parameter or Master entity?
I tried it with the master entity but wasn't able to get it to be displayed in the form in connection with the selected product.
Thanks in advance