# Quotations: Bouw7 Quotations
Returns a list of quotations associated with your organization.
Returns a list of quotations associated with your organization.
- Catalog: `Bouw7`
- Schema: `Quotation`
- Label: Quotations
This is a read-only table function. The Bouw7 API may not support changing the data or the Invantive UniversalSQL driver for Bouw7 does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Bouw7 API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `Quotations`. 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 |
|---|:---:|:---:|:---:|---|
| `q` | `` | ☐ | | A [Heimdall Query Language](https://heimdall.bouw7.nl/docs/query-language) string |
## Columns of Table Function
The columns of the table function `Quotations` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `branch_id` | `int64` | Branch ID | ☐ | The ID of the branch. |
| `branch_name` | `varchar2` | Branch Name | ☐ | The name of the branch. |
| `closingChance` | `int64` | Closing Chance | ☐ | The closing chance of this quotation. |
| `commissionPercentage` | `varchar2` | Commission Percentage | ☐ | The commission percentage of this quotation. |
| `contact_emailAddress` | `varchar2` | Contact Email Address | ☐ | The email address of the contact. |
| `contact_id` | `int64` | Contact ID | ☐ | The ID of the contact. |
| `contact_name` | `varchar2` | Contact Name | ☐ | The name of this contact. |
| `contact_type` | `varchar2` | Contact Type | ☐ | The type of this contact. |
| `contact_typeId` | `int64` | Contact Type ID | ☐ | The type ID of this contact. |
| `contactPerson_emailAddress` | `varchar2` | Contact Person Email Address | ☐ | The email address of the contact person. |
| `contactPerson_firstName` | `varchar2` | Contact Person First Name | ☐ | The first name of this contact person. |
| `contactPerson_id` | `int64` | Contact Person ID | ☐ | The ID of the contact person. |
| `contactPerson_lastName` | `varchar2`(256) | Contact Person Last Name | ☐ | The surname of the contact person. |
| `contactPerson_phoneNumber` | `varchar2`(255) | Contact Person Phone Number | ☐ | The phone number of the contact person. |
| `contactPersonText` | `varchar2`(255) | Contact Person Text | ☐ | The contact person text of the quotation. |
| `createdAt` | `datetime` | Created at | ☐ | The creation date of the object in ATOM/ISO-8601 format |
| `createdBy_id` | `int64` | Created by ID | ☐ | The ID of the user. |
| `createdBy_username` | `varchar2` | Created by User Name | ☐ | The username of the user. |
| `employee_departmentId` | `int64` | Employee Department ID | ☐ | The ID of the department this employee is enrolled in. |
| `employee_exactSalaryFrequency` | `int64` | Employee Exact Salary Frequency | ☐ | The exact salary frequency of this employee. |
| `employee_firstName` | `varchar2` | Employee First Name | ☐ | The given name of this employee. |
| `employee_id` | `int64` | Employee ID | ☐ | The ID of the employee. |
| `employee_lastName` | `varchar2` | Employee Last Name | ☐ | The family name of this employee. |
| `expectedClosingDate` | `datetime` | Expected Closing Date | ☐ | The expected closing date of this quotation, represented in ATOM-format. |
| `id` | `int64` | ID | ☐ | The ID of the quotation. |
| `internalNote` | `varchar2` | Internal Note | ☐ | The internal note for this quotation. |
| `language` | `varchar2` | Language | ☐ | The locale used by this quotation, e.g.: nl-NL. |
| `project_branchId` | `int64` | Project Branch ID | ☐ | The ID of the branch of this project. |
| `project_categoryId` | `int64` | Project Category ID | ☐ | The ID of the category of this project. |
| `project_divisionId` | `int64` | Project Division ID | ☐ | The ID of the division of this project. |
| `project_id` | `int64` | Project ID | ☐ | The ID of the project. |
| `project_name` | `varchar2` | Project Name | ☐ | The name of the project. |
| `project_number` | `varchar2` | Project Number | ☐ | The number of the project. |
| `project_status` | `varchar2` | Project Status | ☐ | The name of the current status of this project. |
| `project_statusId` | `int64` | Project Status ID | ☐ | The ID of the status of this project. |
| `quotationDate` | `datetime` | Quotation Date | ☐ | The date of the quotation, represented in ATOM-format. |
| `quotationNumber` | `varchar2` | Quotation Number | ☐ | The number of the quotation. |
| `quotationStatus_id` | `int64` | Quotation Status ID | ☐ | The ID of the quotation status. |
| `quotationStatus_name` | `varchar2` | Quotation Status Name | ☐ | The name of the quotation status. |
| `reference` | `varchar2` | Reference | ☐ | The reference of the quotation. |
| `salutation` | `int64` | Salutation | ☐ | The salutation of this quotation. |
| `salutationText` | `varchar2`(255) | Salutation Text | ☐ | The salutation text of the quotation. |
| `subject` | `varchar2` | Subject | ☐ | The subject of the quotation. |
| `subtotal` | `varchar2` | Subtotal | ☐ | The sum of all quotation line subtotals, excluding VAT. |
| `total` | `varchar2` | Total | ☐ | The sum of all quotation line subtotals, including VAT. |
| `updatedAt` | `datetime` | Updated At | ☐ | The creation date of the object in ATOM/ISO-8601 format |
| `updatedBy_id` | `int64` | Updated by ID | ☐ | The ID of the user. |
| `updatedBy_username` | `varchar2` | Updated by User Name | ☐ | The username of the user. |