Index: Baza Reklam 2 - Faktury/REKLAMADataSet.Designer.cs
===================================================================
--- Baza Reklam 2 - Faktury/REKLAMADataSet.Designer.cs (revision 28)
+++ Baza Reklam 2 - Faktury/REKLAMADataSet.Designer.cs (revision 33)
@@ -90,7 +90,7 @@
         private WplatyDataTable tableWplaty;
         
+        private PROWIZJEDataTable tablePROWIZJE;
+        
         private VIEW_KOREKTYDataTable tableVIEW_KOREKTY;
-        
-        private PROWIZJEDataTable tablePROWIZJE;
         
         private global::System.Data.DataRelation relationFAKTURY_UKAZE_SIE_W_NR;
@@ -248,9 +248,9 @@
                     base.Tables.Add(new WplatyDataTable(ds.Tables["Wplaty"]));
                 }
+                if ((ds.Tables["PROWIZJE"] != null)) {
+                    base.Tables.Add(new PROWIZJEDataTable(ds.Tables["PROWIZJE"]));
+                }
                 if ((ds.Tables["VIEW_KOREKTY"] != null)) {
                     base.Tables.Add(new VIEW_KOREKTYDataTable(ds.Tables["VIEW_KOREKTY"]));
-                }
-                if ((ds.Tables["PROWIZJE"] != null)) {
-                    base.Tables.Add(new PROWIZJEDataTable(ds.Tables["PROWIZJE"]));
                 }
                 this.DataSetName = ds.DataSetName;
@@ -563,16 +563,16 @@
         [global::System.ComponentModel.Browsable(false)]
         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+        public PROWIZJEDataTable PROWIZJE {
+            get {
+                return this.tablePROWIZJE;
+            }
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [global::System.ComponentModel.Browsable(false)]
+        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
         public VIEW_KOREKTYDataTable VIEW_KOREKTY {
             get {
                 return this.tableVIEW_KOREKTY;
-            }
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.ComponentModel.Browsable(false)]
-        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
-        public PROWIZJEDataTable PROWIZJE {
-            get {
-                return this.tablePROWIZJE;
             }
         }
@@ -733,9 +733,9 @@
                     base.Tables.Add(new WplatyDataTable(ds.Tables["Wplaty"]));
                 }
+                if ((ds.Tables["PROWIZJE"] != null)) {
+                    base.Tables.Add(new PROWIZJEDataTable(ds.Tables["PROWIZJE"]));
+                }
                 if ((ds.Tables["VIEW_KOREKTY"] != null)) {
                     base.Tables.Add(new VIEW_KOREKTYDataTable(ds.Tables["VIEW_KOREKTY"]));
-                }
-                if ((ds.Tables["PROWIZJE"] != null)) {
-                    base.Tables.Add(new PROWIZJEDataTable(ds.Tables["PROWIZJE"]));
                 }
                 this.DataSetName = ds.DataSetName;
@@ -961,14 +961,14 @@
                 }
             }
+            this.tablePROWIZJE = ((PROWIZJEDataTable)(base.Tables["PROWIZJE"]));
+            if ((initTable == true)) {
+                if ((this.tablePROWIZJE != null)) {
+                    this.tablePROWIZJE.InitVars();
+                }
+            }
             this.tableVIEW_KOREKTY = ((VIEW_KOREKTYDataTable)(base.Tables["VIEW_KOREKTY"]));
             if ((initTable == true)) {
                 if ((this.tableVIEW_KOREKTY != null)) {
                     this.tableVIEW_KOREKTY.InitVars();
-                }
-            }
-            this.tablePROWIZJE = ((PROWIZJEDataTable)(base.Tables["PROWIZJE"]));
-            if ((initTable == true)) {
-                if ((this.tablePROWIZJE != null)) {
-                    this.tablePROWIZJE.InitVars();
                 }
             }
@@ -1062,8 +1062,8 @@
             this.tableWplaty = new WplatyDataTable();
             base.Tables.Add(this.tableWplaty);
+            this.tablePROWIZJE = new PROWIZJEDataTable();
+            base.Tables.Add(this.tablePROWIZJE);
             this.tableVIEW_KOREKTY = new VIEW_KOREKTYDataTable();
             base.Tables.Add(this.tableVIEW_KOREKTY);
-            this.tablePROWIZJE = new PROWIZJEDataTable();
-            base.Tables.Add(this.tablePROWIZJE);
             global::System.Data.ForeignKeyConstraint fkc;
             fkc = new global::System.Data.ForeignKeyConstraint("FAKTURY_UKAZE_SIE_W_NR", new global::System.Data.DataColumn[] {
@@ -1317,10 +1317,10 @@
         
         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        private bool ShouldSerializePROWIZJE() {
+            return false;
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
         private bool ShouldSerializeVIEW_KOREKTY() {
-            return false;
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        private bool ShouldSerializePROWIZJE() {
             return false;
         }
@@ -1443,7 +1443,7 @@
         public delegate void WplatyRowChangeEventHandler(object sender, WplatyRowChangeEvent e);
         
+        public delegate void PROWIZJERowChangeEventHandler(object sender, PROWIZJERowChangeEvent e);
+        
         public delegate void VIEW_KOREKTYRowChangeEventHandler(object sender, VIEW_KOREKTYRowChangeEvent e);
-        
-        public delegate void PROWIZJERowChangeEventHandler(object sender, PROWIZJERowChangeEvent e);
         
         /// <summary>
@@ -17450,725 +17450,4 @@
         [global::System.Serializable()]
         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
-        public partial class VIEW_KOREKTYDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
-            
-            private global::System.Data.DataColumn columnID_FAKTURY;
-            
-            private global::System.Data.DataColumn columnCustomerId;
-            
-            private global::System.Data.DataColumn columnId_Agencji;
-            
-            private global::System.Data.DataColumn columnNUMER;
-            
-            private global::System.Data.DataColumn columnNUMER_ROZ;
-            
-            private global::System.Data.DataColumn columnNUMER_ROK;
-            
-            private global::System.Data.DataColumn columnnetto;
-            
-            private global::System.Data.DataColumn columns_vat;
-            
-            private global::System.Data.DataColumn columnvat;
-            
-            private global::System.Data.DataColumn columnbrutto;
-            
-            private global::System.Data.DataColumn columnsuma_zaplat;
-            
-            private global::System.Data.DataColumn columnDATA_WYSTAWIENIA;
-            
-            private global::System.Data.DataColumn columnDATA_SPRZEDAZY;
-            
-            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
-            
-            private global::System.Data.DataColumn columnzaplata_data;
-            
-            private global::System.Data.DataColumn columnzaplata_opis;
-            
-            private global::System.Data.DataColumn columnidZamowienia;
-            
-            private global::System.Data.DataColumn columnKOREKTA;
-            
-            private global::System.Data.DataColumn columnidFakturyKorekta;
-            
-            private global::System.Data.DataColumn columnNR_FAKTURY_KOREKTY;
-            
-            private global::System.Data.DataColumn columnNUMER_F;
-            
-            private global::System.Data.DataColumn columnNUMER_ROZ_F;
-            
-            private global::System.Data.DataColumn columnNUMER_ROK_F;
-            
-            private global::System.Data.DataColumn columnnetto_F;
-            
-            private global::System.Data.DataColumn columnbrutto_F;
-            
-            private global::System.Data.DataColumn columnvat_F;
-            
-            private global::System.Data.DataColumn columnsuma_zapłat_F;
-            
-            private global::System.Data.DataColumn columndata_wystawienia_F;
-            
-            private global::System.Data.DataColumn columnNR_FAKTURY;
-            
-            private global::System.Data.DataColumn columnroznica_netto;
-            
-            private global::System.Data.DataColumn columnroznica_vat;
-            
-            private global::System.Data.DataColumn columnroznica_brutto;
-            
-            private global::System.Data.DataColumn columnkodKlienta;
-            
-            private global::System.Data.DataColumn columnagencja;
-            
-            private global::System.Data.DataColumn columnagent;
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public VIEW_KOREKTYDataTable() {
-                this.TableName = "VIEW_KOREKTY";
-                this.BeginInit();
-                this.InitClass();
-                this.EndInit();
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            internal VIEW_KOREKTYDataTable(global::System.Data.DataTable table) {
-                this.TableName = table.TableName;
-                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
-                    this.CaseSensitive = table.CaseSensitive;
-                }
-                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
-                    this.Locale = table.Locale;
-                }
-                if ((table.Namespace != table.DataSet.Namespace)) {
-                    this.Namespace = table.Namespace;
-                }
-                this.Prefix = table.Prefix;
-                this.MinimumCapacity = table.MinimumCapacity;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected VIEW_KOREKTYDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
-                    base(info, context) {
-                this.InitVars();
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn ID_FAKTURYColumn {
-                get {
-                    return this.columnID_FAKTURY;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn CustomerIdColumn {
-                get {
-                    return this.columnCustomerId;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn Id_AgencjiColumn {
-                get {
-                    return this.columnId_Agencji;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NUMERColumn {
-                get {
-                    return this.columnNUMER;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NUMER_ROZColumn {
-                get {
-                    return this.columnNUMER_ROZ;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NUMER_ROKColumn {
-                get {
-                    return this.columnNUMER_ROK;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn nettoColumn {
-                get {
-                    return this.columnnetto;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn s_vatColumn {
-                get {
-                    return this.columns_vat;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn vatColumn {
-                get {
-                    return this.columnvat;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn bruttoColumn {
-                get {
-                    return this.columnbrutto;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn suma_zaplatColumn {
-                get {
-                    return this.columnsuma_zaplat;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn DATA_WYSTAWIENIAColumn {
-                get {
-                    return this.columnDATA_WYSTAWIENIA;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn DATA_SPRZEDAZYColumn {
-                get {
-                    return this.columnDATA_SPRZEDAZY;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn TERMIN_ZAPLATYColumn {
-                get {
-                    return this.columnTERMIN_ZAPLATY;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn zaplata_dataColumn {
-                get {
-                    return this.columnzaplata_data;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn zaplata_opisColumn {
-                get {
-                    return this.columnzaplata_opis;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn idZamowieniaColumn {
-                get {
-                    return this.columnidZamowienia;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn KOREKTAColumn {
-                get {
-                    return this.columnKOREKTA;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn idFakturyKorektaColumn {
-                get {
-                    return this.columnidFakturyKorekta;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NR_FAKTURY_KOREKTYColumn {
-                get {
-                    return this.columnNR_FAKTURY_KOREKTY;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NUMER_FColumn {
-                get {
-                    return this.columnNUMER_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NUMER_ROZ_FColumn {
-                get {
-                    return this.columnNUMER_ROZ_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NUMER_ROK_FColumn {
-                get {
-                    return this.columnNUMER_ROK_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn netto_FColumn {
-                get {
-                    return this.columnnetto_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn brutto_FColumn {
-                get {
-                    return this.columnbrutto_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn vat_FColumn {
-                get {
-                    return this.columnvat_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn suma_zapłat_FColumn {
-                get {
-                    return this.columnsuma_zapłat_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn data_wystawienia_FColumn {
-                get {
-                    return this.columndata_wystawienia_F;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn NR_FAKTURYColumn {
-                get {
-                    return this.columnNR_FAKTURY;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn roznica_nettoColumn {
-                get {
-                    return this.columnroznica_netto;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn roznica_vatColumn {
-                get {
-                    return this.columnroznica_vat;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn roznica_bruttoColumn {
-                get {
-                    return this.columnroznica_brutto;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn kodKlientaColumn {
-                get {
-                    return this.columnkodKlienta;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn agencjaColumn {
-                get {
-                    return this.columnagencja;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn agentColumn {
-                get {
-                    return this.columnagent;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            [global::System.ComponentModel.Browsable(false)]
-            public int Count {
-                get {
-                    return this.Rows.Count;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public VIEW_KOREKTYRow this[int index] {
-                get {
-                    return ((VIEW_KOREKTYRow)(this.Rows[index]));
-                }
-            }
-            
-            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowChanging;
-            
-            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowChanged;
-            
-            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowDeleting;
-            
-            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowDeleted;
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void AddVIEW_KOREKTYRow(VIEW_KOREKTYRow row) {
-                this.Rows.Add(row);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public VIEW_KOREKTYRow AddVIEW_KOREKTYRow(
-                        int CustomerId, 
-                        int Id_Agencji, 
-                        int NUMER, 
-                        string NUMER_ROZ, 
-                        int NUMER_ROK, 
-                        decimal netto, 
-                        double s_vat, 
-                        decimal vat, 
-                        decimal brutto, 
-                        decimal suma_zaplat, 
-                        System.DateTime DATA_WYSTAWIENIA, 
-                        System.DateTime DATA_SPRZEDAZY, 
-                        System.DateTime TERMIN_ZAPLATY, 
-                        System.DateTime zaplata_data, 
-                        string zaplata_opis, 
-                        int idZamowienia, 
-                        byte KOREKTA, 
-                        int idFakturyKorekta, 
-                        string NR_FAKTURY_KOREKTY, 
-                        int NUMER_F, 
-                        string NUMER_ROZ_F, 
-                        int NUMER_ROK_F, 
-                        decimal netto_F, 
-                        decimal brutto_F, 
-                        decimal vat_F, 
-                        decimal suma_zapłat_F, 
-                        System.DateTime data_wystawienia_F, 
-                        string NR_FAKTURY, 
-                        decimal roznica_netto, 
-                        decimal roznica_vat, 
-                        decimal roznica_brutto, 
-                        string kodKlienta, 
-                        string agencja, 
-                        string agent) {
-                VIEW_KOREKTYRow rowVIEW_KOREKTYRow = ((VIEW_KOREKTYRow)(this.NewRow()));
-                object[] columnValuesArray = new object[] {
-                        null,
-                        CustomerId,
-                        Id_Agencji,
-                        NUMER,
-                        NUMER_ROZ,
-                        NUMER_ROK,
-                        netto,
-                        s_vat,
-                        vat,
-                        brutto,
-                        suma_zaplat,
-                        DATA_WYSTAWIENIA,
-                        DATA_SPRZEDAZY,
-                        TERMIN_ZAPLATY,
-                        zaplata_data,
-                        zaplata_opis,
-                        idZamowienia,
-                        KOREKTA,
-                        idFakturyKorekta,
-                        NR_FAKTURY_KOREKTY,
-                        NUMER_F,
-                        NUMER_ROZ_F,
-                        NUMER_ROK_F,
-                        netto_F,
-                        brutto_F,
-                        vat_F,
-                        suma_zapłat_F,
-                        data_wystawienia_F,
-                        NR_FAKTURY,
-                        roznica_netto,
-                        roznica_vat,
-                        roznica_brutto,
-                        kodKlienta,
-                        agencja,
-                        agent};
-                rowVIEW_KOREKTYRow.ItemArray = columnValuesArray;
-                this.Rows.Add(rowVIEW_KOREKTYRow);
-                return rowVIEW_KOREKTYRow;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public virtual global::System.Collections.IEnumerator GetEnumerator() {
-                return this.Rows.GetEnumerator();
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public override global::System.Data.DataTable Clone() {
-                VIEW_KOREKTYDataTable cln = ((VIEW_KOREKTYDataTable)(base.Clone()));
-                cln.InitVars();
-                return cln;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override global::System.Data.DataTable CreateInstance() {
-                return new VIEW_KOREKTYDataTable();
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            internal void InitVars() {
-                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
-                this.columnCustomerId = base.Columns["CustomerId"];
-                this.columnId_Agencji = base.Columns["Id_Agencji"];
-                this.columnNUMER = base.Columns["NUMER"];
-                this.columnNUMER_ROZ = base.Columns["NUMER_ROZ"];
-                this.columnNUMER_ROK = base.Columns["NUMER_ROK"];
-                this.columnnetto = base.Columns["netto"];
-                this.columns_vat = base.Columns["s_vat"];
-                this.columnvat = base.Columns["vat"];
-                this.columnbrutto = base.Columns["brutto"];
-                this.columnsuma_zaplat = base.Columns["suma_zaplat"];
-                this.columnDATA_WYSTAWIENIA = base.Columns["DATA_WYSTAWIENIA"];
-                this.columnDATA_SPRZEDAZY = base.Columns["DATA_SPRZEDAZY"];
-                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
-                this.columnzaplata_data = base.Columns["zaplata_data"];
-                this.columnzaplata_opis = base.Columns["zaplata_opis"];
-                this.columnidZamowienia = base.Columns["idZamowienia"];
-                this.columnKOREKTA = base.Columns["KOREKTA"];
-                this.columnidFakturyKorekta = base.Columns["idFakturyKorekta"];
-                this.columnNR_FAKTURY_KOREKTY = base.Columns["NR_FAKTURY_KOREKTY"];
-                this.columnNUMER_F = base.Columns["NUMER_F"];
-                this.columnNUMER_ROZ_F = base.Columns["NUMER_ROZ_F"];
-                this.columnNUMER_ROK_F = base.Columns["NUMER_ROK_F"];
-                this.columnnetto_F = base.Columns["netto_F"];
-                this.columnbrutto_F = base.Columns["brutto_F"];
-                this.columnvat_F = base.Columns["vat_F"];
-                this.columnsuma_zapłat_F = base.Columns["suma_zapłat_F"];
-                this.columndata_wystawienia_F = base.Columns["data_wystawienia_F"];
-                this.columnNR_FAKTURY = base.Columns["NR_FAKTURY"];
-                this.columnroznica_netto = base.Columns["roznica_netto"];
-                this.columnroznica_vat = base.Columns["roznica_vat"];
-                this.columnroznica_brutto = base.Columns["roznica_brutto"];
-                this.columnkodKlienta = base.Columns["kodKlienta"];
-                this.columnagencja = base.Columns["agencja"];
-                this.columnagent = base.Columns["agent"];
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            private void InitClass() {
-                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnID_FAKTURY);
-                this.columnCustomerId = new global::System.Data.DataColumn("CustomerId", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnCustomerId);
-                this.columnId_Agencji = new global::System.Data.DataColumn("Id_Agencji", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnId_Agencji);
-                this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNUMER);
-                this.columnNUMER_ROZ = new global::System.Data.DataColumn("NUMER_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNUMER_ROZ);
-                this.columnNUMER_ROK = new global::System.Data.DataColumn("NUMER_ROK", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNUMER_ROK);
-                this.columnnetto = new global::System.Data.DataColumn("netto", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnnetto);
-                this.columns_vat = new global::System.Data.DataColumn("s_vat", typeof(double), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columns_vat);
-                this.columnvat = new global::System.Data.DataColumn("vat", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnvat);
-                this.columnbrutto = new global::System.Data.DataColumn("brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnbrutto);
-                this.columnsuma_zaplat = new global::System.Data.DataColumn("suma_zaplat", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnsuma_zaplat);
-                this.columnDATA_WYSTAWIENIA = new global::System.Data.DataColumn("DATA_WYSTAWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnDATA_WYSTAWIENIA);
-                this.columnDATA_SPRZEDAZY = new global::System.Data.DataColumn("DATA_SPRZEDAZY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnDATA_SPRZEDAZY);
-                this.columnTERMIN_ZAPLATY = new global::System.Data.DataColumn("TERMIN_ZAPLATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnTERMIN_ZAPLATY);
-                this.columnzaplata_data = new global::System.Data.DataColumn("zaplata_data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnzaplata_data);
-                this.columnzaplata_opis = new global::System.Data.DataColumn("zaplata_opis", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnzaplata_opis);
-                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnidZamowienia);
-                this.columnKOREKTA = new global::System.Data.DataColumn("KOREKTA", typeof(byte), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnKOREKTA);
-                this.columnidFakturyKorekta = new global::System.Data.DataColumn("idFakturyKorekta", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnidFakturyKorekta);
-                this.columnNR_FAKTURY_KOREKTY = new global::System.Data.DataColumn("NR_FAKTURY_KOREKTY", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNR_FAKTURY_KOREKTY);
-                this.columnNUMER_F = new global::System.Data.DataColumn("NUMER_F", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNUMER_F);
-                this.columnNUMER_ROZ_F = new global::System.Data.DataColumn("NUMER_ROZ_F", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNUMER_ROZ_F);
-                this.columnNUMER_ROK_F = new global::System.Data.DataColumn("NUMER_ROK_F", typeof(int), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNUMER_ROK_F);
-                this.columnnetto_F = new global::System.Data.DataColumn("netto_F", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnnetto_F);
-                this.columnbrutto_F = new global::System.Data.DataColumn("brutto_F", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnbrutto_F);
-                this.columnvat_F = new global::System.Data.DataColumn("vat_F", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnvat_F);
-                this.columnsuma_zapłat_F = new global::System.Data.DataColumn("suma_zapłat_F", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnsuma_zapłat_F);
-                this.columndata_wystawienia_F = new global::System.Data.DataColumn("data_wystawienia_F", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columndata_wystawienia_F);
-                this.columnNR_FAKTURY = new global::System.Data.DataColumn("NR_FAKTURY", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnNR_FAKTURY);
-                this.columnroznica_netto = new global::System.Data.DataColumn("roznica_netto", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnroznica_netto);
-                this.columnroznica_vat = new global::System.Data.DataColumn("roznica_vat", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnroznica_vat);
-                this.columnroznica_brutto = new global::System.Data.DataColumn("roznica_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnroznica_brutto);
-                this.columnkodKlienta = new global::System.Data.DataColumn("kodKlienta", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnkodKlienta);
-                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnagencja);
-                this.columnagent = new global::System.Data.DataColumn("agent", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnagent);
-                this.columnID_FAKTURY.AutoIncrement = true;
-                this.columnID_FAKTURY.AllowDBNull = false;
-                this.columnID_FAKTURY.ReadOnly = true;
-                this.columnNUMER_ROZ.MaxLength = 8;
-                this.columnzaplata_opis.MaxLength = 50;
-                this.columnKOREKTA.AllowDBNull = false;
-                this.columnNR_FAKTURY_KOREKTY.ReadOnly = true;
-                this.columnNR_FAKTURY_KOREKTY.MaxLength = 92;
-                this.columnNUMER_ROZ_F.MaxLength = 8;
-                this.columnNR_FAKTURY.ReadOnly = true;
-                this.columnNR_FAKTURY.MaxLength = 92;
-                this.columnroznica_netto.ReadOnly = true;
-                this.columnroznica_vat.ReadOnly = true;
-                this.columnroznica_brutto.ReadOnly = true;
-                this.columnkodKlienta.MaxLength = 10;
-                this.columnagencja.MaxLength = 50;
-                this.columnagent.MaxLength = 50;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public VIEW_KOREKTYRow NewVIEW_KOREKTYRow() {
-                return ((VIEW_KOREKTYRow)(this.NewRow()));
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
-                return new VIEW_KOREKTYRow(builder);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override global::System.Type GetRowType() {
-                return typeof(VIEW_KOREKTYRow);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
-                base.OnRowChanged(e);
-                if ((this.VIEW_KOREKTYRowChanged != null)) {
-                    this.VIEW_KOREKTYRowChanged(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
-                base.OnRowChanging(e);
-                if ((this.VIEW_KOREKTYRowChanging != null)) {
-                    this.VIEW_KOREKTYRowChanging(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
-                base.OnRowDeleted(e);
-                if ((this.VIEW_KOREKTYRowDeleted != null)) {
-                    this.VIEW_KOREKTYRowDeleted(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
-                base.OnRowDeleting(e);
-                if ((this.VIEW_KOREKTYRowDeleting != null)) {
-                    this.VIEW_KOREKTYRowDeleting(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void RemoveVIEW_KOREKTYRow(VIEW_KOREKTYRow row) {
-                this.Rows.Remove(row);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
-                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
-                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
-                REKLAMADataSet ds = new REKLAMADataSet();
-                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
-                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
-                any1.MinOccurs = new decimal(0);
-                any1.MaxOccurs = decimal.MaxValue;
-                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
-                sequence.Items.Add(any1);
-                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
-                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
-                any2.MinOccurs = new decimal(1);
-                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
-                sequence.Items.Add(any2);
-                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
-                attribute1.Name = "namespace";
-                attribute1.FixedValue = ds.Namespace;
-                type.Attributes.Add(attribute1);
-                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
-                attribute2.Name = "tableTypeName";
-                attribute2.FixedValue = "VIEW_KOREKTYDataTable";
-                type.Attributes.Add(attribute2);
-                type.Particle = sequence;
-                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
-                if (xs.Contains(dsSchema.TargetNamespace)) {
-                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
-                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
-                    try {
-                        global::System.Xml.Schema.XmlSchema schema = null;
-                        dsSchema.Write(s1);
-                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
-                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
-                            s2.SetLength(0);
-                            schema.Write(s2);
-                            if ((s1.Length == s2.Length)) {
-                                s1.Position = 0;
-                                s2.Position = 0;
-                                for (; ((s1.Position != s1.Length) 
-                                            && (s1.ReadByte() == s2.ReadByte())); ) {
-                                    ;
-                                }
-                                if ((s1.Position == s1.Length)) {
-                                    return type;
-                                }
-                            }
-                        }
-                    }
-                    finally {
-                        if ((s1 != null)) {
-                            s1.Close();
-                        }
-                        if ((s2 != null)) {
-                            s2.Close();
-                        }
-                    }
-                }
-                xs.Add(dsSchema);
-                return type;
-            }
-        }
-        
-        /// <summary>
-        ///Represents the strongly named DataTable class.
-        ///</summary>
-        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
-        [global::System.Serializable()]
-        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
         public partial class PROWIZJEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
             
@@ -18540,4 +17819,740 @@
         
         /// <summary>
+        ///Represents the strongly named DataTable class.
+        ///</summary>
+        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+        [global::System.Serializable()]
+        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+        public partial class VIEW_KOREKTYDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
+            
+            private global::System.Data.DataColumn columnID_FAKTURY;
+            
+            private global::System.Data.DataColumn columnCustomerId;
+            
+            private global::System.Data.DataColumn columnId_Agencji;
+            
+            private global::System.Data.DataColumn columnkodKlienta;
+            
+            private global::System.Data.DataColumn columnNUMER;
+            
+            private global::System.Data.DataColumn columnNUMER_ROZ;
+            
+            private global::System.Data.DataColumn columnNUMER_ROK;
+            
+            private global::System.Data.DataColumn columnnetto;
+            
+            private global::System.Data.DataColumn columnS_VAT;
+            
+            private global::System.Data.DataColumn columnvat;
+            
+            private global::System.Data.DataColumn columnbrutto;
+            
+            private global::System.Data.DataColumn columnsuma_zaplat;
+            
+            private global::System.Data.DataColumn columnDATA_WYSTAWIENIA;
+            
+            private global::System.Data.DataColumn columnDATA_SPRZEDAZY;
+            
+            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
+            
+            private global::System.Data.DataColumn columnzaplata_data;
+            
+            private global::System.Data.DataColumn columnzaplata_opis;
+            
+            private global::System.Data.DataColumn columnidZamowienia;
+            
+            private global::System.Data.DataColumn columnidFakturyKorekta;
+            
+            private global::System.Data.DataColumn columnNR_FAKTURY_KOREKTY;
+            
+            private global::System.Data.DataColumn columnNUMER_F;
+            
+            private global::System.Data.DataColumn columnNUMER_ROZ_F;
+            
+            private global::System.Data.DataColumn columnNUMER_ROK_F;
+            
+            private global::System.Data.DataColumn columnnetto_F;
+            
+            private global::System.Data.DataColumn columnbrutto_F;
+            
+            private global::System.Data.DataColumn columnvat_F;
+            
+            private global::System.Data.DataColumn columnsuma_zapłat_F;
+            
+            private global::System.Data.DataColumn columndata_wystawienia_F;
+            
+            private global::System.Data.DataColumn columnNR_FAKTURY;
+            
+            private global::System.Data.DataColumn columnroznica_netto;
+            
+            private global::System.Data.DataColumn columnroznica_vat;
+            
+            private global::System.Data.DataColumn columnroznica_brutto;
+            
+            private global::System.Data.DataColumn columnagencja;
+            
+            private global::System.Data.DataColumn columnagent;
+            
+            private global::System.Data.DataColumn columnwaluta_roznica_brutto;
+            
+            private global::System.Data.DataColumn columnwaluta_miano;
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public VIEW_KOREKTYDataTable() {
+                this.TableName = "VIEW_KOREKTY";
+                this.BeginInit();
+                this.InitClass();
+                this.EndInit();
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            internal VIEW_KOREKTYDataTable(global::System.Data.DataTable table) {
+                this.TableName = table.TableName;
+                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+                    this.CaseSensitive = table.CaseSensitive;
+                }
+                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+                    this.Locale = table.Locale;
+                }
+                if ((table.Namespace != table.DataSet.Namespace)) {
+                    this.Namespace = table.Namespace;
+                }
+                this.Prefix = table.Prefix;
+                this.MinimumCapacity = table.MinimumCapacity;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected VIEW_KOREKTYDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
+                    base(info, context) {
+                this.InitVars();
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn ID_FAKTURYColumn {
+                get {
+                    return this.columnID_FAKTURY;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn CustomerIdColumn {
+                get {
+                    return this.columnCustomerId;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn Id_AgencjiColumn {
+                get {
+                    return this.columnId_Agencji;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn kodKlientaColumn {
+                get {
+                    return this.columnkodKlienta;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NUMERColumn {
+                get {
+                    return this.columnNUMER;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NUMER_ROZColumn {
+                get {
+                    return this.columnNUMER_ROZ;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NUMER_ROKColumn {
+                get {
+                    return this.columnNUMER_ROK;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn nettoColumn {
+                get {
+                    return this.columnnetto;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn S_VATColumn {
+                get {
+                    return this.columnS_VAT;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn vatColumn {
+                get {
+                    return this.columnvat;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn bruttoColumn {
+                get {
+                    return this.columnbrutto;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn suma_zaplatColumn {
+                get {
+                    return this.columnsuma_zaplat;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn DATA_WYSTAWIENIAColumn {
+                get {
+                    return this.columnDATA_WYSTAWIENIA;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn DATA_SPRZEDAZYColumn {
+                get {
+                    return this.columnDATA_SPRZEDAZY;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn TERMIN_ZAPLATYColumn {
+                get {
+                    return this.columnTERMIN_ZAPLATY;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn zaplata_dataColumn {
+                get {
+                    return this.columnzaplata_data;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn zaplata_opisColumn {
+                get {
+                    return this.columnzaplata_opis;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn idZamowieniaColumn {
+                get {
+                    return this.columnidZamowienia;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn idFakturyKorektaColumn {
+                get {
+                    return this.columnidFakturyKorekta;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NR_FAKTURY_KOREKTYColumn {
+                get {
+                    return this.columnNR_FAKTURY_KOREKTY;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NUMER_FColumn {
+                get {
+                    return this.columnNUMER_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NUMER_ROZ_FColumn {
+                get {
+                    return this.columnNUMER_ROZ_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NUMER_ROK_FColumn {
+                get {
+                    return this.columnNUMER_ROK_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn netto_FColumn {
+                get {
+                    return this.columnnetto_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn brutto_FColumn {
+                get {
+                    return this.columnbrutto_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn vat_FColumn {
+                get {
+                    return this.columnvat_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn suma_zapłat_FColumn {
+                get {
+                    return this.columnsuma_zapłat_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn data_wystawienia_FColumn {
+                get {
+                    return this.columndata_wystawienia_F;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn NR_FAKTURYColumn {
+                get {
+                    return this.columnNR_FAKTURY;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn roznica_nettoColumn {
+                get {
+                    return this.columnroznica_netto;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn roznica_vatColumn {
+                get {
+                    return this.columnroznica_vat;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn roznica_bruttoColumn {
+                get {
+                    return this.columnroznica_brutto;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn agencjaColumn {
+                get {
+                    return this.columnagencja;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn agentColumn {
+                get {
+                    return this.columnagent;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn waluta_roznica_bruttoColumn {
+                get {
+                    return this.columnwaluta_roznica_brutto;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public global::System.Data.DataColumn waluta_mianoColumn {
+                get {
+                    return this.columnwaluta_miano;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            [global::System.ComponentModel.Browsable(false)]
+            public int Count {
+                get {
+                    return this.Rows.Count;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public VIEW_KOREKTYRow this[int index] {
+                get {
+                    return ((VIEW_KOREKTYRow)(this.Rows[index]));
+                }
+            }
+            
+            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowChanging;
+            
+            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowChanged;
+            
+            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowDeleting;
+            
+            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowDeleted;
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void AddVIEW_KOREKTYRow(VIEW_KOREKTYRow row) {
+                this.Rows.Add(row);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public VIEW_KOREKTYRow AddVIEW_KOREKTYRow(
+                        int CustomerId, 
+                        int Id_Agencji, 
+                        string kodKlienta, 
+                        int NUMER, 
+                        string NUMER_ROZ, 
+                        int NUMER_ROK, 
+                        decimal netto, 
+                        double S_VAT, 
+                        decimal vat, 
+                        decimal brutto, 
+                        decimal suma_zaplat, 
+                        System.DateTime DATA_WYSTAWIENIA, 
+                        System.DateTime DATA_SPRZEDAZY, 
+                        System.DateTime TERMIN_ZAPLATY, 
+                        System.DateTime zaplata_data, 
+                        string zaplata_opis, 
+                        int idZamowienia, 
+                        int idFakturyKorekta, 
+                        string NR_FAKTURY_KOREKTY, 
+                        int NUMER_F, 
+                        string NUMER_ROZ_F, 
+                        int NUMER_ROK_F, 
+                        decimal netto_F, 
+                        decimal brutto_F, 
+                        decimal vat_F, 
+                        decimal suma_zapłat_F, 
+                        System.DateTime data_wystawienia_F, 
+                        string NR_FAKTURY, 
+                        decimal roznica_netto, 
+                        decimal roznica_vat, 
+                        decimal roznica_brutto, 
+                        string agencja, 
+                        string agent, 
+                        double waluta_roznica_brutto, 
+                        string waluta_miano) {
+                VIEW_KOREKTYRow rowVIEW_KOREKTYRow = ((VIEW_KOREKTYRow)(this.NewRow()));
+                object[] columnValuesArray = new object[] {
+                        null,
+                        CustomerId,
+                        Id_Agencji,
+                        kodKlienta,
+                        NUMER,
+                        NUMER_ROZ,
+                        NUMER_ROK,
+                        netto,
+                        S_VAT,
+                        vat,
+                        brutto,
+                        suma_zaplat,
+                        DATA_WYSTAWIENIA,
+                        DATA_SPRZEDAZY,
+                        TERMIN_ZAPLATY,
+                        zaplata_data,
+                        zaplata_opis,
+                        idZamowienia,
+                        idFakturyKorekta,
+                        NR_FAKTURY_KOREKTY,
+                        NUMER_F,
+                        NUMER_ROZ_F,
+                        NUMER_ROK_F,
+                        netto_F,
+                        brutto_F,
+                        vat_F,
+                        suma_zapłat_F,
+                        data_wystawienia_F,
+                        NR_FAKTURY,
+                        roznica_netto,
+                        roznica_vat,
+                        roznica_brutto,
+                        agencja,
+                        agent,
+                        waluta_roznica_brutto,
+                        waluta_miano};
+                rowVIEW_KOREKTYRow.ItemArray = columnValuesArray;
+                this.Rows.Add(rowVIEW_KOREKTYRow);
+                return rowVIEW_KOREKTYRow;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public virtual global::System.Collections.IEnumerator GetEnumerator() {
+                return this.Rows.GetEnumerator();
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public override global::System.Data.DataTable Clone() {
+                VIEW_KOREKTYDataTable cln = ((VIEW_KOREKTYDataTable)(base.Clone()));
+                cln.InitVars();
+                return cln;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override global::System.Data.DataTable CreateInstance() {
+                return new VIEW_KOREKTYDataTable();
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            internal void InitVars() {
+                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
+                this.columnCustomerId = base.Columns["CustomerId"];
+                this.columnId_Agencji = base.Columns["Id_Agencji"];
+                this.columnkodKlienta = base.Columns["kodKlienta"];
+                this.columnNUMER = base.Columns["NUMER"];
+                this.columnNUMER_ROZ = base.Columns["NUMER_ROZ"];
+                this.columnNUMER_ROK = base.Columns["NUMER_ROK"];
+                this.columnnetto = base.Columns["netto"];
+                this.columnS_VAT = base.Columns["S_VAT"];
+                this.columnvat = base.Columns["vat"];
+                this.columnbrutto = base.Columns["brutto"];
+                this.columnsuma_zaplat = base.Columns["suma_zaplat"];
+                this.columnDATA_WYSTAWIENIA = base.Columns["DATA_WYSTAWIENIA"];
+                this.columnDATA_SPRZEDAZY = base.Columns["DATA_SPRZEDAZY"];
+                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
+                this.columnzaplata_data = base.Columns["zaplata_data"];
+                this.columnzaplata_opis = base.Columns["zaplata_opis"];
+                this.columnidZamowienia = base.Columns["idZamowienia"];
+                this.columnidFakturyKorekta = base.Columns["idFakturyKorekta"];
+                this.columnNR_FAKTURY_KOREKTY = base.Columns["NR_FAKTURY_KOREKTY"];
+                this.columnNUMER_F = base.Columns["NUMER_F"];
+                this.columnNUMER_ROZ_F = base.Columns["NUMER_ROZ_F"];
+                this.columnNUMER_ROK_F = base.Columns["NUMER_ROK_F"];
+                this.columnnetto_F = base.Columns["netto_F"];
+                this.columnbrutto_F = base.Columns["brutto_F"];
+                this.columnvat_F = base.Columns["vat_F"];
+                this.columnsuma_zapłat_F = base.Columns["suma_zapłat_F"];
+                this.columndata_wystawienia_F = base.Columns["data_wystawienia_F"];
+                this.columnNR_FAKTURY = base.Columns["NR_FAKTURY"];
+                this.columnroznica_netto = base.Columns["roznica_netto"];
+                this.columnroznica_vat = base.Columns["roznica_vat"];
+                this.columnroznica_brutto = base.Columns["roznica_brutto"];
+                this.columnagencja = base.Columns["agencja"];
+                this.columnagent = base.Columns["agent"];
+                this.columnwaluta_roznica_brutto = base.Columns["waluta_roznica_brutto"];
+                this.columnwaluta_miano = base.Columns["waluta_miano"];
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            private void InitClass() {
+                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnID_FAKTURY);
+                this.columnCustomerId = new global::System.Data.DataColumn("CustomerId", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnCustomerId);
+                this.columnId_Agencji = new global::System.Data.DataColumn("Id_Agencji", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnId_Agencji);
+                this.columnkodKlienta = new global::System.Data.DataColumn("kodKlienta", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnkodKlienta);
+                this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNUMER);
+                this.columnNUMER_ROZ = new global::System.Data.DataColumn("NUMER_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNUMER_ROZ);
+                this.columnNUMER_ROK = new global::System.Data.DataColumn("NUMER_ROK", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNUMER_ROK);
+                this.columnnetto = new global::System.Data.DataColumn("netto", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnnetto);
+                this.columnS_VAT = new global::System.Data.DataColumn("S_VAT", typeof(double), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnS_VAT);
+                this.columnvat = new global::System.Data.DataColumn("vat", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnvat);
+                this.columnbrutto = new global::System.Data.DataColumn("brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnbrutto);
+                this.columnsuma_zaplat = new global::System.Data.DataColumn("suma_zaplat", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnsuma_zaplat);
+                this.columnDATA_WYSTAWIENIA = new global::System.Data.DataColumn("DATA_WYSTAWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnDATA_WYSTAWIENIA);
+                this.columnDATA_SPRZEDAZY = new global::System.Data.DataColumn("DATA_SPRZEDAZY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnDATA_SPRZEDAZY);
+                this.columnTERMIN_ZAPLATY = new global::System.Data.DataColumn("TERMIN_ZAPLATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnTERMIN_ZAPLATY);
+                this.columnzaplata_data = new global::System.Data.DataColumn("zaplata_data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnzaplata_data);
+                this.columnzaplata_opis = new global::System.Data.DataColumn("zaplata_opis", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnzaplata_opis);
+                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnidZamowienia);
+                this.columnidFakturyKorekta = new global::System.Data.DataColumn("idFakturyKorekta", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnidFakturyKorekta);
+                this.columnNR_FAKTURY_KOREKTY = new global::System.Data.DataColumn("NR_FAKTURY_KOREKTY", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNR_FAKTURY_KOREKTY);
+                this.columnNUMER_F = new global::System.Data.DataColumn("NUMER_F", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNUMER_F);
+                this.columnNUMER_ROZ_F = new global::System.Data.DataColumn("NUMER_ROZ_F", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNUMER_ROZ_F);
+                this.columnNUMER_ROK_F = new global::System.Data.DataColumn("NUMER_ROK_F", typeof(int), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNUMER_ROK_F);
+                this.columnnetto_F = new global::System.Data.DataColumn("netto_F", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnnetto_F);
+                this.columnbrutto_F = new global::System.Data.DataColumn("brutto_F", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnbrutto_F);
+                this.columnvat_F = new global::System.Data.DataColumn("vat_F", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnvat_F);
+                this.columnsuma_zapłat_F = new global::System.Data.DataColumn("suma_zapłat_F", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnsuma_zapłat_F);
+                this.columndata_wystawienia_F = new global::System.Data.DataColumn("data_wystawienia_F", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columndata_wystawienia_F);
+                this.columnNR_FAKTURY = new global::System.Data.DataColumn("NR_FAKTURY", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnNR_FAKTURY);
+                this.columnroznica_netto = new global::System.Data.DataColumn("roznica_netto", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnroznica_netto);
+                this.columnroznica_vat = new global::System.Data.DataColumn("roznica_vat", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnroznica_vat);
+                this.columnroznica_brutto = new global::System.Data.DataColumn("roznica_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnroznica_brutto);
+                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnagencja);
+                this.columnagent = new global::System.Data.DataColumn("agent", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnagent);
+                this.columnwaluta_roznica_brutto = new global::System.Data.DataColumn("waluta_roznica_brutto", typeof(double), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnwaluta_roznica_brutto);
+                this.columnwaluta_miano = new global::System.Data.DataColumn("waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
+                base.Columns.Add(this.columnwaluta_miano);
+                this.columnID_FAKTURY.AutoIncrement = true;
+                this.columnID_FAKTURY.AllowDBNull = false;
+                this.columnID_FAKTURY.ReadOnly = true;
+                this.columnkodKlienta.MaxLength = 10;
+                this.columnNUMER_ROZ.MaxLength = 8;
+                this.columnzaplata_opis.MaxLength = 50;
+                this.columnNR_FAKTURY_KOREKTY.ReadOnly = true;
+                this.columnNR_FAKTURY_KOREKTY.MaxLength = 92;
+                this.columnNUMER_ROZ_F.MaxLength = 8;
+                this.columnNR_FAKTURY.ReadOnly = true;
+                this.columnNR_FAKTURY.MaxLength = 92;
+                this.columnroznica_netto.ReadOnly = true;
+                this.columnroznica_vat.ReadOnly = true;
+                this.columnroznica_brutto.ReadOnly = true;
+                this.columnagencja.MaxLength = 50;
+                this.columnagent.MaxLength = 50;
+                this.columnwaluta_roznica_brutto.ReadOnly = true;
+                this.columnwaluta_miano.MaxLength = 4;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public VIEW_KOREKTYRow NewVIEW_KOREKTYRow() {
+                return ((VIEW_KOREKTYRow)(this.NewRow()));
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+                return new VIEW_KOREKTYRow(builder);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override global::System.Type GetRowType() {
+                return typeof(VIEW_KOREKTYRow);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+                base.OnRowChanged(e);
+                if ((this.VIEW_KOREKTYRowChanged != null)) {
+                    this.VIEW_KOREKTYRowChanged(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+                base.OnRowChanging(e);
+                if ((this.VIEW_KOREKTYRowChanging != null)) {
+                    this.VIEW_KOREKTYRowChanging(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+                base.OnRowDeleted(e);
+                if ((this.VIEW_KOREKTYRowDeleted != null)) {
+                    this.VIEW_KOREKTYRowDeleted(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+                base.OnRowDeleting(e);
+                if ((this.VIEW_KOREKTYRowDeleting != null)) {
+                    this.VIEW_KOREKTYRowDeleting(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void RemoveVIEW_KOREKTYRow(VIEW_KOREKTYRow row) {
+                this.Rows.Remove(row);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+                REKLAMADataSet ds = new REKLAMADataSet();
+                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+                any1.MinOccurs = new decimal(0);
+                any1.MaxOccurs = decimal.MaxValue;
+                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+                sequence.Items.Add(any1);
+                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+                any2.MinOccurs = new decimal(1);
+                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+                sequence.Items.Add(any2);
+                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+                attribute1.Name = "namespace";
+                attribute1.FixedValue = ds.Namespace;
+                type.Attributes.Add(attribute1);
+                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+                attribute2.Name = "tableTypeName";
+                attribute2.FixedValue = "VIEW_KOREKTYDataTable";
+                type.Attributes.Add(attribute2);
+                type.Particle = sequence;
+                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+                if (xs.Contains(dsSchema.TargetNamespace)) {
+                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+                    try {
+                        global::System.Xml.Schema.XmlSchema schema = null;
+                        dsSchema.Write(s1);
+                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+                            s2.SetLength(0);
+                            schema.Write(s2);
+                            if ((s1.Length == s2.Length)) {
+                                s1.Position = 0;
+                                s2.Position = 0;
+                                for (; ((s1.Position != s1.Length) 
+                                            && (s1.ReadByte() == s2.ReadByte())); ) {
+                                    ;
+                                }
+                                if ((s1.Position == s1.Length)) {
+                                    return type;
+                                }
+                            }
+                        }
+                    }
+                    finally {
+                        if ((s1 != null)) {
+                            s1.Close();
+                        }
+                        if ((s2 != null)) {
+                            s2.Close();
+                        }
+                    }
+                }
+                xs.Add(dsSchema);
+                return type;
+            }
+        }
+        
+        /// <summary>
         ///Represents strongly named DataRow class.
         ///</summary>
@@ -32356,96 +32371,96 @@
         ///</summary>
         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
-        public partial class VIEW_KOREKTYRow : global::System.Data.DataRow {
-            
-            private VIEW_KOREKTYDataTable tableVIEW_KOREKTY;
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            internal VIEW_KOREKTYRow(global::System.Data.DataRowBuilder rb) : 
+        public partial class PROWIZJERow : global::System.Data.DataRow {
+            
+            private PROWIZJEDataTable tablePROWIZJE;
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            internal PROWIZJERow(global::System.Data.DataRowBuilder rb) : 
                     base(rb) {
-                this.tableVIEW_KOREKTY = ((VIEW_KOREKTYDataTable)(this.Table));
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int ID_FAKTURY {
-                get {
-                    return ((int)(this[this.tableVIEW_KOREKTY.ID_FAKTURYColumn]));
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.ID_FAKTURYColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int CustomerId {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.CustomerIdColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerId\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.CustomerIdColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int Id_Agencji {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.Id_AgencjiColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'Id_Agencji\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.Id_AgencjiColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int NUMER {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.NUMERColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NUMERColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string NUMER_ROZ {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.NUMER_ROZColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NUMER_ROZColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int NUMER_ROK {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_ROKColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NUMER_ROKColumn] = value;
+                this.tablePROWIZJE = ((PROWIZJEDataTable)(this.Table));
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int idProwizji {
+                get {
+                    return ((int)(this[this.tablePROWIZJE.idProwizjiColumn]));
+                }
+                set {
+                    this[this.tablePROWIZJE.idProwizjiColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string agencja {
+                get {
+                    try {
+                        return ((string)(this[this.tablePROWIZJE.agencjaColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.agencjaColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string agent {
+                get {
+                    try {
+                        return ((string)(this[this.tablePROWIZJE.agentColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.agentColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int rok {
+                get {
+                    try {
+                        return ((int)(this[this.tablePROWIZJE.rokColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'rok\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.rokColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int ms {
+                get {
+                    try {
+                        return ((int)(this[this.tablePROWIZJE.msColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'ms\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.msColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string nrFaktury {
+                get {
+                    try {
+                        return ((string)(this[this.tablePROWIZJE.nrFakturyColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'nrFaktury\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.nrFakturyColumn] = value;
                 }
             }
@@ -32455,758 +32470,173 @@
                 get {
                     try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.nettoColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.nettoColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public double s_vat {
-                get {
-                    try {
-                        return ((double)(this[this.tableVIEW_KOREKTY.s_vatColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'s_vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.s_vatColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal vat {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.vatColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.vatColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal brutto {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.bruttoColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.bruttoColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal suma_zaplat {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.suma_zaplatColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.suma_zaplatColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public System.DateTime DATA_WYSTAWIENIA {
-                get {
-                    try {
-                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public System.DateTime DATA_SPRZEDAZY {
-                get {
-                    try {
-                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public System.DateTime TERMIN_ZAPLATY {
-                get {
-                    try {
-                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public System.DateTime zaplata_data {
-                get {
-                    try {
-                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.zaplata_dataColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.zaplata_dataColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string zaplata_opis {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.zaplata_opisColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_opis\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.zaplata_opisColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int idZamowienia {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.idZamowieniaColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.idZamowieniaColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public byte KOREKTA {
-                get {
-                    return ((byte)(this[this.tableVIEW_KOREKTY.KOREKTAColumn]));
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.KOREKTAColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int idFakturyKorekta {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyKorekta\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string NR_FAKTURY_KOREKTY {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY_KOREKTY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int NUMER_F {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NUMER_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string NUMER_ROZ_F {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int NUMER_ROK_F {
-                get {
-                    try {
-                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal netto_F {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.netto_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'netto_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.netto_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal brutto_F {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.brutto_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'brutto_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.brutto_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal vat_F {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.vat_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'vat_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.vat_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal suma_zapłat_F {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zapłat_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public System.DateTime data_wystawienia_F {
-                get {
-                    try {
-                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'data_wystawienia_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string NR_FAKTURY {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal roznica_netto {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_nettoColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_netto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.roznica_nettoColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal roznica_vat {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_vatColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.roznica_vatColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal roznica_brutto {
-                get {
-                    try {
-                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_bruttoColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.roznica_bruttoColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string kodKlienta {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.kodKlientaColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'kodKlienta\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.kodKlientaColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string agencja {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.agencjaColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.agencjaColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string agent {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.agentColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.agentColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsCustomerIdNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.CustomerIdColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetCustomerIdNull() {
-                this[this.tableVIEW_KOREKTY.CustomerIdColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsId_AgencjiNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.Id_AgencjiColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetId_AgencjiNull() {
-                this[this.tableVIEW_KOREKTY.Id_AgencjiColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNUMERNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NUMERColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNUMERNull() {
-                this[this.tableVIEW_KOREKTY.NUMERColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNUMER_ROZNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROZColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNUMER_ROZNull() {
-                this[this.tableVIEW_KOREKTY.NUMER_ROZColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNUMER_ROKNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROKColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNUMER_ROKNull() {
-                this[this.tableVIEW_KOREKTY.NUMER_ROKColumn] = global::System.Convert.DBNull;
+                        return ((decimal)(this[this.tablePROWIZJE.nettoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.nettoColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string nrFakturyKorygowanej {
+                get {
+                    try {
+                        return ((string)(this[this.tablePROWIZJE.nrFakturyKorygowanejColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'nrFakturyKorygowanej\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.nrFakturyKorygowanejColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public double procentProwizji {
+                get {
+                    try {
+                        return ((double)(this[this.tablePROWIZJE.procentProwizjiColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'procentProwizji\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.procentProwizjiColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool ZP {
+                get {
+                    try {
+                        return ((bool)(this[this.tablePROWIZJE.ZPColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'ZP\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.ZPColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal kwotaProwizji {
+                get {
+                    try {
+                        return ((decimal)(this[this.tablePROWIZJE.kwotaProwizjiColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'kwotaProwizji\' in table \'PROWIZJE\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tablePROWIZJE.kwotaProwizjiColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsagencjaNull() {
+                return this.IsNull(this.tablePROWIZJE.agencjaColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetagencjaNull() {
+                this[this.tablePROWIZJE.agencjaColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsagentNull() {
+                return this.IsNull(this.tablePROWIZJE.agentColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetagentNull() {
+                this[this.tablePROWIZJE.agentColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsrokNull() {
+                return this.IsNull(this.tablePROWIZJE.rokColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetrokNull() {
+                this[this.tablePROWIZJE.rokColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsmsNull() {
+                return this.IsNull(this.tablePROWIZJE.msColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetmsNull() {
+                this[this.tablePROWIZJE.msColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsnrFakturyNull() {
+                return this.IsNull(this.tablePROWIZJE.nrFakturyColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetnrFakturyNull() {
+                this[this.tablePROWIZJE.nrFakturyColumn] = global::System.Convert.DBNull;
             }
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public bool IsnettoNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.nettoColumn);
+                return this.IsNull(this.tablePROWIZJE.nettoColumn);
             }
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public void SetnettoNull() {
-                this[this.tableVIEW_KOREKTY.nettoColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Iss_vatNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.s_vatColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Sets_vatNull() {
-                this[this.tableVIEW_KOREKTY.s_vatColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsvatNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.vatColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetvatNull() {
-                this[this.tableVIEW_KOREKTY.vatColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsbruttoNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.bruttoColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetbruttoNull() {
-                this[this.tableVIEW_KOREKTY.bruttoColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Issuma_zaplatNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.suma_zaplatColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setsuma_zaplatNull() {
-                this[this.tableVIEW_KOREKTY.suma_zaplatColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsDATA_WYSTAWIENIANull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetDATA_WYSTAWIENIANull() {
-                this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsDATA_SPRZEDAZYNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetDATA_SPRZEDAZYNull() {
-                this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsTERMIN_ZAPLATYNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetTERMIN_ZAPLATYNull() {
-                this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Iszaplata_dataNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.zaplata_dataColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setzaplata_dataNull() {
-                this[this.tableVIEW_KOREKTY.zaplata_dataColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Iszaplata_opisNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.zaplata_opisColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setzaplata_opisNull() {
-                this[this.tableVIEW_KOREKTY.zaplata_opisColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsidZamowieniaNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.idZamowieniaColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetidZamowieniaNull() {
-                this[this.tableVIEW_KOREKTY.idZamowieniaColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsidFakturyKorektaNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.idFakturyKorektaColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetidFakturyKorektaNull() {
-                this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNR_FAKTURY_KOREKTYNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNR_FAKTURY_KOREKTYNull() {
-                this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNUMER_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNUMER_FNull() {
-                this[this.tableVIEW_KOREKTY.NUMER_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNUMER_ROZ_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNUMER_ROZ_FNull() {
-                this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNUMER_ROK_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROK_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNUMER_ROK_FNull() {
-                this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isnetto_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.netto_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setnetto_FNull() {
-                this[this.tableVIEW_KOREKTY.netto_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isbrutto_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.brutto_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setbrutto_FNull() {
-                this[this.tableVIEW_KOREKTY.brutto_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isvat_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.vat_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setvat_FNull() {
-                this[this.tableVIEW_KOREKTY.vat_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Issuma_zapłat_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.suma_zapłat_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setsuma_zapłat_FNull() {
-                this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isdata_wystawienia_FNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.data_wystawienia_FColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setdata_wystawienia_FNull() {
-                this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsNR_FAKTURYNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURYColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetNR_FAKTURYNull() {
-                this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isroznica_nettoNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.roznica_nettoColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setroznica_nettoNull() {
-                this[this.tableVIEW_KOREKTY.roznica_nettoColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isroznica_vatNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.roznica_vatColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setroznica_vatNull() {
-                this[this.tableVIEW_KOREKTY.roznica_vatColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool Isroznica_bruttoNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.roznica_bruttoColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void Setroznica_bruttoNull() {
-                this[this.tableVIEW_KOREKTY.roznica_bruttoColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IskodKlientaNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.kodKlientaColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetkodKlientaNull() {
-                this[this.tableVIEW_KOREKTY.kodKlientaColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsagencjaNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.agencjaColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetagencjaNull() {
-                this[this.tableVIEW_KOREKTY.agencjaColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsagentNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.agentColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetagentNull() {
-                this[this.tableVIEW_KOREKTY.agentColumn] = global::System.Convert.DBNull;
+                this[this.tablePROWIZJE.nettoColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsnrFakturyKorygowanejNull() {
+                return this.IsNull(this.tablePROWIZJE.nrFakturyKorygowanejColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetnrFakturyKorygowanejNull() {
+                this[this.tablePROWIZJE.nrFakturyKorygowanejColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsprocentProwizjiNull() {
+                return this.IsNull(this.tablePROWIZJE.procentProwizjiColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetprocentProwizjiNull() {
+                this[this.tablePROWIZJE.procentProwizjiColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsZPNull() {
+                return this.IsNull(this.tablePROWIZJE.ZPColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetZPNull() {
+                this[this.tablePROWIZJE.ZPColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IskwotaProwizjiNull() {
+                return this.IsNull(this.tablePROWIZJE.kwotaProwizjiColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetkwotaProwizjiNull() {
+                this[this.tablePROWIZJE.kwotaProwizjiColumn] = global::System.Convert.DBNull;
             }
         }
@@ -33216,21 +32646,486 @@
         ///</summary>
         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
-        public partial class PROWIZJERow : global::System.Data.DataRow {
-            
-            private PROWIZJEDataTable tablePROWIZJE;
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            internal PROWIZJERow(global::System.Data.DataRowBuilder rb) : 
+        public partial class VIEW_KOREKTYRow : global::System.Data.DataRow {
+            
+            private VIEW_KOREKTYDataTable tableVIEW_KOREKTY;
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            internal VIEW_KOREKTYRow(global::System.Data.DataRowBuilder rb) : 
                     base(rb) {
-                this.tablePROWIZJE = ((PROWIZJEDataTable)(this.Table));
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int idProwizji {
-                get {
-                    return ((int)(this[this.tablePROWIZJE.idProwizjiColumn]));
-                }
-                set {
-                    this[this.tablePROWIZJE.idProwizjiColumn] = value;
+                this.tableVIEW_KOREKTY = ((VIEW_KOREKTYDataTable)(this.Table));
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int ID_FAKTURY {
+                get {
+                    return ((int)(this[this.tableVIEW_KOREKTY.ID_FAKTURYColumn]));
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.ID_FAKTURYColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int CustomerId {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.CustomerIdColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerId\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.CustomerIdColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int Id_Agencji {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.Id_AgencjiColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'Id_Agencji\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.Id_AgencjiColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string kodKlienta {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.kodKlientaColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'kodKlienta\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.kodKlientaColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int NUMER {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.NUMERColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NUMERColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string NUMER_ROZ {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.NUMER_ROZColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NUMER_ROZColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int NUMER_ROK {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_ROKColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NUMER_ROKColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal netto {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.nettoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.nettoColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public double S_VAT {
+                get {
+                    try {
+                        return ((double)(this[this.tableVIEW_KOREKTY.S_VATColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'S_VAT\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.S_VATColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal vat {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.vatColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.vatColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal brutto {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.bruttoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.bruttoColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal suma_zaplat {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.suma_zaplatColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.suma_zaplatColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public System.DateTime DATA_WYSTAWIENIA {
+                get {
+                    try {
+                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public System.DateTime DATA_SPRZEDAZY {
+                get {
+                    try {
+                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public System.DateTime TERMIN_ZAPLATY {
+                get {
+                    try {
+                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public System.DateTime zaplata_data {
+                get {
+                    try {
+                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.zaplata_dataColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.zaplata_dataColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string zaplata_opis {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.zaplata_opisColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_opis\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.zaplata_opisColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int idZamowienia {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.idZamowieniaColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.idZamowieniaColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int idFakturyKorekta {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyKorekta\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string NR_FAKTURY_KOREKTY {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY_KOREKTY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int NUMER_F {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NUMER_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string NUMER_ROZ_F {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public int NUMER_ROK_F {
+                get {
+                    try {
+                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal netto_F {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.netto_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'netto_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.netto_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal brutto_F {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.brutto_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'brutto_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.brutto_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal vat_F {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.vat_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'vat_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.vat_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal suma_zapłat_F {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zapłat_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public System.DateTime data_wystawienia_F {
+                get {
+                    try {
+                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'data_wystawienia_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string NR_FAKTURY {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal roznica_netto {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_nettoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_netto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.roznica_nettoColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal roznica_vat {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_vatColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.roznica_vatColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public decimal roznica_brutto {
+                get {
+                    try {
+                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_bruttoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.roznica_bruttoColumn] = value;
                 }
             }
@@ -33240,12 +33135,12 @@
                 get {
                     try {
-                        return ((string)(this[this.tablePROWIZJE.agencjaColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.agencjaColumn] = value;
+                        return ((string)(this[this.tableVIEW_KOREKTY.agencjaColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.agencjaColumn] = value;
                 }
             }
@@ -33255,233 +33150,393 @@
                 get {
                     try {
-                        return ((string)(this[this.tablePROWIZJE.agentColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.agentColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int rok {
-                get {
-                    try {
-                        return ((int)(this[this.tablePROWIZJE.rokColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'rok\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.rokColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public int ms {
-                get {
-                    try {
-                        return ((int)(this[this.tablePROWIZJE.msColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'ms\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.msColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string nrFaktury {
-                get {
-                    try {
-                        return ((string)(this[this.tablePROWIZJE.nrFakturyColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'nrFaktury\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.nrFakturyColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal netto {
-                get {
-                    try {
-                        return ((decimal)(this[this.tablePROWIZJE.nettoColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.nettoColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string nrFakturyKorygowanej {
-                get {
-                    try {
-                        return ((string)(this[this.tablePROWIZJE.nrFakturyKorygowanejColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'nrFakturyKorygowanej\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.nrFakturyKorygowanejColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public double procentProwizji {
-                get {
-                    try {
-                        return ((double)(this[this.tablePROWIZJE.procentProwizjiColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'procentProwizji\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.procentProwizjiColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool ZP {
-                get {
-                    try {
-                        return ((bool)(this[this.tablePROWIZJE.ZPColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'ZP\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.ZPColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public decimal kwotaProwizji {
-                get {
-                    try {
-                        return ((decimal)(this[this.tablePROWIZJE.kwotaProwizjiColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'kwotaProwizji\' in table \'PROWIZJE\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tablePROWIZJE.kwotaProwizjiColumn] = value;
-                }
+                        return ((string)(this[this.tableVIEW_KOREKTY.agentColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.agentColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public double waluta_roznica_brutto {
+                get {
+                    try {
+                        return ((double)(this[this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_roznica_brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public string waluta_miano {
+                get {
+                    try {
+                        return ((string)(this[this.tableVIEW_KOREKTY.waluta_mianoColumn]));
+                    }
+                    catch (global::System.InvalidCastException e) {
+                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'VIEW_KOREKTY\' is DBNull.", e);
+                    }
+                }
+                set {
+                    this[this.tableVIEW_KOREKTY.waluta_mianoColumn] = value;
+                }
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsCustomerIdNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.CustomerIdColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetCustomerIdNull() {
+                this[this.tableVIEW_KOREKTY.CustomerIdColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsId_AgencjiNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.Id_AgencjiColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetId_AgencjiNull() {
+                this[this.tableVIEW_KOREKTY.Id_AgencjiColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IskodKlientaNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.kodKlientaColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetkodKlientaNull() {
+                this[this.tableVIEW_KOREKTY.kodKlientaColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNUMERNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NUMERColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNUMERNull() {
+                this[this.tableVIEW_KOREKTY.NUMERColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNUMER_ROZNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROZColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNUMER_ROZNull() {
+                this[this.tableVIEW_KOREKTY.NUMER_ROZColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNUMER_ROKNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROKColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNUMER_ROKNull() {
+                this[this.tableVIEW_KOREKTY.NUMER_ROKColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsnettoNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.nettoColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetnettoNull() {
+                this[this.tableVIEW_KOREKTY.nettoColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsS_VATNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.S_VATColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetS_VATNull() {
+                this[this.tableVIEW_KOREKTY.S_VATColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsvatNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.vatColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetvatNull() {
+                this[this.tableVIEW_KOREKTY.vatColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsbruttoNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.bruttoColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetbruttoNull() {
+                this[this.tableVIEW_KOREKTY.bruttoColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Issuma_zaplatNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.suma_zaplatColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setsuma_zaplatNull() {
+                this[this.tableVIEW_KOREKTY.suma_zaplatColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsDATA_WYSTAWIENIANull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetDATA_WYSTAWIENIANull() {
+                this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsDATA_SPRZEDAZYNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetDATA_SPRZEDAZYNull() {
+                this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsTERMIN_ZAPLATYNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetTERMIN_ZAPLATYNull() {
+                this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Iszaplata_dataNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.zaplata_dataColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setzaplata_dataNull() {
+                this[this.tableVIEW_KOREKTY.zaplata_dataColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Iszaplata_opisNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.zaplata_opisColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setzaplata_opisNull() {
+                this[this.tableVIEW_KOREKTY.zaplata_opisColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsidZamowieniaNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.idZamowieniaColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetidZamowieniaNull() {
+                this[this.tableVIEW_KOREKTY.idZamowieniaColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsidFakturyKorektaNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.idFakturyKorektaColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetidFakturyKorektaNull() {
+                this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNR_FAKTURY_KOREKTYNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNR_FAKTURY_KOREKTYNull() {
+                this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNUMER_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNUMER_FNull() {
+                this[this.tableVIEW_KOREKTY.NUMER_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNUMER_ROZ_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNUMER_ROZ_FNull() {
+                this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNUMER_ROK_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROK_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNUMER_ROK_FNull() {
+                this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isnetto_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.netto_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setnetto_FNull() {
+                this[this.tableVIEW_KOREKTY.netto_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isbrutto_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.brutto_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setbrutto_FNull() {
+                this[this.tableVIEW_KOREKTY.brutto_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isvat_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.vat_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setvat_FNull() {
+                this[this.tableVIEW_KOREKTY.vat_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Issuma_zapłat_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.suma_zapłat_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setsuma_zapłat_FNull() {
+                this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isdata_wystawienia_FNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.data_wystawienia_FColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setdata_wystawienia_FNull() {
+                this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool IsNR_FAKTURYNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURYColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void SetNR_FAKTURYNull() {
+                this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isroznica_nettoNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.roznica_nettoColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setroznica_nettoNull() {
+                this[this.tableVIEW_KOREKTY.roznica_nettoColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isroznica_vatNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.roznica_vatColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setroznica_vatNull() {
+                this[this.tableVIEW_KOREKTY.roznica_vatColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Isroznica_bruttoNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.roznica_bruttoColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setroznica_bruttoNull() {
+                this[this.tableVIEW_KOREKTY.roznica_bruttoColumn] = global::System.Convert.DBNull;
             }
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public bool IsagencjaNull() {
-                return this.IsNull(this.tablePROWIZJE.agencjaColumn);
+                return this.IsNull(this.tableVIEW_KOREKTY.agencjaColumn);
             }
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public void SetagencjaNull() {
-                this[this.tablePROWIZJE.agencjaColumn] = global::System.Convert.DBNull;
+                this[this.tableVIEW_KOREKTY.agencjaColumn] = global::System.Convert.DBNull;
             }
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public bool IsagentNull() {
-                return this.IsNull(this.tablePROWIZJE.agentColumn);
+                return this.IsNull(this.tableVIEW_KOREKTY.agentColumn);
             }
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public void SetagentNull() {
-                this[this.tablePROWIZJE.agentColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsrokNull() {
-                return this.IsNull(this.tablePROWIZJE.rokColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetrokNull() {
-                this[this.tablePROWIZJE.rokColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsmsNull() {
-                return this.IsNull(this.tablePROWIZJE.msColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetmsNull() {
-                this[this.tablePROWIZJE.msColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsnrFakturyNull() {
-                return this.IsNull(this.tablePROWIZJE.nrFakturyColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetnrFakturyNull() {
-                this[this.tablePROWIZJE.nrFakturyColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsnettoNull() {
-                return this.IsNull(this.tablePROWIZJE.nettoColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetnettoNull() {
-                this[this.tablePROWIZJE.nettoColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsnrFakturyKorygowanejNull() {
-                return this.IsNull(this.tablePROWIZJE.nrFakturyKorygowanejColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetnrFakturyKorygowanejNull() {
-                this[this.tablePROWIZJE.nrFakturyKorygowanejColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsprocentProwizjiNull() {
-                return this.IsNull(this.tablePROWIZJE.procentProwizjiColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetprocentProwizjiNull() {
-                this[this.tablePROWIZJE.procentProwizjiColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsZPNull() {
-                return this.IsNull(this.tablePROWIZJE.ZPColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetZPNull() {
-                this[this.tablePROWIZJE.ZPColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IskwotaProwizjiNull() {
-                return this.IsNull(this.tablePROWIZJE.kwotaProwizjiColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetkwotaProwizjiNull() {
-                this[this.tablePROWIZJE.kwotaProwizjiColumn] = global::System.Convert.DBNull;
+                this[this.tableVIEW_KOREKTY.agentColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Iswaluta_roznica_bruttoNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setwaluta_roznica_bruttoNull() {
+                this[this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn] = global::System.Convert.DBNull;
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public bool Iswaluta_mianoNull() {
+                return this.IsNull(this.tableVIEW_KOREKTY.waluta_mianoColumn);
+            }
+            
+            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+            public void Setwaluta_mianoNull() {
+                this[this.tableVIEW_KOREKTY.waluta_mianoColumn] = global::System.Convert.DBNull;
             }
         }
@@ -34483,12 +34538,12 @@
         ///</summary>
         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
-        public class VIEW_KOREKTYRowChangeEvent : global::System.EventArgs {
-            
-            private VIEW_KOREKTYRow eventRow;
+        public class PROWIZJERowChangeEvent : global::System.EventArgs {
+            
+            private PROWIZJERow eventRow;
             
             private global::System.Data.DataRowAction eventAction;
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public VIEW_KOREKTYRowChangeEvent(VIEW_KOREKTYRow row, global::System.Data.DataRowAction action) {
+            public PROWIZJERowChangeEvent(PROWIZJERow row, global::System.Data.DataRowAction action) {
                 this.eventRow = row;
                 this.eventAction = action;
@@ -34496,5 +34551,5 @@
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public VIEW_KOREKTYRow Row {
+            public PROWIZJERow Row {
                 get {
                     return this.eventRow;
@@ -34514,12 +34569,12 @@
         ///</summary>
         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
-        public class PROWIZJERowChangeEvent : global::System.EventArgs {
-            
-            private PROWIZJERow eventRow;
+        public class VIEW_KOREKTYRowChangeEvent : global::System.EventArgs {
+            
+            private VIEW_KOREKTYRow eventRow;
             
             private global::System.Data.DataRowAction eventAction;
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public PROWIZJERowChangeEvent(PROWIZJERow row, global::System.Data.DataRowAction action) {
+            public VIEW_KOREKTYRowChangeEvent(VIEW_KOREKTYRow row, global::System.Data.DataRowAction action) {
                 this.eventRow = row;
                 this.eventAction = action;
@@ -34527,5 +34582,5 @@
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public PROWIZJERow Row {
+            public VIEW_KOREKTYRow Row {
                 get {
                     return this.eventRow;
@@ -48741,172 +48796,4 @@
         ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
-    public partial class VIEW_KOREKTYTableAdapter : global::System.ComponentModel.Component {
-        
-        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-        
-        private global::System.Data.SqlClient.SqlConnection _connection;
-        
-        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-        
-        private bool _clearBeforeFill;
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        public VIEW_KOREKTYTableAdapter() {
-            this.ClearBeforeFill = true;
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
-            get {
-                if ((this._adapter == null)) {
-                    this.InitAdapter();
-                }
-                return this._adapter;
-            }
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        internal global::System.Data.SqlClient.SqlConnection Connection {
-            get {
-                if ((this._connection == null)) {
-                    this.InitConnection();
-                }
-                return this._connection;
-            }
-            set {
-                this._connection = value;
-                if ((this.Adapter.InsertCommand != null)) {
-                    this.Adapter.InsertCommand.Connection = value;
-                }
-                if ((this.Adapter.DeleteCommand != null)) {
-                    this.Adapter.DeleteCommand.Connection = value;
-                }
-                if ((this.Adapter.UpdateCommand != null)) {
-                    this.Adapter.UpdateCommand.Connection = value;
-                }
-                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
-                    if ((this.CommandCollection[i] != null)) {
-                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
-                    }
-                }
-            }
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
-            get {
-                if ((this._commandCollection == null)) {
-                    this.InitCommandCollection();
-                }
-                return this._commandCollection;
-            }
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        public bool ClearBeforeFill {
-            get {
-                return this._clearBeforeFill;
-            }
-            set {
-                this._clearBeforeFill = value;
-            }
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        private void InitAdapter() {
-            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
-            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
-            tableMapping.SourceTable = "Table";
-            tableMapping.DataSetTable = "VIEW_KOREKTY";
-            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
-            tableMapping.ColumnMappings.Add("CustomerId", "CustomerId");
-            tableMapping.ColumnMappings.Add("Id_Agencji", "Id_Agencji");
-            tableMapping.ColumnMappings.Add("NUMER", "NUMER");
-            tableMapping.ColumnMappings.Add("NUMER_ROZ", "NUMER_ROZ");
-            tableMapping.ColumnMappings.Add("NUMER_ROK", "NUMER_ROK");
-            tableMapping.ColumnMappings.Add("netto", "netto");
-            tableMapping.ColumnMappings.Add("s_vat", "s_vat");
-            tableMapping.ColumnMappings.Add("vat", "vat");
-            tableMapping.ColumnMappings.Add("brutto", "brutto");
-            tableMapping.ColumnMappings.Add("suma_zaplat", "suma_zaplat");
-            tableMapping.ColumnMappings.Add("DATA_WYSTAWIENIA", "DATA_WYSTAWIENIA");
-            tableMapping.ColumnMappings.Add("DATA_SPRZEDAZY", "DATA_SPRZEDAZY");
-            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
-            tableMapping.ColumnMappings.Add("zaplata_data", "zaplata_data");
-            tableMapping.ColumnMappings.Add("zaplata_opis", "zaplata_opis");
-            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
-            tableMapping.ColumnMappings.Add("KOREKTA", "KOREKTA");
-            tableMapping.ColumnMappings.Add("idFakturyKorekta", "idFakturyKorekta");
-            tableMapping.ColumnMappings.Add("NR_FAKTURY_KOREKTY", "NR_FAKTURY_KOREKTY");
-            tableMapping.ColumnMappings.Add("NUMER_F", "NUMER_F");
-            tableMapping.ColumnMappings.Add("NUMER_ROZ_F", "NUMER_ROZ_F");
-            tableMapping.ColumnMappings.Add("NUMER_ROK_F", "NUMER_ROK_F");
-            tableMapping.ColumnMappings.Add("netto_F", "netto_F");
-            tableMapping.ColumnMappings.Add("brutto_F", "brutto_F");
-            tableMapping.ColumnMappings.Add("vat_F", "vat_F");
-            tableMapping.ColumnMappings.Add("suma_zapłat_F", "suma_zapłat_F");
-            tableMapping.ColumnMappings.Add("data_wystawienia_F", "data_wystawienia_F");
-            tableMapping.ColumnMappings.Add("NR_FAKTURY", "NR_FAKTURY");
-            tableMapping.ColumnMappings.Add("roznica_netto", "roznica_netto");
-            tableMapping.ColumnMappings.Add("roznica_vat", "roznica_vat");
-            tableMapping.ColumnMappings.Add("roznica_brutto", "roznica_brutto");
-            tableMapping.ColumnMappings.Add("kodKlienta", "kodKlienta");
-            tableMapping.ColumnMappings.Add("agencja", "agencja");
-            tableMapping.ColumnMappings.Add("agent", "agent");
-            this._adapter.TableMappings.Add(tableMapping);
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        private void InitConnection() {
-            this._connection = new global::System.Data.SqlClient.SqlConnection();
-            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        private void InitCommandCollection() {
-            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
-            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
-            this._commandCollection[0].Connection = this.Connection;
-            this._commandCollection[0].CommandText = @"SELECT     ID_FAKTURY, CustomerId, Id_Agencji, kodKlienta, NUMER, NUMER_ROZ, NUMER_ROK, netto, s_vat, vat, brutto, suma_zaplat, DATA_WYSTAWIENIA, 
-                      DATA_SPRZEDAZY, TERMIN_ZAPLATY, zaplata_data, zaplata_opis, idZamowienia, KOREKTA, idFakturyKorekta, NR_FAKTURY_KOREKTY, NUMER_F, 
-                      NUMER_ROZ_F, NUMER_ROK_F, netto_F, brutto_F, vat_F, suma_zapłat_F, data_wystawienia_F, NR_FAKTURY, roznica_netto, roznica_vat, 
-                      roznica_brutto, agencja, agent
-FROM         VIEW_KOREKTY";
-            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
-        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
-        public virtual int Fill(REKLAMADataSet.VIEW_KOREKTYDataTable dataTable) {
-            this.Adapter.SelectCommand = this.CommandCollection[0];
-            if ((this.ClearBeforeFill == true)) {
-                dataTable.Clear();
-            }
-            int returnValue = this.Adapter.Fill(dataTable);
-            return returnValue;
-        }
-        
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
-        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
-        public virtual REKLAMADataSet.VIEW_KOREKTYDataTable GetData() {
-            this.Adapter.SelectCommand = this.CommandCollection[0];
-            REKLAMADataSet.VIEW_KOREKTYDataTable dataTable = new REKLAMADataSet.VIEW_KOREKTYDataTable();
-            this.Adapter.Fill(dataTable);
-            return dataTable;
-        }
-    }
-    
-    /// <summary>
-    ///Represents the connection and commands used to retrieve and save data.
-    ///</summary>
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
-    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
-    [global::System.ComponentModel.ToolboxItem(true)]
-    [global::System.ComponentModel.DataObjectAttribute(true)]
-    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
-        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
-    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     public partial class PROWIZJETableAdapter : global::System.ComponentModel.Component {
         
@@ -49534,4 +49421,173 @@
         }
     }
+    
+    /// <summary>
+    ///Represents the connection and commands used to retrieve and save data.
+    ///</summary>
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
+    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+    [global::System.ComponentModel.ToolboxItem(true)]
+    [global::System.ComponentModel.DataObjectAttribute(true)]
+    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+    public partial class VIEW_KOREKTYTableAdapter : global::System.ComponentModel.Component {
+        
+        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+        
+        private global::System.Data.SqlClient.SqlConnection _connection;
+        
+        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+        
+        private bool _clearBeforeFill;
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        public VIEW_KOREKTYTableAdapter() {
+            this.ClearBeforeFill = true;
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
+            get {
+                if ((this._adapter == null)) {
+                    this.InitAdapter();
+                }
+                return this._adapter;
+            }
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        internal global::System.Data.SqlClient.SqlConnection Connection {
+            get {
+                if ((this._connection == null)) {
+                    this.InitConnection();
+                }
+                return this._connection;
+            }
+            set {
+                this._connection = value;
+                if ((this.Adapter.InsertCommand != null)) {
+                    this.Adapter.InsertCommand.Connection = value;
+                }
+                if ((this.Adapter.DeleteCommand != null)) {
+                    this.Adapter.DeleteCommand.Connection = value;
+                }
+                if ((this.Adapter.UpdateCommand != null)) {
+                    this.Adapter.UpdateCommand.Connection = value;
+                }
+                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+                    if ((this.CommandCollection[i] != null)) {
+                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+                    }
+                }
+            }
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+            get {
+                if ((this._commandCollection == null)) {
+                    this.InitCommandCollection();
+                }
+                return this._commandCollection;
+            }
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        public bool ClearBeforeFill {
+            get {
+                return this._clearBeforeFill;
+            }
+            set {
+                this._clearBeforeFill = value;
+            }
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        private void InitAdapter() {
+            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+            tableMapping.SourceTable = "Table";
+            tableMapping.DataSetTable = "VIEW_KOREKTY";
+            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
+            tableMapping.ColumnMappings.Add("CustomerId", "CustomerId");
+            tableMapping.ColumnMappings.Add("Id_Agencji", "Id_Agencji");
+            tableMapping.ColumnMappings.Add("kodKlienta", "kodKlienta");
+            tableMapping.ColumnMappings.Add("NUMER", "NUMER");
+            tableMapping.ColumnMappings.Add("NUMER_ROZ", "NUMER_ROZ");
+            tableMapping.ColumnMappings.Add("NUMER_ROK", "NUMER_ROK");
+            tableMapping.ColumnMappings.Add("netto", "netto");
+            tableMapping.ColumnMappings.Add("S_VAT", "S_VAT");
+            tableMapping.ColumnMappings.Add("vat", "vat");
+            tableMapping.ColumnMappings.Add("brutto", "brutto");
+            tableMapping.ColumnMappings.Add("suma_zaplat", "suma_zaplat");
+            tableMapping.ColumnMappings.Add("DATA_WYSTAWIENIA", "DATA_WYSTAWIENIA");
+            tableMapping.ColumnMappings.Add("DATA_SPRZEDAZY", "DATA_SPRZEDAZY");
+            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
+            tableMapping.ColumnMappings.Add("zaplata_data", "zaplata_data");
+            tableMapping.ColumnMappings.Add("zaplata_opis", "zaplata_opis");
+            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
+            tableMapping.ColumnMappings.Add("idFakturyKorekta", "idFakturyKorekta");
+            tableMapping.ColumnMappings.Add("NR_FAKTURY_KOREKTY", "NR_FAKTURY_KOREKTY");
+            tableMapping.ColumnMappings.Add("NUMER_F", "NUMER_F");
+            tableMapping.ColumnMappings.Add("NUMER_ROZ_F", "NUMER_ROZ_F");
+            tableMapping.ColumnMappings.Add("NUMER_ROK_F", "NUMER_ROK_F");
+            tableMapping.ColumnMappings.Add("netto_F", "netto_F");
+            tableMapping.ColumnMappings.Add("brutto_F", "brutto_F");
+            tableMapping.ColumnMappings.Add("vat_F", "vat_F");
+            tableMapping.ColumnMappings.Add("suma_zapłat_F", "suma_zapłat_F");
+            tableMapping.ColumnMappings.Add("data_wystawienia_F", "data_wystawienia_F");
+            tableMapping.ColumnMappings.Add("NR_FAKTURY", "NR_FAKTURY");
+            tableMapping.ColumnMappings.Add("roznica_netto", "roznica_netto");
+            tableMapping.ColumnMappings.Add("roznica_vat", "roznica_vat");
+            tableMapping.ColumnMappings.Add("roznica_brutto", "roznica_brutto");
+            tableMapping.ColumnMappings.Add("agencja", "agencja");
+            tableMapping.ColumnMappings.Add("agent", "agent");
+            tableMapping.ColumnMappings.Add("waluta_roznica_brutto", "waluta_roznica_brutto");
+            tableMapping.ColumnMappings.Add("waluta_miano", "waluta_miano");
+            this._adapter.TableMappings.Add(tableMapping);
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        private void InitConnection() {
+            this._connection = new global::System.Data.SqlClient.SqlConnection();
+            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        private void InitCommandCollection() {
+            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+            this._commandCollection[0].Connection = this.Connection;
+            this._commandCollection[0].CommandText = @"SELECT     ID_FAKTURY, CustomerId, Id_Agencji, kodKlienta, NUMER, NUMER_ROZ, NUMER_ROK, netto, S_VAT, vat, brutto, suma_zaplat, DATA_WYSTAWIENIA, 
+                      DATA_SPRZEDAZY, TERMIN_ZAPLATY, zaplata_data, zaplata_opis, idZamowienia, idFakturyKorekta, NR_FAKTURY_KOREKTY, NUMER_F, 
+                      NUMER_ROZ_F, NUMER_ROK_F, netto_F, brutto_F, vat_F, suma_zapłat_F, data_wystawienia_F, NR_FAKTURY, roznica_netto, roznica_vat, 
+                      roznica_brutto, agencja, agent, waluta_roznica_brutto, waluta_miano
+FROM         VIEW_KOREKTY";
+            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+        public virtual int Fill(REKLAMADataSet.VIEW_KOREKTYDataTable dataTable) {
+            this.Adapter.SelectCommand = this.CommandCollection[0];
+            if ((this.ClearBeforeFill == true)) {
+                dataTable.Clear();
+            }
+            int returnValue = this.Adapter.Fill(dataTable);
+            return returnValue;
+        }
+        
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+        public virtual REKLAMADataSet.VIEW_KOREKTYDataTable GetData() {
+            this.Adapter.SelectCommand = this.CommandCollection[0];
+            REKLAMADataSet.VIEW_KOREKTYDataTable dataTable = new REKLAMADataSet.VIEW_KOREKTYDataTable();
+            this.Adapter.Fill(dataTable);
+            return dataTable;
+        }
+    }
 }
 
