Re: ofbiz entity query problem?

2016-08-31 Thread Hans Bakker
looks like it is caused by the underlying viewforget it for now. On 01/09/16 13:18, Hans Bakker wrote: Sorry it is a bit more complicated: andExprs = []; andExprs.add(EntityCondition.makeCondition("marketingCampaignId", EntityOperator.EQUALS, parameters.marketingCampaignId)); andExprs.a

Re: ofbiz entity query problem?

2016-08-31 Thread Hans Bakker
Sorry it is a bit more complicated: andExprs = []; andExprs.add(EntityCondition.makeCondition("marketingCampaignId", EntityOperator.EQUALS, parameters.marketingCampaignId)); andExprs.add(EntityCondition.makeCondition("actionIsActive", EntityOperator.NOT_EQUAL, "N")); orExprs = []; orExprs.add

ofbiz entity query problem?

2016-08-31 Thread Hans Bakker
if i write the groovy statement: orExprs = []; orExprs.add(EntityCondition.makeCondition("workEffortId", EntityOperator.NOT_EQUAL, null)); i get the error message: java.lang.IllegalArgumentException: Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL ) if i change the ope