Example #1
0
        public void CreateImportRecord02(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(2);

            ImportUtils.AppendField(builder, OsobCislo); //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, VypZpusob); //IMP02_ZPUSOB
            ImportUtils.AppendEmpty(builder);            //IMP02_OBEC
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_COBEC
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_DCIS
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_DTYP
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_ULICE
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_PSC
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_POSTA
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_OCIS
            ImportUtils.AppendEmpty(builder);            //IMP_ADRESA_STAT
            ImportUtils.AppendField(builder, VypBkUcet); //IMP_BKSPOJ_UCET
            ImportUtils.AppendField(builder, VypBkBank); //IMP_BKSPOJ_USTAV
            ImportUtils.AppendField(builder, VypBkKSym); //IMP_BKSPOJ_KSYMB
            ImportUtils.AppendField(builder, VypBkVSym); //IMP_BKSPOJ_VSYMB
            ImportUtils.AppendField(builder, VypBkSSym); //IMP_BKSPOJ_SSYMB

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
        public void CreateImportRecord19(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(19);

            ImportUtils.AppendField(builder, OsobniCislo);     //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PPomerCislo);     ///IMP17_PPOMER
            ImportUtils.AppendField(builder, SlozkaKod);       ///IMP19_KODMZDA
            ImportUtils.AppendEmpty(builder);                  //IMP19_KODMZDATEXT
            ImportUtils.AppendEmpty(builder);                  //IMP19_MINUTY
            ImportUtils.AppendEmpty(builder);                  //IMP19_MINUTYNORM
            ImportUtils.AppendEmpty(builder);                  //IMP19_JEDNOTKY
            ImportUtils.AppendField(builder, MzdaSazba100K()); //IMP19_SAZBAKC
            ImportUtils.AppendEmpty(builder);                  //IMP19_SAZBAPROC
            ImportUtils.AppendEmpty(builder);                  //IMP19_STRED
            ImportUtils.AppendEmpty(builder);                  //IMP19_CINN
            ImportUtils.AppendEmpty(builder);                  //IMP19_ZAK
            ImportUtils.AppendField(builder, StalostTrvale);   //IMP19_TRVALE
            ImportUtils.AppendEmpty(builder);                  //IMP19_OPT_TARIF
            ImportUtils.AppendEmpty(builder);                  //IMP19_OPT_TSTUP
            ImportUtils.AppendEmpty(builder);                  //IMP19_OPT_TAUTO
            ImportUtils.AppendEmpty(builder);                  //IMP19_OPT_ZDROJ
            ImportUtils.AppendEmpty(builder);                  //IMP19_VALUTA_KOD

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
        public void ExportDataImp20(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(20);

            DateTime?nepr_datum_zac = UtilsTable.DatumTecky(NeprZacat);
            DateTime?nepr_datum_kon = UtilsTable.DatumTecky(NeprKonec);

            if (!nepr_datum_kon.HasValue)
            {
                nepr_datum_kon = new DateTime((int)RokPocitany(), 12, 31);
            }

            ImportUtils.AppendField(builder, OsobCislo);                                   //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PPomCislo);                                   //IMP17_PPOMER
            ImportUtils.AppendField(builder, NeprSlKod);                                   //IMP20_KODNEPR
            ImportUtils.AppendEmpty(builder);                                              //IMP20_KODNEPRTEXT
            ImportUtils.AppendField(builder, nepr_datum_zac.Value.ToString("dd.MM.yyyy")); //IMP20_DATUMZAC
            ImportUtils.AppendField(builder, nepr_datum_kon.Value.ToString("dd.MM.yyyy")); //IMP20_DATUMKON
            ImportUtils.AppendEmpty(builder);                                              //IMP20_PRVNIDEN
            ImportUtils.AppendEmpty(builder);                                              //IMP20_POSLEDEN
            ImportUtils.AppendEmpty(builder);                                              //IMP20_SAZBAKC
            ImportUtils.AppendEmpty(builder);                                              //IMP20_SAZBAPROC
            ImportUtils.AppendEmpty(builder);                                              //IMP20_ZAPVYD
            //IMP20_DOKLAD
            ImportUtils.AppendEmpty(builder);                                              //IMP20_PLATIT
            ImportUtils.AppendEmpty(builder);                                              //IMP20_STRED
            ImportUtils.AppendEmpty(builder);                                              //IMP20_CINN
            ImportUtils.AppendEmpty(builder);                                              //IMP20_ZAK
            ImportUtils.AppendEmpty(builder);                                              //IMP20_TRVALE

            writer.WriteLine(builder.ToString());
        }
        public void ExportDataImp44(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(44);

            DateTime?nepr_datum_zac = UtilsTable.DatumTecky(NeprZacat);
            DateTime?nepr_datum_kon = UtilsTable.DatumTecky(NeprKonec);

            if (!nepr_datum_kon.HasValue)
            {
                nepr_datum_kon = new DateTime((int)RokPocitany(), 12, 31);
            }
            ImportUtils.AppendField(builder, OsobCislo);                                                //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PPomCislo);                                                //IMP17_PPOMER
            ImportUtils.AppendField(builder, NeprSlKod);                                                //const int IMP44_KODNEPR = 4;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_KODNEPRTEXT = 5;
            ImportUtils.AppendField(builder, nepr_datum_zac.Value.ToString("dd.MM.yyyy"));              //const int IMP44_DATUMZAC = 6;
            ImportUtils.AppendField(builder, nepr_datum_kon.Value.ToString("dd.MM.yyyy"));              //const int IMP44_DATUMKON = 7;
            ImportUtils.AppendField(builder, UtilsTable.DatumPocetDnu(nepr_datum_zac, nepr_datum_kon)); //const int IMP44_POCETDNU = 8;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_VYLOUCENA = 9;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_DOKLAD = 10;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_NAZEVZAM = 11;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_ICZAM = 12;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_DATPOROD = 13;
            ImportUtils.AppendEmpty(builder);                                                           //const int IMP44_HODNOTAKC = 14;

            writer.WriteLine(builder.ToString());
        }
Example #5
0
        public void CreateImportRecord02(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(2);

            ImportUtils.AppendField(builder, OsobniCislo);      //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, ZpusobVyplaty);    //IMP02_ZPUSOB
            ImportUtils.AppendEmpty(builder);                   //IMP02_OBEC
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_COBEC
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_DCIS
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_DTYP
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_ULICE
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_PSC
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_POSTA
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_OCIS
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_STAT
            ImportUtils.AppendField(builder, BankovniUcet);     //IMP_BKSPOJ_UCET
            ImportUtils.AppendField(builder, BankovniUstav);    //IMP_BKSPOJ_USTAV
            ImportUtils.AppendField(builder, KonstantniSymbol); //IMP_BKSPOJ_KSYMB
            ImportUtils.AppendField(builder, VariabilniSymbol); //IMP_BKSPOJ_VSYMB
            ImportUtils.AppendField(builder, SpecifickySymbol); //IMP_BKSPOJ_SSYMB

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #6
0
        public void CreateImportRecord05(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(5);

            ImportUtils.AppendField(builder, OsobCislo); //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, KodZdravP); //IMP05_KODZDRAVPOJ
            ImportUtils.AppendEmpty(builder);            //IMP05_MISTOZDRAVP
            ImportUtils.AppendField(builder, CisPojist); //IMP05_CISLOPOJIST
            ImportUtils.AppendField(builder, CizinecZP); //IMP05_ZPOJCIZINEC

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #7
0
        private static void AddVyuctovDavka(TextWriter writer, long vRokImp, long vMesImp, string archivSub, long archivRun, long reportRun)
        {
            StringBuilder builder = ImportUtils.CreateLine(153);

            ImportUtils.AppendField(builder, "1");
            ImportUtils.AppendField(builder, vMesImp);
            ImportUtils.AppendField(builder, vRokImp);
            ImportUtils.AppendEmpty(builder);
            ImportUtils.AppendField(builder, archivRun);
            ImportUtils.AppendField(builder, archivSub);
            ImportUtils.AppendField(builder, reportRun);

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #8
0
        public void CreateImportRecord01(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(1);

            ImportUtils.AppendField(builder, OsobCislo);          //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PracRodne);          //IMP01_RODCIS
            ImportUtils.AppendField(builder, PracPrijm);          //IMP01_RODPRIJ
            ImportUtils.AppendField(builder, PracUtvar);          //IMP01_UTVAR
            ImportUtils.AppendEmpty(builder);                     //IMP01_STRED
            ImportUtils.AppendEmpty(builder);                     //IMP01_CINN
            ImportUtils.AppendEmpty(builder);                     //IMP01_ZAK
            ImportUtils.AppendField(builder, PracPrijm);          //IMP01_PRIJ
            ImportUtils.AppendField(builder, PracJmeno);          //IMP01_JMENO
            ImportUtils.AppendField(builder, PracTitul);          //IMP01_TITULPRED
            ImportUtils.AppendField(builder, PracTitZa);          //IMP01_TITULZA
            ImportUtils.AppendEmpty(builder);                     //IMP01_DALSIPRIJ
            ImportUtils.AppendField(builder, MisNaroze);          //IMP01_MISTONAR
            ImportUtils.AppendField(builder, PracRodSt);          //IMP01_RODSTAV
            ImportUtils.AppendEmpty(builder);                     //IMP01_ZAPOCETROKY
            ImportUtils.AppendEmpty(builder);                     //IMP01_ZAPOCETDNY
            ImportUtils.AppendField(builder, "1.1." + RokZZacat); //IMP01_ZAPOCETDATE
            ImportUtils.AppendField(builder, AdrTMesto);          //IMP_ADRESA_OBEC
            ImportUtils.AppendField(builder, AdrTOCast);          //IMP_ADRESA_COBEC
            ImportUtils.AppendField(builder, AdrTDomCs);          //IMP_ADRESA_DCIS
            ImportUtils.AppendField(builder, AdrTDomDr);          //IMP_ADRESA_DTYP
            ImportUtils.AppendField(builder, AdrTUlice);          //IMP_ADRESA_ULICE
            ImportUtils.AppendField(builder, AdrTPscCs);          //IMP_ADRESA_PSC
            ImportUtils.AppendField(builder, AdrTPosta);          //IMP_ADRESA_POSTA
            ImportUtils.AppendField(builder, AdrTOriCs);          //IMP_ADRESA_OCIS
            ImportUtils.AppendField(builder, AdrTStatK);          //IMP_ADRESA_STAT
            ImportUtils.AppendEmpty(builder);                     //IMP01_POCETDETI
            ImportUtils.AppendEmpty(builder);                     //IMP01_DUCHDATUM
            ImportUtils.AppendEmpty(builder);                     //IMP01_DUCHDRUH
            ImportUtils.AppendField(builder, "");                 //IMP01_ZDRAVSTAV
            ImportUtils.AppendField(builder, "");                 //IMP01_OBCANSTVI
            ImportUtils.AppendEmpty(builder);                     //IMP01_PRUKAZOBCAN
            ImportUtils.AppendEmpty(builder);                     //IMP01_PRUKAZPAS
            ImportUtils.AppendEmpty(builder);                     //IMP01_RODCIS_JINE
            ImportUtils.AppendField(builder, "");                 //IMP01_STATNAR

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #9
0
        public void CreateImportRecord01(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(1);

            ImportUtils.AppendField(builder, OsobniCislo);                //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, RodneCislo);                 //IMP01_RODCIS
            ImportUtils.AppendField(builder, Prijmeni);                   //IMP01_RODPRIJ
            ImportUtils.AppendField(builder, NazevUtvaru);                //IMP01_UTVAR
            ImportUtils.AppendEmpty(builder);                             //IMP01_STRED
            ImportUtils.AppendEmpty(builder);                             //IMP01_CINN
            ImportUtils.AppendEmpty(builder);                             //IMP01_ZAK
            ImportUtils.AppendField(builder, Prijmeni);                   //IMP01_PRIJ
            ImportUtils.AppendField(builder, Jmeno);                      //IMP01_JMENO
            ImportUtils.AppendField(builder, TitulPred);                  //IMP01_TITULPRED
            ImportUtils.AppendField(builder, TitulZa);                    //IMP01_TITULZA
            ImportUtils.AppendEmpty(builder);                             //IMP01_DALSIPRIJ
            ImportUtils.AppendField(builder, MistoNarozeni);              //IMP01_MISTONAR
            ImportUtils.AppendField(builder, RodinnyStav);                //IMP01_RODSTAV
            ImportUtils.AppendEmpty(builder);                             //IMP01_ZAPOCETROKY
            ImportUtils.AppendEmpty(builder);                             //IMP01_ZAPOCETDNY
            ImportUtils.AppendField(builder, "1.1." + RokZacatkuZapoctu); //IMP01_ZAPOCETDATE
            ImportUtils.AppendField(builder, Mesto);                      //IMP_ADRESA_OBEC
            ImportUtils.AppendField(builder, CastObce);                   //IMP_ADRESA_COBEC
            ImportUtils.AppendField(builder, DomovniCislo);               //IMP_ADRESA_DCIS
            ImportUtils.AppendField(builder, DomovniCisloTyp);            //IMP_ADRESA_DTYP
            ImportUtils.AppendField(builder, Ulice);                      //IMP_ADRESA_ULICE
            ImportUtils.AppendField(builder, PscCislo);                   //IMP_ADRESA_PSC
            ImportUtils.AppendField(builder, Posta);                      //IMP_ADRESA_POSTA
            ImportUtils.AppendField(builder, OrientacniCislo);            //IMP_ADRESA_OCIS
            ImportUtils.AppendField(builder, StatAdresy);                 //IMP_ADRESA_STAT
            ImportUtils.AppendEmpty(builder);                             //IMP01_POCETDETI
            ImportUtils.AppendEmpty(builder);                             //IMP01_DUCHDATUM
            ImportUtils.AppendEmpty(builder);                             //IMP01_DUCHDRUH
            ImportUtils.AppendField(builder, "");                         //IMP01_ZDRAVSTAV
            ImportUtils.AppendField(builder, "");                         //IMP01_OBCANSTVI
            ImportUtils.AppendEmpty(builder);                             //IMP01_PRUKAZOBCAN
            ImportUtils.AppendEmpty(builder);                             //IMP01_PRUKAZPAS
            ImportUtils.AppendEmpty(builder);                             //IMP01_RODCIS_JINE
            ImportUtils.AppendField(builder, "");                         //IMP01_STATNAR

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #10
0
        public void CreateImportRecord17(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(17);

            ImportUtils.AppendField(builder, OsobCislo);         //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PPomCislo);         //IMP17_PPOMER
            ImportUtils.AppendField(builder, PPomZacat);         //IMP17_DATUMZAC
            ImportUtils.AppendField(builder, PPomKonec);         //IMP17_DATUMKON
            ImportUtils.AppendField(builder, PPomerSSZ);         //IMP17_CINNOSTSPOJ
            ImportUtils.AppendField(builder, PPomDanAN);         //IMP17_PLATCEDANPR
            ImportUtils.AppendField(builder, PPomSocAN);         //IMP17_PLATCESPOJ
            ImportUtils.AppendField(builder, PPomZdrAN);         //IMP17_PLATCEZPOJ
            ImportUtils.AppendEmpty(builder);                    //IMP17_CINNENIEVID
            ImportUtils.AppendEmpty(builder);                    //IMP17_CINBEZDOVOL
            ImportUtils.AppendEmpty(builder);                    //IMP17_CINSTSPRAVA
            ImportUtils.AppendEmpty(builder);                    //IMP17_NAROKTARIF
            ImportUtils.AppendField(builder, "");                //IMP17_KZAM
            ImportUtils.AppendEmpty(builder);                    //IMP17_ISCO
            ImportUtils.AppendField(builder, PPomPraxR);         //IMP17_PRAXEROKY
            ImportUtils.AppendField(builder, PPomPraxD);         //IMP17_PRAXEDNY
            ImportUtils.AppendField(builder, PPomTarTr);         //IMP17_TARIFTRIDA
            ImportUtils.AppendField(builder, PPomTarSt);         //IMP17_TARIFSTUPEN
            ImportUtils.AppendEmpty(builder);                    //IMP17_PSTUPENAUTO
            ImportUtils.AppendEmpty(builder);                    //IMP17_DRUHPRASTAV
            ImportUtils.AppendEmpty(builder);                    //IMP17_DRUHNASTUPU
            ImportUtils.AppendEmpty(builder);                    //IMP17_SJEDDOBA
            ImportUtils.AppendEmpty(builder);                    //IMP17_DRUHUKONCEN
            ImportUtils.AppendEmpty(builder);                    //IMP17_KVALIFIKACE
            ImportUtils.AppendField(builder, PPomFunkc);         //IMP17_FUNKCE
            ImportUtils.AppendField(builder, PDovNarokPuldny()); //IMP17_NARDOVOL
            ImportUtils.AppendField(builder, PDodNarokPuldny()); //IMP17_NARDODAT
            ImportUtils.AppendField(builder, PJinNarokPuldny()); //IMP17_DOVJINA
            ImportUtils.AppendField(builder, PDovLetosPuldny()); //IMP17_DOVLETOS
            ImportUtils.AppendField(builder, PDovLonskPuldny()); //IMP17_DOVLONI
            ImportUtils.AppendField(builder, PDovXCerpPuldny()); //IMP17_DOCERPANO
            ImportUtils.AppendField(builder, PDovXPropPuldny()); //IMP17_DOPROPLAC
            ImportUtils.AppendField(builder, PPomMinZP);         //IMP17_MIN_ZP
            ImportUtils.AppendEmpty(builder);                    //IMP17_DATVYPOV

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #11
0
        public void CreateImportRecord17(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(17);

            ImportUtils.AppendField(builder, OsobniCislo);        //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PPomerCislo);        //IMP17_PPOMER
            ImportUtils.AppendField(builder, PomerZacatek);       //IMP17_DATUMZAC
            ImportUtils.AppendField(builder, PomerKonec);         //IMP17_DATUMKON
            ImportUtils.AppendField(builder, CinnostSSZ);         //IMP17_CINNOSTSPOJ
            ImportUtils.AppendField(builder, CinnostDanit);       //IMP17_PLATCEDANPR
            ImportUtils.AppendField(builder, CinnostSocPojist);   //IMP17_PLATCESPOJ
            ImportUtils.AppendField(builder, CinnostZdrPojist);   //IMP17_PLATCEZPOJ
            ImportUtils.AppendEmpty(builder);                     //IMP17_CINNENIEVID
            ImportUtils.AppendEmpty(builder);                     //IMP17_CINBEZDOVOL
            ImportUtils.AppendEmpty(builder);                     //IMP17_CINSTSPRAVA
            ImportUtils.AppendEmpty(builder);                     //IMP17_NAROKTARIF
            ImportUtils.AppendField(builder, "");                 //IMP17_KZAM
            ImportUtils.AppendEmpty(builder);                     //IMP17_ISCO
            ImportUtils.AppendField(builder, PraxeRoky);          //IMP17_PRAXEROKY
            ImportUtils.AppendField(builder, PraxeDny);           //IMP17_PRAXEDNY
            ImportUtils.AppendField(builder, PlatovaTrida);       //IMP17_TARIFTRIDA
            ImportUtils.AppendField(builder, PlatovyStupen);      //IMP17_TARIFSTUPEN
            ImportUtils.AppendEmpty(builder);                     //IMP17_PSTUPENAUTO
            ImportUtils.AppendEmpty(builder);                     //IMP17_DRUHPRASTAV
            ImportUtils.AppendEmpty(builder);                     //IMP17_DRUHNASTUPU
            ImportUtils.AppendEmpty(builder);                     //IMP17_SJEDDOBA
            ImportUtils.AppendEmpty(builder);                     //IMP17_DRUHUKONCEN
            ImportUtils.AppendEmpty(builder);                     //IMP17_KVALIFIKACE
            ImportUtils.AppendField(builder, FunkcePopis);        //IMP17_FUNKCE
            ImportUtils.AppendField(builder, PDovNarokPuldny());  //IMP17_NARDOVOL
            ImportUtils.AppendField(builder, PDodNarokPuldny());  //IMP17_NARDODAT
            ImportUtils.AppendField(builder, PJinNarokPuldny());  //IMP17_DOVJINA
            ImportUtils.AppendField(builder, PDovLetosPuldny());  //IMP17_DOVLETOS
            ImportUtils.AppendField(builder, PDovLonskPuldny());  //IMP17_DOVLONI
            ImportUtils.AppendField(builder, PDovXCerpPuldny());  //IMP17_DOCERPANO
            ImportUtils.AppendField(builder, PDovXPropPuldny());  //IMP17_DOPROPLAC
            ImportUtils.AppendField(builder, MinimalniZdrPojist); //IMP17_MIN_ZP
            ImportUtils.AppendEmpty(builder);                     //IMP17_DATVYPOV

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #12
0
        public void ExportDataImp21(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(21);

            ImportUtils.AppendField(builder, OsobCislo);   //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, SrazSlKod);   ///IMP21_KODSRAZ
            ImportUtils.AppendEmpty(builder);              //IMP21_KODSRAZTEXT
            ImportUtils.AppendField(builder, SrazMinul);   //IMP21_CELKEM
            ImportUtils.AppendEmpty(builder);              //IMP21_MESICNI
            ImportUtils.AppendEmpty(builder);              //IMP21_PROCJED
            ImportUtils.AppendField(builder, SrazSazba);   //IMP21_POSLEDNI
            ImportUtils.AppendField(builder, ExecInKod);   //IMP21_POSLEDNIDEN
            ImportUtils.AppendEmpty(builder);              //IMP21_POSLEDNIMES
            ImportUtils.AppendEmpty(builder);              //IMP21_POSLEDNIROK
            ImportUtils.AppendEmpty(builder);              //IMP21_STRED
            ImportUtils.AppendEmpty(builder);              //IMP21_CINN
            ImportUtils.AppendEmpty(builder);              //IMP21_ZAK
            ImportUtils.AppendField(builder, SrazTrval);   //IMP21_TRVALE
            ImportUtils.AppendField(builder, VypZpusob);   //IMP02_ZPUSOB
            ImportUtils.AppendEmpty(builder);              //IMP02_OBEC
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_COBEC
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_DCIS
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_DTYP
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_ULICE
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_PSC
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_POSTA
            ImportUtils.AppendEmpty(builder);              //IMP_ADRESA_OCIS
            ImportUtils.AppendField(builder, VypBkUcet);   //IMP_BKSPOJ_UCET
            ImportUtils.AppendField(builder, VypBkBank);   //IMP_BKSPOJ_USTAV
            ImportUtils.AppendField(builder, VypBkKSym);   //IMP_BKSPOJ_KSYMB
            ImportUtils.AppendField(builder, VypBkVSym);   //IMP_BKSPOJ_VSYMB
            ImportUtils.AppendField(builder, VypBkSSym);   //IMP_BKSPOJ_SSYMB
            ImportUtils.AppendEmpty(builder);              //IMP21_OPT_MENA
            ImportUtils.AppendEmpty(builder);              //IMP21_OPT_ZEME
            ImportUtils.AppendEmpty(builder);              //IMP21_OPT_MESTO
            ImportUtils.AppendEmpty(builder);              //IMP21_SRAZJENPLNA
            ImportUtils.AppendField(builder, ExecDatOd()); //IMP21_POSLEDNI
            ImportUtils.AppendField(builder, SPoznamka);   //IMP21_POSLEDNI

            writer.WriteLine(builder.ToString());
        }
        public void ExportDataImp21(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(21);

            ImportUtils.AppendField(builder, OsobniCislo);      //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, SlozkaKod);        ///IMP21_KODSRAZ
            ImportUtils.AppendEmpty(builder);                   //IMP21_KODSRAZTEXT
            ImportUtils.AppendField(builder, CastkaMinule);     //IMP21_CELKEM
            ImportUtils.AppendEmpty(builder);                   //IMP21_MESICNI
            ImportUtils.AppendEmpty(builder);                   //IMP21_PROCJED
            ImportUtils.AppendField(builder, CastkaSazba);      //IMP21_POSLEDNI
            ImportUtils.AppendField(builder, ExekuceKod);       //IMP21_POSLEDNIDEN
            ImportUtils.AppendEmpty(builder);                   //IMP21_POSLEDNIMES
            ImportUtils.AppendEmpty(builder);                   //IMP21_POSLEDNIROK
            ImportUtils.AppendEmpty(builder);                   //IMP21_STRED
            ImportUtils.AppendEmpty(builder);                   //IMP21_CINN
            ImportUtils.AppendEmpty(builder);                   //IMP21_ZAK
            ImportUtils.AppendField(builder, StalostTrvale);    //IMP21_TRVALE
            ImportUtils.AppendField(builder, ZpusobVyplaty);    //IMP02_ZPUSOB
            ImportUtils.AppendEmpty(builder);                   //IMP02_OBEC
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_COBEC
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_DCIS
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_DTYP
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_ULICE
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_PSC
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_POSTA
            ImportUtils.AppendEmpty(builder);                   //IMP_ADRESA_OCIS
            ImportUtils.AppendField(builder, BankovniUcet);     //IMP_BKSPOJ_UCET
            ImportUtils.AppendField(builder, BankovniUstav);    //IMP_BKSPOJ_USTAV
            ImportUtils.AppendField(builder, KonstantniSymbol); //IMP_BKSPOJ_KSYMB
            ImportUtils.AppendField(builder, VariabilniSymbol); //IMP_BKSPOJ_VSYMB
            ImportUtils.AppendField(builder, SpecifickySymbol); //IMP_BKSPOJ_SSYMB
            ImportUtils.AppendEmpty(builder);                   //IMP21_OPT_MENA
            ImportUtils.AppendEmpty(builder);                   //IMP21_OPT_ZEME
            ImportUtils.AppendEmpty(builder);                   //IMP21_OPT_MESTO
            ImportUtils.AppendEmpty(builder);                   //IMP21_SRAZJENPLNA
            ImportUtils.AppendField(builder, ExecDatOd());      //IMP21_POSLEDNI
            ImportUtils.AppendField(builder, SrazkaPoznamka);   //IMP21_POSLEDNI

            writer.WriteLine(builder.ToString());
        }
Example #14
0
        public void CreateImportRecord03(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(3);

            ImportUtils.AppendField(builder, OsobCislo); //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PersVzdel); //IMP03_VZDELNEJ
            ImportUtils.AppendField(builder, PersOborV); //IMP03_VZDELOBOR
            ImportUtils.AppendEmpty(builder);            //IMP03_JKOV
            ImportUtils.AppendField(builder, PersRidic); //IMP03_RIDIC
            ImportUtils.AppendField(builder, PersTelC1); //IMP03_TEL1CIS
            ImportUtils.AppendField(builder, PersTelT1); //IMP03_TEL1TYP
            ImportUtils.AppendField(builder, PersTelC2); //IMP03_TEL2CIS
            ImportUtils.AppendField(builder, PersTelT2); //IMP03_TEL2TYP
            ImportUtils.AppendField(builder, PersVojak); //IMP03_VOJAK
            ImportUtils.AppendEmpty(builder);            //IMP03_OSDATA
            ImportUtils.AppendEmpty(builder);            //IMP03_PREDCHOZI
            ImportUtils.AppendField(builder, PPoznamka); //IMP03_POZNAMKA
            ImportUtils.AppendField(builder, "");        //IMP03_PRACMAIL
            ImportUtils.AppendField(builder, "");        //IMP03_PDFHESLO

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #15
0
        public void CreateImportRecord03(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(3);

            ImportUtils.AppendField(builder, OsobniCislo);   //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, VzdelaniKod);   //IMP03_VZDELNEJ
            ImportUtils.AppendField(builder, OborVzdelani);  //IMP03_VZDELOBOR
            ImportUtils.AppendEmpty(builder);                //IMP03_JKOV
            ImportUtils.AppendField(builder, RidicPrukaz);   //IMP03_RIDIC
            ImportUtils.AppendField(builder, TelefonCislo1); //IMP03_TEL1CIS
            ImportUtils.AppendField(builder, TelefonTyp1);   //IMP03_TEL1TYP
            ImportUtils.AppendField(builder, TelefonCislo2); //IMP03_TEL2CIS
            ImportUtils.AppendField(builder, TelefonTyp2);   //IMP03_TEL2TYP
            ImportUtils.AppendField(builder, VojakKod);      //IMP03_VOJAK
            ImportUtils.AppendEmpty(builder);                //IMP03_OSDATA
            ImportUtils.AppendEmpty(builder);                //IMP03_PREDCHOZI
            ImportUtils.AppendField(builder, Poznamka);      //IMP03_POZNAMKA
            ImportUtils.AppendField(builder, "");            //IMP03_PRACMAIL
            ImportUtils.AppendField(builder, "");            //IMP03_PDFHESLO

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }
Example #16
0
        public void CreateImportRecord18(TextWriter writer)
        {
            StringBuilder builder = ImportUtils.CreateLine(18);

            ImportUtils.AppendField(builder, OsobCislo);         //IMP00_OSOBCISLO
            ImportUtils.AppendField(builder, PPomCislo);         //IMP17_PPOMER
            ImportUtils.AppendField(builder, PPomOdmen);         //IMP18_ZPODMEN
            ImportUtils.AppendField(builder, PPomDUvaz);         //IMP18_DRUHUVAZ
            ImportUtils.AppendField(builder, PPomPlnyUMinuty()); //IMP18_PLNUVAZ
            ImportUtils.AppendField(builder, PPomSkutUMinuty()); //IMP18_SKUTUVAZ
            ImportUtils.AppendEmpty(builder);                    //IMP18_KALENUVAZ
            ImportUtils.AppendField(builder, "");                //IMP18_STR
            ImportUtils.AppendField(builder, "");                //IMP18_CIN
            ImportUtils.AppendEmpty(builder);                    //IMP18_ZAK
            ImportUtils.AppendEmpty(builder);                    //IMP18_TURNDELKA
            ImportUtils.AppendEmpty(builder);                    //IMP18_TURNZAC
            ImportUtils.AppendEmpty(builder);                    //IMP18_TURNSMEN
            ImportUtils.AppendEmpty(builder);                    //DEN_02
            ImportUtils.AppendEmpty(builder);                    //DEN_03
            ImportUtils.AppendEmpty(builder);                    //DEN_04
            ImportUtils.AppendEmpty(builder);                    //DEN_05
            ImportUtils.AppendEmpty(builder);                    //DEN_06
            ImportUtils.AppendEmpty(builder);                    //DEN_07
            ImportUtils.AppendEmpty(builder);                    //DEN_08
            ImportUtils.AppendEmpty(builder);                    //DEN_09
            ImportUtils.AppendEmpty(builder);                    //DEN_10
            ImportUtils.AppendEmpty(builder);                    //DEN_11
            ImportUtils.AppendEmpty(builder);                    //DEN_12
            ImportUtils.AppendEmpty(builder);                    //DEN_13
            ImportUtils.AppendEmpty(builder);                    //DEN_14
            ImportUtils.AppendEmpty(builder);                    //DEN_15
            ImportUtils.AppendEmpty(builder);                    //DEN_16
            ImportUtils.AppendEmpty(builder);                    //DEN_17
            ImportUtils.AppendEmpty(builder);                    //DEN_18
            ImportUtils.AppendEmpty(builder);                    //DEN_19
            ImportUtils.AppendEmpty(builder);                    //DEN_20
            ImportUtils.AppendEmpty(builder);                    //DEN_21
            ImportUtils.AppendEmpty(builder);                    //DEN_22
            ImportUtils.AppendEmpty(builder);                    //DEN_23
            ImportUtils.AppendEmpty(builder);                    //DEN_24
            ImportUtils.AppendEmpty(builder);                    //DEN_25
            ImportUtils.AppendEmpty(builder);                    //DEN_26
            ImportUtils.AppendEmpty(builder);                    //DEN_27
            ImportUtils.AppendEmpty(builder);                    //DEN_28
            ImportUtils.AppendEmpty(builder);                    //IMP18_TURNSMENZAM
            ImportUtils.AppendEmpty(builder);                    //IMP18_TURNKALEN
            ImportUtils.AppendEmpty(builder);                    //DEN_02
            ImportUtils.AppendEmpty(builder);                    //DEN_03
            ImportUtils.AppendEmpty(builder);                    //DEN_04
            ImportUtils.AppendEmpty(builder);                    //DEN_05
            ImportUtils.AppendEmpty(builder);                    //DEN_06
            ImportUtils.AppendEmpty(builder);                    //DEN_07
            ImportUtils.AppendEmpty(builder);                    //DEN_08
            ImportUtils.AppendEmpty(builder);                    //DEN_09
            ImportUtils.AppendEmpty(builder);                    //DEN_10
            ImportUtils.AppendEmpty(builder);                    //DEN_11
            ImportUtils.AppendEmpty(builder);                    //DEN_12
            ImportUtils.AppendEmpty(builder);                    //DEN_13
            ImportUtils.AppendEmpty(builder);                    //DEN_14
            ImportUtils.AppendEmpty(builder);                    //DEN_15
            ImportUtils.AppendEmpty(builder);                    //DEN_16
            ImportUtils.AppendEmpty(builder);                    //DEN_17
            ImportUtils.AppendEmpty(builder);                    //DEN_18
            ImportUtils.AppendEmpty(builder);                    //DEN_19
            ImportUtils.AppendEmpty(builder);                    //DEN_20
            ImportUtils.AppendEmpty(builder);                    //DEN_21
            ImportUtils.AppendEmpty(builder);                    //DEN_22
            ImportUtils.AppendEmpty(builder);                    //DEN_23
            ImportUtils.AppendEmpty(builder);                    //DEN_24
            ImportUtils.AppendEmpty(builder);                    //DEN_25
            ImportUtils.AppendEmpty(builder);                    //DEN_26
            ImportUtils.AppendEmpty(builder);                    //DEN_27
            ImportUtils.AppendEmpty(builder);                    //DEN_28
            ImportUtils.AppendEmpty(builder);                    //DEN_29
            ImportUtils.AppendEmpty(builder);                    //DEN_30
            ImportUtils.AppendEmpty(builder);                    //DEN_31
            ImportUtils.AppendField(builder, "");                //IMP18_PRUMVYDHOD
            ImportUtils.AppendEmpty(builder);                    //IMP18_ZAPVYDDEN
            ImportUtils.AppendEmpty(builder);                    //IMP18_ZVYSZAKLQ1
            ImportUtils.AppendEmpty(builder);                    //IMP18_ZVYSZAKLQ2
            ImportUtils.AppendEmpty(builder);                    //IMP18_ZVYSZAKLQ3
            ImportUtils.AppendEmpty(builder);                    //IMP18_ZVYSZAKLQ4
            ImportUtils.AppendEmpty(builder);                    //IMP18_DOVVSVATEK
            ImportUtils.AppendEmpty(builder);                    //IMP18_DOVZREZIMU

            string vetaImResult = builder.ToString();

            writer.WriteLine(vetaImResult);
        }