-- File created from rfid_triggers.sql - Dave Banks - FALCP/CA/1771 - 8th March 2006
/*
 * Trigger ti_bag_trace will Generate a unique ID
 */

create or replace trigger ti_batch_log
before insert on batch_log
for each row
begin

	
	select
		batch_id_seq.nextval
	into
		:new.batch_id
	from
		dual;
	
end;
/
