Most of the table configurations is done at Tables window, located at System > Utilities > Database Structure > Tables. The Tables window contains the following tabs:

Tables Tab

The Tables tab lists each table created using the Tables window. It also shows any inventory and class-codes tables created in the Asset Type window. These tables may or may not actually be in the database; the In DB check box indicates those tables that are actually part of the database.

Columns in the Tables Tab

Right-click Shortcut Menu Commands

When you right-click the tab, the system displays a shortcut menu. This menu contains the following special commands that apply to the table selected in the Tables tab:

Columns Tab

Note: When a column is configured as a String and set to a size of zero, it will be interpreted as a CLOB (character large object).

The Columns tab shows the columns in the table selected in the Tables tab. When the Apply Changes right-click command in the Tables tab is executed, it updates the table structure using the column definitions from this tab.

Columns in the Columns Tab

The columns in this tab provide the following information:

Use these tips to test your Update Source SQL:

Right-click Shortcut Menu Commands

When you right-click a row, the system displays a shortcut menu. This menu contains the following commands in addition to the common commands:

Indexes Tab

The Indexes pane in the upper part of the tab lists the indexes for the table. The Available Columns and Index Columns panes in the lower part of the window are used to see and adjust the column components of the currently selected index. The Indexes tab shows the indexes pertinent to the table identified in the Tables tab. When the Apply Changes right-click command in the Tables tab is executed, it updates the index definitions from this tab.

The Indexes tab contains three panes:

The Index tab also contains two buttons with arrows to add and remove columns from the index. The upper arrow key adds the column selected in the Available Columns pane to the Indexes pane. The lower arrow key removes the column selected in the Indexes pane and places it in the Available Columns pane.

The columns in this tab provide the following information:

Java Triggers

The Java Triggers tab lists the Java scripts that trigger changes in the table selected in the Tables tab. It also lists AfterChange type Groovy scripts that affect the table. Since Groovy scripts cannot run in an Oracle environment as such, each is given a Java "wrapper" that enables the Groovy script to run. The name of this wrapper is the same for all AfterChange Groovy scripts: com.agileassetsinc.trigger.GroovyScriptTrigger. The particular AfterChange Groovy script is given in the Dynamic Create Parameters column, which shows the ID number of the Groovy script.

When you right-click a record that shows com.agileassetsinc.trigger.GroovyScriptTrigger in the Class Name column, the following command becomes available: