invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

View Elements

The table itgen_view_elements holds: a view element is part of a business-view and associates a table or reporting view with the business view.

Example: The table 'itgen_applications' is an element of the business-view 'itgen_tables_v'.

It keeps history. Its natural key code is vet.

Columns

The table has these columns, besides the standard columns:

  • additional_where_clause (varchar2(4000)): Additional Where Clause. Text to be added to the join clause of the view element. Equals additional_where_clause on a view only when not used with a left outer join.
  • additional_where_clause_l (clob): Additional Where Clause. Text to be added to the join clause of the view element. Equals additional_where_clause on a view only when not used with a left outer join. Will replace additional_where_clause in the future.
  • alias (varchar2(30), required): Alias. Alias of the view element's columns in the view's select clause.
  • autocompleted_flag (char(1), required): Autocompleted. Indicator whether this row was added by autocomplete.
  • column_name (varchar2(30)): Column Name. Column that is joined with. Normally this is always the 'id' column since Invantive Producer strongly promotes a fully normalized datamodel with only technical keys.
  • documentation (varchar2(4000)): Documentation. Documentation on the view element.
  • joined_column_name (varchar2(30)): Joined Column Name. Columng being joined. Typically consists of the alias of the table in the related view element plus '_id'.
  • left_outer_join_flag (char(1), required): Left Outer Join. Indicator whether the relationship is a left outer join (when 'Y') or a normal join (when 'N').
  • ref_columns (varchar2(4000)): Reference Columns. Comma-separated list of columns of the referenced table to be included in the view. A '+' means inclusion of the default column list of the table.
  • ref_columns_l (clob): Reference Columns. Comma-separated list of columns of the referenced table to be included in the view. A '+' means inclusion of the default column list of the table. Will replace ref_columns in the future.
  • seq (number, required): Sequence. It's numeric unique sequence number.
  • tbe_id (number, required): Table ID. Reference to a table registered in ITGEN_TABLES.
  • tbe_joined_alias (varchar2(30)): Table Joined Alias. Alias to be used for creating the column names in the business object for this view elements.
  • tbe_joined_code (varchar2(30)): Table Joined Code. Code of the table joined with. See the column 'column_name'.
  • viw_id (number, required): View ID. Reference to a view registered in ITGEN_VIEWS.
  • column1 to column10 and column_type: free text columns to extend the data model with fields only available at one site.

Referential Constraints

The table is related to other tables as follows:

  • tbe_id refers to Tables (id).
  • viw_id refers to Business Objects (id).
  • View Columns refers to this table through vet_id.

Indexes

The table has these indexes:

  • itgen_vet_n1 on date_last_updated.
  • itgen_vet_nk (unique) on viw_id, seq.
  • itgen_vet_pk (unique) on id.
  • itgen_vet_tbe_fk on tbe_id.
  • itgen_vet_uk_alias (unique) on viw_id, alias.
  • itgen_vet_uk_orig (unique) on orig_system_reference.
  • itgen_vet_viw_fk on viw_id.

See also Tables of the Repository.

Release Notes