XML interpretation rule

Interpretation rules for parsing of incoming documents are saved in this table.

See also: System-defined and user-defined rules

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

The following fields exist in this table:

Name

User-defined rule name.

Preferably use meaningful names similar to Business NXT fields to simplify mapping to the Batch and Voucher tables.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNameText (80)
SQL nameNmThe database field name.
API identifierruleNameThe API identifier used in GraphQL.
Number19769 

Rule no.

The primary key identifying the rule.

Note:
If you press + in this field, the next available number is suggested. Gaps in the number series resulting from any deleted rows are not suggested. If you enter an existing number you will receive an error message. The number cannot be changed once it is entered.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainInterpretation rule no.Integer
Primary keyYesRule no.
SQL nameRlNoThe database field name.
API identifierruleNoThe API identifier used in GraphQL.
Number19768 

Rule type

Automatically set to 0 - System or 10 - User defined.

User-defined rules are set to 10 - User defined by default and can't be changed to 0 - System.

A look-up in this field gives you the following list of possible values:
0 - System
10 - User defined
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainRule typeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameRlTpThe database field name.
API identifierruleTypeThe API identifier used in GraphQL.
Number19772 

Target

Defines the level, either 0 - Document or 10 - Line.

A look-up in this field gives you the following list of possible values:
0 - Document
10 - Line
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTargetInteger
SQL nameTrgThe database field name.
API identifiertargetThe API identifier used in GraphQL.
Number19771 

XML path

The path where the value will be parsed.

Formatting example: //cac:xxxx/cac:xxxx/cac:xxxx/cbc:xxxx

Preferably use an XML editor to copy, paste, and adjust the path.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 250Text (250)
SQL nameXmlPthThe database field name.
API identifierxmlPathThe API identifier used in GraphQL.
Number19770 

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 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 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.