Tips to manage this purchase order module correctly

not sure if im being clear @Kabirdas its like an invoice if you need to edit, you add/delete product, modify header, date, names, etc then update everything, not sure if you guys recommend me another way for this?

:thinking: thanks for sending the video! I think I may have misunderstood as well. So you have an "Add line" button that works when you add a new product, but doesn't work when you try adding additional quantity to an existing product. Is that right?

No, when I need to change quantity I enabled that field make it editable and run another query. The issue is when I try to add a new product to the table