Please enable JavaScript to view this site.

Navigation: Schema: V1 > Tables

company_array: Teamleader Focus Companies

Catalog: Teamleader

Schema: V1

Primary Keys: id

Label: Companies

Documentation:

Set of array values for a company.

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

Parameters of Table Function

The following parameters can be used to control the behaviour of the table function company_array. 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 evaluated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example: a `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

company_id

decimal

 

 

 

Columns of Table Function

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

Name

Data Type

Label

Required

Documentation

account_manager_id

int32

Account Manager ID

 

background_info_html

string

Background Information (HTML)

 

bic

string

BIC Number

 

c_array_id_list

string

 

 

c_array_id

int32

 

Unique number identifying the custom field value.

c_array_value_list

string

 

 

c_array_value

string

 

Description of the custom field value.

c_transport_2020_number

int32

 

 

city

string

City

 

country

string

Country

 

date_added

datetime

Date Added

 

deleted

boolean

Deleted

 

delivery_address_address_name

string

Delivery Address Address Name

 

delivery_address_city

string

Delivery Address City

 

delivery_address_country

string

Delivery Address Country

 

delivery_address_number

string

Delivery Address Number

 

delivery_address_street

string

Delivery Address Street

 

delivery_address_zipcode

string

Delivery Address ZIP Code

 

email

string

Email

 

external_customer_id

string

External Customer ID

 

fax

string

Fax

 

iban

string

IBAN Number

 

id

int32

ID

 

invoice_email_address

string

Invoice Email Address

 

invoicing_address_address_name

string

Invoicing Address Address name

 

invoicing_address_city

string

Invoicing Address City

 

invoicing_address_country

string

Invoicing Address Country

 

invoicing_address_number

string

Invoicing Address Number

 

invoicing_address_street

string

Invoicing Address Street

 

invoicing_address_zipcode

string

Invoicing Address ZIP Code

 

kvk_nummer

string

Chamber of Commerce Number

 

language_code

string

Language Code

 

local_business_number

string

Local Business Number

 

name

string

Name

 

number

string

Number

 

payment_term

string

Payment Term

 

pricelist_id

int32

Pricelist ID

 

sector_name

string

Sector Name

 

street

string

Street

 

taxcode

string

Tax Code

 

telephone

string

Telephone

 

vat_liability

string

VAT Liability

 

visiting_address_address_name

string

Visiting Address Address Name

 

visiting_address_city

string

Visiting Address City

 

visiting_address_country

string

Visiting Address Country

 

visiting_address_number

string

Visiting Address Number

 

visiting_address_street

string

Visiting Address Street

 

visiting_address_zipcode

string

Visiting Address ZIP Code

 

website

string

Website

 

zipcode

string(30)

ZIP Code

 

 

22-12-2022 21:06 Version 22.1.101-BETA+3681