SyncEngine meta information

This table contains meta information for handling the synchronisation to Master Data Management through the SyncEngine.

The table is automatically updated by Business NXT when data is edited, created or deleted in the specific accounting tables corresponding to each data type. The updates are then picked up by the SyncEngine service and synchronized with Master Data Management.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameSEMtInfThe table name in the database.
API identifiersyncEngineMetaInformationThe API identifier used in GraphQL.
Table no.392The table number in the data model.

The following fields exist in this table:

Foreign Key Integer

An integer value serving as a foreign key for tables with integer primary key values (like Associate, General ledger account and Organisational unit 1-Organisational unit 6).

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.
DomainNo.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameFkInt32The database field name.
API identifierforeignKeyIntegerThe API identifier used in GraphQL.
Number17635 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateAssociateBusiness
  • Foreign Key Integer
AssociateAssociateContact
  • Foreign Key Integer
General ledger accountGeneralLedgerAccount
  • Foreign Key Integer
Company informationCompanyInformation
  • Foreign Key Integer
Organisational unit 1OrgUnit1
  • Foreign Key Integer
Organisational unit 2OrgUnit2
  • Foreign Key Integer
Organisational unit 3OrgUnit3
  • Foreign Key Integer
Organisational unit 4OrgUnit4
  • Foreign Key Integer
Organisational unit 5OrgUnit5
  • Foreign Key Integer
Organisational unit 6OrgUnit6
  • Foreign Key Integer
VAT codeTaxCode
  • Foreign Key Integer

Foreign Key String of length 10

A string value serving as a foreign key for tables with string (10) primary key values (Organisational unit 8-Organisational unit 12).

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.
DomainString of length 10Text (10)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameFkStr10The database field name.
API identifierforeignKeyString10The API identifier used in GraphQL.
Number17739 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 8OrgUnit8
  • Foreign Key String of length 10
Organisational unit 9OrgUnit9
  • Foreign Key String of length 10
Organisational unit 10OrgUnit10
  • Foreign Key String of length 10
Organisational unit 11OrgUnit11
  • Foreign Key String of length 10
Organisational unit 12OrgUnit12
  • Foreign Key String of length 10

Foreign Key String of length 40

A string value serving as a foreign key for tables with string (40) primary key values (Organisational unit 7).

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.
DomainString of length 40Text (40)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameFkStr40The database field name.
API identifierforeignKeyString40The API identifier used in GraphQL.
Number17740 
Table 3. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 7OrgUnit7
  • Foreign Key String of length 40

MDM data type

A value indicating the type of Master Data Type.

A look-up in this field gives you the following list of possible values:
1 - Business
2 - Contact
3 - General ledger account
4 - Cost unit type
5 - Cost unit
6 - Tax code
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.
DomainMDM data typeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMdmDataTpThe database field name.
API identifiermdmDataTypeThe API identifier used in GraphQL.
Number17634 
Table 4. Table relations
To tablePurposeFrom columnsTo columnsComments
SyncEngine control informationSyncEngineControlInformation
  • MDM data type

MDM Deleted version no.

A value indicating the MDM version in which the data was deleted.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMDM version no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMdmDelVerThe database field name.
API identifiermdmDeletedVersionThe API identifier used in GraphQL.
Number17638 

MDM public id

The primary key of this table. A GUID assigned when creating the record, and sent to MDM as the public ID. May be equal to External ID.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainGUIDText (40)
Primary keyYesMDM public id
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMdmPubIdThe database field name.
API identifiermdmPublicIdThe API identifier used in GraphQL.
Number17633 

MDM status

A flag field controlling the sync processing in Visma Business Services Host for SyncEngine.

A look-up opens the dialog box where you can see the following check boxes and options:
Synchronisation is pending
Pending synchronisation is deleted
Synchronisation is in progress
Synchronisation failed
Synchronisation of deletion is in progress
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMDM statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMdmPrcThe database field name.
API identifiermdmStatusThe API identifier used in GraphQL.
Number17639 

MDM Sync version no.

The version of the master data that is synced with the data owner - i.e. this is the version of data that Business NXT has.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMDM version no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMdmSyncVerThe database field name.
API identifiermdmSyncVersionThe API identifier used in GraphQL.
Number17637 

MDM version no.

The version of the master data as known by the local application. Since Business NXT is data owner, MDM version no. and MDM Sync version no. will be the same.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMDM version no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameMdmVerThe database field name.
API identifiermdmVersionThe API identifier used in GraphQL.
Number17636 

MDM operation id

A value linking the record to a Visma.SyncEngine sync operation. When the sync request is issued, an operation ID is returned and stored in this field.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainGUIDText (40)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameOpIdThe database field name.
API identifieroperationIdThe API identifier used in GraphQL.
Number17868 

Organisational Unit

A value used with organisational units to identify the organisational unit type.

A look-up in this field gives you the following list of possible values:
1 - Organisational unit class 1
2 - Organisational unit class 2
3 - Organisational unit class 3
4 - Organisational unit class 4
5 - Organisational unit class 5
6 - Organisational unit class 6
7 - Organisational unit class 7
8 - Organisational unit class 8
9 - Organisational unit class 9
10 - Organisational unit class 10
11 - Organisational unit class 11
12 - Organisational unit class 12
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainOrg. unit class no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameOrgUnitTpThe database field name.
API identifierorgUnitTypeThe API identifier used in GraphQL.
Number17741 

Sync. attempt counter

A counter for number of sync attempts. Used by Visma Business Services Host for SyncEngine to determine when to fail the sync attempts.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSyncAttCntThe database field name.
API identifiersyncAttemptCountThe API identifier used in GraphQL.
Number17869 

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