Описание
(Нет описания для триггера UWTYPES_SetID)
Определение
CREATE TRIGGER "UWTYPES_SetID" FOR UWTYPES
ACTIVE BEFORE INSERT POSITION 0
as
begin
if (new.UWTYPEID is null) then begin
new.UWTYPEID = gen_id(UWTYPEIDGEN,1);
new.state = 0;
end
end