Hello,
I'm using effectivity in tree grid views in Aras 12. One use case I had was to have effectivity on different levels. So that the top level of a structure has certain effectivity configurations and lower levels have their own that refer to the top level. But in order to do this I think I would need to have an OR condition in my effectivity criteria.
I have been able to programatically set the "EffectivityCriteriaDefinition" parameter of the query definition to filter by 1 option for a variable by setting the parameter like this:
<eq>
<variable id="item_id_model" />
<named-constant id="item_id_z5" />
</eq>
but when I try to use this type of OR value for the parameter the tree grid fails to render:
<or>
<eq>
<variable id="item_id_model" />
<named-constant id="item_id_z5" />
</eq>
<eq>
<variable id="item_id_unit" />
<constant type="int">10</constant>
</eq>
</or>
Is this a bug in the tree grid/query definition implementation of effectivity or am I approaching this the wrong way?
Best Regards
Rick