REST Query - Contains Function

I am trying to use the ‘contains’ function in a REST query filter. When I do, I get the following error message: Operator not yet supported: contains

The REST Technical Reference Guide for 10.2.500 lists contains as a valid function.

My filter string looks like: contains(JobNum, ‘123’)

Epicor Version: 10.2.500
REST Version: v2

Am I doing something wrong?

No, this is a bug. The function seems to be not implemented in v2.

For workaround you can use something like indexof(JobNum,‘123’) gt 0

Olga,
Thank you for the answer. I will use indexof for now.

1 Like