Professional Documents
Culture Documents
Inserts
Inserts
*====================================INSERTS=======================================
==*/
/*GEO COUNTRY*/
INSERT INTO geo_country(code_country,code_phone,name) VALUES
('EC','+593','Ecuador');
INSERT INTO geo_country(code_country,code_phone,name) VALUES
('CO','+57','Colombia');
INSERT INTO geo_country(code_country,code_phone,name) VALUES ('PE','+51','Peru');
INSERT INTO geo_country(code_country,code_phone,name) VALUES ('MX','+52','Mexico');
INSERT INTO geo_country(code_country,code_phone,name) VALUES
('AR','+54','Argentina');
/*GEO STRUCTURE*/
INSERT INTO geo_structure(geo_level,code_country,name) VALUES (1,'EC','Province');
INSERT INTO geo_structure(geo_level,code_country,name) VALUES (2,'EC','Canton');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Arenillas','07','02');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Balsas','07','04');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Chilla','07','05');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'El Guabo','07','06');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Huaquillas','07','07');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Las Lajas','07','14');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Machala','07','01');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Marcabelí','07','08');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Pasaje','07','09');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Piñas','07','10');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Santa Rosa','07','12');
INSERT INTO
geo_location(geo_code_location_parent,code_country,geo_level,name,phone_code_area,z
ip_code) VALUES (7,'EC',2,'Zaruma','07','13');
/*INTEREST RATE*/
INSERT INTO interest_rate(code_interest_rate,name,type,calc_base) VALUES
('9a08256b','MUNDIALIST','PAS','360/12');
INSERT INTO interest_rate(code_interest_rate,name,type,calc_base) VALUES
('fe8f73bd','DAYLY','PAS','365/12');
INSERT INTO interest_rate(code_interest_rate,name,type,calc_base) VALUES
('76a3a2fd','MONTHLY','PAS','365/12');
INSERT INTO interest_rate(code_interest_rate,name,type,calc_base) VALUES
('a9b2b7db','YEARLY','PAS','365/12');
INSERT INTO interest_rate(code_interest_rate,name,type,calc_base) VALUES
('9e787f92','UNIVERSITY','PAS','360/12');
/*INTEREST_RATE_LOG*/
INSERT INTO
interest_rate_log(code_interest_log,code_interest_rate,value,start_date,end_date,st
atus) VALUES ('6224c957','9a08256b',100.00,'2022-11-19','2022-12-25','ACT');
INSERT INTO
interest_rate_log(code_interest_log,code_interest_rate,value,start_date,end_date,st
atus) VALUES ('7c114b11','fe8f73bd',90.50,'2021-12-09','2021-12-09','ACT');
INSERT INTO
interest_rate_log(code_interest_log,code_interest_rate,value,start_date,end_date,st
atus) VALUES ('e5512f84','76a3a2fd',84.75,'2022-10-01','2022-11-10','ACT');
INSERT INTO
interest_rate_log(code_interest_log,code_interest_rate,value,start_date,end_date,st
atus) VALUES ('4bbf3b65','a9b2b7db',35.33,'2021-05-01','2023-01-01','ACT');
INSERT INTO
interest_rate_log(code_interest_log,code_interest_rate,value,start_date,end_date,st
atus) VALUES ('wbbasb65','9e787f92',33.33,'2021-05-01','2023-01-01','ACT');
/*BANK ENTITY*/
INSERT INTO bank_entity(code_bank_entity,code_bank_international,name) VALUES
('c2d9e5ed9e6863d5','BANQUITECXXX','BanQuito');
/*BRANCH*/
INSERT INTO
branch(code_branch,code_bank_entity,code_location,code_international_branch,name)
VALUES ('BPP','c2d9e5ed9e6863d5',17,'BANCP123','BanQuito San Luis');
INSERT INTO
branch(code_branch,code_bank_entity,code_location,code_international_branch,name)
VALUES ('BPA','c2d9e5ed9e6863d5',18,'BANPR123','BanQuito Ambato');
INSERT INTO
branch(code_branch,code_bank_entity,code_location,code_international_branch,name)
VALUES ('BDP','c2d9e5ed9e6863d5',20,'BANPA123','BanQuito San Cristobal');
INSERT INTO
branch(code_branch,code_bank_entity,code_location,code_international_branch,name)
VALUES ('BIP','c2d9e5ed9e6863d5',17,'BANCI123','BanQuito Villaflora');
INSERT INTO
branch(code_branch,code_bank_entity,code_location,code_international_branch,name)
VALUES ('BIG','c2d9e5ed9e6863d5',18,'BANCI123','BanQuito Guayaquil');
/*CLIENT NATURALS*/
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1723447361','Alvarez','Sebastian','Alvarez
Sebastian','jsalvarez4@espe.edu.ec','1999-05-23','M','ioet','Software Development
Consultancy','ACT','2022-11-20 07:55:22','2022-11-20
07:55:22','c0e79e0b2ee4bf609dde55000d44ee936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4242V4243','Ecuadorian','SIN','400-999','','','','','','Software
Engineering');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1726619925','Orellana','Daniela','Orellana
Daniela','deorellana4@espe.edu.ec','2000-10-25','F','Asistecooper','Software
Development Consultancy','ACT','2022-11-20 07:55:22','2022-11-20
07:55:22','c0e79e0b2ee4bf609dde55111d44ee936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4242V4244','Ecuadorian','SIN','400-999','','','','','','Software Engineering
');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1721337259','Zurita','Diego','Zurita
DIego','dazurita3@espe.edu.ec','1993-04-09','M','BOU','Software Development
Consultancy','ACT','2022-11-20 07:55:22','2022-11-20
07:55:22','c0e79e0b2ee4bf609dde55000d44ee936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4242V4245','Ecuadorian','SIN','400-999','','','','','','Software Engineering
');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1721478442','Galarza','Jorge','Galarza
Jorge','jlgalarza3@espe.edu.ec','2000-06-14','M','stack','Software Development
Consultancy','ACT','2022-11-18 07:55:22','2022-11-20
07:55:22','6b65c213af00052bea5d57801f93d78068e9e45590c88d01ef55a31b6a6f1d75','DEP',
'EC','V4162V4143','Ecuadorian','SIN','400-999','','','','','','Software Engineering
');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1726018094','Puco','Carlos','Puco Carlos','capuco@espe.edu.ec','1998-
07-10','M','Banco Pichincha','Software Development','ACT','2022-11-20
07:55:22','2022-11-20
07:55:22','4df3dc68def077016030b6154e6a981f7fb76784a1ee1162da4d87b292493e81','DEP',
'EC','V1122V1133','Ecuadorian','SIN','400-999','','','','','','Software Engineering
');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1000688901','Teran','Piedad','Teran
Piedad','piedadteran10@gmail.com','1950-09-11','F','Edinacho','Printing
company','ACT','2022-11-20 07:55:22','2022-11-20
07:55:22','a7987ece703032e0a80c98479c3ef41c0e79e0b2ee4bf609dde55000d44ee936','RET',
'EC','V4452V4213','Ecuadorian','MAR','400-999','','','','','','Bachelor');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1714254503','Orellana','Daniela','Orellana
Daniela','deorellana@espe.edu.ec','2000-10-25','F','Asistecooper','Software
Development Consultancy','ACT','2022-11-20 07:59:22','2022-11-20
07:59:22','c0e79e0b2ee4bf609dde55000d44ff936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4242V4245','Ecuadorian','DIV','1000-2999','','','','','','Accountant');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1711628774','Elisa','Cruz','Cruz Elisa','ecruz@hotmail.com','1973-01-
10','F','ESPE','University','ACT','2022-11-20 07:55:22','2022-11-20
07:55:22','3a573f3efdcae8ebf6fd0a0945b05f1030fe82a391c89e028dbd1866d0af021f','DEP',
'EC','V4114V4111','Ecuadorian','MAR','1000-2999','','','','','','Agricultural Engin
eer');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1703213213','Zurita','Patricio','Zurita
Patricio','pzurita@espe.edu.ec','1950-07-17','M','','retired','ACT','2022-11-20
07:55:22','2022-11-20
07:55:22','c0e79e0b2ee4bf609dde55000d44ee936a7987ece703032e0a80c98479c3ef41','RET',
'EC','V4242V4247','Ecuadorian','SIN','400-999','','','','','','Bachelor');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('NAT','DNI','1726018094','Puco','Carlos','Puco
Carlos','capuco@espe.edu.ec','19998-07-21','M','','retired','ACT','2022-11-20
07:55:22','2022-11-20
07:55:22','bd51e45aba98eabb609bff373f1f2005b40f735d15c9ab9937caaa30303099eb','RET',
'EC','V1122V1133','Ecuadorian','SIN','400-999','','','','','','Bachelor');
/*CLIENT BUSINESS*/
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('BUS','RUC','1723447361001','Alvarez','Sebastian','Alvarez
Sebastian','sebask8er.alvarez@gmail.com','1999-05-23','M','ioet','Software
Development Consultancy','ACT','2022-11-18 17:55:20','2022-11-18
17:55:20','c0e79e0b2ee4bf609dde55000d44ee936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4242V4243','Ecuadorian','SIN','+3000','https://
listerineh.vercel.app/','https://listerineh.vercel.app/','https://
listerineh.vercel.app/','https://listerineh.vercel.app/','https://
listerineh.vercel.app/','Software Engineering');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('BUS','RUC','1726619925001','Perez','Felipe','Perez
Felipe','orellanadaniela1111@gmail.com','1999-10-27','F','Vercel','Software
Development Consultancy','ACT','2022-11-18 19:55:20','2022-11-18
19:55:20','c0e79e0b2ee4bf609dde55000d44ee936a7987ece703032e0b80c98479c3ef41','DEP',
'EC','V4252V4243','Ecuadorian','SIN','+3000','https://templates.business-in-a-
box.com/imgs/250px/2861.png','https://templates.business-in-a-box.com/imgs/250px/
2861.png','https://templates.business-in-a-box.com/imgs/250px/2861.png','https://
templates.business-in-a-box.com/imgs/250px/2861.png','https://templates.business-
in-a-box.com/imgs/250px/2861.png','Software Engineering');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('BUS','RUC','1721337259001','Zurita','Diego','Zurita
Diego','diegoalexandermh@gmail.com','1993-04-09','M','BOU Company','Software
Development Consultancy','ACT','2022-11-18 17:55:20','2022-11-18
17:55:20','c0e79e0b2ee4bf609dde55000d44ee936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4242V4243','Ecuadorian','SIN','+3000','https://boucompany.com/wp-content/
uploads/2021/04/Logo-retina.png','https://boucompany.com/wp-content/uploads/
2021/04/Logo-retina.png','https://boucompany.com/wp-content/uploads/2021/04/Logo-
retina.png','https://boucompany.com/wp-content/uploads/2021/04/Logo-
retina.png','https://boucompany.com/wp-content/uploads/2021/04/Logo-
retina.png','Software Engineering');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('BUS','RUC','1711628795001','John','Doe','Doe John','jdoe@gmail.com','1978-05-
23','M','imope','Lawyer Office','ACT','2022-11-17 17:55:20','2022-11-18
17:55:20','eee48e0b2ee4bf609dde55000d44ee936a7987ece703032e0a80c98479c3ef41','DEP',
'EC','V4212V4111','Ecuadorian','MAR','+3000','https://n9.cl/jv0qw','https://n9.cl/
jv0qw','https://n9.cl/jv0qw','https://n9.cl/jv0qw','https://n9.cl/jv0qw','Lawyer');
INSERT INTO
client(client_type,identification_type,identification,lastname,name,fullname,email,
birth_date,gender,company_name,company_type,status,create_date,last_status_date,sig
nature,work_status,tax_payment_place,fingerprint,nationality,marital_status,monthly
_avg_income,basic_services_document,income_tax_document,articles_association_doc,ti
n_document,app_legal_represent_doc,career) VALUES
('BUS','RUC','1727610026258','Torres','Elvia','Torres
Elvia','elviaLogrono258@gmail.com','1996-10-27','F','TAME','Linea Aérea del
Ecuador','ACT','2022-11-18 19:55:20','2022-11-18
19:55:20','fca6fa0f1b7a01c81aaba16c4b76b88a2efd16072e4d6fd87cea6971b7df78bc','DEP',
'EC','V1147v8963','Ecuadorian','SIN','+3000','https://www.yumpu.com/es/image/
facebook/24711687.jpg','https://www.yumpu.com/es/image/facebook/
31312286.jpg','https://img.yumpu.com/32417775/1/500x640/proyecto-de-modelo-de-
bases-licitacion-publica-pemex-gas-y-.jpg','https://d20ohkaloyme4g.cloudfront.net/
img/document_thubnails/e68bdbe7c71b5f2eb3192b288da51271/
thumb_1200_1698.png','https://templates.business-in-a-box.com/imgs/250px/
2861.png','Linea Aérea del Ecuador');
/*RELATIONSHIP_CLIENT*/
INSERT INTO
relationship_client(code_client,code_client_relationship,relationship_type,start_da
te,end_date) VALUES (12,1,'LEGAL REPRESENTATIVE','2021-09-28','2022-09-28');
INSERT INTO
relationship_client(code_client,code_client_relationship,relationship_type,start_da
te,end_date) VALUES (13,1,'LEGAL REPRESENTATIVE','2021-12-25','2022-12-25');
INSERT INTO
relationship_client(code_client,code_client_relationship,relationship_type,start_da
te,end_date) VALUES (14,1,'LEGAL REPRESENTATIVE','2022-05-28','2023-05-28');
INSERT INTO
relationship_client(code_client,code_client_relationship,relationship_type,start_da
te,end_date) VALUES (15,2,'LEGAL REPRESENTATIVE','2022-04-28','2023-04-28');
/*CLIENT_ADDRESS*/
INSERT INTO
client_address(code_client,code_location,address_line_one,address_line_two,latitude
,longitude) VALUES (1,17,'Andres Artieda','S13-25','-0.2597678954965482','-
78.53289911861611');
INSERT INTO
client_address(code_client,code_location,address_line_one,address_line_two,latitude
,longitude) VALUES (2,17,'Mariscal Sucre','S13-28','-0.24629574559199313','-
78.53430276377712');
INSERT INTO
client_address(code_client,code_location,address_line_one,address_line_two,latitude
,longitude) VALUES (3,13,'Convento','S13-29','-0.27830499739595055','-
80.03493444056862');
INSERT INTO
client_address(code_client,code_location,address_line_one,address_line_two,latitude
,longitude) VALUES (4,13,'Chone','S13-26','-0.7044174031737952','-
80.09120013016704');
/*SEGMENT*/
INSERT INTO segment(code_segment,code_client,name,status) VALUES
('14a72509d460fb0a',1,'VIP','ACT');
INSERT INTO segment(code_segment,code_client,name,status) VALUES
('387fbca938843a72',2,'COMMON','ACT');
INSERT INTO segment(code_segment,code_client,name,status) VALUES
('82ef6a4c42247ddb',3,'MASSIVE','ACT');
/*PRODUCT TYPE*/
INSERT INTO
product_type(code_product_type,name,type,allow_earn_interest,allow_gen_acc_state,te
mporality_interest) VALUES ('55430ea45208c7c3','SAVING
ACCOUNT','NAT','Y','Y','DLY');
INSERT INTO
product_type(code_product_type,name,type,allow_earn_interest,allow_gen_acc_state,te
mporality_interest) VALUES ('dce4242dbebff44f','PROGRAMMED
SAVINGS','NAT','Y','Y','MON');
INSERT INTO
product_type(code_product_type,name,type,allow_earn_interest,allow_gen_acc_state,te
mporality_interest) VALUES ('3756745f3752f393','CHECKING
ACCOUNT','NAT','Y','Y','MON');
/*PRODUCT*/
INSERT INTO
product(code_product,code_product_type,code_segment,code_interest_rate,name,status,
start_date,end_date,temporality_account_state,use_checkbook,allow_transferences,typ
e_client,min_opening_balance) VALUES
('1ef4754930cced7b32890769c9b02a30','55430ea45208c7c3','387fbca938843a72','76a3a2fd
','SIMPLE SAVING ACCOUNT','ACT','2022-11-21',null,'MON','N','Y','NAT',10.00);
INSERT INTO
product(code_product,code_product_type,code_segment,code_interest_rate,name,status,
start_date,end_date,temporality_account_state,use_checkbook,allow_transferences,typ
e_client,min_opening_balance) VALUES
('377506787e217105a4ddd77cc02c4e89','55430ea45208c7c3','387fbca938843a72','9a08256b
','MUNDIALIST SAVING ACCOUNT','ACT','2022-11-21',null,'MON','N','Y','NAT',20.00);
INSERT INTO
product(code_product,code_product_type,code_segment,code_interest_rate,name,status,
start_date,end_date,temporality_account_state,use_checkbook,allow_transferences,typ
e_client,min_opening_balance) VALUES
('d3a717cec471962ee09f8aea233a5eb9','dce4242dbebff44f','387fbca938843a72','9a08256b
','MUNDIALIST PROGRAMMED SAVINGS','ACT','2022-11-
21',null,'MON','N','Y','NAT',100.00);
INSERT INTO
product(code_product,code_product_type,code_segment,code_interest_rate,name,status,
start_date,end_date,temporality_account_state,use_checkbook,allow_transferences,typ
e_client,min_opening_balance) VALUES
('084553c7ba6e517ff20beda9da7f7c2f','3756745f3752f393','387fbca938843a72','fe8f73bd
','SIMPLE CHECKING ACCOUNT','ACT','2022-11-21',null,'MON','N','Y','NAT',50.00);
INSERT INTO
product(code_product,code_product_type,code_segment,code_interest_rate,name,status,
start_date,end_date,temporality_account_state,use_checkbook,allow_transferences,typ
e_client,min_opening_balance) VALUES
('4551d2effd49909755e25b0172762546','3756745f3752f393','387fbca938843a72','9e787f92
','UNIVERSITY CHECKING ACCOUNT','ACT','2022-11-
21',null,'MON','N','Y','NAT',120.00);
INSERT INTO
product(code_product,code_product_type,code_segment,code_interest_rate,name,status,
start_date,end_date,temporality_account_state,use_checkbook,allow_transferences,typ
e_client,min_opening_balance) VALUES
('85b00b5af5d3864346f41eae1d4e8711','55430ea45208c7c3','387fbca938843a72','9e787f92
','UNIVERSITY SAVING ACCOUNT','ACT','2022-11-21',null,'MON','N','Y','NAT',100.00);
/*ACCOUNT*/
INSERT INTO
account(code_product,code_branch,code_internal_account,code_international_account,s
tatus,create_date,last_update_date,cancel_date,present_balance,available_balance)
VALUES
('1ef4754930cced7b32890769c9b02a30','BPP','18005643170','EC79023531411118005643170'
,'ACT','2018-08-20','2018-08-20',null,425.25,100.10);
INSERT INTO
account(code_product,code_branch,code_internal_account,code_international_account,s
tatus,create_date,last_update_date,cancel_date,present_balance,available_balance)
VALUES
('1ef4754930cced7b32890769c9b02a30','BPA','18006748110','EC79023531411118006748110'
,'ACT','2019-01-03','2020-01-03','2022-01-04',0,0);
INSERT INTO
account(code_product,code_branch,code_internal_account,code_international_account,s
tatus,create_date,last_update_date,cancel_date,present_balance,available_balance)
VALUES
('1ef4754930cced7b32890769c9b02a30','BIP','18003127','EC79023531411118003127','ACT'
,'2020-06-15','2021-06-16',null,1425.25,800);
INSERT INTO
account(code_product,code_branch,code_internal_account,code_international_account,s
tatus,create_date,last_update_date,cancel_date,present_balance,available_balance)
VALUES
('1ef4754930cced7b32890769c9b02a30','BDP','18002347816','EC79023531411118002347816'
,'ACT','2017-01-18','2020-01-18','2021-05-07',0,0);
INSERT INTO
account(code_product,code_branch,code_internal_account,code_international_account,s
tatus,create_date,last_update_date,cancel_date,present_balance,available_balance)
VALUES
('1ef4754930cced7b32890769c9b02a30','BIP','18009138111','EC79023531411118009138111'
,'ACT','2015-11-15','2018-11-15','2020-11-15',42005.25,10070.50);
/*TRANSACTION */
INSERT INTO
transaction(code_account,code_unique_transaction,type,reference,value,create_date,e
xecute_date,status) VALUES
(1,'216eb62cb3046fff2f9434b2c1e672707fcab8d3848840a8ada9bec5221056d0','DEB','850947
33',20,'2022-11-15','2022-11-16','ACT');
INSERT INTO
transaction(code_account,code_unique_transaction,type,reference,value,create_date,e
xecute_date,status) VALUES
(2,'92b8253d811e1b1a849fda73a95305362726b68a6587623f415262e93136e7a0','DEB','891946
12',2000,'2022-11-18','2022-11-21','ACT');
INSERT INTO
transaction(code_account,code_unique_transaction,type,reference,value,create_date,e
xecute_date,status) VALUES
(3,'638cb4340fc441f3d59897bbe28a3cd442f38e758c38876c4dfa885900ea5198','DEB','851311
84',105.35,'2022-10-10','2022-11-16','ACT');
INSERT INTO
transaction(code_account,code_unique_transaction,type,reference,value,create_date,e
xecute_date,status) VALUES
(4,'09535f0422296b927cd8d16fdbeb484dc73d662e94daf100d24216c45941b66a','DEB','801901
91',20000,'2020-01-21','2020-01-22','ACT');
INSERT INTO
transaction(code_account,code_unique_transaction,type,reference,value,create_date,e
xecute_date,status) VALUES
(5,'05b6fcccfe9a8f958143bbaea84ecaeeeaff13b7547a0206c7765e0dc05bd895','DEB','851113
18',100,'2021-05-20','2021-05-20','ACT');
/*ASSOCIATED SERVICE*/
INSERT INTO
associated_service(code_associated_service,name,allow_payment,payment_method,charge
_vat,fee) VALUES ('0fa07014cf2b56f9','CHECKBOOK','Y','TRX','Y',25.12);
INSERT INTO
associated_service(code_associated_service,name,allow_payment,payment_method,charge
_vat,fee) VALUES ('f2bd0b29eebef2f2','DEBIT CARD','Y','FEE','Y',1.02);
INSERT INTO
associated_service(code_associated_service,name,allow_payment,payment_method,charge
_vat,fee) VALUES ('7ffba722b31f9f22','MOBILE BANKING','N',null,'N',0);
INSERT INTO
associated_service(code_associated_service,name,allow_payment,payment_method,charge
_vat,fee) VALUES ('503d8be1e443c5f2','WEB BANKING','N',null,'N',0);
/*ACCOUNT CLIENT*/
INSERT INTO account_client(code_account,code_client,create_date) VALUES (1,1,'2022-
11-21 07:22:05');
INSERT INTO account_client(code_account,code_client,create_date) VALUES (2,2,'2022-
11-21 07:22:05');
INSERT INTO account_client(code_account,code_client,create_date) VALUES (3,3,'2022-
11-21 07:22:05');
INSERT INTO account_client(code_account,code_client,create_date) VALUES (4,4,'2022-
11-21 07:22:05');
INSERT INTO account_client(code_account,code_client,create_date) VALUES (5,5,'2022-
11-21 07:22:05');
/*ACCOUNT SIGNATURE*/
INSERT INTO
account_signature(code_account,code_client,role,status,create_date,start_date,end_d
ate) VALUES (1,1,'PARTNERSHIP','ACT','2022-11-21 07:01:02','2022-11-21
07:01:02',null);
INSERT INTO
account_signature(code_account,code_client,role,status,create_date,start_date,end_d
ate) VALUES (2,2,'PARTNERSHIP','ACT','2022-11-21 07:01:02','2022-11-21
07:01:02',null);
INSERT INTO
account_signature(code_account,code_client,role,status,create_date,start_date,end_d
ate) VALUES (3,3,'PARTNERSHIP','ACT','2022-11-21 07:01:02','2022-11-21
07:01:02',null);
INSERT INTO
account_signature(code_account,code_client,role,status,create_date,start_date,end_d
ate) VALUES (4,4,'PARTNERSHIP','ACT','2022-11-21 07:01:02','2022-11-21
07:01:02',null);
INSERT INTO
account_signature(code_account,code_client,role,status,create_date,start_date,end_d
ate) VALUES (5,5,'PARTNERSHIP','ACT','2022-11-21 07:01:02','2022-11-21
07:01:02',null);
/*HOLIDAY*/
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-02-
28',1,'CARNIVAL','NAT');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-04-15',1,'GOOD
FRIDAY','NAT');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-04-
18',1,'EASTER','NAT');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-05-02',1,'WORKERS
DAY','REG');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-05-23',1,'PICHINCHA
BATTLE','REG');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-07-25',1,'GUAYAQUIL
FOUNDATION','NAT');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-08-
12',1,'INDEPENDENCE DAY','NAT');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-11-03',1,'CUENCA
DAY','REG');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-11-04',1,'ALL SOULS
DAY','NAT');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-12-05',1,'QUITO
DAY','REG');
INSERT INTO holiday(date,code_location,name,type) VALUES ('2022-12-25',1,'CHRISTMAS
DAY','NAT');
/*REFERENCE*/
INSERT INTO reference(code_client,name,phone,related) VALUES (1,'Jorge
Galarza','0992507724','BROTHER');
INSERT INTO reference(code_client,name,phone,related) VALUES (2,'Daniela
Orellana','0963391587','COUSIN');
INSERT INTO reference(code_client,name,phone,related) VALUES (1,'Diego
Zurita','0992867724','BROTHER');
INSERT INTO reference(code_client,name,phone,related) VALUES (3,'Sebastian
Alvarez','0992507734','COUSIN');
INSERT INTO reference(code_client,name,phone,related) VALUES (4,'Carlos
Puco','0943507724','UNCLE');