Builtin Trigger */
/* Instrymentu Ydarnue on child update restrict */
/* ERWIN_RELATION: CHECKSUM = В«0001299cВ», PARENT_OWNER = »», PARENT_TABLE = "Інструменти" _OWNER = »», CHILD_TABLE = В«YdarnueВ» C_VERB_PHRASE = »», C2P_VERB_PHRASE = »», _CONSTRAINT = В«is_aВ», FK_COLUMNS = В«nom_postВ» В«post_noВ» В«inv_numbВ» */count (*) INTO NUMROWSInstrymentu
/*% JoinFKPK (:% New, Instrymentu, В»=В», В»ANDВ») */
: new.nom_post = Instrymentu.nom_post AND
: new.post_no = Instrymentu.post_no AND
: new.inv_numb = Instrymentu.inv_numb; (
/*% NotnullFK (:% New, В»IS NOT NULL ANDВ») */= 0
) _application_error (
,
'Cannot update Ydarnue because Instrymentu does not exist.'
); IF;
ERwin Builtin Trigger;
/