on 2024 Sep 12 10:28 AM
Dear Experts,
I have a situation with Multiple char values to be restricted based on key character maintained in the variant table1.
Char1 - Single Value char
Char2 - Multiple value char
If A is selected in Char1 then Char2 should list 1,2,3 as values in a dropdown to choose. It can be achieved by define constraint net and constraint.
If A is selected in Char1 then Char2 list one of 1,2,3,It cannot be selected at the same time。Is there a way to achieve it?
thanks,
I don't think that it is possible in classical LO-VC to restrict the domain of a multi-value characteristics using a constraint.
You should not even be able to set the 'restrictable' flag for a multi-value cstics.
Workaround: Assign a separate precondition to each of the values of the multi-value cstic CHAR2 and try to use the variant table from there:
TABLE TABLE1 {
CHAR1 = $self.char1,
CHAR2 = '1' <- different in each precondition: must be the value to which the precondition is assigned
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.