FLEX#64717 bedrijfsadressen voor IOT
svn path=/Database/trunk/; revision=49555
This commit is contained in:
@@ -594,6 +594,7 @@ CREATE_TABLE(fac_srtnotificatie, 0)
|
||||
* 1 = in statusinfo window op portal van receiver prs_perslid_key
|
||||
* fac_notificatie_refkey: de key van een melding, reservering etc. Welke entiteit het betreft wordt bepaald
|
||||
* door fac_srtnotificatie_xmlnode. Deze kan ook worden toegevoegd aan fac_srtnotificatie_url.
|
||||
* optional prs_bedrijfadres_key references to the techparams for transmission for appropraite channels
|
||||
*/
|
||||
CREATE_TABLE(fac_notificatie, 0)
|
||||
(
|
||||
@@ -605,13 +606,17 @@ CREATE_TABLE(fac_notificatie, 0)
|
||||
fac_notificatie_status
|
||||
NUMBER(3)
|
||||
NOT_NULL(fac_notificatie_status, fac_c_fac_notificatie_status),
|
||||
// Note: this column is defined in PRS_TAB.SRC
|
||||
// Note: these columns are defined in PRS_TAB.SRC
|
||||
// prs_perslid_key_sender
|
||||
// NUMBER(10)
|
||||
// REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
|
||||
// prs_perslid_key_receiver
|
||||
// NUMBER(10)
|
||||
// REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
|
||||
// prs_bedrijfadres_key
|
||||
// NUMBER(10)
|
||||
// CONSTRAINT prs_r_bedrijfadres_key1
|
||||
// REFERENCES prs_bedrijfadres(prs_bedrijfadres_key) ON DELETE CASCADE,
|
||||
fac_notificatie_receiver_email
|
||||
VARCHAR2(255),
|
||||
fac_notificatie_receiver_phone
|
||||
|
||||
@@ -288,10 +288,10 @@ CREATE_TABLE(ins_srtdeel,0)
|
||||
VARCHAR2(256),
|
||||
ins_srtdeel_externsyncdate
|
||||
DATE,
|
||||
ins_srtdeel_sensortype /* bitwise: 0=no sensor, &1=discrete values sensor, &2=continuous values sensor, &4=officehours, rest tbd */
|
||||
ins_srtdeel_sensortype /* bitwise: 0=no sensor, &1=discrete values sensor, &2=continuous values sensor, rest tbd */
|
||||
NUMBER(3)
|
||||
DEFAULT 0
|
||||
NOT_NULL(ins_srtdeel_sensortype, ins_c_srtdeel_sensortype),
|
||||
NOT NULL,
|
||||
CONSTRAINT ins_c_ins_srtdeel_binding CHECK ((ins_srtdeel_module ='INS' AND ins_srtdeel_binding > 0) OR ins_srtdeel_module <> 'INS')
|
||||
);
|
||||
|
||||
|
||||
@@ -218,9 +218,9 @@ CREATE_TABLE(prs_bedrijfadres, 0) (
|
||||
alg_locatie_key
|
||||
NUMBER(10)
|
||||
CONSTRAINT prs_r_alg_locatie_key REFERENCES alg_locatie(alg_locatie_key) ON DELETE CASCADE,
|
||||
prs_bedrijfadres_type /* O=Order, B=Bestelling, V=Voorraadinfo, C=Contract, N=Notificatie */
|
||||
prs_bedrijfadres_type /* O=Order, B=Bestelling, V=Voorraadinfo, C=Contract, N=Notificatie, I=IOT */
|
||||
VARCHAR2(1)
|
||||
CONSTRAINT prs_c_prs_bedrijfadrestype CHECK (prs_bedrijfadres_type IN ('O','B','C','V','N')),
|
||||
CONSTRAINT prs_c_prs_bedrijfadrestype CHECK (prs_bedrijfadres_type IN ('O','B','C','V','N','I')),
|
||||
-- In MLD_TAB.SRC:
|
||||
-- mld_typeopdr_key
|
||||
-- NUMBER(10) CONSTRAINT prs_r_mld_typeopdr_key REFERENCES mld_typeopdr(mld_typeopdr_key) ON DELETE CASCADE,
|
||||
@@ -686,7 +686,11 @@ ALTER TABLE fac_notificatie ADD(
|
||||
REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
|
||||
prs_perslid_key_receiver
|
||||
NUMBER(10)
|
||||
REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE
|
||||
REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
|
||||
prs_bedrijfadres_key
|
||||
NUMBER(10)
|
||||
CONSTRAINT prs_r_bedrijfadres_key1
|
||||
REFERENCES prs_bedrijfadres(prs_bedrijfadres_key) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
ALTER TABLE fac_activiteit ADD (
|
||||
|
||||
Reference in New Issue
Block a user