129: BEGIN
130: IF ( (last_hdr_allocated IS NULL)
131: OR
132: (next_hdr_to_use = (NVL(last_hdr_allocated, 0) + id_increment)) ) THEN 133: SELECT cz_config_hdrs_s.NEXTVAL 134: INTO last_hdr_allocated
135: FROM dual;
136: next_hdr_to_use := last_hdr_allocated;
137: END IF;