cancel
Showing results for 
Search instead for 
Did you mean: 

Create record with 1:N relationship based on condition

Former Member
0 Kudos

Hi SDNers,

Need your suggestions..

The below is the issue:

I have fields with values:

Field_A I Field_B

100 I P

100 I Q

100 I R

200 I X

200 I Y

200 I Z

If in Field_A I select the value 100 , for Field_B .. i shud have the option to select only P or Q or R .

Similarly, in Field_A if I select the value 200 , for Field_B .. i shud have the option to select only X or Y or Z .

I have already tried the below:

1. i have tried it with Nested lookup. The reason it does not work in this case is, we see it as a combination. For ex:

100;P

100;Q etc..

2. If i am using Field_A as Non-Qualifier and Field_B as Qualifier and imported the data. So, next time i create a record, selecting Field_A as 100 , in Field_B .. all the values are displayed.. i.e P,Q,R,X,Y,Z ... whereas we want only P, Q, R to be displayed.

Please suggest.

Thanks,

Priti

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As per you requirement, it seems like a Field in main table is look up to Flat table which contains Two fields say Field A and Field B both as display fields. Field A has two values 100 and 200 only and Field B has six values P, Q, R, X, Y, Z.

You want whenever you select Field A as 100 then only P, Q, R comes.

I firmly believe that this is not achievable as per MDM capability using Fields. But you can run Validations to cross check that if it is 100 then correspondingly value of Field B should be from P, Q and R only. IIy, for 200 it should be from X, Y and Z.

Alternatively, I can suggest you to go for Taxonomy. Create 2 categories say category name Field100 and Field200.

Field100 category is linked with attribute 100 which has values P, Q and R.

Field200 category is linked with attribute 200 which has values X, Y and Z.

So whenever you select category Field100 associated linked attribute 100 will come and whose values can be populated using P, Q and R only.

lly, when you select category Field200 associated linked attribute 200 will come and can be populated using X,Y and Z only. Whenever for a record in main table you select this category field as Field100 and Field200 correspondingly linked Attribute comes with Predefined set of legal values.

Thanks and Regards,

Mandeep Saini

Answers (1)

Answers (1)

former_member208981
Contributor
0 Kudos

Closing thread