Order document line note

When printing an outgoing order document, the notes from Order note or Order line note are copied to Order document note or Order document line note.

The Order document note and Order document line note tables are not editable, so at this point it is too late to change the note value or exclude it from sending.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameOrdDocLnNtThe table name in the database.
API identifierorderDocumentLineNoteThe API identifier used in GraphQL.
Table no.423The table number in the data model.

The following fields exist in this table:

Exclude from sending

If set, the value in Note is not included when sending documents from the order to AutoInvoice.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBooleanInteger
Write AccessNoneYou are not allowed to modify the value in this field.
Memory fieldYesThe value in this field is only displayed in the program, it is not stored in the database.
API identifierexcludeFromSendingThe API identifier used in GraphQL.
Number18340 

Incm. doc. type

Shows the type if the source of the note is an incoming document.

A look-up in this field gives you the following list of possible values:
1 - Order
2 - Order response
4 - Despatch advice
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainIncm. doc. typeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameInDocTpThe database field name.
API identifierincomingDocumentTypeThe API identifier used in GraphQL.
Number18341 

Note

Contains notes added to the document when sent to AutoInvoice. Not editable.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNoteText (250)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameNtThe database field name.
API identifiernoteThe API identifier used in GraphQL.
Number18338 

Note options

Not in use.

A look-up opens the dialog box where you can see the following check boxes and options:
Exclude from sending
If set, the value in Note is not included when sending documents from the order to Visma.net AutoInvoice.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNote optionsInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameNtFlThe database field name.
API identifiernoteOptionsThe API identifier used in GraphQL.
Number18339 

Order doc. line no.

The order document line that the note is connected 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.
DomainNo.Integer
Primary keyYesOrder doc. no., Order doc. line no., Sequence no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameDocLnNoThe database field name.
API identifierorderDocumentLineNoThe API identifier used in GraphQL.
Number18336 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
Order document lineOrderDocumentLine
  • Order doc. no.
  • Order doc. 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 doc. no.

The order document the note is connected 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.
DomainNo.Integer
Primary keyYesOrder doc. no., Order doc. line no., Sequence no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameOrdDocNoThe database field name.
API identifierorderDocumentNoThe API identifier used in GraphQL.
Number18335 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
Order documentOrderDocument
  • Order doc. no.
Order document lineOrderDocumentLine
  • Order doc. no.
  • Order doc. line no.
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Sequence no.

Automatically assigned.

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 defaultYesThis field is visible by default in the table display.
DomainNo.Integer
Primary keyYesOrder doc. no., Order doc. line no., Sequence no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSeqNoThe database field name.
API identifiersequenceNoThe API identifier used in GraphQL.
Number18337 

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