openwave 3.1.2
Previous topic Chapter index Next topic

View: vwfrmomgorkestrator_benb

 

 

Schema

public

 

Owner

waveuser002

 

Descriptions

There is no description for view vwfrmomgorkestrator_benb

 

Fields

Name

Data type

Description

dnkey

integer

 

zaakcode

varchar(20)

 

beh

char(5)

 

instantie

varchar(16)

 

ingediend

timestamp

 

voorlvoorz

timestamp

 

procesnummer

varchar(20)

 

zitting

timestamp

 

geplandeuitspraak

timestamp

 

uitspraakdatum

timestamp

 

geschorst

timestamp

 

vernietigd

timestamp

 

onherroep

timestamp

 

proceduresrt

varchar(40)

 

vergunning

varchar(50)

 

straat

varchar(80)

 

nr

varchar(15)

 

plaats

varchar(80)

 

accman

char(5)

 

 

Rules

Name

Event

Instead

Condition

Description

_RETURN

SELECT

 

 

 

Definition

CREATE VIEW public.vwfrmomgorkestrator_benb (
   dnkey,
   zaakcode,
   beh,
   instantie,
   ingediend,
   voorlvoorz,
   procesnummer,
   zitting,
   geplandeuitspraak,
   uitspraakdatum,
   geschorst,
   vernietigd,
   onherroep,
   proceduresrt,
   vergunning,
   straat,
   nr,
   plaats,
   accman)
AS
       (
SELECT vwomgvergobjstraat.dnkey,
                   vwomgvergobjstraat.dvzaakcode AS zaakcode,
                   vwfrmactiefinbehbij.dvibbcodemw AS beh,
                   'Bezwaar BenW'::character varying(16) AS instantie,
                   vwomgvergobjstraat.ddindieningbezwaar AS ingediend,
                   vwomgvergobjstraat.ddverzvoorlvoorz AS voorlvoorz,
                   'n.v.t.'::character varying(20) AS procesnummer,
                   vwomgvergobjstraat.ddbezwzitting AS zitting,
                   vwomgvergobjstraat.ddbezwplanbesluit AS geplandeuitspraak,
                   vwomgvergobjstraat.ddbezwbesluit AS uitspraakdatum,
                   vwomgvergobjstraat.ddgeschorstvanaf AS geschorst,
                   vwomgvergobjstraat.ddvernietigd AS vernietigd,
                   vwomgvergobjstraat.ddonherroepelijk AS onherroep,
                   vwomgvergobjstraat.dvsoortaanvraag AS proceduresrt,
                   vwomgvergobjstraat.dvaanvraagnaam AS vergunning,
                   vwomgvergobjstraat.dvobjstraat AS straat,
                   vwomgvergobjstraat.dvobjhuisnr AS nr,
                   vwomgvergobjstraat.dvobjplaats AS plaats,
                   vwomgvergobjstraat.dvcodeaccountman AS accman
FROM vwomgvergobjstraat
             JOIN vwfrmactiefinbehbij ON vwomgvergobjstraat.dnkey =
                 vwfrmactiefinbehbij.dnkeyomgvergunningen
WHERE vwomgvergobjstraat.ddbesluitdatum IS NOT NULL AND
   vwomgvergobjstraat.ddblokkering IS NULL AND vwomgvergobjstraat.ddindieningbezwaar IS NOT NULL AND vwomgvergobjstraat.ddrbindieningberoep IS NULL
UNION
SELECT
vwomgvergobjstraat.dnkey,
                   vwomgvergobjstraat.dvzaakcode AS zaakcode,
                   vwfrmactiefinbehbij.dvibbcodemw AS beh,
                   'Beroep Rechtbank'::character varying(16) AS instantie,
                   vwomgvergobjstraat.ddrbindieningberoep AS ingediend,
                   vwomgvergobjstraat.ddverzvoorlvoorz AS voorlvoorz,
                   vwomgvergobjstraat.dvrbprocnummer AS procesnummer,
                   vwomgvergobjstraat.ddrbberoepzitting AS zitting,
                   NULL::timestamp without time zone AS geplandeuitspraak,
                   vwomgvergobjstraat.ddrbuitspraak AS uitspraakdatum,
                   vwomgvergobjstraat.ddgeschorstvanaf AS geschorst,
                   vwomgvergobjstraat.ddvernietigd AS vernietigd,
                   vwomgvergobjstraat.ddonherroepelijk AS onherroep,
                   vwomgvergobjstraat.dvsoortaanvraag AS proceduresrt,
                   vwomgvergobjstraat.dvaanvraagnaam AS vergunning,
                   vwomgvergobjstraat.dvobjstraat AS straat,
                   vwomgvergobjstraat.dvobjhuisnr AS nr,
                   vwomgvergobjstraat.dvobjplaats AS plaats,
                   vwomgvergobjstraat.dvcodeaccountman AS accman
FROM vwomgvergobjstraat
             JOIN vwfrmactiefinbehbij ON vwomgvergobjstraat.dnkey =
                 vwfrmactiefinbehbij.dnkeyomgvergunningen
WHERE vwomgvergobjstraat.ddbesluitdatum IS NOT NULL AND
   vwomgvergobjstraat.ddblokkering IS NULL AND vwomgvergobjstraat.ddrbindieningberoep IS NOT NULL AND vwomgvergobjstraat.ddrvsindieningberoep IS NULL)
UNION
SELECT
vwomgvergobjstraat.dnkey,
           vwomgvergobjstraat.dvzaakcode AS zaakcode,
           vwfrmactiefinbehbij.dvibbcodemw AS beh,
           'Beroep RvS'::character varying(16) AS instantie,
           vwomgvergobjstraat.ddrvsindieningberoep AS ingediend,
           vwomgvergobjstraat.ddverzvoorlvoorz AS voorlvoorz,
           vwomgvergobjstraat.dvrvsprocnummer AS procesnummer,
           vwomgvergobjstraat.ddrvsberoepzitting AS zitting,
           NULL::timestamp without time zone AS geplandeuitspraak,
           vwomgvergobjstraat.ddrvsuitspraak AS uitspraakdatum,
           vwomgvergobjstraat.ddgeschorstvanaf AS geschorst,
           vwomgvergobjstraat.ddvernietigd AS vernietigd,
           vwomgvergobjstraat.ddonherroepelijk AS onherroep,
           vwomgvergobjstraat.dvsoortaanvraag AS proceduresrt,
           vwomgvergobjstraat.dvaanvraagnaam AS vergunning,
           vwomgvergobjstraat.dvobjstraat AS straat,
           vwomgvergobjstraat.dvobjhuisnr AS nr,
           vwomgvergobjstraat.dvobjplaats AS plaats,
           vwomgvergobjstraat.dvcodeaccountman AS accman
FROM vwomgvergobjstraat
     JOIN vwfrmactiefinbehbij ON vwomgvergobjstraat.dnkey =
         vwfrmactiefinbehbij.dnkeyomgvergunningen
WHERE vwomgvergobjstraat.ddbesluitdatum IS NOT NULL AND
   vwomgvergobjstraat.ddblokkering IS NULL AND vwomgvergobjstraat.ddrvsindieningberoep IS NOT NULL;

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-01-2013 17:28
Previous topic Chapter index Next topic