Описание
(Нет описания для триггера TRANSPORTPLANS_SETID)
Определение
CREATE TRIGGER TRANSPORTPLANS_SETID FOR TRANSPORTPLANS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
IF (NEW.TRANSPORTPLANID IS NULL) THEN
NEW.TRANSPORTPLANID = GEN_ID(TRANSPORTPLANIDGEN,1);
END