Siebel Tools Reference > Data Objects Layer > Column Objects >

System Columns


System columns have a value of System in their Type property. System columns appear in all tables in Siebel applications, although the same set of system columns does not appear in every table. You can use the data in system columns for various purposes; for example, the ROW_ID column in tables is used in the construction of joins. Generally you should not modify the data in system columns. However, there are exceptions, such as certain system columns in interface tables. Some common system columns are described below:

LAST_UPD, ROW_ID, LAST_UPD_BY, CREATED, and CREATED_BY columns are system fields that are updated automatically by the Siebel application.

System fields should not be explicitly defined for a business component. If the business component fields that are based on these columns are defined, the application will attempt to write a value to these columns twice in the insert statement and will cause a duplicate column SQL error.

Updating the extension table does not update the base table automatically. This needs to be configured. One method is to add an extension column to the base table, which would be populated using SVB code whenever an extension table was updated.

Table 14 identifies the correspondences between system fields and system columns.

Table 14. System Fields and Their System Columns
System Field Name
System Column Name
Description
Id (or blank)
ROW_ID
Primary key for the table.
Created
CREATED
Creation date and time of the row.
Created By
CREATED_BY
Stores the ROW_ID of the S_USER record of the person who last updated the record.
Updated
LAST_UPD
Date of last update of the row.
Updated By
LAST_UPD_BY
Stores the ROW_ID of the S_USER record of the person who last updated the record.
In some cases, this field is updated even though the user does not actively update the record. For example, this may occur when a multi-value link is configured with a primary join. See Multi-Value Links and the CheckNoMatch Property for more information.

These fields are automatically provided, and do not need to be explicitly declared. You can reference them in the Field property of controls, list columns and other object definitions, even though they do not display in the Object List Editor for the business component.


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