Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
6311 Weergaven

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

return qoh

}

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Beste antwoord

Mr. Samba where did you put this?
 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
dec. 17
4602
1
mrt. 15
3410
1
mrt. 15
10638
0
mrt. 15
4319
0
mrt. 15
4856