# RelatieExtraKlantVelden Geeft alle beschikbare relaties (RelatieModel) terug uit een administratie. Op deze operatie is OData functionaliteit beschikbaar. Voor deze operatie zijn de volgende scopes benodigd: - relaties: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 `RelatieExtraKlantVelden`. 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 `RelatieExtraKlantVelden` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `aanmaningEmailVersturen_ccEmail` | `varchar2` | Reminder CC Email | ☐ | Het (optionele) email adres waarnaar email moeten worden ge-Cc-eed. | | `aanmaningEmailVersturen_email` | `varchar2` | Reminder Email | ☐ | Het email adres waarnaar email moeten worden verstuurd. | | `aanmaningEmailVersturen_shouldSend` | `char` | Reminder Send Email | ☐ | Geeft aan (lezen/schrijven) of er email moet worden verstuurd. | | `aanmaningsoort` | `varchar2` | Reminder Type | ☐ | Het soort aanmaning ({SnelStart.B2B.Api.V2.Models.Relaties.AanmaningsoortModel}) dat van toepassing is op de relatie (optioneel). | | `bankieren` | `char` | Banking | ☐ | Geeft <see langword="true" /> terug als {SnelStart.B2B.Api.V2.Models.Relaties.RelatieModel.IncassoSoort}{SnelStart.B2B.Api.V2.Models.Relaties.IncassosoortModel.Core} of {SnelStart.B2B.Api.V2.Models.Relaties.IncassosoortModel.B2B} is. Dit veld komt overeen met het veld Betaalopdracht in SnelStart Desktop | | `bestellingEmailVersturen_ccEmail` | `varchar2` | Purchase CC Email | ☐ | Het (optionele) email adres waarnaar email moeten worden ge-Cc-eed. | | `bestellingEmailVersturen_email` | `varchar2` | Purchase Email | ☐ | Het email adres waarnaar email moeten worden verstuurd. | | `bestellingEmailVersturen_shouldSend` | `char` | Purchase Send Email | ☐ | Geeft aan (lezen/schrijven) of er email moet worden verstuurd. | | `bevestigingsEmailVersturen_ccEmail` | `varchar2` | Confirmation CC Email | ☐ | Het (optionele) email adres waarnaar email moeten worden ge-Cc-eed. | | `bevestigingsEmailVersturen_email` | `varchar2` | Confirmation Email | ☐ | Het email adres waarnaar email moeten worden verstuurd. | | `bevestigingsEmailVersturen_shouldSend` | `char` | Confirmation Send Email | ☐ | Geeft aan (lezen/schrijven) of er email moet worden verstuurd. | | `bic` | `varchar2(15)` | BIC | ☐ | De BIC-code van de bank van het {SnelStart.B2B.Api.V2.Models.Relaties.RelatieModel.Iban}-nummer. | | `btwNummer` | `varchar2` | VAT Number | ☐ | Het BTW-nummer van de relatie. | | `correspondentieAdres_contactpersoon` | `varchar2` | Postal Address Contact Person | ☐ | De volledige naam van de contactpersoon op dit adres. | | `correspondentieAdres_land_id` | `guid` | Postal Address Country 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. | | `correspondentieAdres_plaats` | `varchar2` | Postal Address City | ☐ | De plaatsnaam van het adres. | | `correspondentieAdres_postcode` | `varchar2` | Postal Address Postal Code | ☐ | De postcode van het adres. | | `correspondentieAdres_straat` | `varchar2` | Postal Address Street | ☐ | De straatnaam (inclusief huisnummer). | | `email` | `varchar2` | Email | ☐ | Het hoofd-emailadres van de relatie. | | `factuurEmailVersturen_ccEmail` | `varchar2` | Invoice CC Email | ☐ | Het (optionele) email adres waarnaar email moeten worden ge-Cc-eed. | | `factuurEmailVersturen_email` | `varchar2` | Invoice Email | ☐ | Het email adres waarnaar email moeten worden verstuurd. | | `factuurEmailVersturen_shouldSend` | `char` | Invoice Send Email | ☐ | Geeft aan (lezen/schrijven) of er email moet worden verstuurd. | | `factuurkorting` | `double` | Invoice Discount | ☐ | De standaard factuurkorting die aan deze relatie wordt gegeven (optioneel). | | `factuurRelatie_id` | `guid` | Invoice Relation 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. | | `fax` | `varchar2` | Fax | ☐ | Het fax nummer van de relatie. | | `iban` | `varchar2(50)` | IBAN | ☐ | Het IBAN-rekeningnummer van de relatie. | | `id` | `guid` | ID | ☐ | | | `incassoSoort` | `varchar2` | Collection Type | ☐ | Het soort incasso ({SnelStart.B2B.Api.V2.Models.Relaties.IncassosoortModel}) dat van toepassing is op de relatie (optioneel). | | `inkoopBoekingenUri` | `varchar2` | Purchase Ledger URI | ☐ | Verwijzing naar de inkoopboekingen voor de relatie | | `kredietLimiet` | `double` | Credit Limit | ☐ | Het standaard kredietlimiet (in euro's) van aan deze relatie wordt gegeven (optioneel). | | `krediettermijn` | `int32` | Credit Term | ☐ | Het standaard aantal dagen krediettermijn van aan deze relatie wordt gegeven (optioneel). | | `kvkNummer` | `varchar2(12)` | Chamber of Commerce Number | ☐ | Het nummer van de Kamer van Koophandel van de relatie. | | `memo` | `varchar2` | Memo | ☐ | Een optioneel tekstveld voor aanvullende informatie. | | `mobieleTelefoon` | `varchar2` | Mobile Phone | ☐ | Het mobiele nummer van de relatie. | | `modifiedOn` | `datetime` | Modified on | ☐ | Datum waarop de gegevens van deze relatie zijn aangepast | | `naam_3` | `varchar2(50)` | | ☐ | De volledige naam van de relatie. | | `naam` | `varchar2` | Name | ☐ | | | `nonactief` | `char` | Inactive | ☐ | Een vlag dat aangeeft of een relatie niet meer actief is binnen de administratie. Indien <see langword="true" />, dan kan de relatie als "verwijderd" worden beschouwd. | | `offerteAanvraagEmailVersturen_ccEmail` | `varchar2` | Quotation Request CC Email | ☐ | Het (optionele) email adres waarnaar email moeten worden ge-Cc-eed. | | `offerteAanvraagEmailVersturen_email` | `varchar2` | Quotation Request Email | ☐ | Het email adres waarnaar email moeten worden verstuurd. | | `offerteAanvraagEmailVersturen_shouldSend` | `char` | Quotation Request Send Email | ☐ | Geeft aan (lezen/schrijven) of er email moet worden verstuurd. | | `offerteEmailVersturen_ccEmail` | `varchar2` | Quotation CC Email | ☐ | Het (optionele) email adres waarnaar email moeten worden ge-Cc-eed. | | `offerteEmailVersturen_email` | `varchar2` | Quotation Email | ☐ | Het email adres waarnaar email moeten worden verstuurd. | | `offerteEmailVersturen_shouldSend` | `char` | Quotation Send Email | ☐ | Geeft aan (lezen/schrijven) of er email moet worden verstuurd. | | `oin` | `varchar2(20)` | OIN | ☐ | Organisatie-identificatienummer then behoeve van het identificeren van overheidsorganisaties | | `relatiecode` | `int32` | Relation Code | ☐ | Het relatienummer | | `telefoon` | `varchar2` | Phone | ☐ | Het telefoonnummer van de relatie. | | `ublBestandAlsBijlage` | `char` | UBL File as Attachment | ☐ | Een vlag dat aangeeft of een UBL-bestand als bijlage bij een email moet worden toegevoegd bij het versturen van facturen. | | `verkoopBoekingenUri` | `varchar2` | Sales Entries URI | ☐ | Verwijzing naar de verkoopboekingen voor de relatie | | `vestigingsAdres_contactpersoon` | `varchar2` | Visit Address Contact Person | ☐ | De volledige naam van de contactpersoon op dit adres. | | `vestigingsAdres_land_id` | `guid` | Visit Address Country 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. | | `vestigingsAdres_plaats` | `varchar2` | Visit Address City | ☐ | De plaatsnaam van het adres. | | `vestigingsAdres_postcode` | `varchar2` | Visit Address Postal Code | ☐ | De postcode van het adres. | | `vestigingsAdres_straat` | `varchar2` | Visit Address Street | ☐ | De straatnaam (inclusief huisnummer). | | `waarde` | `varchar2` | Value | ☐ | | | `websiteUrl` | `varchar2(100)` | Website (URL) | ☐ | De URL van de website van de relatie. |