Hi All,
This is a IFS Cloud and Aurena Issue.
I have a question about how to allow user to enter a value that does not exist in the reference in case of dynamic generated LOV-s.
As a reminder, in the case of standard value lists (based on an explicitly specified data source) this is possible by using the "freeinput" parameter:
*.projection file:
reference CustomerNoRef(Company, CustomerNo) to CustOrdCust6(Company, CustomerNo) {
*.client file:
lov CustomerNoRef with CustomerSelector using Customers {
freeinput = [true]
}
In the case of dynamic LOV, the field structure is different and for this list of values, the "freeinput" parameter is not available in the client file:
*.projection file:
reference ControlTypeValueRef(ControlTypeValue) dynamic(ControlType) parent(Company);
*.client file:
field ControlTypeValueRef {
label = "${parent.ControlTypeName}";
editable = [ControlType != "%"];
validate command {
variable Description3Var Text;
execute {
call GetControlTypeDescription(Company, ControlType, ControlTypeValue, Module, ValidFrom) into DescriptionVar;
set ControlType3ValueDesc = Description3Var;
}
}
}
For the "field" field, the "freeinput" parameter is not available.
Is it possible to configure or redesign the field for the dynamic list of values so that any values can be entered there without their validation while leaving the list of values working?
Best regards
Witold Wróbel
Senior Software Engineer
IFS Poland