Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
6337 Ansichten

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

return qoh

}

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Beste Antwort

Mr. Samba where did you put this?
 

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Dez. 17
4640
1
März 15
3438
1
März 15
10665
0
März 15
4373
0
März 15
4877