Reviewing Erroneous Records Checking Data Quality in a Model

Working with Common Format Designer 6-3 4. Drag this datastore into the diagram. If the datastore comes from a modelsub-model different from the current modelsub-model, Designer will prompt you to create a copy of this datastore in the current model. If the datastore already exists in the diagram, Oracle Data Integrator will prompt you to either create new graphical synonym, or create a duplicate of the datastore. The new graphical synonym for the datastore appears in the diagram. If you have added a datastore from another model, or chosen to create a duplicate, the new datastore appears in model. If references join existed in the original models between tables inserted to the diagram, these references are also copied. To create a graphical synonym of a datastore already in the diagram select Create Graphical Synonym in the popup menu of the datastore. To create a new datastore in a diagram:

1. In the Diagram Editor, select the Diagram tab.

2. In the Diagram Editor toolbar, click Add Datastore.

3. Click into the diagram workbench. 4. An Editor appears for this new datastore. Follow the process described in Chapter 5, Creating and Reverse-Engineering a Model for creating your datastore. To add columns from another datastore:

1. In the Diagram Editor, select the Diagram tab.

2. Select a column under a datastore from the Models tree of the Designer Navigator.

3. Drag this column into the datastore in the diagram to which you want to append this column. The Column Editor appears to edit this new column. Edit the column according to your needs.

4. Select Save from the File main menu. The new column is added to the datastore.

6.2.3 Creating Graphical Synonyms

To create a graphical synonym for a datastore:

1. In the Diagram tab, select the datastore.

2. Right-click, then select Create Graphical Synonym.

The new graphical synonym appears in the diagram. This operation does not add a new datastore. It creates only a new representation for the datastore in the diagram.

6.2.4 Creating and Editing Constraints and Filters

To add a new condition, filter, key to a datastore:

1. In the Diagram tab, select the datastore.

2. Right-click then select the appropriate option: Add Key, Add Filter, etc.

3. A new Editor appears for the new condition, filter, key, etc. Follow the process described in Chapter 5, Creating and Reverse-Engineering a Model for creating this element. 6-4 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator Conditions, filters and references are added to the diagram when you add the datastore which references them into the diagram. It is possible to drag into the diagram these objects if they have been added to the datastore after you have added it to the diagram. To edit a key on a column: If a column is part of a key Primary, Alternate, it is possible to edit the key from this column in the diagram.

1. In the Diagram tab, select one of the column participating to the key.

2. Right-click then select the name of the key in the pop-up menu, then select Edit in

the sub-menu. To create a reference between two datastores:

1. In the Diagram Editor, select the Diagram tab.

2. In the toolbar click the Add Reference button.

3. Click the first datastore of the reference, then drag the cursor to the second datastore while keeping the mouse button pressed. 4. Release the mouse button. The Reference Editor appears. 5. Set this references parameters according to the process described in Chapter 5, Creating and Reverse-Engineering a Model . To move a reference to another graphical synonym:

1. In the Diagram Editor, select the Diagram tab.

2. In the Diagram tab, select the reference you wish to modify.

3. Right-click and select Display Options.

4. Select the synonyms to be used as the parent and child of the reference.

5. Click OK. The reference representation appears now on the selected synonyms.

This operation does not change the reference itself. It only alters its representation in the diagram.

6.2.5 Printing a Diagram

Once you have saved your diagram you can save the diagram in PNG format, print it or generate a complete PDF report. To print or generate a diagram report:

1. On the Diagram tab of your diagram, select Print Options from the Diagram

menu. 2. In the Data Model Printing editor select according to your needs one of the following options: ■ Generate the complete PDF report ■ Save the diagram in PNG ■ Print your diagram

3. Click OK.