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