Business keys
You can create reference data types with compound keys. You can specify up to four properties plus the Code as constituent key parts of a unique reference data value key. Business keys apply only to reference data set data types; mapping set data types do not use business keys.
InfoSphere® MDM Reference Data Management Hub supports up to five properties within a compound key for a set, where Key 1 is always the set Code. The other four properties must have the Key property enabled within the reference data type definition.
Compound keys allow records with the same code to be saved, if the combined key is unique. The uniqueness check is done against the full key defined for the type. If the overall compound key is unique, the record can be stored.
Importing values into a reference data set defined as having a compound key is the same as importing values into any other set. The same rules hold for the manual case: the key values cannot be null and the overall combination of keys + code must be unique for each value.
The business key check box and compound key definition can be applied for a reference data set with existing values if the values conform to the rules defined for the keys. InfoSphere MDM Reference Data Management Hub checks for data integrity when you change compound key settings for a reference data set type and does not allow actions that would create duplicate entries in the database where uniqueness is required.
If you receive the error message The data consistency check failed. Update not allowed for Property Type used as Compound Key., edit the reference values to ensure uniqueness across all properties that make up the compound key before enabling the business key on the reference data type.