Описание
(Нет описания для триггера WEIGHTOUT_SetOneWeight)
Определение
CREATE TRIGGER "WEIGHTOUT_SetOneWeight" FOR WEIGHTOUT
ACTIVE BEFORE INSERT POSITION 0
AS
begin
if (new.oneweight is null) then
select weightes.weight
from weightes
where weightes.weightid = new.weightid
into new.oneweight;
END