Change log definition

In this table, operations and data changes to be logged are defined, according to the settings in the Log type field.

PropertyValueDescription
DatabaseSystemThis table is in the system (vbsys) database.
SQL nameChLogDfThe table name in the database.
API identifierchangeLogDefinitionThe API identifier used in GraphQL.
Table no.328The table number in the data model.

The following fields exist in this table:

Changelog processing

Controls the user prompt dialog.

A look-up opens the dialog box where you can see the following check boxes and options:
Prompt for comment
The user will be prompted for a mandatory comment when the action that triggers the logging is performed.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainChangelog processingInteger
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameChLogPrThe database field name.
API identifierchangeLogProcessingThe API identifier used in GraphQL.
Number16469 

Column no.

The field you want to log changes for.

If the Table no. field has a value, you can choose a column in the table from this field. You find the same column number in the field properties below the column descriptions in the online help.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainColumn no.Integer
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameColNoThe database field name.
API identifiercolumnNoThe API identifier used in GraphQL.
Number12885 

Company no.

The company you want to log changes for.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainCompany no.Integer
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameFrmNoThe database field name.
API identifiercompanyNoThe API identifier used in GraphQL.
Number13805 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
CompanyCompany
  • Company no.

Copy to

The copy recipient of a change log e-mail. Enter one or more e-mail addresses separated by a semicolon.

The e-mail addresses are placed in the Copy to field in Microsoft Outlook, and logged changes are sent. The Send to field must already contain an e-mail address.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainE-mail addressText (60)
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameCopyToThe database field name.
API identifiercopyToThe API identifier used in GraphQL.
Number12889 

From value

Restrict the values that you want to log for the selected field. The field is used together with the To value field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNameText (80)
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameFrValThe database field name.
API identifierfromValueThe API identifier used in GraphQL.
Number13718 

Layout gr. no.

The layout group you want to log changes for.

Only changes done by users in this layout group are logged. The same user can be included in several layout groups.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainLayout gr. no.Integer
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameLtGrNoThe database field name.
API identifieruserGroupNoThe API identifier used in GraphQL.
Number12887 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
Layout groupUserGroup
  • Layout gr. no.

Line no.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Primary keyYesLine no.
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameLnNoThe database field name.
API identifierlineNoThe API identifier used in GraphQL.
Number12882 

Log type

The operations that you want to log changes for.

This domain is used both for defining which changes to log and to specify the log records in the change log tables.

A look-up in this field gives you the following list of possible values:
1 - Insert
Logs when a value is entered in a field on a new record.

You must select the Table no. and Column no. to log.

2 - Update
Logs when a value in a field is changed on an existing record.

You must select the Table no. and Column no. to log.

3 - Insert or update
Logs when a value in a field is changed on any record (new or existing).

You must select the Table no. and Column no. to log.

In the change logs the records from this value is show with value 1 - Insert or 2 - Update respectively.

4 - Deleting
Logs when a record is deleted.

You must select the Table no. to log.

This value applies to an entire table record. If you want to log when the value in one field is deleted you must use the 2 - Update or 3 - Insert or update value.

5 - Processing
Logs when a processing is executed.

You must select the Table no. and Processing no. to log.

The log will only include the changing of the field values if the fields are specified on separate records with value 1 - Insert, 2 - Update or 3 - Insert or update.

8 - Processed row
Logs when a row is successfully processed.

This will log the processed row's primary key.

The From value and/or To value columns may be used with a value for the first primary key column, in order to restrict the logging to only rows that meet the condition.

6 - Access control
Logs changing of all access levels in the System change log table.

No other parameters are necessary.

7 - Import
Logs when records are added using the Import command on the Company menu.

You must select the Table no. to log.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainLog typeInteger
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameLogTpThe database field name.
API identifierlogTypeThe API identifier used in GraphQL.
Number12883 

Processing no.

The processing you want to log changes for.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainProcessing no.Integer
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameProcNoThe database field name.
API identifierprocessingNoThe API identifier used in GraphQL.
Number12886 

Send to

The recipient of a change log e-mail. Enter one or more e-mail addresses separated by a semicolon.

The e-mail addresses are placed in the Send to field in Microsoft Outlook, and logged changes are sent. One e-mail is sent for each deletion/change/process. The e-mail is not saved in the Sent folder.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainE-mail addressText (60)
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameSendToThe database field name.
API identifiersendToThe API identifier used in GraphQL.
Number12888 

Table no.

The table you want to log changes for.

The field must be filled in for all log types except for Access Control type.

You can select a table by looking up in this field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTable no.Integer
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameTabNoThe database field name.
API identifiertableNoThe API identifier used in GraphQL.
Number12884 

To value

Restrict the values that you want to log for the selected field. The field is used together with the From value field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNameText (80)
Write AccessSystem supervisor userOnly users who are marked as System supervisor in the User table are allowed to modify the value in this field.
SQL nameToValThe database field name.
API identifiertoValueThe API identifier used in GraphQL.
Number13719 

Control columns

Control columns include information about who has changed the record last and when, and which process that is currently editing the record.

Changed by provenance

The provenance for the record change.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPvnThe database field name.
API identifierchangedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Changed by user

The name of the user that changed the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChUsrThe database field name.
API identifierchangedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Changed date

The date when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChDtThe database field name.
API identifierchangedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time

The time when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTmThe database field name.
API identifierchangedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time stamp

The date and time when the record was changed.

The field is updated with the UTC time.

This value can be used by external systems to replicate changed data. The column is indexed. 

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTsThe database field name.
API identifierchangedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Created by provenance

The provenance for the record creation.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCrePvnThe database field name.
API identifiercreatedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Created by user

The name of the user that created the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreUsrThe database field name.
API identifiercreatedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Created date

The date when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreDtThe database field name.
API identifiercreatedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Created time

The time when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTmThe database field name.
API identifiercreatedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Created time stamp

The date and time when the record was created.

The field is updated with the UTC time.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTsThe database field name.
API identifiercreatedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Edit status

The current status of the record.

A look-up in this field gives you the following list of possible values:

0 - Unchanged: The record is read, but not changed.

1 - Inserted: The record is new.

2 - Changed: The record is changed.

3 - Deleted: The record is deleted.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainEdit statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLckStThe database field name.
API identifiereditStatusThe API identifier used in GraphQL.
NumberA unique column number. 

Process no

The Process no. from the Active company process table which is currently using or has control of this record.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProcess no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPrcThe database field name.
API identifierlockedByProcessNoThe API identifier used in GraphQL.
NumberA unique column number. 
Table 3. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.