Skip to Content
Menu
This question has been flagged
2 Replies
6345 Rodiniai

I need a function that gives QOH of particular product. like def getQOH(product_product_id, stock_Location_id){

return qoh

}

Portretas
Atmesti
Best Answer

Hi Samba,

you can use the following method to get the stock. That methos is located into stock module and in stock.py file.

1) To get stock for a particular location : _product_get

2) To get stock for a particular location and its all child location : _product_all_get

3) To get Virtual stock for a particular location : _product_virtual_get

Portretas
Atmesti
Best Answer

Mr. Samba where did you put this?
 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
gruod. 17
4642
1
kov. 15
3443
1
kov. 15
10671
0
kov. 15
4377
0
kov. 15
4883