CREATE OR REPLACE TRIGGER GERA_ID_ZH_LAYOUT_NEXT
BEFORE INSERT ON ZH_LAYOUT_NEXT FOR EACH ROW
BEGIN
    SELECT 
        SEQ_ZH_LAYOUT_NEXT_ID.NEXTVAL
    INTO 
        :NEW.ID
    FROM 
        DUAL;
END;