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

    in the screenshot, GCIF,Liability_Number and CIF is same for all. Then please use the below expression for the querylogicalExpression. 

    Note: you have to change the field name(GCIF, CIF_TYPE) in the code. for the please refer your cdt. Rule input GCIF is of integer type.

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

Children