Document
This table is populated when an incoming document is processed and an order number is found on it.
| Property | Value | Description |
|---|---|---|
| Database | Company | This table is in the company databases. |
| SQL name | OrdDocNt | The table name in the database. |
| API identifier | orderDocumentNote | The API identifier used in GraphQL. |
| Table no. | 420 | The table number in the data model. |
The following fields exist in this table:
Accounting document no.
The accounting document no. refers to the Accounting document table.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | No. | Integer |
| SQL name | InAcDocNo | The database field name. |
| API identifier | incomingAccountingDocumentNo | The API identifier used in GraphQL. |
| Number | 17918 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Accounting document | IncomingAccountingDocument |
|
Application icon
The icon identifying the program used to create the document.
- Word
- Excel
- HTML
- Image
- Document center
- Tiff
- Other
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Application icon | Integer |
| SQL name | Icon | The database field name. |
| API identifier | applicationIcon | The API identifier used in GraphQL. |
| Number | 14496 |
Change date
The date when the document was last changed running the Edit document processing.
The date is validated using the regional settings in Windows.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Date | Integer |
| SQL name | FileChDt | The database field name. |
| API identifier | changeDate | The API identifier used in GraphQL. |
| Number | 3876 |
Created by associate
The user who created the document.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Associate no. | Integer |
| SQL name | CrActNo | The database field name. |
| API identifier | createdByAssociateNo | The API identifier used in GraphQL. |
| Number | 3050 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Associate | CreatedByAssociate |
|
Creation date
The date the document was created.
The date is validated using the regional settings in Windows.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Date | Integer |
| SQL name | FileCrDt | The database field name. |
| API identifier | creationDate | The API identifier used in GraphQL. |
| Number | 3875 |
Description
The description of the document.
You can enter the Description while running the Create document processing.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Text | Text (260) |
| SQL name | Descr | The database field name. |
| API identifier | description | The API identifier used in GraphQL. |
| Number | 3874 |
Doc. gr.
The document group the document belongs to.
You can group documents such as offers, customer letters, internal memos, etc.
You can enter the Group while running the Create document processing.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Document group | Integer |
| SQL name | DocGr | The database field name. |
| API identifier | documentGroupNo | The API identifier used in GraphQL. |
| Number | 5579 |
Doc. no.
A unique number identifying the document.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Doc. no. | Integer |
| Primary key | Yes | Doc. no., Version no. |
| SQL name | DocNo | The database field name. |
| API identifier | documentNo | The API identifier used in GraphQL. |
| Number | 3871 |
File name
The path and file name for the document.
The path is defined in the Data path field in the Path table for the user who created the document. The file name is defined by the system. The file name series for the various document types are defined in the Company information table. Document name series can be changed by running the Change counters processing in the Company information table.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | File name | Text (260) |
| SQL name | FileNm | The database field name. |
| API identifier | fileName | The API identifier used in GraphQL. |
| Number | 3872 |
Incoming
Indicates that the document an incoming document.
You can select Incoming while running the Create document processing.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Boolean | Integer |
| SQL name | Inc | The database field name. |
| API identifier | incoming | The API identifier used in GraphQL. |
| Number | 5578 |
Incm. doc. no.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | No. | Integer |
| SQL name | InDocNo | The database field name. |
| API identifier | incomingDocumentNo | The API identifier used in GraphQL. |
| Number | 17916 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Incoming document | IncomingDocument |
|
Inf. 1
Additional document information.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Inf. @ | Text (40) |
| SQL name | Inf | The database field name. |
| API identifier | information | The API identifier used in GraphQL. |
| Number | 13076 |
Main document no.
The parent document, if the documents are arranged in a hierarchy.
Documents within a similar area can be grouped and viewed together.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Doc. no. | Integer |
| SQL name | MainDoc | The database field name. |
| API identifier | mainDocumentNo | The API identifier used in GraphQL. |
| Number | 10578 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Document | MainDocument |
|
Order match status
Displays the different statuses for the order match process.
This field is used for order match functionality.
- 1 - Completed by automatic match
- 2 - In progress
- 3 - Order no. not found
- 4 - Outside tolerance level
- The invoice amount is outside the configured tolerance limits.
- 5 - Completed manually
- 6 - Rejected
- 7 - Mandatory value missing
- Required data is missing or invalid.
- 8 - Pending
- The purchase order is already being processed by another invoice.
- 9 - Incomplete product mapping
- 10 - Currency mismatch
- Invoice currency differs from purchase order currency.
- 11 - Freight/fee product not defined
- 12 - Order match on totals
- The invoice was successfully matched.
- 13 - Order match on totals completed manually
- Invoice receive has been completed and processing is finished.
- 14 - Order match on totals completed automatically
- Invoice receive has been completed automatically and processing is finished.
- 15 - Order match on totals with order booking
- 16 - Order match on totals with order booking completed manually
- 17 - Order match on totals with order booking completed automatically
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Order match status | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | OrdMaSt | The database field name. |
| API identifier | orderMatchStatus | The API identifier used in GraphQL. |
| Number | 17792 |
Order no.
The supplier purchase order number according to the received supplier invoice document.
This field is used for order match functionality.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Order no. | Integer |
| SQL name | OrdNo | The database field name. |
| API identifier | orderNo | The API identifier used in GraphQL. |
| Number | 17791 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Order | Order |
|
Prog. no.
The program used to create the document.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Prog. no. | Integer |
| SQL name | ProgNo | The database field name. |
| API identifier | programNo | The API identifier used in GraphQL. |
| Number | 3873 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Program | Program |
|
Run no.
A sequence number for documents created from the same template.
To activate this, a starting number different from 0 has to be assigned to the Run no. field in the Template table.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | No. | Integer |
| SQL name | RunNo | The database field name. |
| API identifier | runNo | The API identifier used in GraphQL. |
| Number | 14495 |
Scan doc. no.
The ID of the scanned document.
Is used in connection with Visma Document Center.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | No. | Integer |
| SQL name | PLDNo | The database field name. |
| API identifier | scanDocumentNo | The API identifier used in GraphQL. |
| Number | 11181 |
Scan status
The status of the scanned document.
Is used in connection with Visma Document Center.
- 1 - Scanned document
- 2 - Document on flow
- 4 - Document finished
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Scan status | Integer |
| SQL name | PLDFlow | The database field name. |
| API identifier | scanStatus | The API identifier used in GraphQL. |
| Number | 11182 |
Template line no.
The template used to create the document.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | No. | Integer |
| SQL name | TemplLnNo | The database field name. |
| API identifier | templateLineNo | The API identifier used in GraphQL. |
| Number | 13077 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Template | Template |
|
Template type no.
The template type used to create the document.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Template type no. | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | TemplTpNo | The database field name. |
| API identifier | templateTypeNo | The API identifier used in GraphQL. |
| Number | 14494 |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Template type | TemplateType |
|
Version no.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | No. | Integer |
| Primary key | Yes | Doc. no., Version no. |
| SQL name | VerNo | The database field name. |
| API identifier | versionNo | The API identifier used in GraphQL. |
| Number | 6727 |
Visma ID
The ID of the scanned document.
Is used in connection with Visma Document Center.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | No. | Integer |
| SQL name | WfId | The database field name. |
| API identifier | vismaId | The API identifier used in GraphQL. |
| Number | 11180 |
XML data
Contains the supplier invoice XML document.
This field is used for order match functionality.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | File in BLOB | Unlimited text |
| SQL name | XmlD | The database field name. |
| API identifier | xmlData | The API identifier used in GraphQL. |
| Number | 17794 |
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. |