*Hi all!
I am on a JSF project for stock and sales management based on the MVC pattern.
I wanted to update the article ie the quantity in stock decreases by the quantity sold.
To do this, I have the classes Article (idArt, designation, qte_stock), Sale (idVte, date), ArticleVente (idArtVte, unitprice, quantity, # idArt, # idVte) and in particular their controller and service (here it is acts of facade for example the case of the class Article, the service is ArticleFacade etc.)
I need your help to do this!
Thank you in advance!*