Siebel Tools Reference > Adding Custom Extensions to the Data Model >

EIM Table Mapping Wizard


The EIM Table Mapping Wizard is accessed by right-clicking on a table entry in the Table list applet. The EIM menu item is only enabled with the non-standalone customer table. You can select an interface table and specify a prefix for the interface table columns that are generated by the wizard and that create a complete hierarchy of EIM Table Mapping objects needed to import and export data to and from the selected table. See Figure 75.

The EIM Table Mapping Wizard does not map foreign key columns if they point to a parent table column that does not have user key attributes. Because you cannot add user key attributes, this means that the EIM Table Mapping Wizard does not work with either standalone tables or foreign keys to custom tables.

In order to invoke the EIM Table Mapping Wizard for those Siebel base tables that do not have the foreign key as part of the user key, you need to create a temporary column with the following properties:

Field
Value
Inactive
Y
User Key Sequence
<> NULL (for example, set it to 0)
FK (Foreign Key)
Set (FK) Foreign Key table as itself

By creating this temporary column, when you launch the EIM Mapping Wizard, it will list standard EIM interface tables that are already mapped to this table as the target or destination tables. The wizard will also list EIM tables that are mapped to tables to which this table has a foreign key. However, the foreign key must be part of the "Traditional U1 Index" user key of this table.

NOTE:  After the EIM Mapping Wizard finishes, you should delete this temporary column.

Figure 75. EIM Mapping

Click for full size image

To map a new table to an EIM interface table using the EIM Table Mapping Wizard

  1. Lock the project.
  2. Select Table object type in the Object Explorer.
  3. Select an entry in the Object List Editor.
  4. Choose from the list a base table that will be mapped to an EIM Table. It will be the primary table into which data from the existing Interface table will be imported.

    This wizard is only available to tables of type Data (Public) and Data (Intersection), and Data (Extension), and Data (Extension-Siebel).

  5. Right-click and select EIM Mapping Table from the menu.
  6. The Interface Mapping dialog box is displayed with the Base Table name field populated with the selection you made in the Object List Editor.

    Click for full size image

  7. In the "Edit the Column name prefix" field, enter a distinguishing prefix.
  8. If a prefix does not already exist for the selected EIM table, the new prefix will be added to specified EIM Interface Table Columns related to the target table. If a prefix already exists, the existing prefix will be used.

  9. In the "Select an interface table" field, select from the picklist.
  10. The picklist for selecting the EIM Interface Table that will be mapped is constrained to show those standard interface tables that are mapped to tables to which the new custom table has a foreign key.

    When selecting an existing base table, the wizard will only let you select the interface tables that have the base table defined as a target table.

    The list is sorted by EIM table name. In the list you see candidate interface tables.

    However, you will be given the option to select a different EIM table from the list. The picklist for choosing an EIM table will show the name of the table. In the picklist, interface tables with EXIST='Y' means that these EIM tables already have the base table mapped. If you extend existing Siebel tables, please consider these tables as the ideal candidates for EIM mapping.

    If the EIM table you picked is not locked, you cannot proceed. You must lock the EIM table before starting the wizard.

  11. Click Next on the Interface Table Mapping dialog box.
  12. The Summary dialog box appears with a summary of the choices you have made.

  13. Click Finish on the Summary dialog box to accept the choices you made and generate the EIM Interface Table object.

Based on this information, the wizard creates new EIM table mapping objects and adds several child objects to an existing EIM interface table object:

EIM Object Specifications

The specifications for EIM objects are as follows:


 Siebel Tools Reference, Version 7.5, Rev. A 
 Published: 18 April 2003