B92 : Bij een Plattegrond- en/of contourtekening mag men niet
een discipline opgeven, hiertoe cad_tekening trigger aangepast.. svn path=/Database/trunk/; revision=7222
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
/* REVISIONS:
|
||||
*
|
||||
* --- 03.11 ---
|
||||
* 03-11-1999 BIV B#92 :Bij een Plattegrond- en/of contourtekening mag men niet
|
||||
* een discipline opgeven.
|
||||
* --- 03.10 ---
|
||||
* --- 01.43 ---
|
||||
* 26-02-1999 BIV LOG #2278: Trigger toegevoegd t.b.v. tabel CAD_SYMBOOL.
|
||||
* --- 01.42 ---
|
||||
@@ -21,6 +25,11 @@ FOR EACH ROW
|
||||
BEGIN
|
||||
UPDATE_PRIMARY_KEY(cad_tekening_key, cad_s_cad_tekening_key);
|
||||
UPDATE_AANMAAKDATUM(cad_tekening, cad_tekening_aanmaak);
|
||||
IF :new.cad_tekening_type IN ('P', 'C') AND
|
||||
:new.ins_discipline_key IS NOT NULL
|
||||
THEN
|
||||
RAISE_APPLICATION_ERROR(-20000, 'CAD_M010');
|
||||
END IF;
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user