# PriceRequests
Search
- Catalog: `Robaws`
- Schema: `PriceRequests`
- Primary Keys: `id`
Can retrieve data and change data using insert, update and delete.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `PriceRequests`. 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 |
|---|:---:|:---:|:---:|---|
| `assignedUserId` | `` | ☐ | | |
| `offerId` | `` | ☐ | | |
| `projectId` | `` | ☐ | | |
| `searchText` | `` | ☐ | | |
| `sort` | `` | ☐ | | |
| `supplierId` | `` | ☐ | | |
| `supplyOrderId` | `` | ☐ | | |
| `updatedFrom` | `` | ☐ | | |
| `withArchived` | `` | ☐ | | |
## Columns of Table Function
The columns of the table function `PriceRequests` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `approvalDate` | `datetime` | | ☐ | |
| `archivedAt` | `datetime` | Archived at | ☐ | |
| `assignedUserId` | `varchar2` | Assigned User ID | ☐ | |
| `companyId` | `varchar2` | Company ID | ☐ | |
| `createdAt` | `datetime` | Created at | ☐ | |
| `date` | `datetime` | Date | ☐ | |
| `deadlineDate` | `datetime` | Deadline Date | ☐ | |
| `deletedAt` | `datetime` | Deleted at | ☐ | |
| `dueDate` | `datetime` | | ☐ | |
| `extraFields` | `varchar2` | Extra Fields | ☐ | The JSON text of the nested object. |
| `footerText` | `varchar2` | | ☐ | When reading, only present if requested via 'include' query parameter, otherwise null. HTML content. Embedded images are resolved to URLs based on the 'x-robaws-html-image-mode' request header: TEMPORARY_URL (default) returns time-limited presigned URLs that require no authentication; PERMANENT_URL returns stable URLs that require an authenticated session; NONE returns the stored HTML, where each image is an <img> with a data-robaws-id and an empty src — keep that tag and its data-robaws-id when writing the HTML back, or the image is lost. Any other value (e.g. BASE64_INLINE) returns 400 Bad Request. When writing, omit it or send null to keep the current text; send an empty string to clear it. |
| `id` | `varchar2` | ID | ☐ | |
| `introText` | `varchar2` | | ☐ | When reading, only present if requested via 'include' query parameter, otherwise null. HTML content. Embedded images are resolved to URLs based on the 'x-robaws-html-image-mode' request header: TEMPORARY_URL (default) returns time-limited presigned URLs that require no authentication; PERMANENT_URL returns stable URLs that require an authenticated session; NONE returns the stored HTML, where each image is an <img> with a data-robaws-id and an empty src — keep that tag and its data-robaws-id when writing the HTML back, or the image is lost. Any other value (e.g. BASE64_INLINE) returns 400 Bad Request. When writing, omit it or send null to keep the current text; send an empty string to clear it. |
| `lockedAt` | `datetime` | Locked at | ☐ | |
| `logicId` | `varchar2` | Logical ID | ☐ | |
| `offerId` | `varchar2` | Offer ID | ☐ | |
| `projectId` | `varchar2` | Project ID | ☐ | |
| `reference` | `varchar2` | Reference | ☐ | |
| `statusDetails_color` | `varchar2` | | ☐ | |
| `statusDetails_name` | `varchar2` | | ☐ | |
| `status` | `varchar2` | Status | ☐ | |
| `supplierContactId` | `varchar2` | Supplier Contact ID | ☐ | |
| `supplierId` | `varchar2` | Supplier ID | ☐ | |
| `totalExclVat` | `decimal` | Total excluding VAT | ☐ | |
| `totalInclVat` | `decimal` | Total including VAT | ☐ | |
| `updatedAt` | `datetime` | Updated at | ☐ | |