# GrootboekRekeningen
Geeft alle beschikbare grootboeken (GrootboekModel) terug uit een administratie.
Op deze operatie is OData functionaliteit beschikbaar.
Voor deze operatie zijn de volgende scopes benodigd:
- boekhouden:read
- Catalog: `SnelStart`
- Schema: `Grootboek`
- Retrieve: True
- Insert: True
- Update: False
- Delete: False
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `GrootboekRekeningen`. 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 |
|---|:---:|:---:|:---:|---|
| `$filter` | `` | ☐ | | OData filter, zie http://docs.oasis-open.org/odata/odata/v4.01/cs01/part2-url-conventions/odata-v4.01-cs01-part2-url-conventions.html#sec_SystemQueryOptionfilter |
| `$skip` | `` | ☐ | | Het aantal resultaten dat overgeslagen wordt. |
| `$top` | `` | ☐ | | Het maximum aantal resultaten. |
## Columns of Table Function
The columns of the table function `GrootboekRekeningen` 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.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `grootboekfunctie` | `varchar2` | General Ledger Function | ☐ | De grootboekfunctie van het grootboek. |
| `grootboekRubriek` | `varchar2` | General Ledger Header | ☐ | De omschrijving van de grootboek rubriek. |
| `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. |
| `kostenplaatsVerplicht` | `char` | Cost Centre Required | ☐ | Kostenplaats wel of niet verplicht bij het boeken. |
| `modifiedOn` | `datetime` | Modified on | ☐ | Het tijdstip waarop het grootboek is aangemaakt of voor het laatst is gewijzigd |
| `nonactief` | `char` | Inactive | ☐ | Een vlag dat aangeeft of het grootboek niet meer actief is binnen de administratie.
Indien <see langword="true" />, dan kan het grootboek als "verwijderd" worden beschouwd. |
| `nummer` | `int32` | Number | ☐ | Het nummer van het grootboek. |
| `omschrijving` | `varchar2` | Description | ☐ | De omschrijving van het grootboek. |
| `rekeningCode` | `varchar2` | Account Code | ☐ | Rekening code van het grootboek. |
| `vatRateCode` | `varchar2` | VAT Rate Code | ☐ | Vat rate code. Deze code mapped naar een vat rate |