Company 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 system databases is named System change log.
| Property | Value | Description |
|---|---|---|
| Database | Company | This table is in the company databases. |
| SQL name | ChLog | The table name in the database. |
| API identifier | companyChangeLog | The API identifier used in GraphQL. |
| Table no. | 330 | The table number in the data model. |
The following fields exist in this table:
Column no.
The number and name of the column for which access have been changed.
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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Column no. | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ColNo | The database field name. |
| API identifier | columnNo | The API identifier used in GraphQL. |
| Number | 12917 |
Comment
A comment given by the user describing why the change was done.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Memo | Unlimited text |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | Cmt | The database field name. |
| API identifier | comment | The API identifier used in GraphQL. |
| Number | 16471 |
Inf.
The customer, supplier or employee number for changes to the Associate table, for the row being changed or deleted.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Text | Text (260) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | Inf | The database field name. |
| API identifier | information | The API identifier used in GraphQL. |
| Number | 12921 |
Line no.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | No. | Integer |
| Primary key | Yes | Line no. |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | LnNo | The database field name. |
| API identifier | lineNo | The API identifier used in GraphQL. |
| Number | 12914 |
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.
- 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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Log type | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | LogTp | The database field name. |
| API identifier | logType | The API identifier used in GraphQL. |
| Number | 12915 |
Name
The name associated to the new value field.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Name | Text (80) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | Nm | The database field name. |
| API identifier | name | The API identifier used in GraphQL. |
| Number | 12920 |
New value
The new value of the field.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Text | Text (260) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | NewVal | The database field name. |
| API identifier | newValue | The API identifier used in GraphQL. |
| Number | 12923 |
Previous value
The value prior to the change.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Text | Text (260) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | PrvVal | The database field name. |
| API identifier | previousValue | The API identifier used in GraphQL. |
| Number | 12922 |
Primary key
A unique number identifying the record being changed or deleted.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Text | Text (260) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChPK | The database field name. |
| API identifier | primaryKey | The API identifier used in GraphQL. |
| Number | 12919 |
Processing no.
The number and name of the processing which has been logged.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Processing no. | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ProcNo | The database field name. |
| API identifier | processingNo | The API identifier used in GraphQL. |
| Number | 12918 |
Table no.
The number and name of the table which has been logged.
The name and number of the table which is set in the change log definitions table.
You can select a table by looking up in this field.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Table no. | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | TabNo | The database field name. |
| API identifier | tableNo | The API identifier used in GraphQL. |
| Number | 12916 |
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
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Provenance | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChPvn | The database field name. |
| API identifier | changedByProvenance | The API identifier used in GraphQL. |
| Number | A unique column number. |
Changed by user
The name of the user that changed the record.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | User name | Text (24) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChUsr | The database field name. |
| API identifier | changedByUser | The API identifier used in GraphQL. |
| Number | A unique column number. |
Changed date
The date when the record was changed.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChDt | The database field name. |
| API identifier | changedDate | The API identifier used in GraphQL. |
| Number | A unique column number. |
Changed time
The time when the record was changed.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Time | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChTm | The database field name. |
| API identifier | changedTime | The API identifier used in GraphQL. |
| Number | A 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.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date/time | DateTime |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChTs | The database field name. |
| API identifier | changedTimestamp | The API identifier used in GraphQL. |
| Number | A 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
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Provenance | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CrePvn | The database field name. |
| API identifier | createdByProvenance | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created by user
The name of the user that created the record.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | User name | Text (24) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreUsr | The database field name. |
| API identifier | createdByUser | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created date
The date when the record was created.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreDt | The database field name. |
| API identifier | createdDate | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created time
The time when the record was created.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Time | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreTm | The database field name. |
| API identifier | createdTime | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created time stamp
The date and time when the record was created.
The field is updated with the UTC time.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date/time | DateTime |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreTs | The database field name. |
| API identifier | createdTimestamp | The API identifier used in GraphQL. |
| Number | A 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.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Edit status | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | LckSt | The database field name. |
| API identifier | editStatus | The API identifier used in GraphQL. |
| Number | A unique column number. |
Process no
The Process no. from the Active company process table which is currently using or has control of this record.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Process no. | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChPrc | The database field name. |
| API identifier | lockedByProcessNo | The API identifier used in GraphQL. |
| Number | A unique column number. |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Active company process | CompanyProcess | Process no. | Process no. |