# RelatieInkoopboekingDocumentenByRelatieId Geeft alle beschikbare inkoopboekingen (InkoopboekingModel) voor de actieve relatie terug uit een administratie. Voor deze operatie zijn de volgende scopes benodigd: - relaties:read - boekhouden:read - Catalog: `SnelStart` - Schema: `Relaties` This is a read-only table function. The SnelStart API may not support changing the data or the Invantive UniversalSQL driver for SnelStart does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the SnelStart API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `RelatieInkoopboekingDocumentenByRelatieId`. 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` | `` | ☑ | | | ## Columns of Table Function The columns of the table function `RelatieInkoopboekingDocumentenByRelatieId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `boekstuk` | `varchar2(25)` | Journal Entry | ☐ | Het boekstuknummer van de inkoopboeking. | | `factuurbedrag` | `decimal` | Invoice Amount | ☐ | Het factuurbedrag van de inkoopboeking. | | `factuurdatum` | `datetime` | Invoice Date | ☐ | De datum van de factuur, dit is ook de datum waarop de inkoopboeking wordt geboekt. | | `factuurnummer` | `varchar2(25)` | Invoice Number | ☐ | De factuurnummer van de inkoopboeking. | | `fileName` | `varchar2` | Filename | ☐ | Geeft de filename terug | | `gewijzigdDoorAccountant` | `char` | Changed by Accountant | ☐ | Geeft aan of deze inkoopboeking is aangepast door de accountant. | | `id_3` | `guid` | | ☐ | De publieke sleutel (public identifier, als <a href="https://docs.microsoft.com/en-us/dotnet/api/System.Guid?view=netframework-4.6.2" target="_blank">System.Guid</a>) dat uniek een object identificeert. | | `id` | `guid` | ID | ☐ | De publieke sleutel (public identifier, als <a href="https://docs.microsoft.com/en-us/dotnet/api/System.Guid?view=netframework-4.6.2" target="_blank">System.Guid</a>) dat uniek een object identificeert. | | `leverancier_id` | `guid` | Supplier ID | ☐ | De publieke sleutel (public identifier, als <a href="https://docs.microsoft.com/en-us/dotnet/api/System.Guid?view=netframework-4.6.2" target="_blank">System.Guid</a>) dat uniek een object identificeert. | | `markering` | `char` | Mark | ☐ | Deze inkoopboeking verdient speciale aandacht, in SnelStart wordt dit visueel benadrukt. | | `modifiedOn` | `datetime` | Modified on | ☐ | Het tijdstip waarop de inkoopboeking voor het laatst is gewijzigd. | | `omschrijving` | `varchar2(250)` | Description | ☐ | De omschrijving van de inkoopboeking. | | `parentIdentifier` | `guid` | Parent Identifier | ☐ | De public identifier van de gekoppelde parent. | | `readOnly` | `char` | Read-only | ☐ | Document is alleen lezen |