0
I am writing a sales add api for v3.5.5.
I am adding to the sma_sales
sma_sale_items
sma_costing
sma_payments
tables but it is not deducted from the warehouse number
I am also decreasing the stock number in the sma_warehouses_products table
I am also decreasing the stock number in the sma_products table
When I do Quantity Synchronization, the stock becomes esk
What am I missing, I would be glad if you could answer
0
Hello,
You can check the addSale
method of sales model app/models/admin/Sales_model.php
I suggest you use the same method to add you sales.
Thank you
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.