Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Changing stock count in database

$
0
0
Hi Nick,

At a simple level there is the QtyRemaining field in the NB_Store_Modes table. But there is also a QtyTrans and QtyTransDate, these keep track of stock levels that are being processed by the Store. So this can get complicated if you want to update the stock while an order is being processed. However if your increasing the stock amount then I don't think you'll have any issue, it should be a case of updating the stock in QtyRemaining, but if your decreasing the stock level then you need to think about if the stock is already being purchased. Failing to take this into account could give you incorrect stock amounts.....but I suppose if your updating every hour the risk of selling something that is out of stock is minimal.

Regards,
Dave.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>