2017-10-27 11:39:50 +00:00
INSERT INTO ` account ` . ` role ` ( ` id ` , ` name ` , ` description ` )
2017-10-18 12:48:39 +00:00
VALUES
2017-10-27 11:39:50 +00:00
( 1 , ' employee ' , ' Privilegios básicos de un empleado ' ) ,
( 2 , ' customer ' , ' Privilegios básicos de un cliente ' ) ,
( 3 , ' agency ' , ' Consultar tablas de predicciones de bultos ' ) ,
( 5 , ' administrative ' , ' Tareas relacionadas con la contabilidad ' ) ,
( 6 , ' guest ' , ' Privilegios para usuarios sin cuenta ' ) ,
( 9 , ' developer ' , ' Desarrolladores del sistema ' ) ,
( 11 , ' account ' , ' Privilegios relacionados con el login ' ) ,
( 13 , ' teamBoss ' , ' Jefe de departamento ' ) ,
( 14 , ' manageEmployee ' , ' Privilegios para gestión de empleados ' ) ,
( 15 , ' logistic ' , ' Departamento de logística ' ) ,
( 16 , ' logisticBoss ' , ' Jefe del departamento de logística ' ) ,
( 17 , ' adminBoss ' , ' Jefe del departamento de administración ' ) ,
( 18 , ' salesPerson ' , ' Departamento de ventas ' ) ,
( 19 , ' salesBoss ' , ' Jefe del departamento de ventas ' ) ,
( 20 , ' manager ' , ' Departamento de gerencia ' ) ,
( 21 , ' salesAssistant ' , ' Jefe auxiliar de ventas ' ) ,
( 22 , ' teamManager ' , ' Jefe de departamento con privilegios de auxiliar de venta. ' ) ,
( 30 , ' financialBoss ' , ' Director finaciero ' ) ,
( 31 , ' freelancer ' , ' Trabajadores por cuenta ajena ' ) ,
( 32 , ' ett ' , ' Trabajadores de empresa temporal ' ) ,
( 33 , ' root ' , ' Rol con todos los privilegios ' ) ;
UPDATE ` account ` . ` role ` SET ` id ` = 0 WHERE ` id ` = 33 ;
INSERT INTO ` account ` . ` roleRole ` ( ` role ` , ` inheritsFrom ` )
VALUES
( 0 , 0 ) ,
( 0 , 1 ) ,
( 0 , 2 ) ,
( 0 , 3 ) ,
( 0 , 5 ) ,
( 0 , 6 ) ,
( 0 , 9 ) ,
( 0 , 11 ) ,
( 0 , 13 ) ,
( 0 , 14 ) ,
( 0 , 15 ) ,
( 0 , 16 ) ,
( 0 , 17 ) ,
( 0 , 18 ) ,
( 0 , 19 ) ,
( 0 , 20 ) ,
( 0 , 21 ) ,
( 0 , 22 ) ,
( 0 , 30 ) ,
( 0 , 31 ) ,
( 0 , 32 ) ,
( 1 , 1 ) ,
( 1 , 2 ) ,
( 1 , 3 ) ,
( 1 , 6 ) ,
( 1 , 11 ) ,
( 2 , 2 ) ,
( 2 , 6 ) ,
( 2 , 11 ) ,
( 3 , 3 ) ,
( 3 , 6 ) ,
( 3 , 11 ) ,
( 5 , 1 ) ,
( 5 , 2 ) ,
( 5 , 3 ) ,
( 5 , 5 ) ,
( 5 , 6 ) ,
( 5 , 11 ) ,
( 5 , 13 ) ,
( 5 , 14 ) ,
( 5 , 18 ) ,
( 5 , 19 ) ,
( 5 , 21 ) ,
( 6 , 6 ) ,
( 9 , 0 ) ,
( 9 , 1 ) ,
( 9 , 2 ) ,
( 9 , 3 ) ,
( 9 , 5 ) ,
( 9 , 6 ) ,
( 9 , 9 ) ,
( 9 , 11 ) ,
( 9 , 13 ) ,
( 9 , 14 ) ,
( 9 , 15 ) ,
( 9 , 16 ) ,
( 9 , 17 ) ,
( 9 , 18 ) ,
( 9 , 19 ) ,
( 9 , 20 ) ,
( 9 , 21 ) ,
( 9 , 22 ) ,
( 9 , 30 ) ,
( 9 , 31 ) ,
( 9 , 32 ) ,
( 11 , 6 ) ,
( 11 , 11 ) ,
( 13 , 1 ) ,
( 13 , 2 ) ,
( 13 , 3 ) ,
( 13 , 6 ) ,
( 13 , 11 ) ,
( 13 , 13 ) ,
( 13 , 14 ) ,
( 14 , 14 ) ,
( 15 , 1 ) ,
( 15 , 2 ) ,
( 15 , 3 ) ,
( 15 , 6 ) ,
( 15 , 11 ) ,
( 15 , 15 ) ,
( 16 , 1 ) ,
( 16 , 2 ) ,
( 16 , 3 ) ,
( 16 , 6 ) ,
( 16 , 11 ) ,
( 16 , 13 ) ,
( 16 , 14 ) ,
( 16 , 15 ) ,
( 16 , 16 ) ,
( 17 , 1 ) ,
( 17 , 2 ) ,
( 17 , 3 ) ,
( 17 , 5 ) ,
( 17 , 6 ) ,
( 17 , 11 ) ,
( 17 , 13 ) ,
( 17 , 14 ) ,
( 17 , 17 ) ,
( 17 , 18 ) ,
( 17 , 19 ) ,
( 17 , 20 ) ,
( 17 , 21 ) ,
( 18 , 1 ) ,
( 18 , 2 ) ,
( 18 , 3 ) ,
( 18 , 6 ) ,
( 18 , 11 ) ,
( 18 , 18 ) ,
( 19 , 1 ) ,
( 19 , 2 ) ,
( 19 , 3 ) ,
( 19 , 6 ) ,
( 19 , 11 ) ,
( 19 , 13 ) ,
( 19 , 14 ) ,
( 19 , 18 ) ,
( 19 , 19 ) ,
( 19 , 21 ) ,
( 20 , 1 ) ,
( 20 , 2 ) ,
( 20 , 3 ) ,
( 20 , 6 ) ,
( 20 , 11 ) ,
( 20 , 13 ) ,
( 20 , 14 ) ,
( 20 , 20 ) ,
( 21 , 1 ) ,
( 21 , 2 ) ,
( 21 , 3 ) ,
( 21 , 6 ) ,
( 21 , 11 ) ,
( 21 , 18 ) ,
( 21 , 21 ) ,
( 22 , 1 ) ,
( 22 , 2 ) ,
( 22 , 3 ) ,
( 22 , 6 ) ,
( 22 , 11 ) ,
( 22 , 13 ) ,
( 22 , 14 ) ,
( 22 , 18 ) ,
( 22 , 21 ) ,
( 22 , 22 ) ,
( 30 , 1 ) ,
( 30 , 2 ) ,
( 30 , 3 ) ,
( 30 , 5 ) ,
( 30 , 6 ) ,
( 30 , 11 ) ,
( 30 , 13 ) ,
( 30 , 14 ) ,
( 30 , 18 ) ,
( 30 , 19 ) ,
( 30 , 20 ) ,
( 30 , 21 ) ,
( 30 , 22 ) ,
( 30 , 30 ) ,
( 31 , 1 ) ,
( 31 , 2 ) ,
( 31 , 3 ) ,
( 31 , 6 ) ,
( 31 , 11 ) ,
( 31 , 31 ) ,
( 32 , 1 ) ,
( 32 , 2 ) ,
( 32 , 3 ) ,
( 32 , 6 ) ,
( 32 , 11 ) ,
( 32 , 32 ) ;
INSERT INTO ` account ` . ` roleInherit ` ( ` role ` , ` inheritsFrom ` )
VALUES
( 9 , 0 ) ,
( 5 , 1 ) ,
( 13 , 1 ) ,
( 15 , 1 ) ,
( 18 , 1 ) ,
( 31 , 1 ) ,
( 32 , 1 ) ,
( 1 , 2 ) ,
( 5 , 2 ) ,
( 1 , 3 ) ,
( 17 , 5 ) ,
( 30 , 5 ) ,
( 11 , 6 ) ,
( 1 , 11 ) ,
( 2 , 11 ) ,
( 3 , 11 ) ,
( 16 , 13 ) ,
( 17 , 13 ) ,
( 19 , 13 ) ,
( 20 , 13 ) ,
( 22 , 13 ) ,
( 5 , 14 ) ,
( 13 , 14 ) ,
( 16 , 15 ) ,
( 21 , 18 ) ,
( 5 , 19 ) ,
( 17 , 20 ) ,
( 30 , 20 ) ,
( 19 , 21 ) ,
( 22 , 21 ) ,
( 30 , 22 ) ;
INSERT INTO ` salix ` . ` ACL ` ( ` id ` , ` model ` , ` property ` , ` accessType ` , ` permission ` , ` principalType ` , ` principalId ` )
VALUES
2018-01-26 13:12:41 +00:00
( 1 , ' Account ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 2 , ' Account ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 3 , ' Address ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 4 , ' Address ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 5 , ' AgencyService ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 6 , ' AgencyService ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 7 , ' Client ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 8 , ' Client ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 9 , ' ClientObservation ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 10 , ' ClientObservation ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 11 , ' ContactChannel ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 12 , ' ContactChannel ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 13 , ' Employee ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 14 , ' PayMethod ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 15 , ' PayMethod ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 16 , ' FakeProduction ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 17 , ' Warehouse ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 18 , ' State ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 19 , ' FakeProduction ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 20 , ' TicketState ' , ' * ' , ' WRITE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 22 , ' TicketState ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 23 , ' TicketState ' , ' * ' , ' EXECUTE ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 24 , ' Delivery ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ,
( 25 , ' Zone ' , ' * ' , ' READ ' , ' ALLOW ' , ' ROLE ' , ' employee ' ) ;
INSERT INTO ` account ` . ` user ` ( ` id ` , ` name ` , ` password ` , ` role ` , ` active ` , ` email ` )
2017-10-18 12:48:39 +00:00
VALUES
2017-10-27 11:39:50 +00:00
( 1 , ' BruceWayne ' , ' ac754a330530832ba1bf7687f577da91 ' , 2 , 1 , ' BruceWayne@verdnatura.es ' ) ,
( 2 , ' PetterParker ' , ' ac754a330530832ba1bf7687f577da91 ' , 2 , 1 , ' PetterParker@verdnatura.es ' ) ,
( 3 , ' ClarkKent ' , ' ac754a330530832ba1bf7687f577da91 ' , 2 , 1 , ' ClarkKent@verdnatura.es ' ) ,
( 4 , ' TonyStark ' , ' ac754a330530832ba1bf7687f577da91 ' , 2 , 1 , ' TonyStark@verdnatura.es ' ) ,
( 5 , ' MaxEisenhardt ' , ' ac754a330530832ba1bf7687f577da91 ' , 2 , 1 , ' MaxEisenhardt@verdnatura.es ' ) ,
2017-12-05 14:28:48 +00:00
( 6 , ' DavidCharlesHaller ' , ' ac754a330530832ba1bf7687f577da91 ' , 18 , 1 , ' DavidCharlesHaller@verdnatura.es ' ) ,
2017-10-27 11:39:50 +00:00
( 7 , ' HankPym ' , ' ac754a330530832ba1bf7687f577da91 ' , 1 , 1 , ' HankPym@verdnatura.es ' ) ,
( 8 , ' CharlesXavier ' , ' ac754a330530832ba1bf7687f577da91 ' , 18 , 1 , ' CharlesXavier@verdnatura.es ' ) ,
2017-12-05 14:28:48 +00:00
( 9 , ' BruceBanner ' , ' ac754a330530832ba1bf7687f577da91 ' , 18 , 1 , ' BruceBanner@verdnatura.es ' ) ,
2018-01-03 11:00:59 +00:00
( 10 , ' JessicaJones ' , ' ac754a330530832ba1bf7687f577da91 ' , 9 , 1 , ' JessicaJones@verdnatura.es ' ) ,
2018-01-08 07:12:39 +00:00
( 11 , ' Cyborg ' , ' ac754a330530832ba1bf7687f577da91 ' , 1 , 1 , ' cyborg@verdnatura.es ' ) ;
2017-10-18 12:48:39 +00:00
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` country ` ( ` id ` , ` country ` , ` isUeeMember ` , ` code ` , ` currencyFk ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-02-07 15:45:40 +00:00
( 1 , ' España ' , 0 , ' ES ' , 1 ) ,
( 2 , ' Italia ' , 1 , ' IT ' , 1 ) ,
( 3 , ' Alemania ' , 1 , ' DE ' , 1 ) ,
( 4 , ' Rumania ' , 1 , ' RO ' , 1 ) ,
( 5 , ' Holanda ' , 1 , ' NL ' , 1 ) ,
( 30 , ' Francia ' , 1 , ' FR ' , 1 ) ;
2017-10-18 12:48:39 +00:00
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` warehouse ` ( ` id ` , ` name ` , ` isComparative ` , ` isInventory ` , ` isManaged ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-01-26 13:12:41 +00:00
( 1 , ' Warehouse One ' , 0 , 1 , 1 ) ,
( 2 , ' Warehouse Two ' , 0 , 1 , 1 ) ,
( 3 , ' Warehouse Three ' , 1 , 1 , 1 ) ,
( 4 , ' Warehouse Four ' , 1 , 1 , 1 ) ,
( 5 , ' Warehouse Five ' , 1 , 1 , 0 ) ;
2017-10-18 12:48:39 +00:00
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` warehouseAlias ` ( ` id ` , ` name ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' Main Warehouse ' ) ;
INSERT INTO ` vn ` . ` accountingType ` ( ` id ` , ` description ` )
VALUES
( 1 , ' Digital money ' ) ,
( 2 , ' Cash ' ) ,
( 3 , ' Card ' ) ,
( 4 , ' Stolen Money ' ) ,
( 5 , ' Miscellaneous ' ) ;
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` bank ` ( ` id ` , ` bank ` , ` account ` , ` cash ` , ` entityFk ` , ` isActive ` )
2017-10-18 12:48:39 +00:00
VALUES
( 8 , ' Pay on receipt ' , ' 0000000000 ' , 4 , 0 , 1 ) ;
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` agency ` ( ` id ` , ` name ` , ` warehouseFk ` , ` isVolumetric ` , ` bankFk ` , ` warehouseAliasFk ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' inhouse pickup ' , 1 , 0 , 8 , 1 ) ,
( 2 , ' Super-Man delivery ' , 1 , 0 , 8 , 1 ) ,
( 3 , ' Teleportation device ' , 1 , 0 , 8 , 1 ) ,
( 4 , ' Entanglement ' , 1 , 0 , 8 , 1 ) ,
( 5 , ' Quantum break device ' , 1 , 0 , 8 , 1 ) ,
( 6 , ' Walking ' , 1 , 0 , 8 , 1 ) ;
2018-01-26 13:12:41 +00:00
UPDATE ` vn ` . ` agencyMode ` SET ` id ` = 1 WHERE ` name ` = ' inhouse pickup ' ;
UPDATE ` vn ` . ` agencyMode ` SET ` id ` = 2 WHERE ` name ` = ' Super-Man delivery ' ;
UPDATE ` vn ` . ` agencyMode ` SET ` id ` = 3 WHERE ` name ` = ' Teleportation device ' ;
UPDATE ` vn ` . ` agencyMode ` SET ` id ` = 4 WHERE ` name ` = ' Entanglement ' ;
UPDATE ` vn ` . ` agencyMode ` SET ` id ` = 5 WHERE ` name ` = ' Quantum break device ' ;
UPDATE ` vn ` . ` agencyMode ` SET ` id ` = 6 WHERE ` name ` = ' Walking ' ;
2017-10-18 12:48:39 +00:00
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` payMethod ` ( ` id ` , ` name ` , ` graceDays ` , ` outstandingDebt ` , ` ibanRequired ` )
2017-10-18 12:48:39 +00:00
VALUES
2017-12-11 11:33:27 +00:00
( 1 , ' PayMethod one ' , 0 , 001 , 0 ) ,
( 2 , ' PayMethod two ' , 10 , 001 , 0 ) ,
( 3 , ' PayMethod three ' , 0 , 001 , 0 ) ,
( 4 , ' PayMethod with IBAN ' , 0 , 001 , 1 ) ,
( 5 , ' PayMethod five ' , 10 , 001 , 0 ) ;
2017-10-18 12:48:39 +00:00
2018-02-07 18:55:47 +00:00
INSERT INTO ` vn2008 ` . ` zones ` ( ` zone_id ` , ` name ` , ` printingOrder ` )
VALUES
( 1 , ' zone one ' , 1 ) ,
( 2 , ' zone two ' , 2 ) ,
( 3 , ' zone three ' , 3 ) ;
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` province ` ( ` id ` , ` name ` , ` countryFk ` , ` warehouseFk ` , ` zoneFk ` )
2017-10-18 12:48:39 +00:00
VALUES
2017-11-09 12:54:06 +00:00
( 1 , ' Province one ' , 1 , NULL , 1 ) ,
( 2 , ' Province two ' , 1 , NULL , 2 ) ,
( 3 , ' Province three ' , 1 , NULL , 3 ) ,
( 4 , ' Province four ' , 1 , NULL , 2 ) ,
( 5 , ' Province five ' , 1 , NULL , 1 ) ;
2017-10-18 12:48:39 +00:00
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` clientType ` ( ` id ` , ` code ` , ` type ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' normal ' , ' Normal ' ) ,
( 2 , ' internalUse ' , ' Autoconsumo ' ) ,
( 3 , ' handMaking ' , ' Confección ' ) ,
( 4 , ' loses ' , ' Mermas ' ) ;
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` city ` ( ` id ` , ` name ` , ` provinceFk ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' Gotham ' , 1 ) ;
INSERT INTO ` vn ` . ` cplusTerIdNif ` ( ` id ` , ` description ` )
VALUES
( 1 , ' NIF ' ) ;
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` worker ` ( ` workerCode ` , ` id ` , ` firstName ` , ` name ` , ` userFk ` )
2017-10-18 12:48:39 +00:00
VALUES
( ' LGN ' , 1 , ' David Charles ' , ' Haller ' , 6 ) ,
( ' ANT ' , 2 , ' Hank ' , ' Pym ' , 7 ) ,
( ' DCX ' , 3 , ' Charles ' , ' Xavier ' , 8 ) ,
( ' HLK ' , 4 , ' Bruce ' , ' Banner ' , 9 ) ,
2018-01-03 11:00:59 +00:00
( ' JJJ ' , 5 , ' Jessica ' , ' Jones ' , 10 ) ,
2018-01-26 07:01:26 +00:00
( ' VSC ' , 20 , ' Victor ' , ' Stone ' , 11 ) ;
2017-10-18 12:48:39 +00:00
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` contactChannel ` ( ` id ` , ` name ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' Rumors on the streets ' ) ,
( 2 , ' Metropolis newspaper ' ) ,
( 3 , ' Daily Bugle ' ) ,
( 4 , ' GCN Channel ' ) ,
( 5 , ' The Newspaper ' ) ;
2018-01-03 11:00:59 +00:00
INSERT INTO ` vn ` . ` client ` ( ` id ` , ` name ` , ` fi ` , ` socialName ` , ` contact ` , ` street ` , ` city ` , ` postcode ` , ` phone ` , ` mobile ` , ` fax ` , ` isRelevant ` , ` email ` , ` iban ` , ` dueDay ` , ` accountingAccount ` , ` isEqualizated ` , ` provinceFk ` , ` hasToInvoice ` , ` credit ` , ` countryFk ` , ` isActive ` , ` gestdocFk ` , ` quality ` , ` payMethodFk ` , ` created ` , ` isToBeMailed ` , ` contactChannelFk ` , ` hasSepaVnl ` , ` hasCoreVnl ` , ` hasCoreVnh ` , ` riskCalculated ` , ` clientTypeFk ` , ` mailAddress ` , ` cplusTerIdNifFk ` , ` hasToInvoiceByAddress ` , ` isTaxDataChecked ` , ` isFreezed ` , ` creditInsurance ` , ` isCreatedAsServed ` , ` hasInvoiceSimplified ` , ` salesPersonFk ` , ` isVies ` , ` eypbc ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-01-24 07:06:49 +00:00
( 1 , ' Bruce Wayne ' , ' 74451390E ' , ' Batman ' , ' Alfred ' , ' 1007 Mountain Drive, Gotham ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' BruceWayne@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 1 , 0 , 1 ) ,
( 2 , ' Petter Parker ' , ' 87945234L ' , ' Spider-Man ' , ' Aunt May ' , ' 20 Ingram Street ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' PetterParker@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 1 , 0 , 1 ) ,
( 3 , ' Clark Kent ' , ' 06815934E ' , ' Super-Man ' , ' lois lane ' , ' 344 Clinton Street ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' ClarkKent@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 1 , 0 , 1 ) ,
( 4 , ' Tony Stark ' , ' 06089160W ' , ' Iron-Man ' , ' Pepper Potts ' , ' 10880 Malibu Point ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' TonyStark@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 1 , 0 , 1 ) ,
( 5 , ' Max Eisenhardt ' , ' 39182496H ' , ' Magneto ' , ' Rogue ' , ' Unknown Whereabouts ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' MaxEisenhardt@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 3 , 0 , 1 ) ,
( 6 , ' DavidCharlesHaller ' , ' 53136686Q ' , ' Legion ' , ' Charles Xavier ' , ' Evil hideout ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' DavidCharlesHaller@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 3 , 0 , 1 ) ,
( 7 , ' Hank Pym ' , ' 09854837G ' , ' Ant-Man ' , ' Hawk ' , ' Anthill ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' HankPym@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 3 , 0 , 1 ) ,
( 8 , ' Charles Xavier ' , ' 22641921P ' , ' Professor X ' , ' Beast ' , ' 3800 Victory Pkwy, Cincinnati, OH 45207, USA ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' CharlesXavier@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 4 , 0 , 1 ) ,
( 9 , ' Bruce Banner ' , ' 16104829E ' , ' Hulk ' , ' Black widow ' , ' Somewhere in New York ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' BruceBanner@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 4 , 0 , 1 ) ,
( 10 , ' Jessica Jones ' , ' 58282869H ' , ' Jessica Jones ' , ' Luke Cage ' , ' NYCC 2015 Poster ' , ' Silla ' , 46460 , 1111111111 , 222222222 , 333333333 , 1 , ' JessicaJones@verdnatura.es ' , NULL , 0 , 1234567890 , 0 , 1 , 1 , 300 , 1 , 1 , NULL , 10 , 5 , CURDATE ( ) , 1 , 5 , 1 , 1 , 1 , ' 0000-00-00 ' , 1 , NULL , 1 , 1 , 1 , 1 , NULL , 0 , 0 , 4 , 0 , 1 ) ;
2018-01-03 11:00:59 +00:00
2018-02-07 18:55:47 +00:00
INSERT INTO ` vn ` . ` address ` ( ` id ` , ` nickname ` , ` street ` , ` city ` , ` postalCode ` , ` provinceFk ` , ` phone ` , ` mobile ` , ` isActive ` , ` isDefaultAddress ` , ` clientFk ` , ` agencyFk ` , ` longitude ` , ` latitude ` , ` isEqualizated ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-02-08 13:40:32 +00:00
( 101 , ' Bruce Banner ' , ' Somewhere in Thailand ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 102 , ' Bruce Banner ' , ' Somewhere in New York ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 103 , ' Bruce Banner ' , ' Somewhere in Japan ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 104 , ' Bruce Banner ' , ' Somewhere in Spain ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 105 , ' Bruce Banner ' , ' Somewhere in Potugal ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 106 , ' Bruce Banner ' , ' Somewhere in UK ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 107 , ' Bruce Banner ' , ' Somewhere in Valencia ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 108 , ' Bruce Banner ' , ' Somewhere in Silla ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 109 , ' Bruce Banner ' , ' Somewhere in London ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 110 , ' Bruce Banner ' , ' Somewhere in Algemesi ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 111 , ' Bruce Banner ' , ' Somewhere in Carlet ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 112 , ' Bruce Banner ' , ' Somewhere in Campanar ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 113 , ' Bruce Banner ' , ' Somewhere in Malilla ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 114 , ' Bruce Banner ' , ' Somewhere in France ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 115 , ' Bruce Banner ' , ' Somewhere in Birmingham ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 116 , ' Bruce Banner ' , ' Somewhere in Scotland ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 117 , ' Bruce Banner ' , ' Somewhere in nowhere ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 118 , ' Bruce Banner ' , ' Somewhere over the rainbow ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 119 , ' Bruce Banner ' , ' Somewhere in Alberic ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 120 , ' Bruce Banner ' , ' Somewhere in Montortal ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 9 , 2 , NULL , NULL , 0 ) ,
( 121 , ' Petter Parker ' , ' NY roofs ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 2 , 2 , NULL , NULL , 0 ) ,
( 122 , ' Clark Kenn ' , ' The phone box ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 3 , 2 , NULL , NULL , 0 ) ,
( 123 , ' Tony Stark ' , ' Stark tower ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 4 , 2 , NULL , NULL , 0 ) ,
( 124 , ' Max Eisenhardt ' , ' The plastic cell ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 5 , 2 , NULL , NULL , 0 ) ,
( 125 , ' David Charles Haller ' , ' Many places ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 6 , 2 , NULL , NULL , 0 ) ,
( 126 , ' Hank Pym ' , ' Your pocket ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 7 , 2 , NULL , NULL , 0 ) ,
( 127 , ' Charles Xavier ' , ' Cerebro ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 8 , 2 , NULL , NULL , 0 ) ,
( 128 , ' Jessica Jones ' , ' Luke Cages Bar ' , ' Silla ' , 46460 , 1 , NULL , NULL , 1 , 1 , 10 , 2 , NULL , NULL , 0 ) ;
2017-10-18 12:48:39 +00:00
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` clientCredit ` ( ` id ` , ` clientFk ` , ` workerFk ` , ` amount ` , ` created ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-02-09 07:54:53 +00:00
( 1 , 1 , 1 , 1000 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) ) ,
( 2 , 1 , 2 , 900 , DATE_ADD ( CURDATE ( ) , INTERVAL 2 MONTH ) ) ,
( 3 , 1 , 3 , 800 , DATE_ADD ( CURDATE ( ) , INTERVAL 3 MONTH ) ) ,
( 4 , 1 , 4 , 700 , DATE_ADD ( CURDATE ( ) , INTERVAL 4 MONTH ) ) ,
( 5 , 1 , 5 , 600 , DATE_ADD ( CURDATE ( ) , INTERVAL 5 MONTH ) ) ,
( 6 , 1 , 1 , 500 , DATE_ADD ( CURDATE ( ) , INTERVAL 6 MONTH ) ) ,
( 7 , 1 , 2 , 400 , DATE_ADD ( CURDATE ( ) , INTERVAL 7 MONTH ) ) ,
( 8 , 1 , 3 , 300 , DATE_ADD ( CURDATE ( ) , INTERVAL 8 MONTH ) ) ,
( 9 , 1 , 4 , 200 , DATE_ADD ( CURDATE ( ) , INTERVAL 9 MONTH ) ) ,
( 10 , 1 , 5 , 100 , DATE_ADD ( CURDATE ( ) , INTERVAL 10 MONTH ) ) ,
( 11 , 1 , 1 , 50 , DATE_ADD ( CURDATE ( ) , INTERVAL 11 MONTH ) ) ,
( 12 , 2 , 2 , 800 , CURDATE ( ) ) ,
( 13 , 3 , 3 , 200 , CURDATE ( ) ) ,
( 14 , 4 , 4 , 90 , CURDATE ( ) ) ,
( 15 , 5 , 5 , 90 , CURDATE ( ) ) ;
2017-10-18 12:48:39 +00:00
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` clientCreditLimit ` ( ` id ` , ` maxAmount ` , ` roleFk ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-01-08 07:12:39 +00:00
( 1 , 1000 , 5 ) ,
2017-10-27 11:39:50 +00:00
( 2 , 600 , 5 ) ,
( 3 , 0 , 5 ) ;
2017-10-18 12:48:39 +00:00
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` clientObservation ` ( ` id ` , ` clientFk ` , ` workerFk ` , ` text ` , ` created ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , 1 , 1 , ' Madness, as you know, is like gravity, all it takes is a little push ' , CURDATE ( ) ) ,
( 2 , 2 , 1 , ' With great power, comes great responsibility ' , CURDATE ( ) ) ,
( 3 , 3 , 2 , ' this is a job for Super-Man! ' , CURDATE ( ) ) ,
( 4 , 4 , 2 , ' yes... I am Iron-Man ' , CURDATE ( ) ) ,
( 5 , 5 , 3 , ' They do understand. Our mutant powers make us superior ' , CURDATE ( ) ) ,
( 6 , 6 , 3 , ' My name is Legion, for we are many! ' , CURDATE ( ) ) ,
( 7 , 7 , 4 , ' I think our first move should be calling the Avengers.. ' , CURDATE ( ) ) ,
( 8 , 8 , 4 , ' Just because someone stumbles and loses their path, does not mean they are lost forever. ' , CURDATE ( ) ) ,
( 9 , 9 , 5 , ' HULK SMASH! ... ' , CURDATE ( ) ) ,
2018-01-26 13:12:41 +00:00
( 10 , 10 , 5 , ' They say everyone is born a hero. But if you let it, life will push you over the line until you are the villain. ' , CURDATE ( ) ) ;
2017-10-18 12:48:39 +00:00
2018-02-01 07:32:48 +00:00
INSERT INTO ` vn ` . ` observationType ` ( ` id ` , ` description ` )
VALUES
( 1 , ' observation one ' ) ,
( 2 , ' observation two ' ) ,
( 3 , ' observation three ' ) ;
INSERT INTO ` vn ` . ` addressObservation ` ( ` id ` , ` addressFk ` , ` observationTypeFk ` , ` description ` )
VALUES
( 1 , 1 , 1 , ' under the floor ' ) ,
( 2 , 1 , 2 , ' wears leather and goes out at night ' ) ,
( 3 , 1 , 3 , ' care with the dog ' ) ;
2017-10-18 12:48:39 +00:00
INSERT INTO ` vn ` . ` creditClassification ` ( ` id ` , ` client ` , ` dateStart ` , ` dateEnd ` )
VALUES
( 1 , 1 , CURDATE ( ) , CURDATE ( ) ) ,
( 2 , 2 , CURDATE ( ) , CURDATE ( ) ) ,
( 3 , 3 , CURDATE ( ) , CURDATE ( ) ) ,
( 4 , 4 , CURDATE ( ) , CURDATE ( ) ) ,
( 5 , 5 , CURDATE ( ) , CURDATE ( ) ) ;
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` route ` ( ` id ` , ` created ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , CURDATE ( ) ) ,
( 2 , CURDATE ( ) ) ,
( 3 , CURDATE ( ) ) ,
( 4 , CURDATE ( ) ) ,
( 5 , CURDATE ( ) ) ,
( 6 , CURDATE ( ) ) ,
( 7 , CURDATE ( ) ) ;
2018-02-07 15:45:40 +00:00
INSERT INTO ` vn ` . ` state ` ( ` id ` , ` name ` , ` order ` , ` alertLevel ` , ` code ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' To check ' , 2 , 0 , ' FIXING ' ) ,
( 2 , ' Owes ' , 1 , 0 , ' FREE ' ) ,
( 3 , ' Ok ' , 3 , 0 , ' OK ' ) ;
INSERT INTO ` vn2008 ` . ` empresa_grupo ` ( ` empresa_grupo_id ` , ` grupo ` )
VALUES
( 1 , ' Wayne Industries ' ) ;
INSERT INTO ` vn2008 ` . ` empresa ` ( ` id ` , ` abbreviation ` , ` registro ` , ` gerente_id ` , ` alta ` , ` baja ` , ` logo ` , ` oficial ` , ` cyc ` , ` rgb ` , ` mail ` , ` cuno ` , ` ODBC_DATE ` , ` Id_Cliente ` , ` digito_factura ` , ` Id_Proveedores_account ` , ` morosidad ` , ` empresa_grupo ` )
VALUES
2018-01-26 13:12:41 +00:00
( 442 , ' WAY ' , ' Wayne Industries, Inc. operates as a warehouse for steel products. ' , ' 2 ' , ' 1989-11-19 ' , NULL , NULL , ' 1 ' , ' 1 ' , ' 00FF00 ' , ' BruceWayne@verdnatura.es ' , NULL , ' 1989-08-11 12:31:22 ' , ' 10 ' , ' 1 ' , NULL , ' 1 ' , ' 1 ' ) ;
2017-10-18 12:48:39 +00:00
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` ticket ` ( ` id ` , ` agencyModeFk ` , ` warehouseFk ` , ` routeFk ` , ` shipped ` , ` clientFk ` , ` nickname ` , ` addressFk ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-02-07 15:45:40 +00:00
( 1 , 1 , 1 , NULL , CURDATE ( ) , 1 , ' Batman ' , 101 ) ,
( 2 , 1 , 1 , NULL , CURDATE ( ) , 1 , ' Spider-Man ' , 102 ) ,
( 3 , 2 , 2 , NULL , CURDATE ( ) , 2 , ' Super-Man ' , 103 ) ,
( 4 , 2 , 2 , NULL , CURDATE ( ) , 2 , ' Iron-Man ' , 104 ) ,
( 5 , 3 , 3 , NULL , CURDATE ( ) , 3 , ' Magneto ' , 105 ) ,
( 6 , 3 , 3 , NULL , CURDATE ( ) , 3 , ' Legion ' , 106 ) ,
( 7 , 4 , 4 , NULL , CURDATE ( ) , 4 , ' Ant-Man ' , 107 ) ,
( 8 , 4 , 4 , NULL , CURDATE ( ) , 4 , ' Professor X ' , 108 ) ,
( 9 , 5 , 5 , NULL , CURDATE ( ) , 5 , ' Hulk ' , 109 ) ,
( 10 , 6 , 5 , NULL , CURDATE ( ) , 5 , ' Jessica Jones ' , 110 ) ;
2017-10-18 12:48:39 +00:00
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` ticketTracking ` ( ` id ` , ` ticketFk ` , ` stateFk ` , ` workerFk ` , ` created ` )
2017-10-18 12:48:39 +00:00
VALUES
2018-01-03 11:00:59 +00:00
( 1 , 1 , 1 , 5 , CURDATE ( ) ) ,
( 2 , 2 , 2 , 5 , CURDATE ( ) ) ,
( 3 , 3 , 3 , 5 , CURDATE ( ) ) ,
( 4 , 4 , 1 , 5 , CURDATE ( ) ) ,
( 5 , 5 , 2 , 5 , CURDATE ( ) ) ,
( 6 , 6 , 3 , 5 , CURDATE ( ) ) ,
( 7 , 7 , 1 , 5 , CURDATE ( ) ) ,
( 8 , 8 , 2 , 5 , CURDATE ( ) ) ,
2017-10-18 12:48:39 +00:00
( 9 , 9 , 3 , 5 , CURDATE ( ) ) ,
( 10 , 10 , 1 , 5 , CURDATE ( ) ) ;
2018-01-26 13:12:41 +00:00
INSERT INTO ` vn ` . ` vehicle ` ( ` id ` , ` numberPlate ` , ` tradeMark ` , ` model ` , ` companyFk ` , ` warehouseFk ` , ` description ` , ` m3 ` , ` isActive ` )
2017-10-18 12:48:39 +00:00
VALUES
( 1 , ' 3333-BAT ' , ' WAYNE INDUSTRIES ' , ' BATMOBILE ' , 442 , 1 , ' The ultimate war machine ' , 50 , 1 ) ,
( 2 , ' 1111-IMK ' , ' STARK INDUSTRIES ' , ' MARK-III ' , 442 , 1 , ' Iron-Man Heavy Armor MARK-III ' , 18 , 1 ) ,
( 3 , ' 2222-IMK ' , ' STARK INDUSTRIES ' , ' MARK-VI ' , 442 , 1 , ' Iron-Man Heavy Armor MARK-VI ' , 16 , 1 ) ,
( 4 , ' 3333-IMK ' , ' STARK INDUSTRIES ' , ' MARK-VII ' , 442 , 1 , ' Iron-Man Heavy Armor MARK-VII ' , 14 , 1 ) ,
( 5 , ' 4444-IMK ' , ' STARK INDUSTRIES ' , ' MARK-XLII ' , 442 , 1 , ' Iron-Man Heavy Armor MARK-XLII ' , 13 , 1 ) ,
( 6 , ' 5555-IMK ' , ' STARK INDUSTRIES ' , ' MARK-XLV ' , 442 , 1 , ' Iron-Man Heavy Armor MARK-XLV ' , 12 , 1 ) ;
INSERT INTO ` vn ` . ` config ` ( ` id ` , ` mdbServer ` , ` fakeEmail ` , ` defaultersMaxAmount ` )
VALUES
2018-01-04 10:43:28 +00:00
( 1 , ' beta-server ' , ' nightmare@verdnatura.es ' , ' 200 ' ) ;
INSERT INTO ` vn ` . ` greugeType ` ( ` id ` , ` name ` )
VALUES
( 1 , ' Diff ' ) ,
( 2 , ' Recover ' ) ,
( 3 , ' Manna ' ) ,
( 4 , ' Reclaim ' ) ,
( 5 , ' Heritage ' ) ,
( 6 , ' Miscellaneous ' ) ;
INSERT INTO ` vn ` . ` greuge ` ( ` id ` , ` clientFk ` , ` description ` , ` amount ` , ` shipped ` , ` created ` , ` greugeTypeFk ` , ` ticketFk ` )
VALUES
2018-02-09 07:54:53 +00:00
( 1 , 1 , ' some diff charges ' , - 19 . 99 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 1 , 1 ) ,
( 2 , 1 , ' more diff charges ' , 60 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 2 , 1 ) ,
( 3 , 1 , ' even more! diff charges ' , - 9 . 99 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 3 , 1 ) ,
( 4 , 1 , ' insane diff charges ' , 60 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 4 , 1 ) ,
( 5 , 1 , ' gargantuous diff charges ' , - 9 . 99 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 5 , 1 ) ,
( 6 , 1 , ' diff charges ' , 88 . 30 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 6 , 1 ) ,
( 7 , 1 , ' unaffordable diff charges ' , - 39 . 12 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 1 , 1 ) ,
( 8 , 1 , ' some recovery charges ' , 29 . 35 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 2 , 1 ) ,
( 9 , 1 , ' some manna charges ' , - 9 . 99 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 3 , 1 ) ,
( 10 , 1 , ' some claim charges ' , 13 . 13 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 4 , 1 ) ,
( 11 , 1 , ' some heritage charges ' , - 15 . 99 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 5 , 1 ) ,
( 12 , 1 , ' some miscellaneous charges ' , 58 . 00 , DATE_ADD ( CURDATE ( ) , INTERVAL 1 MONTH ) , CURDATE ( ) , 6 , 1 ) ;
2018-01-04 11:33:25 +00:00
INSERT INTO ` vn ` . ` mandateType ` ( ` id ` , ` name ` )
VALUES
( 1 , ' B2B ' ) ,
( 2 , ' CORE ' ) ;
INSERT INTO ` vn ` . ` mandate ` ( ` id ` , ` clientFk ` , ` companyFk ` , ` code ` , ` created ` , ` mandateTypeFk ` )
VALUES
2018-01-12 13:20:28 +00:00
( 1 , 2 , 442 , ' 1-1 ' , CURDATE ( ) , 2 ) ;
2018-01-04 11:33:25 +00:00
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` itemCategory ` ( ` id ` , ` name ` , ` display ` , ` color ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' Gear ' , 1 , ' B92A26 ' ) ,
( 2 , ' Items ' , 2 , ' dcf711 ' ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` itemType ` ( ` id ` , ` code ` , ` name ` , ` categoryFk ` , ` life ` , ` workerFk ` )
VALUES
( 1 , ' ARM ' , ' Armor ' , 1 , 15 , 5 ) ,
( 2 , ' ITG ' , ' Infinity gem ' , 2 , 30 , 5 ) ,
2018-02-01 07:32:48 +00:00
( 3 , ' WPN ' , ' Weapon ' , 2 , 30 , 5 ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` ink ` ( ` id ` , ` name ` , ` picture ` , ` showOrder ` )
VALUES
2018-02-01 07:32:48 +00:00
( ' YEL ' , ' Yellow ' , 1 , 1 ) ,
( ' BLU ' , ' Blue ' , 1 , 2 ) ,
( ' RED ' , ' Red ' , 1 , 3 ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` origin ` ( ` id ` , ` code ` , ` name ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' SPA ' , ' Spain ' ) ,
( 2 , ' HOL ' , ' Holand ' ) ,
( 3 , ' VLC ' , ' Valencia ' ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` producer ` ( ` id ` , ` name ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' Marvel Studios ' ) ,
( 2 , ' Nordic Mythology ' ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` taxType ` ( ` id ` , ` nickname ` , ` isAccrued ` , ` serial ` , ` TIPOOPE ` , ` description ` , ` countryFk ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' National ' , 1 , ' R ' , ' I ' , ' national VAT ' , 1 ) ,
( 2 , ' European ' , 0 , ' E ' , ' I ' , ' europe VAT ' , 1 ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` taxCode ` ( ` id ` , ` dated ` , ` code ` , ` taxTypeFk ` , ` rate ` , ` equalizationTax ` , ` type ` , ` link ` , ` isActive ` , ` updated ` , ` transactionCode ` )
VALUES
( 1 , CURDATE ( ) , ' 1111111111 ' , 1 , 7 . 0 , 0 . 0 , ' R ' , 1 , 1 , CURDATE ( ) , 1 ) ,
( 2 , CURDATE ( ) , ' 2222222222 ' , 2 , 16 . 0 , 0 . 0 , ' G ' , 2 , 1 , CURDATE ( ) , 2 ) ;
INSERT INTO ` vn ` . ` taxClass ` ( ` id ` , ` description ` , ` code ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' Reduced VAT ' , ' R ' ) ,
( 2 , ' General VAT ' , ' G ' ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` intrastat ` ( ` id ` , ` description ` , ` taxClassFk ` , ` taxCodeFk ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' Automatic armor ' , 1 , 1 ) ,
( 2 , ' Magic weapon ' , 2 , 2 ) ;
2018-01-24 07:06:49 +00:00
INSERT INTO ` vn ` . ` expence ` ( ` id ` , ` taxTypeFk ` , ` name ` , ` isWithheld ` )
VALUES
( 1 , 1 , ' bail ' , 0 ) ,
( 2 , 1 , ' loan ' , 1 ) ;
INSERT INTO ` vn ` . ` item ` ( ` id ` , ` name ` , ` typeFk ` , ` size ` , ` inkFk ` , ` category ` , ` stems ` , ` originFk ` , ` description ` , ` producerFk ` , ` intrastatFk ` , ` isOnOffer ` , ` expenceFk ` , ` isBargain ` , ` comment ` , ` relevancy ` , ` image ` , ` taxClassFk ` )
VALUES
2018-02-01 07:32:48 +00:00
( 1 , ' Gem of Time ' , 2 , 70 , ' AMA ' , ' EXT ' , 1 , 1 , ' One of the infinity gems ' , 1 , 2 , 0 , 1 , 0 , NULL , 0 , 66540 , 1 ) ,
( 2 , ' Gem of Mind ' , 2 , 70 , ' AZL ' , ' EXT ' , 1 , 2 , ' One of the infinity gems ' , 1 , 2 , 0 , 1 , 0 , NULL , 0 , 65540 , 1 ) ,
( 3 , ' Iron Patriot ' , 1 , 60 , ' AMR ' , ' EXT ' , 1 , 3 , ' Rhodeys armor ' , 1 , 1 , 0 , 1 , 0 , NULL , 0 , 61692 , 1 ) ,
( 4 , ' Mark I ' , 1 , 60 , ' AMR ' , ' EXT ' , 1 , 1 , ' Iron Mans first armor ' , 1 , 1 , 1 , 2 , 0 , NULL , 0 , 66090 , 2 ) ,
( 5 , ' Mjolnir ' , 3 , 30 , ' AZR ' , ' EXT ' , 1 , 2 , ' Thors hammer! ' , 2 , 2 , 1 , 2 , 0 , NULL , 0 , 67350 , 2 ) ;
2018-01-24 07:06:49 +00:00
2018-02-01 07:32:48 +00:00
INSERT INTO ` salix ` . ` user ` ( ` id ` , ` username ` , ` password ` , ` email ` )
VALUES
( 10 , ' JessicaJones ' , ' ac754a330530832ba1bf7687f577da91 ' , ' JessicaJones@verdnatura.es ' ) ;
2018-01-24 07:06:49 +00:00
2018-02-01 07:32:48 +00:00
INSERT INTO ` vn ` . ` tag ` ( ` id ` , ` name ` , ` free ` , ` isQuantitatif ` , ` sourceTable ` , ` unit ` )
VALUES
2018-02-01 09:05:20 +00:00
( 1 , ' Color ' , 1 , 0 , null , null ) ,
( 2 , ' Power ' , 1 , 0 , null , null ) ,
( 3 , ' Shape ' , 1 , 0 , null , null ) ,
( 4 , ' Location ' , 1 , 0 , null , null ) ,
( 5 , ' Owner ' , 1 , 1 , null , null ) ;
2018-01-24 07:06:49 +00:00
2018-02-01 07:32:48 +00:00
INSERT INTO ` vn ` . ` itemTag ` ( ` id ` , ` itemFk ` , ` tagFk ` , ` value ` , ` priority ` )
VALUES
2018-02-01 09:05:20 +00:00
( 1 , 1 , 1 , ' Yellow ' , 5 ) ,
( 2 , 1 , 2 , ' Manipulates time ' , 4 ) ,
( 3 , 1 , 3 , ' round ' , 3 ) ,
( 4 , 1 , 4 , ' Gamoras hideout ' , 2 ) ,
( 5 , 1 , 5 , ' Gamora ' , 1 ) ;
2018-02-06 13:03:09 +00:00
2018-02-07 07:47:04 +00:00
INSERT INTO ` vn ` . ` itemLog ` ( ` id ` , ` originFk ` , ` userFk ` , ` action ` , ` description ` )
2018-02-06 13:03:09 +00:00
VALUES
2018-02-12 09:53:03 +00:00
( 1 , 1 , 1 , ' insert ' , ' insert change was made! ' ) ,
( 2 , 1 , 1 , ' delete ' , ' delete change was made! ' ) ,
( 3 , 1 , 1 , ' update ' , ' update change was made! ' ) ,
( 4 , 1 , 1 , ' insert ' , ' insert change was made! ' ) ,
( 5 , 1 , 1 , ' delete ' , ' delete change was made! ' ) ,
( 6 , 1 , 1 , ' update ' , ' update change was made! ' ) ,
( 7 , 1 , 1 , ' insert ' , ' insert change was made! ' ) ,
( 8 , 1 , 1 , ' delete ' , ' delete change was made! ' ) ,
( 9 , 1 , 1 , ' update ' , ' update change was made! ' ) ,
( 10 , 1 , 1 , ' insert ' , ' insert change was made! ' ) ,
( 11 , 1 , 1 , ' delete ' , ' delete change was made! ' ) ;