Index: Baza Reklam 2 - Faktury/REKLAMADataSet.Designer.cs
===================================================================
--- Baza Reklam 2 - Faktury/REKLAMADataSet.Designer.cs (revision 9)
+++ Baza Reklam 2 - Faktury/REKLAMADataSet.Designer.cs (revision 10)
@@ -17248,6 +17248,4 @@
             private global::System.Data.DataColumn columnId_Agencji;
             
-            private global::System.Data.DataColumn columnFirstName;
-            
             private global::System.Data.DataColumn columnNUMER;
             
@@ -17260,4 +17258,6 @@
             private global::System.Data.DataColumn columns_vat;
             
+            private global::System.Data.DataColumn columnvat;
+            
             private global::System.Data.DataColumn columnbrutto;
             
@@ -17280,4 +17280,6 @@
             private global::System.Data.DataColumn columnidFakturyKorekta;
             
+            private global::System.Data.DataColumn columnNR_FAKTURY_KOREKTY;
+            
             private global::System.Data.DataColumn columnNUMER_F;
             
@@ -17290,7 +17292,23 @@
             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()]
@@ -17346,11 +17364,4 @@
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public global::System.Data.DataColumn FirstNameColumn {
-                get {
-                    return this.columnFirstName;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public global::System.Data.DataColumn NUMERColumn {
                 get {
@@ -17388,4 +17399,11 @@
             
             [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 {
@@ -17458,4 +17476,11 @@
             
             [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 {
@@ -17493,4 +17518,11 @@
             
             [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 {
@@ -17503,4 +17535,53 @@
                 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;
                 }
             }
@@ -17536,8 +17617,6 @@
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public VIEW_KOREKTYRow AddVIEW_KOREKTYRow(
-                        int ID_FAKTURY, 
                         int CustomerId, 
                         int Id_Agencji, 
-                        string FirstName, 
                         int NUMER, 
                         string NUMER_ROZ, 
@@ -17545,4 +17624,5 @@
                         decimal netto, 
                         double s_vat, 
+                        decimal vat, 
                         decimal brutto, 
                         decimal suma_zaplat, 
@@ -17555,4 +17635,5 @@
                         byte KOREKTA, 
                         int idFakturyKorekta, 
+                        string NR_FAKTURY_KOREKTY, 
                         int NUMER_F, 
                         string NUMER_ROZ_F, 
@@ -17560,12 +17641,19 @@
                         decimal netto_F, 
                         decimal brutto_F, 
+                        decimal vat_F, 
                         decimal suma_zapłat_F, 
-                        System.DateTime data_wystawienia_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[] {
-                        ID_FAKTURY,
+                        null,
                         CustomerId,
                         Id_Agencji,
-                        FirstName,
                         NUMER,
                         NUMER_ROZ,
@@ -17573,4 +17661,5 @@
                         netto,
                         s_vat,
+                        vat,
                         brutto,
                         suma_zaplat,
@@ -17583,4 +17672,5 @@
                         KOREKTA,
                         idFakturyKorekta,
+                        NR_FAKTURY_KOREKTY,
                         NUMER_F,
                         NUMER_ROZ_F,
@@ -17588,6 +17678,14 @@
                         netto_F,
                         brutto_F,
+                        vat_F,
                         suma_zapłat_F,
-                        data_wystawienia_F};
+                        data_wystawienia_F,
+                        NR_FAKTURY,
+                        roznica_netto,
+                        roznica_vat,
+                        roznica_brutto,
+                        kodKlienta,
+                        agencja,
+                        agent};
                 rowVIEW_KOREKTYRow.ItemArray = columnValuesArray;
                 this.Rows.Add(rowVIEW_KOREKTYRow);
@@ -17617,5 +17715,4 @@
                 this.columnCustomerId = base.Columns["CustomerId"];
                 this.columnId_Agencji = base.Columns["Id_Agencji"];
-                this.columnFirstName = base.Columns["FirstName"];
                 this.columnNUMER = base.Columns["NUMER"];
                 this.columnNUMER_ROZ = base.Columns["NUMER_ROZ"];
@@ -17623,4 +17720,5 @@
                 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"];
@@ -17633,4 +17731,5 @@
                 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"];
@@ -17638,6 +17737,14 @@
                 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"];
             }
             
@@ -17650,6 +17757,4 @@
                 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.columnFirstName = new global::System.Data.DataColumn("FirstName", typeof(string), null, global::System.Data.MappingType.Element);
-                base.Columns.Add(this.columnFirstName);
                 this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
                 base.Columns.Add(this.columnNUMER);
@@ -17662,4 +17767,6 @@
                 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);
@@ -17682,4 +17789,6 @@
                 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);
@@ -17692,14 +17801,41 @@
                 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.columnFirstName.MaxLength = 50;
+                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;
             }
             
@@ -31415,19 +31551,4 @@
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public string FirstName {
-                get {
-                    try {
-                        return ((string)(this[this.tableVIEW_KOREKTY.FirstNameColumn]));
-                    }
-                    catch (global::System.InvalidCastException e) {
-                        throw new global::System.Data.StrongTypingException("The value for column \'FirstName\' in table \'VIEW_KOREKTY\' is DBNull.", e);
-                    }
-                }
-                set {
-                    this[this.tableVIEW_KOREKTY.FirstNameColumn] = value;
-                }
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public int NUMER {
                 get {
@@ -31505,4 +31626,19 @@
             
             [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 {
@@ -31650,4 +31786,19 @@
             
             [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 {
@@ -31725,4 +31876,19 @@
             
             [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 {
@@ -31751,4 +31917,109 @@
                 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;
                 }
             }
@@ -31775,14 +32046,4 @@
             
             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public bool IsFirstNameNull() {
-                return this.IsNull(this.tableVIEW_KOREKTY.FirstNameColumn);
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-            public void SetFirstNameNull() {
-                this[this.tableVIEW_KOREKTY.FirstNameColumn] = global::System.Convert.DBNull;
-            }
-            
-            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
             public bool IsNUMERNull() {
                 return this.IsNull(this.tableVIEW_KOREKTY.NUMERColumn);
@@ -31835,4 +32096,14 @@
             
             [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);
@@ -31925,4 +32196,14 @@
             
             [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);
@@ -31975,4 +32256,14 @@
             
             [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);
@@ -31992,4 +32283,74 @@
             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;
             }
         }
@@ -47332,5 +47693,4 @@
             tableMapping.ColumnMappings.Add("CustomerId", "CustomerId");
             tableMapping.ColumnMappings.Add("Id_Agencji", "Id_Agencji");
-            tableMapping.ColumnMappings.Add("FirstName", "FirstName");
             tableMapping.ColumnMappings.Add("NUMER", "NUMER");
             tableMapping.ColumnMappings.Add("NUMER_ROZ", "NUMER_ROZ");
@@ -47338,4 +47698,5 @@
             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");
@@ -47348,4 +47709,5 @@
             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");
@@ -47353,6 +47715,14 @@
             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);
         }
@@ -47369,5 +47739,9 @@
             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
             this._commandCollection[0].Connection = this.Connection;
-            this._commandCollection[0].CommandText = "SELECT     VIEW_KOREKTY.*\r\nFROM         VIEW_KOREKTY";
+            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;
         }
