Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

how to publish data in tsql after staging

$
0
0

hi all,

I have populated my stg.name_leaf table and executed the stg.upd_name_leaf stored proc.
For some record, the ImportStatus_id =1 and new batch_id is assigned, for others the Import_Status_ID =0 and Batch_ID is null.

1.Not sure why for the later, there is no batch_ID assigned and Import_status_id=0
2.Further, how can one validate the business rules as well as move the data from staging to actual being published, using the appropriate stored proc?  (I've tried various resources with no luck).

I was only able to additionally track down  the  mdm.udpValidateModel sproc, for model validation, but cannot locate a vehicle/stored proc by which to validate the business rules nor any to actually publish the data, so it will be available in the subscription views.  (I am aware of the manual flow, via Excel or web, on how to publish changes but wanted to know how to validate business rules and publish the data -- how to do it in code/stored procs.

thanks much for any guidance,

Cos


Viewing all articles
Browse latest Browse all 1311

Trending Articles