Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6291 Widoki

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

return qoh

}

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

Mr. Samba where did you put this?
 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 17
4571
1
mar 15
3399
1
mar 15
10593
0
mar 15
4280
0
mar 15
4842