Hi,
this question might be simple, but I dare to pose it anyway.
We want to model the field control of our application using a decision table.
The decision table consists of several lines with two input cells and one output cell.
The input cells:
- Field or Group of Fields: Depending of the parameter "Field name", a cell is a named value range for such a group of fields. For example, "Approval relevant fields" is a range consisting of certain field names.
- "Rule" : We want to use the second column for "free" expressions with the only condition that a boolean value is returned. "Free" meaning here: Not connected to the reference field that has to be entered for each column.
The output cell (the result):
- Field Property: One of the four values "invisible", "display", "changeable", "obligatory".
The processing of the decision table should stop as soon as the two input cells of that row have been evaluated to "true".
Problem: We need to specify a reference field for the "Rule" column. If we do so, every expression is required to involve this field. This can't be afforded, however. Each rule depends on different document's data (the document being accessed by callback expressions in the end). We can't find a data element which is involved in each "Rule" expression of each row.
But if the reference variable of a cell isn't explitly referred in the expression assigned to that cell, we get a syntax error FDT_EXPRESSIONS123
Range in row ... /column ... does not test the column field ...
and can't activate the decision table.
How to proceed?
Kind regards,
Rüdiger