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,
    In case you haven't figured it out yet I have one suggestion.
    I've encountered same error yesterday, I was using a!queryEntity on a view, it turned out that my problem wasn't in the SAIL code, but in the sql snippet which I was using to create the view, I recreated the view using quotes in column names like this "columnName" and after that it worked fine.
    I admit that I haven't gone through your sail expression.
Reply
  • Hi garym,
    In case you haven't figured it out yet I have one suggestion.
    I've encountered same error yesterday, I was using a!queryEntity on a view, it turned out that my problem wasn't in the SAIL code, but in the sql snippet which I was using to create the view, I recreated the view using quotes in column names like this "columnName" and after that it worked fine.
    I admit that I haven't gone through your sail expression.
Children
No Data