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