# Document_DocumentProcess_logsDocumentId Retrieves a single document. - Catalog: `Minox` - Schema: `MasterDataDocument` The data in this table is partitioned per value of the `administration_code` column. This is a read-only table function. The Minox API may not support changing the data or the Invantive UniversalSQL driver for Minox does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Minox API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `Document_DocumentProcess_logsDocumentId`. 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 | |---|:---:|:---:|:---:|---| | `administration_code` | `` | ☐ | | Partition to retrieve data from. | | `document_id` | `` | ☑ | | The identity of the document. | ## Columns of Table Function The columns of the table function `Document_DocumentProcess_logsDocumentId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `administrationId` | `varchar2` | Administration ID | ☐ | The identification of the administration of the document | | `createdAt_2` | `varchar2` | | ☐ | The creation date of the document | | `createdAt` | `varchar2` | Created At | ☐ | The creation date of the log | | `deb_cred_nr` | `varchar2` | Debitor/Creditor Number | ☐ | | | `deleted_at` | `varchar2` | Deleted at | ☐ | The deletion date of the document | | `disabled` | `char` | Disabled | ☐ | Whether the document has been disabled | | `error` | `varchar2` | Error | ☐ | The error message that could arise with a document | | `id_2` | `varchar2` | | ☐ | The identification of the document | | `id` | `varchar2` | ID | ☐ | The identification of the log | | `internal` | `char` | Internal | ☐ | Whether the document is internal | | `log` | `varchar2` | Log | ☐ | The description of the log | | `memo` | `varchar2` | Memo | ☐ | The memo attached to the document | | `name` | `varchar2` | Name | ☐ | The name of the document | | `ownerId` | `varchar2` | Owner ID | ☐ | The identification of the owner of the document | | `previewUrl` | `varchar2` | Preview URL | ☐ | False if the document is not a PDF, otherwise the previewUrl to access the pdf | | `process` | `varchar2` | Process | ☐ | The current state of the process of the document | | `received` | `varchar2` | Received | ☐ | The received date of the document | | `source_meta` | `varchar2` | Source Meta | ☐ | The source metadata of the document The JSON text of the nested object. | | `source` | `varchar2` | Source | ☐ | The source of the document | | `status` | `varchar2` | Status | ☐ | The current status of the document | | `subtype` | `varchar2` | Subtype | ☐ | The subtype of the document | | `type` | `varchar2` | Type | ☐ | The type of the document | | `updatedAt` | `varchar2` | Updated at | ☐ | The update date of the document |