"localhost:/firebird/data/ILICHEVSK2.FDB". Триггеры Previous topic Chapter index Next topic

ORDERLOADLOSSES_SETID

 

Описание

(Нет описания для триггера 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

 

     Previous topic Chapter index Next topic