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 Lead Developer
    in reply to swapnilk0010

    Sorry, to say that, but no, you don't. Putting such a large number of items in a drop down does not result in a great UX. I suggest to use a picker field instead.

    And then, in that constant, I see the letter "V". Does this indicate that you try to query a database view? Views are notoriously known for bad performance. If you need to use this view, you will have to find a way to speed it up.

Children