on 08-12-2013 6:39 PM
HELLO GURUS
I HAVE A DOCUMENT TYPE WITH A CLASS WITH 3 CHARACTERISTICS:
CONTINENT - ASIA, EUROPE AND AFRICA
COUNTRY - JAPAN, CHINA, GERMANY, SPAIN, EGYPT, CONGO
LANGUAGE - JAPANESE, CHINESE, GERMAN, OTHER
WERE CREATED OBJECT DEPENDENCIES (PRECONDITION) - FOR EXAMPLE:
FOR CHARACTERISTIC CONTINENT, CHARACTERISTIC VALUE - EUROPE:
COUNTRY = 'GERMANY' OR COUNTRY = 'SPAIN' OR LANGUAGE = 'GERMAN' OR LANGUAGE = 'SPANISH'
CHARACTERISTIC COUNTRY, CHARACTERISTIC VALUE - GERMANY:
CONDITION: CONTINENT = 'EUROPE' OR LANGUAGE = 'GERMAN'
CHARACTERISTIC LANGUAGE, CHARACTERISTIC VALUE - GERMAN:
CONDITION: CONTINENT = 'EUROPE' OR COUNTRY = 'GERMANY'
RESULT, FOR EXAMPLE:
CONTINENT - EUROPE
COUNTRY - GERMANY
LANGUAGE - GERMAN
STARTING THIS RESULT, I CAN ENTER FREELY IN CONTINENT (FOR EXAMPLE) ASIA AND THE RESULT WOULD BE:
CONTINENT - ASIA
COUNTRY - GERMANY
LANGUAGE - GERMAN
RESULT IT´S WRONG!
MY QUESTION IS:
IS THERE A WAY TO BLOCK THE ENTRY FREELY IN THESE CHARACTERISTIC? MUST BE POSSIBLE ONLY ACCEPT SELECTED VALUES FOR PRE CONDITION?
REGARDS
Hi,
With reference to your example above, I think that changing continent from 'Europe' to 'Asia' is leading to inconsistencies for the assigned values in the dependent characteristics 'COUNTRY' and 'LANGUAGE', that are no more allowed for the new (changed) value in characteristic 'CONTINENT'.
The simplest way I see to overcome this is to manually clean the dependent characteristics values before changing the 'CONTINENT' one.
Once this latter characteristic value is changed, the other characteristics will show their new allowed values, according to the preconditions.
Hope this could be of any help.
Bye,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could also create a Variant Table with these fields. In the table contents, maintain the combination of values for the characteristics -> Continent, Country and Language.
Define dependency to check this table and assign this to the class.
Hope that helps.
Thanks.
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 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.