Level 74
Show us what you got so far and it will be easier for us to help you.
Summer Sale! All accounts are 50% off this week.
I'm building an online grocery app which records the inventories and sales.
I want to include the update sales transaction feature.
when recording sales transaction I create a sales record with the products that purchased., and also deduct the product available count in the database.
But in the update transaction, the counts needed to be changed again? I'm a bit confused. How to handle this? Or my approach wrong?
Please or to participate in this conversation.