Add, Update and Delete Data (Master Data Services)
You can add data and make data changes to a model in Master Data Services, in bulk.
Prerequisites
You must have permission to insert data into the stg.<name>_Leaf, the stg.<name>_Consolidated, stg.<name>_Relationship table in the Master Data Services database.
You must have permissions to execute either the stg.udp_<name>_Leaf, stg.udp_<name>_Consolidated, or the stg.udp_<name>_Relationship stored procedure in the Master Data Services database.
The model must not have a status of Committed.
To add, update, and delete data in the Master Data Services database
Prepare the members for import into the appropriate staging table in the Master Data Services database, including providing values for the required fields. For an overview of staging tables, see Data Import (Master Data Services)
For leaf members the table is stg.<name>_Leaf, where <name> refers to the corresponding entity. For information about the required fields, see Leaf Member Staging Table (Master Data Services)
For consolidated members, the table is stg.<name>_Consolidated. For information about the required fields, see Consolidated Member Staging Table (Master Data Services).
For moving the location of members in explicit hierarchies, the table is stg.<name>_Relationship. For information about the required fields, see Relationship Staging Table (Master Data Services).
For an overview on moving members in explicit hierarchies, see Data Import (Master Data Services).
Use the ImportType field value to specify that you're creating new members, deactivating members, or deleting members. For more information about the values, see Leaf Member Staging Table (Master Data Services) and Consolidated Member Staging Table (Master Data Services).
For an overview of deactivating and deleting members, see Data Import (Master Data Services).
Open SQL Server Management Studio and connect to the Database Engine instance for your Master Data Services database.
For more information, see SQL Server Management Studio.
Import data into the staging tables by using the SQL Server Import and Export wizard.
For more information, see SQL Server Import and Export Wizard.
Load the data from the staging tables to the Master Data Services tables, by doing one of the following
Run the staging stored procedure that corresponds to the staging table that you want to move data to.
For an overview of staging stored procedures and staging tables, see Data Import (Master Data Services). For more information about parameters for staging stored procedures, and a code example, see Staging Stored Procedure (Master Data Services).
Use the Integration Management functional area of Master Data Management.
On the Staging Batches page, select the model to which you're adding data to, in the drop-down list, and then click Start Batches. The status of the batch processing is indicated in the Status field. For more information about the statuses, see Import Statuses (Master Data Services).
The staging process is started at intervals determined by the Staging batch interval setting in Master Data Services Configuration Manager. For more information, see System Settings (Master Data Services).
View errors that occurred during staging. For more information, see View Errors that Occur During the Staging Process (Master Data Services) and Staging Process Errors (Master Data Services).
Validate the data against business rules.
In Master Data Manager, navigate to the Explorer functional area for your model, and then apply business rules to validate the data. For more information , see Validate Specific Members against Business Rules (Master Data Services). You can also use a stored procedure to validate the data. For more information, see Validation Stored Procedure (Master Data Services).
When you load data by from the staging tables, the data is not automatically validated against business rules. For more information on what validation is and when it occurs, see Validation (Master Data Services).