Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
6295 Tampilan

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

return qoh

}

Avatar
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

Mr. Samba where did you put this?
 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 17
4574
1
Mar 15
3404
1
Mar 15
10597
0
Mar 15
4284
0
Mar 15
4844