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

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
3692
3
7月 24
8482
2
12月 17
3169
0
4月 17
3193
1
4月 17
4570