In the Diagram Property tab, select the Update Key from the list.

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.