on 06-23-2010 11:45 AM
Hi SDNers,
I have a main table and a Tuple table is linked to it.
The requirement is to update a field in the Main table with the same value as the record's Tuple member field via assignment. Or any other way.
Thanks,
Priti
Hi ,
I am confused with your requirement.
what do you mean by tuple table?
Is tuple multivalued
My understanding is:
You have a field in maintable M1 that is referring to some Tuple(please clear that this multivalued or single value field)
Now you have another field in Maintable i.e.M2 and you want same value that is assigned to M1
Please clear yr requirement.
Thanks,
Sudhanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priti,
I am really sorry but still i am not getting your question.
Yuu have a main table field MF1 that is referiing to tuple T1(There is nothing like tuple table)
Please tell me exact structure of tuple t1
If the field is already reffering to tuple then what is the need of assignment.
Thanks,
Sudhanshu
Hi Priti,
As of now, MDM does not support Tuple Assignments. So this is not Possible through Assignments as you see that in Expression you can select only MF2.(Record) not MF2.TF1.
I would suggest that you can export a file from MDM syndicator with 2 fields(1. MDM Main Table DF, 2. MF2.TF1)
Now re-import it through Import Manager where you map DF of Src file with MDM Main table DF and Src field MF2.TF1 with MF1.
For future newly created main table records through Import Manager, You can clone this field MF2.TF1 (whatever name in your Source) I mean original file and map this clone field with MF1 of main table and keep the rest of fields mapped as before.
Regards,
Mandeep Saini
Hi Mandeep,
What i understand about the requirement is
Maintable fields
M1 is single value and type tuple
M2 is type text
M3 is type text
Tuple T1
tf1(display field)
tf2 type text
Now M1 is of type tuple and T1 is assigned to M1.
Requirement is
Assign tf2 value of M1 record vale to M2 .
I think this is possible as M1 is single valued and if it is single valued then we can access each field of tuple and assign it to other field.
In case of multi valued then only these field not come in expression.
Please correct me if my understanding is wrong.
Thanks,
Sudhanshu
Hi Sudhansu,
Thanks for the reply.
I also have another Tuple which is Multi-Valued and for which the requirement is same.
Can you suggest some possible way for it.
Mandeep, Christian , thanks for the replies.
Mandeep, the suggestion is good. But, the tuple field value will actually be a part of a larger assignment expression. Therefore, this will not fullfill the requirement.
Thanks,
Priti
Hi Sudhanshu,
In my repository, I have all fields in main table which is lookup to Tuple (Multi-valued), So at my end i am not able to see whether for lookup single valued Tuple, we can select all the fields from Expression. May be you are right, i don't have any test repository to verify it :(.
@Priti, If you can select MF2.TF1 from Expression then there is no need to use Import Manager as workaround. Else this is one way which you can do it for lookup Multi-valued Tuple.
Regards,
Mandeep Saini
Hi Priti,
just learned something new about assignments on single-valued tuples.
In order to better understand your requirement, I would like to know, why and especially in which form you need the data from the tuples in a text field. I suppose there is a reason why they are currently in a tuple and not in a main table text field. Wouldn't it simply be enough to make these fields in the tuple display fields? What do you need to achieve with this requirement?
Best regards
Christian
There is no way to do it using Assignment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.