Schema
public
Owner
waveuser005
Descriptions
View van documentypes zoals o.m. bedoeld in de gelderse zaaktypecatalogus voor uploads naar dms. Basistabel tbdocumenttype
Fields
Name | Data type | Description |
---|---|---|
dnkey |
integer |
De primary key van het documenttype (tbdocumenttype.dnkey). |
dnkeycompartiment |
integer |
Foreign key naar tbcompartiment.dnkey |
dvdoctype |
varchar(80) |
Omschrijving bijv verzoek om aanvullende informatie, statusmelding, ontvangsbevestiging |
dvid |
varchar(80) |
Wordt niet meer gebruikt. |
dvcompartimentnaam |
varchar(50) |
Naam van het compartiment bijv omgevingsdient Y of gemeente X. |
ddvervaldatum |
timestamp |
Datum waarvanaf type niet meer gebruikt kan worden voor upload naar dms. |
Rules
Name | Event | Instead | Condition | Description |
---|---|---|---|---|
_RETURN |
SELECT |
|
|
Indices
There are no indices for table vwfrmdocumenttype
Definition
CREATE VIEW public.vwfrmdocumenttype (
dnkey,
dnkeycompartiment,
dvdoctype,
dvid,
dvcompartimentnaam,
ddvervaldatum)
AS
SELECT a.dnkey,
a.dnkeycompartiment,
a.dvdoctype,
a.dvid,
b.dvnaam AS dvcompartimentnaam,
a.ddvervaldatum
FROM tbdocumenttype a
LEFT JOIN tbcompartiment b ON a.dnkeycompartiment = b.dnkey;
COMMENT ON VIEW public.vwfrmdocumenttype
IS 'View van documentypes zoals o.m. bedoeld in de gelderse zaaktypecatalogus voor uploads naar dms. Basistabel tbdocumenttype';
COMMENT ON COLUMN public.vwfrmdocumenttype.dnkey
IS 'De primary key van het documenttype (tbdocumenttype.dnkey).';
COMMENT ON COLUMN public.vwfrmdocumenttype.dnkeycompartiment
IS 'Foreign key naar tbcompartiment.dnkey';
COMMENT ON COLUMN public.vwfrmdocumenttype.dvdoctype
IS 'Omschrijving bijv verzoek om aanvullende informatie, statusmelding, ontvangsbevestiging';
COMMENT ON COLUMN public.vwfrmdocumenttype.dvid
IS 'Wordt niet meer gebruikt.';
COMMENT ON COLUMN public.vwfrmdocumenttype.dvcompartimentnaam
IS 'Naam van het compartiment bijv omgevingsdient Y of gemeente X.';
COMMENT ON COLUMN public.vwfrmdocumenttype.ddvervaldatum
IS 'Datum waarvanaf type niet meer gebruikt kan worden voor upload naar dms.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 5-1-2022 14:13 |
![]() ![]() ![]() |