Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Exact Online API Data Model

Navigation: Catalog: ExactOnlineREST > Schemas > Schema: CRM > Tables

AccountDocuments: Exact Online Account Documents

Contents Previous Home Next More

Catalog: ExactOnlineREST

Schema: CRM

Primary Keys: ID

Label: Account Documents

The data in this table is partitioned per value of the Division column.

This is a read-only table function. The Exact Online API may not support changing the data or the Invantive SQL driver for Exact Online does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Exact Online API.

Select Exact Online API URL: /api/v1/{division}/read/crm/AccountDocuments

Insert Exact Online API URL: /api/v1/{division}/read/crm/AccountDocuments

Update Exact Online API URL: /api/v1/{division}/read/crm/AccountDocuments

Delete Exact Online API URL: /api/v1/{division}/read/crm/AccountDocuments

Exact Online API Metadata URL: /api/v1/{division}/read/crm/$metadata

Field Selection Method: Required

Table Function Parameters

The following parameters can be used to control the behaviour of the table function AccountDocuments. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

accountId

guid

 

 

division

int32

 

ID of the division to retrieve data for.

searchText

string

 

 

useFullTextSearch

boolean

 

 

 

Table Function Columns

The columns of the table function AccountDocuments are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

Account

guid

Account

ID of the related account of this document.

Contact

guid

Contact

ID of the related contact of this document.

Created

datetime

Created

Creation date.

CreatedUtc

datetime

Created (UTC)

Creation date in UTC.

Creator

guid

Creator

User ID of creator.

CreatorFullName

string(240)

Creator Full Name

Name of creator.

Division

int32

Division

Division code.

DivisionCompanyCoCNumber

string(20)

Division Chamber of Commerce Number

Chamber of commerce number of the Exact Online division.

DivisionCompanyIBANNumber

string(50)

Division IBAN Number

IBAN number of the Exact Online division.

DivisionCompanyName

string(50)

Division Company Name

Company name of the Exact Online division.

DivisionCompanyRSINNumber

string(9)

Division RSIN Number

RSIN number of the Exact Online division.

DivisionCompanyVATNumber

string(35)

Division VAT Number

VAT number of the Exact Online division.

DivisionCompanyWageTaxNumber

string(60)

Division Wage Tax Number

Wage tax number of the Exact Online division.

DivisionLabel

string(128)

Division Label

Label of the Exact Online division.

DivisionName

string(50)

Administration Name

Name of the Exact Online division.

DivisionOwnerCompanyName

string(50)

Subscription Holder Name

Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionOwnerCompanyNumber

string(18)

Subscription Holder Number

Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionShortName

int64

Division Short Name

Short name of the Exact Online division.

DocumentDate

datetime

Document Date

Entry date of the incoming document.

DocumentFolder

guid

Document Folder

Id of document folder.

DocumentViewUrl

string

Document View URL

Url to view the document.

HasEmptyBody

boolean

Has Empty Body

Indicates that the document body is empty.

HID

int32

HID

Human-readable ID, formatted as xx.xxx.xxx. Unique. May not be equal to zero.

ID

guid

ID

Primary key.

Modified

datetime

Modified

Last modified date.

ModifiedUtc

datetime

Modified (UTC)

Last modified date in UTC.

Modifier

guid

Modifier

User ID of modifier.

Opportunity

guid

Opportunity

The opportunity linked to the document.

PurchaseInvoiceNumber

int32

Purchase Invoice Number

Purchase invoice number.

PurchaseOrderNumber

int32

Purchase Order Number

Purchase order number.

SalesInvoiceNumber

int32

Sales Invoice Number

'Our reference' of the transaction that belongs to this document.

SalesOrderNumber

int32

Sales Order Number

Number of the sales order.

SendMethod

int32

Send Method

Send Method.

Share

int32

Share

 

SharePointConnectionStatus

int16

 

Status of the SharePoint connection.

SharePointID

string

SharePoint ID

 

Source

int32

Source

 

SourceDescription

string

Source Description

 

Subject

string(256)

Subject

Subject of this document.

Type

int32

Type

The document type.

TypeDescription

string(240)

Type Description

Translated description of the document type. $filter and $orderby are not supported for this property.

 

07-11-2021 09:07 Version 20.2.94-PROD+3513