Описание
(Нет описания для триггера IT_SetSilageUserID)
Определение
CREATE TRIGGER "IT_SetSilageUserID" FOR IT
ACTIVE BEFORE INSERT OR UPDATE POSITION 0
AS
begin
if (New.SilageID is not null and Inserting
or New.SilageID <> Old.SilageID)
then
EXECUTE PROCEDURE Users_getid null Returning_values NEW.SilageUserID;
END