Companies: Teamleader Focus Companies |
Catalog: Teamleader
Schema: V2
Primary Keys: id
Label: Companies
This is a read-only table function. The Teamleader Focus API may not support changing the data or the Invantive UniversalSQL 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 Companies. 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 |
guid |
☐ |
|
|
term |
string |
☐ |
|
Filters on first_name, last_name, email and telephone. |
updated_since |
datetime |
☐ |
|
|
vat_number |
string |
☐ |
|
|
Columns of Table Function
The columns of the table function Companies are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
added_at |
datetime |
Added At |
☑ |
|
bic |
string |
BIC Number |
☐ |
|
business_type_id |
string |
Business Type ID |
☐ |
|
business_type_type |
string |
Business Type |
☐ |
|
c_regio |
string |
{res:itgen_teamleader_c_regio} |
☐ |
|
c_test |
string |
{res:itgen_teamleader_c_test} |
☐ |
|
c_transport_2020 |
int32 |
{res:itgen_teamleader_c_transport_2020} |
☐ |
|
iban |
string |
IBAN Number |
☐ |
|
id |
string |
ID |
☑ |
|
invoicing_preferences_electronic_invoicing_address |
string |
Invoicing Preferences Electronic Invoicing Address |
☐ |
|
language |
string |
Language |
☐ |
|
local_business_number |
string |
Local Business Number |
☐ |
Also known as Chamber of Commerce number in many countries. |
name |
string |
Name |
☑ |
|
national_identification_number |
string |
National Identification Number |
☐ |
Also known as Chamber of Commerce number in many countries. |
payment_term_days |
decimal |
Payment Term (days) |
☐ |
|
payment_term_type |
string |
Payment Term Type |
☐ |
|
preferred_currency |
string |
Preferred Currency |
☐ |
|
primary_address_city |
string |
Primary Address City |
☐ |
|
primary_address_country |
string |
Primary Address Country |
☐ |
|
primary_address_line1 |
string |
Primary Address Line 1 |
☐ |
|
primary_address_postal_code |
string |
Primary Address Postal Code |
☐ |
|
responsible_user_id |
string |
Responsible User ID |
☐ |
|
responsible_user_type |
string |
Responsible User Type |
☐ |
|
status |
string |
Status |
☑ |
|
updated_at |
datetime |
Updated At |
☑ |
|
vat_number |
string |
VAT Number |
☐ |
VAT number. |
web_url |
string |
Web (URL) |
☑ |
|
website |
string |
Website |
☐ |
|
10-09-2024 14:03 Version 24.1.8-BETA+4877