콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5188 화면

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
1812
0
3월 25
2952
1
11월 22
4663
0
12월 21
3355
0
6월 21
4362