
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/899013d1-ddf9-4ffe-91a3-1328bb400e8cn%40googlegroups.com.

cbp.c_bpartner_id = any(string_to_array($P{param_c_bpartner_id}, ',')::int[]);To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/868be54a-01ac-4fdd-ab38-781a3d7426d6n%40googlegroups.com.
Hello,
You could try with the following expression:
AND cbp.c_bpartner_id IN
($P{param_c_bpartner_id})
Regards,
| Saulo Gil | Orbital Software | +54 911 3049 4237 |
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/868be54a-01ac-4fdd-ab38-781a3d7426d6n%40googlegroups.com.
Hello,
I believe Jasper adds quotes to values, that's why it doesn't work ( I haven't tested it at all). Looking at the documentation, if the parameter is given to Jasper as a collection or array, the following expressions should work:
AND cbp.c_bpartner_id IN ($P!{param_c_bpartner_id})
OR
AND $X{IN, cbp.c_bpartner_id, param_c_bpartner_id}
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/01ff7db5-5016-4334-a248-ae75eead93dcn%40googlegroups.com.