-----------------------------------------------
-- OMFP 3055/2009 - PLAN CONTURI 2010
-- 10309: X = 401, 4426 = 401
-- 10216: X = 404, 4426 = 404
-- 10604: X = Y
-- 10605: 709 = 4111, 4111 = 4427
-- 10606: 401 = 609, 4426 = 401
-- creat de marius.mutu pe 19.02.2010
-----------------------------------------------

prompt Disabling triggers for XNOTE...
alter table XNOTE disable all triggers;
prompt Disabling triggers for XREQUEST...
alter table XREQUEST disable all triggers;
prompt Disabling triggers for XSETS...
alter table XSETS disable all triggers;

prompt Loading XNOTE...
insert into XNOTE (ID_SET, NR_NOTA, XSCD, XSCC, XASCD, XASCC, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X20, X21, X22, X23, X24, X25, X26, X27, X28, X29, X31, X30, X32, X33, X34, X35, SUMA, SUMA_VAL, CURS, ID_VALUTA, PROC_TVA, ID_JTVA_COLOANA, ID_FACT, ID_FACTD, ID_FACTC, ID_FDOC, DATAIREG, DATAACT, DATASCAD, SERIE_ACT, NRACT, PERECHED, PERECHEC, NNIR, ID_PARTD, ID_PARTC, EXPLICATIA, ID_LUCRARE, ID_RESPONSABIL, ID_VENCHELT, ID_SECTIE, SCC_FARA_PART, SCD_FARA_PART, SUMA_NEGATIV)
values (10604, 1, 'X', 'Y', null, null, null, 'fdoc', 'dataireg', 'dataact', null, 'nract', 'nume', null, 'explicatia', null, null, null, null, 'dst_chlt', 'nrord', 'sectie', null, null, null, null, 'suma', null, null, null, null, null, null, null, null, 'sucursala', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into XNOTE (ID_SET, NR_NOTA, XSCD, XSCC, XASCD, XASCC, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X20, X21, X22, X23, X24, X25, X26, X27, X28, X29, X31, X30, X32, X33, X34, X35, SUMA, SUMA_VAL, CURS, ID_VALUTA, PROC_TVA, ID_JTVA_COLOANA, ID_FACT, ID_FACTD, ID_FACTC, ID_FDOC, DATAIREG, DATAACT, DATASCAD, SERIE_ACT, NRACT, PERECHED, PERECHEC, NNIR, ID_PARTD, ID_PARTC, EXPLICATIA, ID_LUCRARE, ID_RESPONSABIL, ID_VENCHELT, ID_SECTIE, SCC_FARA_PART, SCD_FARA_PART, SUMA_NEGATIV)
values (10605, 1, '709', '4111', null, null, null, 'fdoc      ', 'dataireg  ', 'dataact   ', 'datascad', 'nract     ', 'nume      ', null, 'explicatia', null, null, null, 'nresp', 'dst_chlt  ', 'nrord     ', 'sectie', null, null, null, null, 'totftva', null, null, null, null, null, null, null, null, 'sucursala           ', null, 'contract            ', null, 'id_jtax             ', 'serie_act           ', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into XNOTE (ID_SET, NR_NOTA, XSCD, XSCC, XASCD, XASCC, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X20, X21, X22, X23, X24, X25, X26, X27, X28, X29, X31, X30, X32, X33, X34, X35, SUMA, SUMA_VAL, CURS, ID_VALUTA, PROC_TVA, ID_JTVA_COLOANA, ID_FACT, ID_FACTD, ID_FACTC, ID_FDOC, DATAIREG, DATAACT, DATASCAD, SERIE_ACT, NRACT, PERECHED, PERECHEC, NNIR, ID_PARTD, ID_PARTC, EXPLICATIA, ID_LUCRARE, ID_RESPONSABIL, ID_VENCHELT, ID_SECTIE, SCC_FARA_PART, SCD_FARA_PART, SUMA_NEGATIV)
values (10606, 2, '4426', '401', null, null, null, 'fdoc', 'dataireg', 'dataact', 'datascad', 'nract', 'nume', null, 'explicatia', null, null, null, 'nresp', 'dst_chlt', 'nrord', 'sectie', null, null, null, null, 'tottva', null, null, null, null, null, null, null, null, 'sucursala', null, 'contract', null, 'id_jtva', 'serie_act', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1);
insert into XNOTE (ID_SET, NR_NOTA, XSCD, XSCC, XASCD, XASCC, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X20, X21, X22, X23, X24, X25, X26, X27, X28, X29, X31, X30, X32, X33, X34, X35, SUMA, SUMA_VAL, CURS, ID_VALUTA, PROC_TVA, ID_JTVA_COLOANA, ID_FACT, ID_FACTD, ID_FACTC, ID_FDOC, DATAIREG, DATAACT, DATASCAD, SERIE_ACT, NRACT, PERECHED, PERECHEC, NNIR, ID_PARTD, ID_PARTC, EXPLICATIA, ID_LUCRARE, ID_RESPONSABIL, ID_VENCHELT, ID_SECTIE, SCC_FARA_PART, SCD_FARA_PART, SUMA_NEGATIV)
values (10605, 2, '4111', '4427', null, null, null, 'fdoc', 'dataireg', 'dataact', 'datascad', 'nract', 'nume', null, 'explicatia', null, null, null, 'nresp', 'dst_chlt', 'nrord', 'sectie', null, null, null, null, 'tottva', null, null, null, null, null, null, null, null, 'sucursala', null, 'contract', null, 'id_jtva', 'serie_act', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1);
insert into XNOTE (ID_SET, NR_NOTA, XSCD, XSCC, XASCD, XASCC, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X20, X21, X22, X23, X24, X25, X26, X27, X28, X29, X31, X30, X32, X33, X34, X35, SUMA, SUMA_VAL, CURS, ID_VALUTA, PROC_TVA, ID_JTVA_COLOANA, ID_FACT, ID_FACTD, ID_FACTC, ID_FDOC, DATAIREG, DATAACT, DATASCAD, SERIE_ACT, NRACT, PERECHED, PERECHEC, NNIR, ID_PARTD, ID_PARTC, EXPLICATIA, ID_LUCRARE, ID_RESPONSABIL, ID_VENCHELT, ID_SECTIE, SCC_FARA_PART, SCD_FARA_PART, SUMA_NEGATIV)
values (10606, 1, '401', '609', null, null, null, 'fdoc', 'dataireg', 'dataact', 'datascad', 'nract', 'nume', null, 'explicatia', null, null, null, 'nresp', 'dst_chlt', 'nrord', 'sectie', null, null, null, null, 'totftva', null, null, null, null, null, null, null, null, 'sucursala', null, 'contract', null, 'id_jtax', 'serie_act', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
prompt 5 records loaded

prompt Loading XREQUEST...
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 1, 3, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 2, 2, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 3, 4, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 4, 6, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 5, 38, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 6, 21, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 7, 16, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10604, 8, 44, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 1, 3, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 2, 2, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 3, 4, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 4, 6, null, 5, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 6, 28, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 7, 16, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 7, 29, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 8, 14, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 8, 30, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 8, 70, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10605, 9, 44, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 1, 3, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 2, 2, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 3, 4, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 4, 6, null, -1, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 5, 7, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 6, 24, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 7, 28, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 8, 29, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 9, 30, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 10, 16, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 11, 63, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 11, 70, null, null, null);
insert into XREQUEST (ID_SET, NR_ITEM, ID_ITEM, CONDITIE, ID_TIPDOC, VALOARE_DEFAULT)
values (10606, 12, 44, null, null, null);
prompt 32 records loaded

prompt Loading XSETS...
insert into XSETS (ID_SET, NR_SET, NUME_SET, FIX, LISTA_NOTE, EXPLICATIA, MODEL, FORMGEST, NU_STERG, PARAM1, LISTARE, PARAM2, FRM_DATE, DISCOUNT, ADAOS, FACTURA, ID_SELST, ID_SELDR, TIP_DOC, TIP_CTR, EXPL_FIXA, ALEG_CONT, FRM_PLATA, VALUTA, COMPENS, ID_TIP_RUL, ID_JNETAX, ID_JTAX, TIPJURNAL, ID_JTAXN, PRODUCTIE, FORMPRODUC, CURSVAL, ID_CATEGORIE, PROCEDURA_LANS, ID_SUCURSALA)
values (10604, 10604, 'Nota generala simpla', 0, 'X-Y', null, 1, null, 0, 0, null, null, null, 0, 0, 0, 0, 0, null, null, null, 1, 'OCOMPENSARI,', 0, null, 0, 0, 0, null, 0, 0, null, 0, null, null, null);
insert into XSETS (ID_SET, NR_SET, NUME_SET, FIX, LISTA_NOTE, EXPLICATIA, MODEL, FORMGEST, NU_STERG, PARAM1, LISTARE, PARAM2, FRM_DATE, DISCOUNT, ADAOS, FACTURA, ID_SELST, ID_SELDR, TIP_DOC, TIP_CTR, EXPL_FIXA, ALEG_CONT, FRM_PLATA, VALUTA, COMPENS, ID_TIP_RUL, ID_JNETAX, ID_JTAX, TIPJURNAL, ID_JTAXN, PRODUCTIE, FORMPRODUC, CURSVAL, ID_CATEGORIE, PROCEDURA_LANS, ID_SUCURSALA)
values (10605, 10605, 'Reduceri comerciale acordate 709', 0, '709-4111;4426-4111', null, 1, null, 0, 0, null, null, null, 0, 0, 0, 0, 0, 'gnIdTipClienti', 'gnIdCtrClienti', null, 0, 'OCOMPENSARI,', 0, null, 0, 8, 1, 'JV', 11, 0, null, 0, null, null, null);
insert into XSETS (ID_SET, NR_SET, NUME_SET, FIX, LISTA_NOTE, EXPLICATIA, MODEL, FORMGEST, NU_STERG, PARAM1, LISTARE, PARAM2, FRM_DATE, DISCOUNT, ADAOS, FACTURA, ID_SELST, ID_SELDR, TIP_DOC, TIP_CTR, EXPL_FIXA, ALEG_CONT, FRM_PLATA, VALUTA, COMPENS, ID_TIP_RUL, ID_JNETAX, ID_JTAX, TIPJURNAL, ID_JTAXN, PRODUCTIE, FORMPRODUC, CURSVAL, ID_CATEGORIE, PROCEDURA_LANS, ID_SUCURSALA)
values (10606, 10606, 'Reduceri comerciale primite 609', 0, '401-609;4426-401', null, 1, null, 0, 0, null, null, null, 0, 0, 0, 0, 0, 'gnIdTipFurnizori', 'gnIdCtrFurnizori', null, 0, 'OCOMPENSARI,', 0, null, 0, 113, 105, 'JC', 113, 0, null, 0, null, null, null);
prompt 3 records loaded


prompt Loading EXCEPTII_IREG...
insert into EXCEPTII_IREG (CONT, ID_SET, CONT_C, DEBIT, INVERS, NU_IREG, IN_IREG, IN_TVA)
values ('4111', 0, '709', 1, 1, 0, 1, 1);
insert into EXCEPTII_IREG (ID_EXCEPTII, CONT, ID_SET, CONT_C, DEBIT, INVERS, NU_IREG, IN_IREG, IN_TVA)
values ('401', 0, '609', 0, 1, 0, 1, 1);
prompt 2 records loaded

prompt Loading CONVERSIE_CONTURI...
insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '1067', 'REZERVE DIN DIFERENTE DE CURS VALUTAR IN RELATIE CU INVESTITIA NETA INTR-O ENTITATE STRAINA', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '223', 'INSTALATII TEHNICE, MIJLOACE DE TRANSPORT, ANIMALE SI PLANTATII IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '224', 'MOBILIER, APARATURA BIROTICA, ECHIPAMENTE DE PROTECTIE A VALORILOR UMANE SI MATERIALE SI ALTE ACTIVE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '321', 'MATERII PRIME IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '322', 'MATERIALE CONSUMABILE IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '323', 'MATERIALE DE NATURA OBIECTELOR DE INVENTAR IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '326', 'ANIMALE IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '327', 'MARFURI IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '328', 'AMBALAJE IN CURS DE APROVIZIONARE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '475', 'SUBVENTII PENTRU INVESTITII', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '4751', 'SUBVENTII GUVERNAMENTALE PENTRU INVESTITII', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '4752', 'IMPRUMUTURI NERAMBURSABILE CU CARACTER DE SUBVENTII PENTRU INVESTITII', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '4753', 'DONATII PENTRU INVESTITII', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '4754', 'PLUSURI DE INVENTAR DE NATURA IMOBILIZARILOR', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '4758', 'ALTE SUME PRIMITE CU CARACTER DE SUBVENTII PENTRU INVESTITII', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '609', 'REDUCERI COMERCIALE PRIMITE', 'P', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '643', 'CHELTUIELI CU PRIMELE REPREZENTAND PARTICIPAREA PERSONALULUI LA PROFIT', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '644', 'CHELTUIELI CU REMUNERAREA IN INSTRUMENTE DE CAPITALURI PROPRII', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '6456', 'CONTRIBUTIA UNITATII LA SCHEMELE DE PENSII FACULTATIVE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '6457', 'CONTRIBUTIA UNITATII LA PRIMELE DE ASIGURARE VOLUNTARA DE SANATATE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '652', 'CHELTUIELI CU PROTECTIA MEDIULUI INCONJURATOR', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '709', 'REDUCERI COMERCIALE ACORDATE', 'A', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '8038', 'BUNURI PUBLICE PRIMITE IN ADMINISTRARE, CONCESIUNE SI CU CHIRIE', 'B', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '806', 'CERTIFICATE DE EMISII DE GAZE CU EFECT DE SERA', 'B', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '807', 'ACTIVE CONTINGENTE', 'B', 1, '', '', 'ORDIN 3055/2009');

insert into conversie_conturi (CONT_VECHI, CONT_NOU, EXPLICATIE, TIP_SOLD, SE_APLICA, ACONT_VECHI, ACONT_NOU, CONVERSIE)
values ('', '808', 'DATORII CONTINGENTE', 'B', 1, '', '', 'ORDIN 3055/2009');
prompt 26 records loaded

prompt update xsets, xnote, xrequest 
update xrequest set valoare_default = null where id_set in (9,15,10101,10103,10326,10476);
update xsets set tipjurnal = 'JV' where id_set = 10326;
update xnote set x34 = 'id_jtva' where id_set = 10326 AND NR_NOTA = 2;
update xnote set x5 = 'datascad' where id_set = 10326 AND NR_NOTA = 1;


prompt Enabling triggers for XNOTE...
alter table XNOTE enable all triggers;
prompt Enabling triggers for XREQUEST...
alter table XREQUEST enable all triggers;
prompt Enabling triggers for XSETS...
alter table XSETS enable all triggers;


