Hi @mwesley11529 ,
As per your current query for any record:
- If StageId = '100' → it is not '90' → condition is TRUE
- If StageId = '90' → it is not '100' → condition is TRUE
- If it’s anything else → it’s not both → condition is TRUE
So every row satisfies (StageId ne '100' OR StageId ne '90'). The problem is the OR condition.That’s why you see all results.
Instead of using OR function you can use AND function as below which will show records where the process is UNI_SALES_PROCESS and the stage is neither 100 nor 90.
(ProcessId = 'UNI_SALES_PROCESS') AND (StageId ne '100' AND StageId ne '90')
Let’s say if you want to see only Stage 100 and 90
(ProcessId = 'UNI_SALES_PROCESS') AND (StageId eq '100' OR StageId eq '90')
This will give the expected result.
In addition I think this is OData filter syntax (used by Aurena list views).
https://docs.ifs.com/techdocs/23r2/060_development/022_user_interface/030_aurena_dev/099_concepts/search_concepts/#filter_operators_and_functions
https://docs.ifs.com/techdocs/23r2/060_development/022_user_interface/030_aurena_dev/099_concepts/search_concepts/
Regards,
Nikila Dissanayake