Hello, I'm creating a query in AX where I need to define multiple OR clauses for a single field; in SQL would be something like:
...AND (field1 IN(value1, value2, value3) OR field1 IS NULL OR field1 = '')
This is what I've tried in AX: (parameter1 is a string in this format: 'a, b, c')
QueryBuildRange.value(strFmt("((field1 == '%1') || (field1 == %2) || (field1 == %3))", parameter1, SysQuery::valueEmptyString, null));
But it does not work! could you help me out? I would highly appreciate it, thank you!