Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Call "UnmergeRequest" in MDM
Answer
Do as follows:
  1. Create a connection as follows in the User Exit in Master Data Management (MDM):
    String MDM_ORS_ID = siperianClientProp.getProperty("siperian-client.orsId");
    ​​UserExitSifClient userExitSifClient = new UserExitSifClient(userExitCtx.getDBConnection(),MDM_ORS_ID);

    UserExitSifClient does not accept the ExecutebatchUnmerge request. Thus, it is needed to use the Unmerge request in a loop, create a  temp table which has all rowid_xref(s) that you want to unmerge.
  2. Create a database connection having the query as select rowid_xref from this table. Then, run the following loop:
while (rs != null && rs.next()) {
String rowid_xref = rs.getString("rowid_xref");
doUnMerge(sifClient, rowid_xref, conn);
}
Where, doUnmerge will be  the method which accepts the Services Integration Framework (SIF) client, rowid_xref and connection and calls unmerge request.
​​​

More Information
Following is a sample request from the Configuration Guide:

UnmergeRequest request = new UnmergeRequest();
request.setSiperianObjectUid("BO_NAME");
XrefKey key = new XrefKey();
key.setRowidXref(rowid_xref);
request.setXrefKey(key);
request.setUsername("username");
request.setPassword(new Password("password"));
request.setTreeUnmerge("false");
UnmergeResponse response = (UnmergeResponse) userExitSifClient .process(request);


Applies To
Product: MDM Multidomain
Problem Type: Configuration
User Type: Administrator; Developer
Project Phase: Configure; Implement
Product Version:
Database:
Operating System:
Other Software:

Reference

Attachments

Last Modified Date:7/21/2019 7:31 AMID:495203
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)