Right-click the column to be deleted In the Target Datastore panel. Select Delete.

11-10 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator To add a temporary-type source datastore to an interface:

1. In the Designer Navigator, expand the Projects tree and expand the project

containing the interface to be inserted as a source. 2. Select this interface, then drag it into the Source Diagram. The source datastore appears in the diagram.

3. In the Diagram Property tab of the Property Inspector, modify the Alias of the

source datastore. The alias is used to prefix column names. This is an optional step that improves readability of the mapping, joins and filter expressions. 4. If you want this interface to generate a sub-select corresponding to the loading of the temporary datastore, check the Use Temporary Interface as Derived Table Sub-Select box. If this box is not checked, make sure to run the interface loading the temporary datastore before running the current interface. To delete a source datastore from an interface: 1. Right-click the title of the entity representing the source datastore in the Source Diagram.

2. Select Delete.

3. Click OK in the Confirmation dialog.

The source datastore disappears, along with the associated filters and joins. Note that if this source datastore contained columns that were used in mappings, these mappings will be in error. To display the data or the number for rows of a source datastore of an interface: 1. Right-click the title of the entity representing the source datastore in the Source Diagram.

2. Select Number of Lines to display the number of rows in this source datastore or

Display Data to display the source datastore data. A window containing the number or rows or the data of the source datastore appears.

11.3.4.2 Define Lookups

To add a lookup to an interface:

1. From the Source Diagram toolbar menu, select Add a new Lookup. The Lookup

Tables Wizard opens.

2. In the Lookup Table Wizard select your Driving Table from the left pane. Source

datastores for the current diagram appear here. Note that lookups do not appear in the list.

3. From the tree in the Lookup Table pane on the right, do one of the following:

■ From the Datastores tab, select a datastore from a model to use as a lookup table. Note: If the source datastore is journalized, it is possible to use only the journalized data in the interface flow. Check the Journalized Data Only box in the source datastore properties. A Journalizing filter is automatically created in the diagram. See Chapter 7, Working with Changed Data Capture for more information. Working with Integration Interfaces 11-11 ■ From the Interfaces tab, select an interface whose target will be used as the lookup table. If this target is temporary and you want this interface to generate a sub-select corresponding to the loading of the temporary datastore, check the Use Temporary Interface as Derived Table Sub-Select box. If this box is not checked, make sure to run the interface loading the temporary datastore before running the current interface.

4. Modify the Alias of the lookup table. The alias is used to prefix column names.

This is an optional step that improves readability of the expressions.

5. Click Next.

6. On the left pane, select one or several source columns from the driving table you wish to join. 7. On the right pane, select one or several columns of the lookup table you wish to join.

8. Click Join. The join condition appears in the Lookup condition text field. You can

edit the join condition in this field. 9. Specify the Lookup options: ■ Execute on : Execution location Source or Staging Area of the lookup. ■ Lookup type : Indicates whether to use SQL left-outer join in the FROM clause or SQL expression in the SELECT clause during the SQL code generation.

10. Click Finish. Your lookup appears in the Source Diagram of your dataset.

To edit Lookup tables: 1. Select a Lookup in the Source Diagram of your dataset. The Lookup table properties are displayed in the Property Inspector. 2. Edit the lookup properties in the Property Inspector. You cannot change from here the driving and lookup tables. To change these, you must delete the lookup and recreate it. To delete a Lookup table: 1. Select a Lookup in the Source Diagram of your dataset.

2. Right-click and select Delete.

11.3.4.3 Define Filters on the Sources

To define a filter on a source datastore:

1. In the Source Diagram, select one or several columns in the source datastore you

want to filter, and then drag and drop these columns onto the source diagram. A filter appears. Click this filter to open the Property Inspector.

2. In the Diagram Property tab of the Property Inspector, modify the

Implementation expression to create the required filter. You may call the expression Editor by clicking Launch Expression Editor button. The filter expression must be in the form SQL condition. For example, if you want to take in the CUSTOMER table that is the source datastore with the CUSTOMER alias Note: In order to use columns from this lookup, you need to expand the graphical artifact representing it. Right-click the lookup icon in the diagram and select View As Symbolic.