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.
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.