Consolidated Member Staging Table (Master Data Services)
Use the consolidated members staging table (stg.name_Consolidated) in the Master Data Services database to create, update, deactivate, and delete consolidated members. You can also use it to update attribute values for consolidated members.
The following table explains what each of the fields in the Consolidated staging table are used for.
|ID||An automatically assigned identifier. Do not enter a value in this field. If the batch has not been processed, this field is blank.|
|Determines what to do when staged data matches data that already exists in the Master Data Services database.
0: Create new members. Replace existing MDS data with staged data, but only if the staged data isn't NULL. NULL values are ignored. To change an attribute value to NULL, use ~NULL~.
1: Create new members only. Any updates to existing MDS data fail.
2: Create new members. Replace existing MDS data with staged data. If you import NULL values, they will overwrite existing MDS values.
3: Deactivate the member, based on the Code value. All attributes, hierarchy and collection memberships, and transactions are maintained but no longer available in the UI. If the member is used as a domain-based attribute value of another member, the deactivation will fail.
4: Permanently delete the member, based on the Code value. All attributes, hierarchy and collection memberships, and transactions are permanently deleted. If the member is used as a domain-based attribute value of another member, the deletion will fail.
|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.
Required by web service only
|An automatically assigned identifier that groups records for staging. All members in the batch are assigned this identifier, which is displayed in the Master Data Manager user interface in the ID column.
If the batch has not been processed, this field is blank.
Required, except by web service
|A unique name for the batch, up to 50 characters.|
|The explicit hierarchy name. Each consolidated member can belong to one hierarchy only.|
|ErrorCode||Displays an error code. For all records with a ImportStatus_ID of 2, see Staging Process Errors (Master Data Services).|
Required, except when codes are generated automatically for ImportType1 or 2; see Automatic Code Creation (Master Data Services) for more information
|A unique code for the member.|
|A name for the member.|
|NewCode||Use only if you are changing the member code.|
|<Attribute name>||A column exists for each attribute in the entity. Use this with an ImportType of 0 or 2. For free-form attributes, specify the new text or string value for the attribute. For domain-based attributes, specify the code for the member that will be the attribute. For link attributes, the URL must start with https://.
Note: You cannot stage file attributes.