cancel
Showing results for 
Search instead for 
Did you mean: 

object dependency

deepu_p2
Active Participant
0 Kudos

Hi i am having a scenario where i have to give my customer to choose 4 different colours from 40 colours.

i created a characterist colour with with 40 valuse. if i assign single value he can choose only 1 colour

if i choose multiple value he can choose any number of colours.how do i do that.

and if i make 4 saperate characteristics as colours1 , colurs 2 and colours 3 and colours4 and assign all the 40 values to each characteristic then the customer might choose same colour twice.

how to write an object dependency for this.

How do i solve this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please try these Pre conditions assigned to the respective characteristics.

Color1 - No dependency

Color2 - IF $SELF.COLOR1 SPECIFIED $SELF.COLOR2 >< $SELF.COLOR1.

Color3- IF $SELF.COLOR1 SPECIFIED $SELF.COLOR3 >< $SELF.COLOR1 AND

IF $SELF.COLOR2 SPECIFIED $SELF.COLOR3 >< $SELF.COLOR2

Similarly for color4 considering color1,2 & 3 entries

Regards,

Ashok

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

As explained by Ashok, create a validation condition for each characteristics.

One more addition to validation, please use negation condition in characteristics containing all remaining 3 characteristics as customer might choose the last one first and then second last and so on.

Hope this work for you

Thanks

Ashutosh

deepu_p2
Active Participant
0 Kudos

how do we write that. negotiation condition.

Former Member
0 Kudos

has anyone tried a constraint here. I am not sure but it might work:

Object: Char IS_A (300)VC_Class.

Condition: Char.Color1 = Char.Color2 = Char.Color3 = Char.Color4

Restriction: False

I haven't tried it but u can try.

Former Member
0 Kudos

Hi

As u have mentioned u can create 4 different colors char and in the profile u can restrict those from selection.

Edited by: BNR on Oct 7, 2008 3:40 PM