System change log

This table contains logged operations and data changes in the system database, according to the settings in the Log type field.

In addition to some mandatory logging, the extent of logging is determined by the Change log definition table.

Attempts to import data to the table will be ignored.

Rows can only be deleted using the Delete change log processing in the System information table.

The corresponding table for company databases is named Company change log.

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

The following fields exist in this table:

Access group change

The type of access change that has been logged for records where the Log type is 6 - Access control.

A look-up in this field gives you the following list of possible values:
0 - All
To ensure backwards compatibility (Versions before 5.31.0), this value is used on all rows added with the old functionality requested by the Log for changing of access groups check box in the System information processing field in the System information table.
1 - Table
Access level for a table has been changed.

The tables external no and name will be showed in the Table no. field.

2 - Column
Access level for a column has been changed.

The columns external no and name will be showed in the Column no. field and the table name will be showed in the Table no. field.

3 - Processing
Access level for a processing has been changed.

The processings external no and name will be showed in the Processing no. field and the table name will be showed in the Table no. field.

4 - Report
Access level for a report has been changed.

The reports external no and name will be showed in the Report no. field and the table name will be showed in the Table no. field.

5 - General command
Access level for a general command has been changed.

The general commands external no and name will be showed in the Command no. field.

6 - Miscellaneous function
Access level for a miscellaneous function has been changed.

The miscellaneous functions external no and name will be showed in the Misc. function no. field.

7 - Service
8 - Operation
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAccess group changeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameAccGrChThe database field name.
API identifieraccessGroupChangeThe API identifier used in GraphQL.
Number16460 

Column no.

The number and name of the column for which access have been changed.

Note:
Not all field changes are logged if the fields are updated running a processing. For example, when logging Order total net, not all changes resulting from running the Finish and Invoices/credit notes processings are logged.

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 AccessNoneYou are not allowed to modify the value in this field.
SQL nameColNoThe database field name.
API identifiercolumnNoThe API identifier used in GraphQL.
Number12900 

Command no.

The number of the general command for which access have been changed.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainCommand no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCmdNoThe database field name.
API identifiergeneralCommandNoThe API identifier used in GraphQL.
Number16462 

Comment

A comment given by the user describing why the change was done.

Note:
A comment is only given when the logging was initiated by a Change log definition where Prompt for comment is selected in the Changelog processing field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMemoUnlimited text
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCmtThe database field name.
API identifiercommentThe API identifier used in GraphQL.
Number16470 

Inf.

The customer, supplier or employee number for changes to the Associate table, for the row being changed or deleted.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTextText (260)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameInfThe database field name.
API identifierinformationThe API identifier used in GraphQL.
Number12904 

Line no.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
Primary keyYesLine no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLnNoThe database field name.
API identifierlineNoThe API identifier used in GraphQL.
Number12897 

Log type

Log type according to the setting in the Change log definition table.

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 AccessNoneYou are not allowed to modify the value in this field.
SQL nameLogTpThe database field name.
API identifierlogTypeThe API identifier used in GraphQL.
Number12898 

Misc. function no.

The number of the misc. function for which access have been changed.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMisc. function no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMiscFNoThe database field name.
API identifiermiscellaneousFunctionNoThe API identifier used in GraphQL.
Number16463 

Name

The name or description of the row for which access have been changed.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNameText (80)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameNmThe database field name.
API identifiernameThe API identifier used in GraphQL.
Number12903 

New value

The new value of the field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTextText (260)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameNewValThe database field name.
API identifiernewValueThe API identifier used in GraphQL.
Number12906 

Operation no.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainOperation no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameOpNoThe database field name.
API identifieroperationNoThe API identifier used in GraphQL.
Number19603 

Previous value

The value prior to the change.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTextText (260)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL namePrvValThe database field name.
API identifierpreviousValueThe API identifier used in GraphQL.
Number12905 

Primary key

A unique number identifying the record being changed or deleted.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTextText (260)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPKThe database field name.
API identifierprimaryKeyThe API identifier used in GraphQL.
Number12902 

Processing no.

The number and name of the processing for which access have been changed.

Note:
Processed rows are not logged in the Primary key field for this log type.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainProcessing no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameProcNoThe database field name.
API identifierprocessingNoThe API identifier used in GraphQL.
Number12901 

Report no.

The number and name of the report for which access have been changed.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainReport no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameRepNoThe database field name.
API identifierreportNoThe API identifier used in GraphQL.
Number16461 

Service no.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainService no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSvcNoThe database field name.
API identifierserviceNoThe API identifier used in GraphQL.
Number19602 

Table no.

The number and name of the table for which access have been changed.

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 AccessNoneYou are not allowed to modify the value in this field.
SQL nameTabNoThe database field name.
API identifiertableNoThe API identifier used in GraphQL.
Number12899 

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 1. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.