Hi all,
I'm having a problem in Studio with a Form Validation rule using SQL.
I have an item list that is populated with lines if the user select a Sales Order in another field or manually filled if there is no information on the SO.
There is a column that is mandatory to be filled whenever the item list has any rows and I tried many examples to construct a validation form rule in order to have information on that column.
I was using a SQL query because:
- Column cannot be required (there are cases that the user is sending documents so the item list will be empty)
- Form rules using Condition By Row cannot be used inside the form validation which expects True/False results (only Business Rule but conditions for Item List are limited)
The problem with my SQL query is that, I need to use something like isnull(FORM FIELD, '') <> ''
but this only works for string fields and not for numeric (which is my case, floating number form field).
Does anyone know how can I evaluate if the value is there?
Thank you all for the help!