An error occurred while executing a save: Expression evaluation error

Hi,
Please let me know if you have seen this error before and have come across this.
I have seen this error before when there is a connection issue to the database and it can't retrieve data.
However, in this case, I have verified over and over again that the connection is fine.

Users get this error:
An error occurred while executing a save: Expression evaluation error in rule 'nod_getcrslineitemsforenterdetailsform' at function a!queryEntity: An error occurred while retrieving data.

Here is the script for 'nod_getcrslineitemsforenterdetailsform': (I believe it is complaining about the section that has the ri!location but I can't figure out what is is)

a!queryEntity(
entity: cons!NOD_CRS_LINE_ITEM,
query: a!query(
logicalExpression: if(
and(
isnull(ri!chargeType),
isnull(ri!location),
isnull(ri!tradeHour),
isnull(ri!tradeInterval)
),
null,
a!queryLogicalExpression(
operator:...

OriginalPostID-226536

OriginalPostID-226536

  Discussion posts and replies are publicly visible

Parents
  • Hi @garym - is the below expression able to get the data in ?
    a!queryEntity(
    entity: cons!NOD_CRS_LINE_ITEM,
    query: a!query(
    pagingInfo: topaginginfo(1,-1)
    )
    )

    Also, if you have an access to server logs, you can see whats the logs there when you run your expression which is failing above - that would give some detailed error description.

    If my above stated expression works for you, then some of the query filters isn't working or is a problem.
Reply
  • Hi @garym - is the below expression able to get the data in ?
    a!queryEntity(
    entity: cons!NOD_CRS_LINE_ITEM,
    query: a!query(
    pagingInfo: topaginginfo(1,-1)
    )
    )

    Also, if you have an access to server logs, you can see whats the logs there when you run your expression which is failing above - that would give some detailed error description.

    If my above stated expression works for you, then some of the query filters isn't working or is a problem.
Children
No Data