Facing an issue regarding queryentity in expression rule

Certified Associate Developer

In a queryentity function, in an interface, I'm getting an error like "Unexpected error executing query (type: [CPVAccountsStatementTrackerDT8331], query:[queryentity expression], order by: [[Sort[FinancialInstitutionOther asc]]], filters:[(firmId = TypedValue[it=1,v=-1)])". How should I resolve this error. In one of filters, we are filtering based on -1 but this is working in some environment while failing at  some.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to gayatria0439

    a!queryEntity_22r2(

    entity:cons!CP_DSE_V_STATEMENT_TRACKER,

    query:a!query(

    pagingInfo:a!pagingInfo(

    startIndex:1,

    batchSize:-1),

    selection:a!querySelection(

    columns:a!queryColumn(field: "financialInstitutionother",alias:"FinancialInstitutionOther",visible:true()),

    logicalExpression:a!queryLogicalExpression(

    ignoreFilterWithEmptyValues:true(),

    filters:{a!queryFilter(

             field: "firmId",

    operator:"=",

    value:-1)

    }

    )))

Children