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