Inventory of Table and Fields workspace allows you to add, view, edit, duplicate and delete the tables and fields represented in the Eagle data model. You must keep the inventory of fields consist with the Define Data Language (DDL) statements defining the physical database.
Create Tables and Fields
In the Inventory of Tables and Fields workspace, you can create reference to tables and fields.
Pre-requisite: Before you add a table, the Database Administrator should add the table to the physical database and provide necessary access permission for the tables. After this is done, you should use the Inventory of Tables and Fields to set up a reference to that table.
To create a table in the Inventory of Tables and Fields:
- In the Setup workspace, in the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - On the Home tab, click Create New and then select Table.
You see the Create New Table dialog box. - Click the Database Name list to select a database in which the physical table resides.
You can select the database name by typing in the field or selecting from the list. - In the Table Name box, enter the name of the table for which you want to set reference to.
The Table name should match with the one to which it is referenced to. - Click the Indicator list to identify the type of table.
You see all the available list of indicators. Each table in the database has an indicator. This indicator is also applied to each field attribute that is created against the table. Thus, if the SECURITY table has an indicator of s, then the ISSUE_NAME field attribute also has an indicator of s. This indicator is used to fetch data from the physical database. - Click Save.
The system creates the table and lists it in the Inventory of Fields workspace.
You can also add views, if it exists in the database. While adding Views to the Inventory of Tables and Fields, type the name of the View in the Table Name box and select the Indicator as V (virtual).
Pre-requisite: Before you add a field, the Database Administrator should add the field to the physical database and provide necessary access permission for the tables. After this is done, you should use the Inventory of Tables and Fields to set up a reference to that field.
To create a column/field in the Inventory of Tables and Fields:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available fields. - On the Home tab, click Create New and then select Field.
You see the Create New Field dialog box. - Click the Database Name list to select the database in which the physical column/field resides.
You can select the database name by typing in the field or selecting from the list. - Click the Table Name list to select the corresponding table in which the physical column/field resides.
You can select the table name by typing in the field or selecting from the list.
Note: If the Table Indicator field is V (virtual), the Database and Table Name fields are disabled for editing. - Enter the name of the column/field for which you want to set reference to in the Column/Field Name box.
- Enter a description about the column/field in the Description box.
- In the Use this as section, select either Update User Field or Updated Date Field checkbox. Note: This option is used to update user and date information in Eagle's Portfolio Data Center.
- Update User Field: Select this option to update the Update User field in the table, whenever the column/field value is changed.
- Update Date Field: Select this option to update the Update Date field in the table, whenever the column/field value is changed. Note: This option is used to update user and date information in Eagle's Portfolio Data Center. - Click the Storage Type list to select the storage type of the column/field.
When you select storage type as String or Wide, the Size box is enabled. Note. If the storage type or size, does not match the attributes of the field within the physical table then the user is notified of such invalid entries. - Select Show in editing screens check box to display the field in all the editing screens. Options include:
- Make required: Select this option to make the field as a mandatory one, that is, you are not allowed to save the window without actually populating the field with a value.
- Show as read only: Select this option to make it as read only field, that is, it is not an editable field. - Enter a unique XML tag for the column/field in the XML tag box. The name should begin with Capital letters.This XML tag is used to identify the specific xsd for the field in Eagle portal.
- Select a field to set as reference in the Reference Field list, if required.
This is a field attribute of Inventory of Fields, which has a reference code attached to it in the place of the Reference Field parameter. - Enter a unique tag for the field in Eagle Star tag box.
Tags are numeric identifiers that corresponds to field's in Eagle Data Model. - Select a Lookup Type from the drop-down list. Options include:
– None
– Underlying Security
– Issuer
– Entity
– Business Calendar
– SourceThis is used to add a field in the Reference Data Center and Portfolio Data Center screens to place a lookup other than a code value, for example, like a list of business calendars or sources, or an underlying Security linked to the security being looked at.
- Click Add to add the column/field name.
You see the added field gets listed in the below grid with field name, description, database and table name. - Repeat the steps to add another column/field.
- Click Save All to save the created column/field.
The system creates the column/field and lists it in the Inventory of Tables and Fields workspace.
Edit Tables and Fields
You can view and edit the current list of tables and fields within the Inventory of Table and Fields workspace.
To edit tables in the Inventory of Tables and Fields:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - To view tables only, under View section, click Tables.
You see the list of available database tables. - To edit a table, select the table you want to edit, and then click Edit on the Home tab.
You see the Edit table dialog box. - Make the appropriate changes, as required.
- Click Save.
You see the revised table listed in the Inventory of Tables and Fields workspace.
To edit fields in the Inventory of Tables and Fields:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - To view fields only, under View section, click Fields.
You see the list of available fields. - To edit a field, select the field you want to edit, and then click Edit on the Home tab.
You see the Edit field dialog box. Edit the Column/Name field, if required.
You can click on the Description box and update the field description.
Click the Storage Type list to change the storage type, if required.
You can click on the XML Tag box and update the XML tag.
Select a Reference field from the drop-down list.
You can click on the Eagle Star Tag box and enter an Eagle Star tag.
Select a Lookup Type from the drop-down list. Options include:
– None
– Underlying Security
– Issuer
– Entity
– Business Calendar
– Source- Click Save All to save the changes.
You see the revised field listed in the Inventory of Tables and Fields workspace.
Validate Tables and Fields
In Inventory of Tables and Fields workspace, you can validate the table or field against the physical Eagle Data Management database to see if the table or field actually exist.
To validate table or field:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - Select the table or field you want to validate.
- On the Home tab, in the Actions group, click Validate and select Table or Field.
You see a message stating that the table/field is valid, if the table/field exist in the physical database.
Otherwise, you see a message stating that the table/field does not exist, if the table/field does not exist in the physical database.
Get Fields
In Inventory of Tables and Fields workspace, you can retrieve fields from the physical table.
To get fields of the table:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - Select the table, for which you want to retrieve the fields.
- On the Home tab, in the Actions group, click Get Fields.
You see a warning message to confirm the action. - Click OK to get fields from the database.
You see a confirmation message stating all fields for the table is retrieved. - The system retrieves all the fields from the physical database and adds it to the selected table in the Inventory of Tables and Fields workspace.
Synchronize with Metadata
In Inventory of Tables and Fields workspace, you can synch your inventory of fields with their field attributes. Both the field attribute and the corresponding reference code are synchronized by using the Synch option.
To synchronize with metadata:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - Select the table for which you want to synch your inventory of fields with their field attributes.
- On the Home tab, in the Actions group, click Metadata Synch.
On successful synchronization, you see a confirmation message for the synch. - Otherwise, you see the Metadata Synch Results dialog box listing the fields which have multiple field attributes mapped to them.
Duplicate Tables or Fields
To duplicate tables/fields in the Inventory of Tables and Fields:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - Select the table or field that you want to duplicate.
- On the Home tab, click Duplicate.
You see the Create New Table/Create New Field dialog box - Update the fields following the steps outlined in Create New Tables and Fields.
- Click Save.
You see the duplicated table/or field listed in the Inventory of Tables and Fields workspace.
Delete Tables and Fields
To delete tables/fields in the Inventory of Tables and Fields:
- From the left navigation, click Setup > Metadata > Inventory of Tables and Fields.
You see the Inventory of Tables and Fields workspace with the list of available database tables. - Select the table or field that you want to delete.
- On the Home tab, click Delete.
You see a message stating successful deletion of Table or field. The table/field is deleted from the system.
Add Comment