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

How can I merge two filters in an RML report? 

This one: [[repeatIn(filter(lambda l: l.x_printable_choice==0 ,o.invoice_line), 'l')]]

and the one above: [[repeatIn(filter(lambda l: l.name.find('>')==-1, o.invoice_line), 'l')]]

 

아바타
취소
베스트 답변

Try the below code:-

[[repeatIn(filter(lambda l: l.name.find('>')==-1 and  l.x_printable_choice==0, o.invoice_line), 'l')]]

 

아바타
취소
작성자 베스트 답변

That worked perfectly! thank you very much Prakash!

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
3698
3
7월 24
8492
2
12월 17
3170
0
4월 17
3204
1
4월 17
4578