Bookshelf Home | Contents | Index | PDF |
Oracle Customer Hub (UCM) Master Data Management Reference > Configuring Oracle Customer Hub (UCM) Privacy Management > About Blank Privacy Source Data and History RecordsBlank privacy history records might be created in the database because external applications send financial account insert requests to Oracle Customer Hub (UCM). To evaluate financial account and financial account contact's privacy preferences, the external application is required to send a privacy record with the financial account and the financial account contact insert request. The source is captured in Oracle Customer Hub (UCM) Transaction Manager. If there is no privacy preference preselected, the privacy preferences in the source record are empty. This record in the source data and history (SDH) table is considered to be a blank record. If you do not select the privacy preferences before sending information to the rules engine, then the blank record is captured as history. Even though there is no privacy preference in this history record, the record does have some other values internally, such as a foreign key to its parent record type. There are two reasons why this occurs:
For these reasons, a empty record exists in the base table and the SDH table. The base table empty record exists for a short period because the rules engine is triggered. However, empty records in the SDH table remain. If you want to remove these blank records, there are several possible solutions. You must evaluate the situation according to your deployment needs. Removing blank privacy SDH records might affect performance adversely. One solution is to write a script in the business service, UCM FINCORP Account Source Data and History Service. When the Insert method is called, check the values for some of the required fields in UCM FINCORP Account Privacy Source Data and History, UCM FINCORP Account Contact Privacy Source Data and History. If the values are empty, delete the record. Use the following task to add a script to a business service. To add a script to a business service
Example Code to Remove Blank RecordsThe following script removes blank records. NOTE: You might have different criteria for what constitutes a blank record. Modify the following script accordingly. function Service_InvokeMethod (MethodName, Inputs, Outputs) with (oBusCompFAP) with (oBusCompFACP) |
Oracle Customer Hub (UCM) Master Data Management Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |