query record result

Certified Associate Developer

I need to make a record-like query for a 1 to N relationship, in which it only returns the values ​​of the parent record if all the values ​​in the N relationship meet a condition. Example :

I have a record called "Need" and it is related to another called "needchangestate" through a relationship 1 to N, I need it to return only the needs where all the needchangestate meet a condition, if all the elements of the relationship N do not meet the condition, the element Need should not appear

Currently it returns me an investment where the condition is met in at least one of the records of the relationship N but this is not what I am looking for.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data