query rule

Hi 

how can i write above query in ER? 

can anyone help me with this?

i have tried but it gives error

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to KM

    a!queryLogicalExpression(
    operator: "AND",
    filters: {
    a!queryFilter(
    field: "GCIF",
    operator: "=",
    value: ri!gcif
    ),
    a!queryFilter(
    field: "LIABILITY_NUMBER",
    operator: "=",
    value: ri!liabilityNumber
    ),
    a!queryFilter(
    field: "CIF_TYPE",
    operator: "=",
    value:"Parent"
    )
    }
    )  

    please replace your code with the above one and add two rule input variables 1) gcif number(integer) 2) liabilityNumber number(integer). I am not sure why you took GCIF 2 times in where conditions.

Children