CREATE OR REPLACE TRIGGER ti_inbound_bag
  BEFORE INSERT ON inbound_bag  
  FOR EACH ROW
BEGIN
  SELECT inbound_bag_id_seq.NEXTVAL INTO :NEW.inbound_bag_id FROM dual;
END;
/
