# SalesOrders: ROBAWS Sales Orders
Search
This is a read-only table function. The ROBAWS API may not support modifying the data, or the Invantive SQL driver for ROBAWS does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the ROBAWS API.
- Catalog: `Robaws`
- Schema: `SalesOrders`
- Label: Sales Orders
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `clientId` | `string` | ☐ | | |
| `projectId` | `string` | ☐ | | |
| `searchText` | `string` | ☐ | | |
| `sort` | `string` | ☐ | | |
| `withArchived` | `boolean` | ☐ | | |
## Columns
The columns of the table `SalesOrders` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `archivedAt` | `datetime` | Archived at | ☐ | |
| `c_metadata_description` | `string` | | ☐ | |
| `c_metadata_href` | `string` | | ☐ | |
| `c_metadata_resource` | `string` | | ☐ | |
| `c_metadata_resourceTypeId` | `string` | | ☐ | |
| `client_archivedAt` | `datetime` | | ☐ | |
| `client_assignedUserId` | `string` | | ☐ | |
| `client_createdAt` | `datetime` | | ☐ | |
| `client_creditStatus` | `string` | | ☐ | |
| `client_deletedAt` | `datetime` | | ☐ | |
| `client_email` | `string` | Customer Email | ☐ | |
| `client_extraFields` | `string` | | ☐ | |
| `client_fax` | `string` | Customer Fax | ☐ | |
| `client_followUpDate` | `datetime` | | ☐ | |
| `client_generalLedgerAccountId` | `string` | | ☐ | |
| `client_gsm` | `string` | Customer Mobile | ☐ | |
| `client_id` | `string` | Client ID | ☐ | |
| `client_invoiceEmail` | `string` | | ☐ | |
| `client_language` | `string` | | ☐ | |
| `client_legalFormId` | `string` | | ☐ | |
| `client_lockedAt` | `datetime` | | ☐ | |
| `client_name` | `string` | | ☐ | |
| `client_paymentConditionId` | `string` | | ☐ | |
| `client_priceGroupId` | `string` | | ☐ | |
| `client_status` | `string` | | ☐ | |
| `client_tel` | `string` | | ☐ | |
| `client_title` | `string` | | ☐ | |
| `client_updatedAt` | `datetime` | | ☐ | |
| `client_vatIdNumber` | `string` | | ☐ | |
| `client_vatTariffId` | `string` | | ☐ | |
| `client_website` | `string` | | ☐ | |
| `clientContact_archivedAt` | `datetime` | | ☐ | |
| `clientContact_createdAt` | `datetime` | | ☐ | |
| `clientContact_deletedAt` | `datetime` | | ☐ | |
| `clientContact_email` | `string` | | ☐ | |
| `clientContact_extraFields` | `string` | | ☐ | |
| `clientContact_gsm` | `string` | | ☐ | |
| `clientContact_id` | `string` | | ☐ | |
| `clientContact_lockedAt` | `datetime` | | ☐ | |
| `clientContact_name` | `string` | | ☐ | |
| `clientContact_position` | `string` | | ☐ | |
| `clientContact_surname` | `string` | | ☐ | |
| `clientContact_tel` | `string` | | ☐ | |
| `clientContact_title` | `string` | | ☐ | |
| `clientContact_updatedAt` | `datetime` | | ☐ | |
| `clientContactId` | `string` | Customer Contact ID | ☐ | |
| `clientId` | `string` | Customer ID | ☐ | |
| `clientReference` | `string` | Customer Reference | ☐ | |
| `company_archivedAt` | `datetime` | | ☐ | |
| `company_createdAt` | `datetime` | | ☐ | |
| `company_deletedAt` | `datetime` | | ☐ | |
| `company_extraFields` | `string` | | ☐ | |
| `company_id` | `string` | | ☐ | |
| `company_lockedAt` | `datetime` | | ☐ | |
| `company_name` | `string` | | ☐ | |
| `company_updatedAt` | `datetime` | | ☐ | |
| `companyId` | `string` | Company ID | ☐ | |
| `createdAt` | `datetime` | Created at | ☐ | |
| `date` | `datetime` | Date | ☐ | |
| `deletedAt` | `datetime` | Deleted at | ☐ | |
| `endClient_archivedAt` | `datetime` | | ☐ | |
| `endClient_assignedUserId` | `string` | | ☐ | |
| `endClient_createdAt` | `datetime` | | ☐ | |
| `endClient_creditStatus` | `string` | | ☐ | |
| `endClient_deletedAt` | `datetime` | | ☐ | |
| `endClient_email` | `string` | | ☐ | |
| `endClient_extraFields` | `string` | | ☐ | |
| `endClient_fax` | `string` | | ☐ | |
| `endClient_followUpDate` | `datetime` | | ☐ | |
| `endClient_generalLedgerAccountId` | `string` | | ☐ | |
| `endClient_gsm` | `string` | | ☐ | |
| `endClient_id` | `string` | | ☐ | |
| `endClient_invoiceEmail` | `string` | | ☐ | |
| `endClient_language` | `string` | | ☐ | |
| `endClient_legalFormId` | `string` | | ☐ | |
| `endClient_lockedAt` | `datetime` | | ☐ | |
| `endClient_name` | `string` | | ☐ | |
| `endClient_paymentConditionId` | `string` | | ☐ | |
| `endClient_priceGroupId` | `string` | | ☐ | |
| `endClient_status` | `string` | | ☐ | |
| `endClient_tel` | `string` | | ☐ | |
| `endClient_title` | `string` | | ☐ | |
| `endClient_updatedAt` | `datetime` | | ☐ | |
| `endClient_vatIdNumber` | `string` | | ☐ | |
| `endClient_vatTariffId` | `string` | | ☐ | |
| `endClient_website` | `string` | | ☐ | |
| `endClientContact_archivedAt` | `datetime` | | ☐ | |
| `endClientContact_createdAt` | `datetime` | | ☐ | |
| `endClientContact_deletedAt` | `datetime` | | ☐ | |
| `endClientContact_email` | `string` | | ☐ | |
| `endClientContact_extraFields` | `string` | | ☐ | |
| `endClientContact_gsm` | `string` | | ☐ | |
| `endClientContact_id` | `string` | | ☐ | |
| `endClientContact_lockedAt` | `datetime` | | ☐ | |
| `endClientContact_name` | `string` | | ☐ | |
| `endClientContact_position` | `string` | | ☐ | |
| `endClientContact_surname` | `string` | | ☐ | |
| `endClientContact_tel` | `string` | | ☐ | |
| `endClientContact_title` | `string` | | ☐ | |
| `endClientContact_updatedAt` | `datetime` | | ☐ | |
| `endClientContactId` | `string` | End Customer Contact ID | ☐ | |
| `endClientId` | `string` | End Customer ID | ☐ | |
| `extraFields` | `string` | Extra fields | ☐ | |
| `id` | `string` | ID | ☐ | |
| `lockedAt` | `datetime` | Closed at | ☐ | |
| `logicId` | `string` | Logical ID | ☐ | |
| `project_archivedAt` | `datetime` | | ☐ | |
| `project_checkInAtWork` | `string` | | ☐ | |
| `project_clientContactId` | `string` | | ☐ | |
| `project_clientId` | `string` | | ☐ | |
| `project_clientReference` | `string` | | ☐ | |
| `project_companyId` | `string` | | ☐ | |
| `project_createdAt` | `datetime` | | ☐ | |
| `project_date` | `datetime` | | ☐ | |
| `project_deletedAt` | `datetime` | | ☐ | |
| `project_distance` | `int32` | | ☐ | |
| `project_endClientContactId` | `string` | | ☐ | |
| `project_endClientId` | `string` | | ☐ | |
| `project_extraFields` | `string` | | ☐ | |
| `project_geofence` | `string` | | ☐ | |
| `project_id` | `string` | | ☐ | |
| `project_lockedAt` | `datetime` | | ☐ | |
| `project_logicId` | `string` | | ☐ | |
| `project_nssoDeclarationOfWorks` | `string` | | ☐ | |
| `project_planningGroup` | `string` | | ☐ | |
| `project_planningName` | `string` | | ☐ | |
| `project_siteManagerId` | `string` | | ☐ | |
| `project_siteNssoIdNumber` | `string` | | ☐ | |
| `project_status` | `string` | | ☐ | |
| `project_updatedAt` | `datetime` | | ☐ | |
| `projectId` | `string` | Project ID | ☐ | |
| `remark` | `string` | Remark | ☐ | |
| `status` | `string` | Status | ☐ | |
| `statusDetails_color` | `string` | | ☐ | |
| `statusDetails_name` | `string` | | ☐ | |
| `totalExclVat` | `decimal` | Total excluding VAT | ☐ | |
| `totalInclVat` | `decimal` | Total including VAT | ☐ | |
| `updatedAt` | `datetime` | Updated On | ☐ | |