cancel
Showing results for 
Search instead for 
Did you mean: 

Object dependencies in characteristic

former_member334926
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Flavio
Active Contributor
0 Kudos

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

former_member205178
Contributor
0 Kudos

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.