Datadictionary OpenWave 3.1.32
Previous topic Chapter index Next topic

Table: tbdocumenttype

 

 

Schema

public

 

Owner

waveuser005

 

Tablespace

(default)

 

Descriptions

Tabel met documenttypes zoals o.m. bedoeld in de Gelderse zaaktypecatalogus voor uploads naar DMS, bijvoorbeeld verzoek om aanvullende informatie, statusmelding, ontvangsbevestiging

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

dnkey

serial

 

nextval('tbdocumenttype_dnkey_seq'::regclass)

Primary key

 

 

dvdoctype

varchar(80)

 

 

 

 

Omschrijving bijvoorbeeld verzoek om aanvullende informatie, statusmelding, ontvangsbevestiging

 

 

ddvervaldatum

timestamp

 

 

 

 

Datum waarvanaf type niet meer gebruikt kan worden voor upload naar DMS

 

 

dvid

varchar(80)

 

 

 

 

Wordt niet meer gebruikt

 

dnkeycompartiment

integer

 

 

 

 

Foreign key naar tbcompartiment.dnkey

 

 

dlisdoctypebodem

char(1)

 

 

 

'F'::bpchar

T of F. Indien T dan is het betreffende type een bodem/BIS type

 

 

dvzgwuuid

varchar(40)

 

 

 

 

De uuid voor het documenttype (informatieobjecttype) zoals bedoeld in de ZGW (zaak gericht werken c.q. Open Zaak API)

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

cfk_tbdocumenttype_keycomp

dnkeycompartiment

public.tbcompartiment

dnkey

Cascade

No Action

 

Immediate

 

 

Check Constraints

Name

Condition

Description

chk_tbdocumenttype_dlisdoctypebodem

dlisdoctypebodem = ANY (ARRAY['T'::bpchar, 'F'::bpchar])

 

cnn_tbdocumenttype_dlisdoctypebodem

dlisdoctypebodem IS NOT NULL

 

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

cpk_tbdocumenttype

btree

 

dnkey

 

 

Triggers

There are no triggers for table tbdocumenttype

 

Rules

There are no rules for table tbdocumenttype

 

Policies

There are no policies for table tbdocumenttype

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

tbzaaktypedoctype

public

cfk_tbzaaktdoctype_keydoctype

dnkeydocumenttype

public.tbdocumenttype

dnkey

Cascade

No Action

 

Immediate

 

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tbdocumenttype (
 dnkey SERIAL,
 dvdoctype VARCHAR(80),
 ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
 dvid VARCHAR(80),
 dnkeycompartiment INTEGER,
 dlisdoctypebodem CHAR(1) DEFAULT 'F'::bpchar,
 dvzgwuuid VARCHAR(40),
 CONSTRAINT cpk_tbdocumenttype PRIMARY KEY(dnkey),
 CONSTRAINT chk_tbdocumenttype_dlisdoctypebodem CHECK (dlisdoctypebodem = ANY (ARRAY['T'::bpchar, 'F'::bpchar])),
 CONSTRAINT cnn_tbdocumenttype_dlisdoctypebodem CHECK (dlisdoctypebodem IS NOT NULL),
 CONSTRAINT cfk_tbdocumenttype_keycomp FOREIGN KEY (dnkeycompartiment)
   REFERENCES public.tbcompartiment(dnkey)
   ON DELETE CASCADE
   ON UPDATE NO ACTION
   NOT DEFERRABLE

) ;

COMMENT ON TABLE public.tbdocumenttype
IS 'Tabel met documenttypes zoals o.m. bedoeld in de Gelderse zaaktypecatalogus voor uploads naar DMS, bijvoorbeeld verzoek om aanvullende informatie, statusmelding, ontvangsbevestiging';

COMMENT ON COLUMN public.tbdocumenttype.dnkey
IS 'Primary key';

COMMENT ON COLUMN public.tbdocumenttype.dvdoctype
IS 'Omschrijving bijvoorbeeld verzoek om aanvullende informatie, statusmelding, ontvangsbevestiging';

COMMENT ON COLUMN public.tbdocumenttype.ddvervaldatum
IS 'Datum waarvanaf type niet meer gebruikt kan worden voor upload naar DMS';

COMMENT ON COLUMN public.tbdocumenttype.dvid
IS 'Wordt niet meer gebruikt';

COMMENT ON COLUMN public.tbdocumenttype.dnkeycompartiment
IS 'Foreign key naar tbcompartiment.dnkey';

COMMENT ON COLUMN public.tbdocumenttype.dlisdoctypebodem
IS 'T of F. Indien T dan is het betreffende type een bodem/BIS type';

COMMENT ON COLUMN public.tbdocumenttype.dvzgwuuid
IS 'De uuid voor het documenttype (informatieobjecttype) zoals bedoeld in de ZGW (zaak gericht werken c.q. Open Zaak API)';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 2-5-2025 13:49
Previous topic Chapter index Next topic