Relationship Staging Table (Master Data Services)

 

Updated: April 1, 2016

Applies To: SQL Server 2016

Use the relationship staging table (stg.name_Relationship) in the Master Data Services database to change the location of members in an explicit hierarchy, based on the relationship the members have to one another.

The following table explains what each of the fields in the Relationship staging table are used for.

Column NameDescriptionValue
IDAn automatically assigned identifier.Do not enter a value in this field. If the batch has not been processed, this field is blank.
RelationshipTypeRequired

The type of relationship that’s being set.
Possible values are:

 1:Parent

 2: Sibling (at the same level)
ImportStatus_IDRequired

The status of the import process.
Possible values are:

 0, which you specify to indicate that the record is ready for staging.

 1, which is automatically assigned and indicates that the staging process for the record has succeeded.

 2, which is automatically assigned and indicates that the staging process for the record has failed.
Batch_IDRequired by web service only

An automatically assigned identifier that groups records for staging.

If the batch has not been processed, this field is blank.
All members in the batch are assigned this identifier, which is displayed in the Master Data Manager user interface in the ID column.
BatchTagRequired, except by web service

A unique name for the batch, up to 50 characters.
HierarchyNameRequired

The explicit hierarchy name. Each consolidated member can belong to one hierarchy only.
ParentCodeRequired

For parent-child relationships, the code of the consolidated member that will be the parent of the child leaf or consolidated member.

For sibling relationships, the code of one of the siblings.
ChildCodeRequired

For parent-child relationships, the code of the consolidated or leaf member that will be the child.

For sibling relationships, the code of one of the siblings.
Sort OrderOptional

An integer that indicates the order of the member in relation to the other members under the parent. Each child member should have a unique identifier.
ErrorCodeDisplays an error code. For all records with a ImportStatus_ID of 2, see Staging Process Errors (Master Data Services).

Overview: Importing Data from Tables (Master Data Services)
View Errors that Occur During Staging (Master Data Services)
Staging Process Errors (Master Data Services)

Community Additions

ADD
Show: