Query validation
These validation conditions are applicable for planning engine query:
- If a condition in the query is not valid, this error message is
displayed:
APACS230=Query "{0}" failed validation on condition {1}.
Where {0} = Query name, {1} = Representation of the invalid condition, for example,ADD (Class.property = 100)
- These additional error messages are also displayed for specific validation errors:
-
APACS110=There is no class defined with name "{0}".
-
APACS200=Class Attribute "{0}" is not valid.
-
APACS118=Invalid number "{0}".
-
APACS201=Contains comparator not valid for non-string values.
-
APACS236=Invalid comparator {0}.
-
APACS237=Invalid bucket field "{0}".
-
- A single class can be referenced across all Class Condition filters of a query. Else, this
error message is
displayed:
APACS231=All conditions must refer only to one Class. Classes referenced: {0}.
Where {0} = List of all class names referenced in the query - If the first Operation for class Condition filter is set to LIMIT, this error message is
displayed:
APACS232=Operation {0} unexpected for first condition referring to a Class.
Where {0} = Operation (LIMIT - If there is no direct relation between two classes in a ‘Class.Related Class.number of
releations’ condition, this error message is
displayed:
APACS233=Class {0} has no direct relation to Class {1}.
Where {0} = Class name, {1} = Related Class name