Howdy,
1st time post.
I'm facing a particular issue with my Query Entity results. Essentially, we need to filter out (not include) inactive equipment in a nested CDT structure. The QueryEntity rule queries against an parent order and has equipment (nested CDT) numbers associated. The results return all equipment records regardless if the equipment is active or inactive. Would there be a way to effectively retrieve the order form only with active equipment?
Query Entity Expression:
a!queryEntity_18r3( entity: cons!EMS_DB_RM_UPDATE_MOTOR, query: a!query( pagingInfo: ri!pagingInfo, logicalExpression: a!queryLogicalExpression( operator: "AND", filters: { if( rule!HAL_checkNullOrEmpty( ri!toolServiceId ), null, a!queryFilter( field: "motorToolServiceId", operator: "=", value: ri!toolServiceId ) ), a!queryFilter( field: "isActive", operator: "<>", value: false ) } ) ) )
Results:DataSubset
Hope to hear your thoughts on this one.
Much appreciated,JT
Discussion posts and replies are publicly visible
Great! :)