Описание
(Нет описания для триггера SILAGEPACKSQUALITY_ID)
Определение
CREATE TRIGGER SILAGEPACKSQUALITY_ID FOR SILAGEPACKSQUALITY
ACTIVE BEFORE INSERT POSITION 0
as
begin
if (new.SILAGEPACKSQUALITYID is null) then begin
new.SILAGEPACKSQUALITYID = gen_id(SILAGEPACKSQUALITYGEN,1);
new.QUALITYDATE = current_date;
end
end