[open-ils-commits] r141 - in conifer/trunk: . migration-scripts (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 6 12:25:25 EST 2009


Author: dbs
Date: 2009-03-06 12:25:22 -0500 (Fri, 06 Mar 2009)
New Revision: 141

Added:
   conifer/trunk/migration-scripts/
   conifer/trunk/migration-scripts/create_test_users.pl
   conifer/trunk/migration-scripts/demousers.sql
   conifer/trunk/migration-scripts/generate_copies.sql
   conifer/trunk/migration-scripts/lul_import.pl
   conifer/trunk/migration-scripts/org_units.sql
   conifer/trunk/migration-scripts/windsor_import.pl
Log:
Commit some scripts and custom SQL that we're using for migration and testing


Added: conifer/trunk/migration-scripts/create_test_users.pl
===================================================================
--- conifer/trunk/migration-scripts/create_test_users.pl	                        (rev 0)
+++ conifer/trunk/migration-scripts/create_test_users.pl	2009-03-06 17:25:22 UTC (rev 141)
@@ -0,0 +1,68 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+=head1 Generate a set of staff and users for testing Evergreen
+
+=over
+
+=item get_org_unit()
+
+Map user IDs to org_units for permissions
+
+=back
+
+=cut
+
+sub get_org_unit {
+	my $id = shift;
+	if ($id <= 10) {
+		return 105; # OSUL
+	} elsif ($id <=20) {
+		return 106; # WINDSYS
+	} elsif ($id <=30) {
+		return 111; # ALGOMASYS
+	} elsif ($id <=40) {
+		return 125; # NOHIN
+	}
+}
+
+my $password = 'demo123';
+
+my @profiles = ( 1, 4, 5, 10 );
+
+my $profile_info = {
+    '1' => 'user',
+    '4' => 'cat',
+    '5' => 'circ',
+    '10' => 'admin',
+};
+
+my $sql = "BEGIN;\n";
+
+foreach my $i (1..40) {
+    foreach my $profile (@profiles) {
+        my $twodigit = sprintf('%02d', $i);
+        my $barcode = '1' . ($profile == 10 ? '0' : $profile) . $twodigit;
+        my $usrname = $profile_info->{$profile . ""} . $i;
+        my $family_name = ucfirst($usrname);
+	my $org_unit = get_org_unit($i);
+        $sql .= <<HERE;
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES ($profile, '$usrname', '$password', 3, 'Other ID value', 'Dummy', '$family_name', $org_unit);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), $barcode);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '$barcode Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), $org_unit);
+HERE
+    }
+}
+
+$sql .= "SELECT SETVAL('actor.usr_id_seq', (SELECT MAX(id) FROM actor.usr));\n";
+$sql .= "SELECT SETVAL('actor.usr_address_id_seq', (SELECT MAX(id) FROM actor.usr_address));\n";
+$sql .= "SELECT SETVAL('actor.card_id_seq', (SELECT MAX(id) FROM actor.card));\n";
+
+print $sql;
+
+

Added: conifer/trunk/migration-scripts/demousers.sql
===================================================================
--- conifer/trunk/migration-scripts/demousers.sql	                        (rev 0)
+++ conifer/trunk/migration-scripts/demousers.sql	2009-03-06 17:25:22 UTC (rev 141)
@@ -0,0 +1,1124 @@
+BEGIN;
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user1', 'demo123', 3, 'Other ID value', 'Dummy', 'User1', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1101);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1101 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat1', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat1', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1401);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1401 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ1', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ1', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1501);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1501 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin1', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin1', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1001);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1001 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user2', 'demo123', 3, 'Other ID value', 'Dummy', 'User2', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1102);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1102 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat2', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat2', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1402);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1402 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ2', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ2', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1502);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1502 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin2', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin2', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1002);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1002 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user3', 'demo123', 3, 'Other ID value', 'Dummy', 'User3', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1103);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1103 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat3', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat3', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1403);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1403 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ3', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ3', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1503);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1503 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin3', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin3', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1003);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1003 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user4', 'demo123', 3, 'Other ID value', 'Dummy', 'User4', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1104);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1104 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat4', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat4', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1404);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1404 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ4', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ4', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1504);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1504 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin4', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin4', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1004);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1004 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user5', 'demo123', 3, 'Other ID value', 'Dummy', 'User5', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1105);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1105 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat5', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat5', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1405);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1405 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ5', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ5', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1505);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1505 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin5', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin5', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1005);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1005 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user6', 'demo123', 3, 'Other ID value', 'Dummy', 'User6', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1106);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1106 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat6', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat6', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1406);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1406 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ6', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ6', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1506);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1506 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin6', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin6', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1006);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1006 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user7', 'demo123', 3, 'Other ID value', 'Dummy', 'User7', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1107);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1107 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat7', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat7', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1407);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1407 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ7', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ7', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1507);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1507 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin7', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin7', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1007);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1007 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user8', 'demo123', 3, 'Other ID value', 'Dummy', 'User8', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1108);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1108 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat8', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat8', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1408);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1408 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ8', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ8', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1508);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1508 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin8', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin8', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1008);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1008 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user9', 'demo123', 3, 'Other ID value', 'Dummy', 'User9', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1109);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1109 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat9', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat9', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1409);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1409 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ9', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ9', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1509);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1509 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin9', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin9', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1009);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1009 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user10', 'demo123', 3, 'Other ID value', 'Dummy', 'User10', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1110);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1110 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat10', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat10', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1410);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1410 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ10', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ10', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1510);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1510 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin10', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin10', 105);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1010);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1010 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 105);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user11', 'demo123', 3, 'Other ID value', 'Dummy', 'User11', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1111);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1111 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat11', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat11', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1411);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1411 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ11', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ11', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1511);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1511 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin11', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin11', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1011);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1011 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user12', 'demo123', 3, 'Other ID value', 'Dummy', 'User12', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1112);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1112 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat12', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat12', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1412);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1412 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ12', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ12', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1512);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1512 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin12', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin12', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1012);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1012 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user13', 'demo123', 3, 'Other ID value', 'Dummy', 'User13', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1113);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1113 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat13', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat13', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1413);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1413 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ13', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ13', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1513);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1513 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin13', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin13', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1013);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1013 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user14', 'demo123', 3, 'Other ID value', 'Dummy', 'User14', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1114);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1114 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat14', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat14', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1414);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1414 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ14', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ14', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1514);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1514 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin14', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin14', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1014);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1014 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user15', 'demo123', 3, 'Other ID value', 'Dummy', 'User15', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1115);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1115 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat15', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat15', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1415);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1415 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ15', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ15', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1515);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1515 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin15', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin15', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1015);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1015 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user16', 'demo123', 3, 'Other ID value', 'Dummy', 'User16', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1116);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1116 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat16', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat16', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1416);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1416 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ16', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ16', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1516);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1516 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin16', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin16', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1016);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1016 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user17', 'demo123', 3, 'Other ID value', 'Dummy', 'User17', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1117);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1117 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat17', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat17', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1417);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1417 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ17', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ17', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1517);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1517 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin17', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin17', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1017);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1017 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user18', 'demo123', 3, 'Other ID value', 'Dummy', 'User18', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1118);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1118 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat18', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat18', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1418);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1418 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ18', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ18', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1518);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1518 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin18', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin18', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1018);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1018 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user19', 'demo123', 3, 'Other ID value', 'Dummy', 'User19', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1119);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1119 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat19', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat19', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1419);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1419 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ19', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ19', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1519);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1519 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin19', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin19', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1019);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1019 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user20', 'demo123', 3, 'Other ID value', 'Dummy', 'User20', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1120);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1120 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat20', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat20', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1420);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1420 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ20', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ20', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1520);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1520 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin20', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin20', 106);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1020);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1020 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 106);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user21', 'demo123', 3, 'Other ID value', 'Dummy', 'User21', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1121);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1121 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat21', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat21', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1421);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1421 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ21', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ21', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1521);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1521 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin21', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin21', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1021);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1021 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user22', 'demo123', 3, 'Other ID value', 'Dummy', 'User22', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1122);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1122 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat22', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat22', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1422);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1422 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ22', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ22', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1522);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1522 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin22', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin22', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1022);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1022 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user23', 'demo123', 3, 'Other ID value', 'Dummy', 'User23', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1123);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1123 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat23', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat23', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1423);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1423 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ23', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ23', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1523);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1523 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin23', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin23', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1023);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1023 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user24', 'demo123', 3, 'Other ID value', 'Dummy', 'User24', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1124);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1124 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat24', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat24', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1424);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1424 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ24', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ24', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1524);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1524 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin24', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin24', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1024);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1024 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user25', 'demo123', 3, 'Other ID value', 'Dummy', 'User25', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1125);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1125 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat25', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat25', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1425);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1425 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ25', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ25', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1525);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1525 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin25', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin25', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1025);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1025 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user26', 'demo123', 3, 'Other ID value', 'Dummy', 'User26', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1126);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1126 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat26', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat26', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1426);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1426 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ26', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ26', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1526);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1526 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin26', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin26', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1026);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1026 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user27', 'demo123', 3, 'Other ID value', 'Dummy', 'User27', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1127);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1127 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat27', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat27', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1427);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1427 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ27', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ27', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1527);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1527 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin27', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin27', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1027);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1027 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user28', 'demo123', 3, 'Other ID value', 'Dummy', 'User28', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1128);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1128 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat28', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat28', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1428);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1428 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ28', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ28', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1528);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1528 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin28', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin28', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1028);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1028 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user29', 'demo123', 3, 'Other ID value', 'Dummy', 'User29', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1129);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1129 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat29', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat29', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1429);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1429 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ29', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ29', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1529);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1529 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin29', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin29', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1029);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1029 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user30', 'demo123', 3, 'Other ID value', 'Dummy', 'User30', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1130);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1130 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat30', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat30', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1430);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1430 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ30', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ30', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1530);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1530 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin30', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin30', 111);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1030);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1030 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 111);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user31', 'demo123', 3, 'Other ID value', 'Dummy', 'User31', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1131);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1131 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat31', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat31', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1431);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1431 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ31', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ31', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1531);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1531 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin31', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin31', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1031);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1031 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user32', 'demo123', 3, 'Other ID value', 'Dummy', 'User32', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1132);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1132 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat32', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat32', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1432);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1432 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ32', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ32', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1532);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1532 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin32', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin32', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1032);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1032 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user33', 'demo123', 3, 'Other ID value', 'Dummy', 'User33', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1133);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1133 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat33', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat33', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1433);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1433 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ33', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ33', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1533);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1533 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin33', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin33', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1033);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1033 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user34', 'demo123', 3, 'Other ID value', 'Dummy', 'User34', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1134);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1134 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat34', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat34', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1434);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1434 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ34', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ34', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1534);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1534 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin34', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin34', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1034);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1034 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user35', 'demo123', 3, 'Other ID value', 'Dummy', 'User35', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1135);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1135 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat35', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat35', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1435);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1435 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ35', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ35', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1535);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1535 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin35', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin35', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1035);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1035 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user36', 'demo123', 3, 'Other ID value', 'Dummy', 'User36', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1136);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1136 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat36', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat36', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1436);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1436 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ36', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ36', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1536);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1536 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin36', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin36', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1036);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1036 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user37', 'demo123', 3, 'Other ID value', 'Dummy', 'User37', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1137);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1137 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat37', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat37', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1437);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1437 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ37', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ37', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1537);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1537 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin37', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin37', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1037);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1037 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user38', 'demo123', 3, 'Other ID value', 'Dummy', 'User38', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1138);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1138 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat38', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat38', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1438);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1438 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ38', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ38', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1538);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1538 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin38', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin38', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1038);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1038 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user39', 'demo123', 3, 'Other ID value', 'Dummy', 'User39', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1139);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1139 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat39', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat39', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1439);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1439 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ39', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ39', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1539);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1539 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin39', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin39', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1039);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1039 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (1, 'user40', 'demo123', 3, 'Other ID value', 'Dummy', 'User40', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1140);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1140 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (4, 'cat40', 'demo123', 3, 'Other ID value', 'Dummy', 'Cat40', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1440);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1440 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (5, 'circ40', 'demo123', 3, 'Other ID value', 'Dummy', 'Circ40', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1540);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1540 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+INSERT INTO actor.usr (profile, usrname, passwd, ident_type, ident_value, first_given_name, family_name, home_ou) VALUES (10, 'admin40', 'demo123', 3, 'Other ID value', 'Dummy', 'Admin40', 125);
+INSERT INTO actor.card (usr, barcode) VALUES (CURRVAL('actor.usr_id_seq'), 1040);
+INSERT INTO actor.usr_address (usr, street1, city, state, country, post_code) VALUES (CURRVAL('actor.usr_id_seq'), '1040 Easy Street', 'Easy Town', 'ON', 'Canada', '90210');
+UPDATE actor.usr
+	SET card = CURRVAL('actor.card_id_seq'), mailing_address = CURRVAL('actor.usr_address_id_seq')
+	WHERE id = CURRVAL('actor.usr_id_seq');
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (CURRVAL('actor.usr_id_seq'), 125);
+SELECT SETVAL('actor.usr_id_seq', (SELECT MAX(id) FROM actor.usr));
+SELECT SETVAL('actor.usr_address_id_seq', (SELECT MAX(id) FROM actor.usr_address));
+SELECT SETVAL('actor.card_id_seq', (SELECT MAX(id) FROM actor.card));

Added: conifer/trunk/migration-scripts/generate_copies.sql
===================================================================
--- conifer/trunk/migration-scripts/generate_copies.sql	                        (rev 0)
+++ conifer/trunk/migration-scripts/generate_copies.sql	2009-03-06 17:25:22 UTC (rev 141)
@@ -0,0 +1,154 @@
+BEGIN;
+
+-- Map libraries
+UPDATE staging_items
+	SET owning_lib = 'OSUL'
+	WHERE location = 'DESMARAIS';
+
+UPDATE staging_items
+	SET owning_lib = 'OSM', location = 'WWW'
+	WHERE location = 'HIRC-WWW';
+
+UPDATE staging_items
+	SET owning_lib = 'NOSME'
+	WHERE location IN ('HIRCE-AV', 'HIRCE-BOOK', 'HIRCE-CIRC', 'HIRCE-PER', 'HIRCE-REF');
+
+UPDATE staging_items
+	SET owning_lib = 'NOSMW'
+	WHERE location IN ('HIRCW-AV', 'HIRCW-BOOK', 'HIRCW-CIRC', 'HIRCW-PER', 'HIRCW-REF');
+
+UPDATE staging_items
+	SET owning_lib = 'OSM'
+	WHERE owning_lib = 'HIRC';
+
+UPDATE staging_items
+	SET owning_lib = 'KAP'
+	WHERE location IN (SELECT location FROM staging_items WHERE location LIKE 'HRSTK-%');
+
+UPDATE staging_items
+	SET owning_lib = 'TIMMINS'
+	WHERE location IN (SELECT location FROM staging_items WHERE location LIKE 'HRSTT-%');
+
+UPDATE staging_items
+	SET owning_lib = 'SAH'
+	WHERE location = 'NEORCC';
+
+-- Map locations
+UPDATE staging_items
+	SET location = 'AV'
+	WHERE location IN ('HIRCE-AV', 'HIRCW-AV');
+
+UPDATE staging_items
+	SET location = 'BOOK'
+	WHERE location IN ('HIRCE-BOOK', 'HIRCW-BOOK');
+
+UPDATE staging_items
+	SET location = 'CIRC'
+	WHERE location IN ('HIRCE-CIRC', 'HIRCW-CIRC');
+
+UPDATE staging_items
+	SET location = 'PER'
+	WHERE location IN ('HIRCE-PER', 'HIRCW-PER');
+
+UPDATE staging_items
+	SET location = 'REF'
+	WHERE location IN ('HIRCE-REF', 'HIRCW-REF');
+
+UPDATE staging_items
+	SET location = 'DOC'
+	WHERE location IN ('HRST-DOC', 'HRSTK-DOC', 'HRSTT-DOC');
+
+UPDATE staging_items
+	SET location = 'EBOOK'
+	WHERE location IN ('HRST-EBOOK', 'HRSTK-EBOOK', 'HRSTT-EBOOK');
+
+UPDATE staging_items
+	SET location = 'PER'
+	WHERE location IN ('HRST-PER', 'HRSTK-PER', 'HRSTT-PER');
+
+UPDATE staging_items
+	SET location = 'PRET'
+	WHERE location IN ('HRST-PRET', 'HRSTK-PRET', 'HRSTT-PRET');
+
+UPDATE staging_items
+	SET location = 'REF'
+	WHERE location IN ('HRST-REF', 'HRSTK-REF', 'HRSTT-REF');
+
+UPDATE staging_items
+	SET location = 'VID'
+	WHERE location IN ('HRST-VID', 'HRSTK-VID', 'HRSTT-VID');
+
+-- First, we build shelving location
+INSERT INTO asset.copy_location (name, owning_lib)
+        SELECT  DISTINCT l.location, ou.id
+          FROM  staging_items l JOIN actor.org_unit ou
+                ON (l.owning_lib = ou.shortname)
+;
+
+-- Create circ modifiers for in-db circulation
+-- This is very, very crude but satisfies the FK constraints
+INSERT INTO config.circ_modifier (code, name, description, sip2_media_type, magnetic_media)
+        SELECT  DISTINCT item_type as code,
+          item_type AS name,
+          LOWER(item_type) AS description,
+          '001' AS sip2_media_type,
+          FALSE AS magnetic_media
+          FROM  staging_items
+          WHERE item_type NOT IN (SELECT code FROM config.circ_modifier);
+
+-- Import call numbers for bibrecord->library mappings
+INSERT INTO asset.call_number (creator,editor,record,label,owning_lib)
+        SELECT  DISTINCT 1, 1, l.bibkey , l.callnum, ou.id
+          FROM  staging_items l
+                JOIN biblio.record_entry b ON (l.bibkey = b.id)
+                JOIN actor.org_unit ou ON (l.owning_lib = ou.shortname);
+
+-- Import base copy data
+INSERT INTO asset.copy (
+        circ_lib, creator, editor, create_date, barcode,
+        status, location, loan_duration,
+        fine_level, circ_modifier, deposit, ref, call_number)
+        SELECT  DISTINCT  ou.id AS circ_lib,
+                1 AS creator,
+                1 AS editor,
+                l.createdate AS create_date,
+                l.barcode AS barcode,
+		CASE
+			WHEN l.location = 'BINDERY' THEN 2
+			WHEN l.location = 'CATALOGING' THEN 11
+			WHEN l.location = 'DISCARD' THEN 13
+			WHEN l.location = 'ILL' THEN 10
+			WHEN l.location = 'INPROCESS' THEN 5
+			WHEN l.location = 'LOST' THEN 3
+			WHEN l.location = 'LONGOVRDUE' THEN 4
+			WHEN l.location = 'MISSING' THEN 4
+			WHEN l.location = 'ON-ORDER' THEN 9
+			WHEN l.location = 'REPAIR' THEN 14
+			ELSE 0
+                END AS status,
+                cl.id AS location,
+                2 AS loan_duration,
+                2 AS fine_level,
+                CASE
+                        WHEN l.item_type IN ('REFERENCE', 'DEPOSIT_BK', 'BOOKS') THEN 'BOOK'
+                        WHEN l.item_type IN ('PERIODICALS') THEN 'PERIODICAL'
+                        ELSE l.item_type
+                END AS circ_modifier,
+                CASE
+                        WHEN l.item_type = 'DEPOSIT_BK' THEN TRUE
+                        ELSE FALSE
+                END AS deposit,
+                CASE
+                        WHEN l.item_type = 'REFERENCE' THEN TRUE
+                        ELSE FALSE
+                END AS ref,
+                cn.id AS call_number
+          FROM  staging_items l
+                JOIN actor.org_unit ou
+                        ON (l.owning_lib = ou.shortname)
+                JOIN asset.copy_location cl
+                        ON (ou.id = cl.owning_lib AND l.location = cl.name)
+                JOIN asset.call_number cn
+                        ON (ou.id = cn.owning_lib AND l.bibkey = cn.record AND l.callnum = cn.label)
+;
+COMMIT;

Added: conifer/trunk/migration-scripts/lul_import.pl
===================================================================
--- conifer/trunk/migration-scripts/lul_import.pl	                        (rev 0)
+++ conifer/trunk/migration-scripts/lul_import.pl	2009-03-06 17:25:22 UTC (rev 141)
@@ -0,0 +1,94 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+
+=head1 Automated processing of Laurentian system bibliographic records
+
+First we split the records into many smaller files (defined by $chunksize),
+then process a fraction of the records (defined by 1/$denominator) from
+across the set of files.
+
+=cut
+
+my $chunk_size = 1000;
+my $chunk_dir = "chunks";
+my $chunk_prefix = 'chunk_';
+my $denominator = 20;
+
+my $marc = 'bibs.marc';
+my $xml_file = 'bibs.xml';
+my $bre_file = 'bibs.bre';
+my $ingest_file = 'bibs.ingest';
+my $loader_prefix = 'lul_load';
+my $tcn_dumpfile = 'tcn.dump';
+my $script_dir = '/home/lauadmin/Evergreen/Open-ILS/src/extras/import/';
+my $db_user = 'evergreen';
+my $db_pw = '';
+my $db_host = '';
+my $db_name = 'evergreen';
+
+my $input_files;
+
+convert_to_marcxml("true");
+process_bibs("--tcnfield 935 --tcnsubfield a --idfield 935 --idsubfield a --trash 901 --trash 949");
+
+=over
+
+=item convert_to_marcxml(is_marc8)
+
+=back
+
+=cut
+sub convert_to_marcxml {
+	my $is_marc8 = shift;
+	my $marc8_to_utf8;
+
+=over
+
+Split the files up into chunks
+
+=back
+
+=cut
+	if (!-d $chunk_dir) {
+		mkdir($chunk_dir);
+	}
+
+	system("yaz-marcdump -C $chunk_size -s chunks/$chunk_prefix $marc > /dev/null");
+
+=over
+
+Convert selected sample of records to MARC21XML
+
+=back
+
+=cut
+	my @files = glob("$chunk_dir/$chunk_prefix\*");
+
+	foreach my $i (1..$denominator) {
+		my $filenumber = sprintf("%07i", (scalar(@files) / $denominator * $i) - 1);
+		$input_files .= "$chunk_dir/$chunk_prefix$filenumber ";
+	}
+	if ($is_marc8) { 
+		$marc8_to_utf8 = '-f MARC-8 -t UTF-8 -l 9=97';
+	}
+	system("yaz-marcdump -i marc -o marcxml $marc8_to_utf8 $input_files > $xml_file");
+}
+
+=over
+
+=item process_bibs(marc2bre_options)
+
+Starting with a set of MARC21XML records, these commands generate a set of
+SQL files suitable for loading into an Evergreen system.
+
+=back
+
+=cut
+sub process_bibs {
+	my $marc2bre_options = shift;
+
+	system("perl $script_dir/marc2bre.pl --marctype XML --tcn_dumpfile $tcn_dumpfile --db_user $db_user --db_host $db_host --db_pw $db_pw --db_name $db_name $marc2bre_options $xml_file > $bre_file 2> marc2bre.err");
+	system("perl $script_dir/direct_ingest.pl $bre_file > $ingest_file 2> ingest.err");
+	system("perl $script_dir/parallel_pg_loader.pl --output $loader_prefix -or bre -or mrd -or mfr -or mtfe -or mafe -or msfe -or mkfe -or msefe -a mrd -a mfr -a mtfe -a mafe -a msfe -a mkfe -a msefe < $ingest_file 2> loader.err");
+}

Added: conifer/trunk/migration-scripts/org_units.sql
===================================================================
--- conifer/trunk/migration-scripts/org_units.sql	                        (rev 0)
+++ conifer/trunk/migration-scripts/org_units.sql	2009-03-06 17:25:22 UTC (rev 141)
@@ -0,0 +1,79 @@
+--
+-- PostgreSQL database dump
+--
+
+SET client_encoding = 'UTF8';
+SET standard_conforming_strings = off;
+SET check_function_bodies = false;
+SET client_min_messages = warning;
+SET escape_string_warning = off;
+
+SET search_path = actor, pg_catalog;
+
+--
+-- Name: org_unit_type_id_seq; Type: SEQUENCE SET; Schema: actor; Owner: evergreen
+--
+
+SELECT pg_catalog.setval('org_unit_type_id_seq', 100, true);
+
+
+--
+-- Data for Name: org_unit; Type: TABLE DATA; Schema: actor; Owner: evergreen
+--
+
+COPY org_unit (id, parent_ou, ou_type, ill_address, holds_address, mailing_address, billing_address, shortname, name, email, phone, opac_visible) FROM stdin;
+115	102	3	\N	\N	\N	\N	HRSRH	HRSRH Health Sciences Library			t
+123	102	3	\N	\N	\N	\N	NEMHC	Northeast Mental Health Centre	\N	\N	t
+105	102	6	1	1	1	1	LUSYS	Laurentian University			t
+108	105	7	\N	\N	\N	\N	MEDIACEN	Instructional Media Centre			t
+103	105	7	1	1	1	1	OSUL	J.N. Desmarais Library			t
+107	105	7	\N	\N	\N	\N	SUDBURY	University of Sudbury			t
+104	105	7	1	1	1	1	HUNTINGTON	Huntington College Library			t
+117	105	7	\N	\N	\N	\N	MEDB	Mining and the Environment Database			t
+1	\N	1	1	1	1	1	CONIFER	Conifer			t
+102	1	2	1	1	1	1	LAURSYS	Laurentian System			t
+106	1	2	\N	\N	\N	\N	WINDSYS	Windsor System			t
+109	106	3	\N	\N	\N	\N	LEDDY	Leddy Library			t
+112	102	3	\N	\N	\N	\N	ARTGALL	Art Gallery of Sudbury			t
+113	102	3	\N	\N	\N	\N	CFOF	Centre Franco-Ontarien de Folklore			t
+116	102	3	\N	\N	\N	\N	SAH	Sault Area Hospital			t
+118	102	3	\N	\N	\N	\N	MNDM	Mines Library, Willet Green Miller Centre			t
+119	102	3	\N	\N	\N	\N	FALCON	Xstrata Process Support Centre Library, Falconbridge			t
+120	102	3	\N	\N	\N	\N	INCO	Vale Inco			t
+122	106	3	\N	\N	\N	\N	WINDLAQ	Paul Martin Law Library			t
+111	1	2	\N	\N	\N	\N	ALGOMASYS	Algoma System	\N	\N	t
+124	111	3	\N	\N	\N	\N	ALGOMA	Algoma University, Wishart Library			t
+125	1	2	\N	\N	\N	\N	OSM	NOHIN	\N	\N	t
+126	125	3	\N	\N	\N	\N	NOSMW	Northern Ontario School of Medicine (West)	\N	\N	t
+110	125	3	\N	\N	\N	\N	NOSME	Northern Ontario School of Medicine (East)			t
+114	102	6	\N	\N	\N	\N	HEARSTSYS	Université de Hearst			t
+127	114	7	\N	\N	\N	\N	HEARST	Hearst, Bibliothèque Maurice-Saulnier	\N	\N	t
+128	114	7	\N	\N	\N	\N	KAP	Hearst Kapuskasing, Centre de Ressources	\N	\N	t
+129	114	7	\N	\N	\N	\N	TIMMINS	Hearst Timmins, Centre de Ressources	\N	\N	t
+130	105	7	\N	\N	\N	\N	LUEDUC	School of Education, Curriculum Resource Centre	\N	\N	t
+131	105	7	\N	\N	\N	\N	LUMUSIC	School of Education, Music Resource Centre	\N	\N	t
+132	105	7	\N	\N	\N	\N	EDUCATION	Laboratoire de didactiques, E.S.E.	\N	\N	t
+\.
+
+
+
+--
+-- Data for Name: org_unit_type; Type: TABLE DATA; Schema: actor; Owner: evergreen
+--
+
+COPY org_unit_type (id, name, opac_label, depth, parent, can_have_vols, can_have_users) FROM stdin;
+1	Consortium	Everywhere	0	\N	f	f
+2	System	Local Library System	1	1	f	f
+4	Sub-lib	This Specialized Library	3	3	t	t
+5	Bookmobile	Your Bookmobile	3	3	t	t
+7	University-Library	University Library	3	6	t	t
+3	Branch	This Branch	2	2	t	t
+6	University	University System	2	2	t	t
+\.
+
+
+--
+-- PostgreSQL database dump complete
+--
+
+SELECT SETVAL('actor.org_unit_id_seq', (SELECT MAX(id) FROM actor.org_unit));

Added: conifer/trunk/migration-scripts/windsor_import.pl
===================================================================
--- conifer/trunk/migration-scripts/windsor_import.pl	                        (rev 0)
+++ conifer/trunk/migration-scripts/windsor_import.pl	2009-03-06 17:25:22 UTC (rev 141)
@@ -0,0 +1,94 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+
+=head1 Automated processing of Windsor system bibliographic records
+
+First we split the records into many smaller files (defined by $chunksize),
+then process a fraction of the records (defined by 1/$denominator) from
+across the set of files.
+
+=cut
+
+my $chunk_size = 1000;
+my $chunk_dir = "chunks";
+my $chunk_prefix = 'chunk_';
+my $denominator = 20;
+
+my $marc = 'windsor_bibs.marc';
+my $xml_file = 'windsor_bibs.xml';
+my $bre_file = 'bibs.bre';
+my $ingest_file = 'bibs.ingest';
+my $loader_prefix = 'windsor_load';
+my $tcn_dumpfile = 'tcn.dump';
+my $script_dir = '/home/lauadmin/Evergreen-trunk/Open-ILS/src/extras/import/';
+my $db_user = 'evergreen';
+my $db_pw = '';
+my $db_host = '';
+my $db_name = '';
+
+my $input_files;
+
+convert_to_marcxml("false");
+process_bibs("--tcnfield 001 --idfield 001");
+
+=over
+
+=item convert_to_marcxml(is_marc8)
+
+=back
+
+=cut
+sub convert_to_marcxml {
+	my $is_marc8 = shift;
+	my $marc8_to_utf8;
+
+=over
+
+Split the files up into chunks
+
+=back
+
+=cut
+	if (!-d $chunk_dir) {
+		mkdir($chunk_dir);
+	}
+
+	system("yaz-marcdump -C $chunk_size -s chunks/$chunk_prefix $marc > /dev/null");
+
+=over
+
+Convert selected sample of records to MARC21XML
+
+=back
+
+=cut
+	my @files = glob("$chunk_dir/$chunk_prefix\*");
+
+	foreach my $i (1..$denominator) {
+		my $filenumber = sprintf("%07i", (scalar(@files) / $denominator * $i) - 1);
+		$input_files .= "$chunk_dir/$chunk_prefix$filenumber ";
+	}
+	if ($is_marc8) { 
+		$marc8_to_utf8 = '-f MARC-8 -t UTF-8 -l 9=97';
+	}
+	system("yaz-marcdump -i marc -o marcxml $marc8_to_utf8 $input_files > $xml_file");
+}
+
+=over
+
+=item process_bibs(marc2bre_options)
+
+Starting with a set of MARC21XML records, these commands generate a set of
+SQL files suitable for loading into an Evergreen system.
+
+=back
+
+=cut
+sub process_bibs {
+	my $marc2bre_options = shift;
+
+	system("perl $script_dir/windsor_marc2bre.pl --marctype XML --tcn_dumpfile $tcn_dumpfile --db_user $db_user --db_host $db_host --db_pw $db_pw --db_name $db_name $marc2bre_options $xml_file > $bre_file 2> marc2bre.err");
+	system("perl $script_dir/direct_ingest.pl $bre_file > $ingest_file 2> ingest.err");
+	system("perl $script_dir/parallel_pg_loader.pl --output $loader_prefix -or bre -or mrd -or mfr -or mtfe -or mafe -or msfe -or mkfe -or msefe -a mrd -a mfr -a mtfe -a mafe -a msfe -a mkfe -a msefe < $ingest_file 2> loader.err");
+}



More information about the open-ils-commits mailing list