ost AND
: new.post_no = Sklad.post_no AND
: new.inv_numb = Sklad.inv_numb; (
/*% NotnullFK (:% New, В»IS NOT NULL ANDВ») */= 0
) _application_error (
,
'Cannot update Instrymentu because Sklad does not exist.'
); IF;
ERwin Builtin Trigger;
/TRIGGER tI_Klientu BEFORE INSERT ON Klientu for each row
ERwin Builtin Trigger
INSERT trigger on KlientuNUMROWS INTEGER;
/* ERwin Builtin Trigger */
/* Chek Klientu on child insert restrict */
/* ERWIN_RELATION: CHECKSUM = «0000f135», PARENT_OWNER = »», PARENT_TABLE = «Chek» _OWNER = »», CHILD_TABLE = «Klientu» C_VERB_PHRASE = »», C2P_VERB_PHRASE = »», _CONSTRAINT = «R_25», FK_COLUMNS = «pay_zak» «date_pay» */count (*) INTO NUMROWSChek
/*% JoinFKPK (:% New, Chek, В»=В», В»ANDВ») */
: new.pay_zak = Chek.pay_zak AND
: new.date_pay = Chek.date_pay; (
/*% NotnullFK (:% New, В»IS NOT NULL ANDВ») */= 0
) _application_error (
,
'Cannot insert Klientu because Chek does not exist.'
); IF;
ERwin Builtin Trigger;
/TRIGGER tU_Klientu AFTER UPDATE ON Klientu for each row
ERwin Builtin Trigger
UPDATE trigger on KlientuNUMROWS INTEGER;
/* ERwin Builtin Trigger */
/* Chek Klientu on child update restrict */
/* ERWIN_RELATION: CHECKSUM = «0000f78c», PARENT_OWNER = »», PARENT_TABLE = «Chek» _OWNER = »», CHILD_TABLE = «Klientu» C_VERB_PHRASE = »», C2P_VERB_PHRASE = »», _CONSTRAINT = «R_25», FK_COLUMNS = «pay_zak» «date_pay» */count (*) INTO NUMROWSChek
/*% JoinFKPK (:% New, Chek, В»=В», В»ANDВ») */
: new.pay_zak = Chek.pay_zak AND
: new.date_pay = Chek.date_pay; (
/*% NotnullFK (:% New, В»IS NOT NULL ANDВ») */= 0
) _application_error (
,
'Cannot update Klientu because Chek does not exist.'
); IF;
ERwin Builtin Trigger;
/TRIGGER tI_Kyrjeru BEFORE INSERT ON Kyrjeru for each row
ERwin Builtin Trigger
INSERT trigger on KyrjeruNUMROWS INTEGER;
/* ERwin Builtin Trigger */
/* Sklad Kyrjeru on child insert restrict */
/* ERWIN_RELATION: C...