# PurchaseOrderContractHistoryEntries_ContractProjectCategoryDivisionSettings Returns a list of purchase order contract history entries associated with the given ID. Returns a list of purchase order contract history entries. - Catalog: `Bouw7` - Schema: `Contract` 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 `PurchaseOrderContractHistoryEntries_ContractProjectCategoryDivisionSettings`. 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 | |---|:---:|:---:|:---:|---| | `id` | `` | ☑ | | Purchase order contract ID | ## Columns of Table Function The columns of the table function `PurchaseOrderContractHistoryEntries_ContractProjectCategoryDivisionSettings` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `acceptedAt` | `varchar2` | Accepted at | ☐ | Datetime when contract was accepted. | | `contractNumber` | `varchar2` | Contract Number | ☐ | The contract number of the contract. | | `cost` | `varchar2` | Cost | ☐ | The cost of the contract. | | `createdAt_2` | `datetime` | Created at | ☐ | The creation time of the entity. | | `createdAt` | `datetime` | Created at | ☐ | The creation time of the entity. | | `createdBy_2` | `varchar2` | Created by | ☐ | The user that created the entity. | | `createdBy` | `varchar2` | Created by | ☐ | The user that created the entity. | | `createDeliveryTicket` | `char` | Create Delivery Ticket | ☐ | Whether or not to create a delivery ticket. | | `deliveryAddress` | `varchar2` | Delivery Address | ☐ | Delivery address of the purchase order contract. | | `deliveryDate` | `datetime` | Delivery Date | ☐ | Delivery date of the purchase order contract. | | `deliveryDateText` | `varchar2` | Delivery Date Text | ☐ | Delivery date text of the purchase order contract. | | `deniedAt` | `varchar2` | Denied at | ☐ | Datetime when contract was denied. | | `description` | `varchar2` | Description | ☐ | The description of the contract. | | `id_2` | `int64` | ID | ☐ | The ID of the purchase order history entry. | | `id` | `int64` | ID | ☐ | The ID of the purchase order contract. | | `internalNote` | `varchar2` | Internal Note | ☐ | Internal note about the contract. | | `language` | `varchar2` | Language | ☐ | The locale used by this contract, e.g.: nl-NL. | | `mailSent` | `char` | Mail Sent | ☐ | Flag to indicate if mail was sent. | | `mailSentAt` | `varchar2` | Mail Sent at | ☐ | The date the contract was sent. | | `mailSentBy` | `varchar2` | Mail Sent by | ☐ | The user that sent the email. | | `message` | `varchar2` | Message | ☐ | The message of the history entry. | | `name` | `varchar2`(255) | Name | ☐ | The name of the contract. | | `number` | `varchar2` | Number | ☐ | Number of the contract. | | `paymentAgreement` | `varchar2` | Payment Agreement | ☐ | The payment agreement of the contract. | | `purchaseType` | `int64` | Purchase Type | ☐ | The purchase type of the purchase order contract. | | `status` | `int64` | Status | ☐ | Status of the contract. | | `type` | `int64` | Type | ☐ | Type of the contract. | | `updatedAt_2` | `datetime` | Updated at | ☐ | The last updated time of the entity. | | `updatedAt` | `datetime` | Updated At | ☐ | The last updated time of the entity. | | `updatedBy_2` | `varchar2` | Updated by | ☐ | The user that last updated the entity. | | `updatedBy` | `varchar2` | Updated by | ☐ | The user that last updated the entity. |