on 05-14-2015 12:55 PM
When I assign a newly created attribute to an existing master data type, and mark it as a key, the master data type activation fails with an error message.
For clarity, I created a new attribute "SHIPTOPARTY", and assigned it as a key to CUSTOMER, in addition to CUSTID.
Here's the error message I get: "For Master Data Type CUSTOMER, new attribute SHIPTOPARTY cannot be part of a key combination".
Is there something I'm missing to use it so?
Hello Shuchita
If you already data in the MDT, then system will not allow to change the key.This is not possible at the database level as it will violate the primary key constraint. Can you delete the data and then try changing the key?
Once the key is updated, then you can re-load the data into MDT.
Thanks
Parveen Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Parveen.
I hadn't loaded any data for the MDT. I managed to get past it though - the key assignment worked when I attempted it without activating the MDT at all. Once the master data tables are formed on activation, adding a key would mean editing the structure - so it makes sense that it didn't allow that.
However, there was a newer issue. This key of CUSTID + SHIPTO flows down to a compound MDT (such as Customer Source) as well. However, SHIPTO stays inactive in the compound MDT even after activating the MDT and PA. Any suggestions on why this might be?
Hi Shuchita,
Is it possible to maintain ship_to as your key in the existing Customer attributes?
Example: CUSTID - populate ship_to ID
For Sold_to, you can add an attribute and maintain their ID and Description which will not be marked as Key.
In this way customer product and customer source MDT can be kept simple.
Just a thought.
Regards,
Aditya G
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.