コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4747 ビュー

Hello Dear can anyone let me know why we use l in below code what it is mean also what is meant of factor and why we use it please explain below query

sum (l.product_uom_qty / u.factor * u2.factor) as product_uom_qty FROM 
sale_order_line 


アバター
破棄
最善の回答

User can select the required unit of measure(UOM) while selling or purchasing a product. While the user selects  a UOM which is different from the default UOM of that product. The above code is used to convert the selected UOM quantity to default UOM quantity. 

アバター
破棄
最善の回答

This is for converting the value of quantity from the UoM specified on the Sale Order Line to the main UoM specified on the Product template.

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 25
1328
0
3月 25
2343
1
11月 22
4101
0
11月 21
2921
0
6月 21
3856