appendViewCriteria giving error
SummaryTrying to set filter condition in appendViewCriteria but it gives error
I have Cascade_c as a NUMBER field in account object and tried to filter the records in groovy based on that attribute. Below is my code
def OrgView = newView('OrganizationProfile')
OrgView.appendViewCriteria("Cascade_c = 1")
But it gives an error as oracle.jbo.expr.JIMultipleSyntaxErrors Failed to build ViewCriteria from expression "Cascade_c = 1"
Any idea what went wrong in this script?