cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Configuration - characteristic value computation

former_member833133
Discoverer
0 Kudos
372

Hi

I have two characteristics for a material :

CHAR_Y_N , values 'Y' and 'N'

CHAR_INT4, numeric, 4 char, 0 decimals

Requirement:

If the value of CHAR_Y_N = 'N' there is no resctriction for value of CHAR_INT4 (from 0 to 9999)

If the value of CHAR_Y_N = 'Y' the value of CHAR_INT4 must be less then 600

How can I do this check?

Thanks in advance for help

Accepted Solutions (0)

Answers (1)

Answers (1)

Michael_W
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Andrea.

I did not model for quite some time, but it should work via a constraint.

Create a dependency net in CU21 or PMEVC and write a constraint similar to this:

OBJECTS: X IS_A(300) <your class name>

CONDITION: X.CHAR_Y_N = 'Y'

RESTRICTIONS: X.CHAR_INT4 < 600

INFERENCES: X.CHAR_INT4

'Restrictable' flag might have to be set when defining characteristic CHAR_INT4 via transaction CT04.

former_member833133
Discoverer

Thank you Michael

it works!