Document link

This table may contain one or more rows for each version of a document, with references to rows in other tables.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameOrdDocNtThe table name in the database.
API identifierorderDocumentNoteThe API identifier used in GraphQL.
Table no.420The table number in the data model.

The following fields exist in this table:

Amount

Amount based on the supplier invoice document.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAmountDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameAmThe database field name.
API identifieramountInCurrencyThe API identifier used in GraphQL.
Number17804 

Appointment associate no.

The person responsible for the appointment the document is linked to.

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.
DomainAssociate no.Integer
SQL nameAgrActNoThe database field name.
API identifierappointmentAssociateNoThe API identifier used in GraphQL.
Number3888 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
AppointmentAppointment
  • Appointment associate no.
  • Appointment no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Appointment no.

The appointment the document is linked to.

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.
DomainAppointment no.Integer
SQL nameAgrNoThe database field name.
API identifierappointmentNoThe API identifier used in GraphQL.
Number3889 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
AppointmentAppointment
  • Appointment associate no.
  • Appointment no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Associate no.

The associate the document is linked to.

The associate can be any type of Associate.

For example, the field is filled in if the document is created from the Associate table.

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.
DomainAssociate no.Integer
SQL nameActNoThe database field name.
API identifierassociateNoThe API identifier used in GraphQL.
Number3886 
Table 3. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateAssociate
  • Associate no.

Cap. asset no.

The capital asset the document is linked to.

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.
DomainCap. asset no.Integer
SQL namePropNoThe database field name.
API identifiercapitalAssetNoThe API identifier used in GraphQL.
Number5666 
Table 4. Table relations
To tablePurposeFrom columnsTo columnsComments
Capital assetCapitalAsset
  • Cap. asset no.

CID code

The CID from the supplier invoice.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainCID codeText (30)
SQL nameCIDThe database field name.
API identifiercidThe API identifier used in GraphQL.
Number17799 

Contact

The contact person the document is linked to. The contact person must belong to the customer or supplier referenced in Associate no. field.

You can select a Contact person while running the Create document processing.

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.
DomainAssociate no.Integer
SQL nameLiaActNoThe database field name.
API identifiercontactThe API identifier used in GraphQL.
Number4449 
Table 5. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateContact
  • Contact

Corporate company no.

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.
DomainCorporate company no.Integer
SQL nameCorpCompNoThe database field name.
API identifiercorporateCompanyNoThe API identifier used in GraphQL.
Number20749 
Table 6. Table relations
To tablePurposeFrom columnsTo columnsComments
Corporate companyCorporateCompany
  • Corporate company no.

Created by associate

The user who created the document.

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.
DomainAssociate no.Integer
SQL nameCrActNoThe database field name.
API identifiercreatedByAssociateNoThe API identifier used in GraphQL.
Number4227 
Table 7. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateCreatedByAssociate
  • Created by associate

Disc. amount

Discount amount based on the supplier invoice document.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameDcAmThe database field name.
API identifierdiscountAmountInCurrencyThe API identifier used in GraphQL.
Number17803 

Disc. %

Discount % based on the supplier invoice document.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameDcPThe database field name.
API identifierdiscountPercentThe API identifier used in GraphQL.
Number17802 

Doc. no.

The document that is linked.

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.
DomainDoc. no.Integer
Primary keyYesDoc. no., Version no., Line no.
SQL nameDocNoThe database field name.
API identifierdocumentNoThe API identifier used in GraphQL.
Number3884 
Table 8. Table relations
To tablePurposeFrom columnsTo columnsComments
DocumentDocument
  • Doc. no.
  • Version no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Due date

The due date from the supplier invoice.

This field is used for order match functionality.

The date is validated using the regional settings in Windows.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDateInteger
SQL nameDueDtThe database field name.
API identifierdueDateThe API identifier used in GraphQL.
Number17798 

Invoice date

The invoice date from the supplier invoice.

This field is used for order match functionality.

The date is validated using the regional settings in Windows.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDateInteger
SQL nameInvoDtThe database field name.
API identifierinvoiceDateThe API identifier used in GraphQL.
Number17797 

Invoice no.

The Invoice number from the supplier invoice.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDoc. no.Text (40)
SQL nameInvoNoThe database field name.
API identifierinvoiceNoThe API identifier used in GraphQL.
Number17796 

Line no.

Each line in the table is given a consecutive number in the order in which they are entered.

Note:
The Line no. does not change when inserting new lines between existing ones. The Sort seq. no. specifies the order of the lines and is affected when new lines are inserted between existing lines.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Primary keyYesDoc. no., Version no., Line no.
SQL nameLnNoThe database field name.
API identifierlineNoThe API identifier used in GraphQL.
Number3885 

Order line no.

The order line number from the supplier invoice.

This field is used for order match functionality.

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
SQL nameOrdLnNoThe database field name.
API identifierorderLineNoThe API identifier used in GraphQL.
Number17795 
Table 9. Table relations
To tablePurposeFrom columnsTo columnsComments
Order lineOrderLine
  • Order no.
  • Order line no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Order no.

The order the document is linked to.

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.
DomainOrder no.Integer
SQL nameOrdNoThe database field name.
API identifierorderNoThe API identifier used in GraphQL.
Number4370 
Table 10. Table relations
To tablePurposeFrom columnsTo columnsComments
OrderOrder
  • Order no.
Order lineOrderLine
  • Order no.
  • Order line no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Organisational unit 1

The field is used to specify organisational unit.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR1The database field name.
API identifierorgUnit1The API identifier used in GraphQL.
Number4230 
Table 11. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 1OrgUnit1
  • Organisational unit 1

Organisational unit 2

The field is used to specify organisational unit.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR2The database field name.
API identifierorgUnit2The API identifier used in GraphQL.
Number4231 
Table 12. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 2OrgUnit2
  • Organisational unit 2

Organisational unit 3

The field is used to specify organisational unit.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR3The database field name.
API identifierorgUnit3The API identifier used in GraphQL.
Number4232 
Table 13. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 3OrgUnit3
  • Organisational unit 3

Organisational unit 4

The field is used to specify organisational unit.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR4The database field name.
API identifierorgUnit4The API identifier used in GraphQL.
Number4233 
Table 14. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 4OrgUnit4
  • Organisational unit 4

Organisational unit 5

The field is used to specify organisational unit.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR5The database field name.
API identifierorgUnit5The API identifier used in GraphQL.
Number4234 
Table 15. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 5OrgUnit5
  • Organisational unit 5

Organisational unit 6

The field is used to specify organisational unit.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR6The database field name.
API identifierorgUnit6The API identifier used in GraphQL.
Number4235 
Table 16. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 6OrgUnit6
  • Organisational unit 6

Organisational unit 7

The field is used to specify organisational unit.

The field appear with the name assigned to it in the Company information table.

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.
DomainLong alphanumeric organisational unit no.Text (40)
SQL nameR7The database field name.
API identifierorgUnit7The API identifier used in GraphQL.
Number9582 
Table 17. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 7OrgUnit7
  • Organisational unit 7

Organisational unit 8

The field is used to specify organisational unit.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR8The database field name.
API identifierorgUnit8The API identifier used in GraphQL.
Number9583 
Table 18. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 8OrgUnit8
  • Organisational unit 8

Organisational unit 9

The field is used to specify organisational unit.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR9The database field name.
API identifierorgUnit9The API identifier used in GraphQL.
Number9584 
Table 19. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 9OrgUnit9
  • Organisational unit 9

Organisational unit 10

The field is used to specify organisational unit.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR10The database field name.
API identifierorgUnit10The API identifier used in GraphQL.
Number9585 
Table 20. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 10OrgUnit10
  • Organisational unit 10

Organisational unit 11

The field is used to specify organisational unit.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR11The database field name.
API identifierorgUnit11The API identifier used in GraphQL.
Number9586 
Table 21. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 11OrgUnit11
  • Organisational unit 11

Organisational unit 12

The field is used to specify organisational unit.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR12The database field name.
API identifierorgUnit12The API identifier used in GraphQL.
Number9587 
Table 22. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 12OrgUnit12
  • Organisational unit 12

Price

Price based on the supplier invoice document.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainPriceDecimal
SQL namePriceThe database field name.
API identifierpriceInCurrencyThe API identifier used in GraphQL.
Number17801 

Product no.

The product the document is linked to.

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.
DomainProduct no.Text (40)
SQL nameProdNoThe database field name.
API identifierproductNoThe API identifier used in GraphQL.
Number3887 
Table 23. Table relations
To tablePurposeFrom columnsTo columnsComments
ProductProduct
  • Product no.
Search productSearchProduct
  • Product no.

Quantity

Quantity based on the supplier invoice document.

This field is used for order match functionality.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainQuantityDecimal
SQL nameNoInvoAbThe database field name.
API identifierquantityThe API identifier used in GraphQL.
Number17800 

Rsv. no.

The reservation the document is linked to.

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.
DomainAppointment no.Integer
SQL nameRsvNoThe database field name.
API identifierreservationNoThe API identifier used in GraphQL.
Number4246 
Table 24. Table relations
To tablePurposeFrom columnsTo columnsComments
Resource reservationResourceReservation
  • Res. no.
  • Rsv. no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Res. no.

The resource the document is linked to.

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.
DomainRes. no.Integer
SQL nameResNoThe database field name.
API identifierresourceNoThe API identifier used in GraphQL.
Number4245 
Table 25. Table relations
To tablePurposeFrom columnsTo columnsComments
ResourceResource
  • Res. no.
Resource reservationResourceReservation
  • Res. no.
  • Rsv. no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Sort seq. no.

The order of the lines.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainSort seq. no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSrtThe database field name.
API identifiersortSequenceNoThe API identifier used in GraphQL.
Number3890 

Version no.

The version number of the document.

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
Primary keyYesDoc. no., Version no., Line no.
SQL nameVerNoThe database field name.
API identifierversionNoThe API identifier used in GraphQL.
Number6728 
Table 26. Table relations
To tablePurposeFrom columnsTo columnsComments
DocumentDocument
  • Doc. no.
  • Version no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

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