diff --git a/GMW/WebUserControls/mod_trattamenti.ascx b/GMW/WebUserControls/mod_trattamenti.ascx
index 303df4df..4ba3f152 100644
--- a/GMW/WebUserControls/mod_trattamenti.ascx
+++ b/GMW/WebUserControls/mod_trattamenti.ascx
@@ -37,10 +37,10 @@
diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll
index f1310cce..3b34f04d 100644
Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ
diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll
index 26d3eb01..61dc92f0 100644
Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ
diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll
index 466c3f33..1128488b 100644
Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ
diff --git a/GMW/bin/VersGen.dll b/GMW/bin/VersGen.dll
index d48338f9..13458fe2 100644
Binary files a/GMW/bin/VersGen.dll and b/GMW/bin/VersGen.dll differ
diff --git a/GMW_data/DS_Applicazione.Designer.cs b/GMW_data/DS_Applicazione.Designer.cs
index 9df1f4ce..227d7f21 100644
--- a/GMW_data/DS_Applicazione.Designer.cs
+++ b/GMW_data/DS_Applicazione.Designer.cs
@@ -6705,7 +6705,7 @@ namespace GMW_data {
private global::System.Data.DataColumn columnparticolare;
- private global::System.Data.DataColumn columndescparticolare;
+ private global::System.Data.DataColumn columnDescParticolare;
private global::System.Data.DataColumn columnDisegnoGrezzo;
@@ -6725,7 +6725,7 @@ namespace GMW_data {
private global::System.Data.DataColumn columnCodImballo;
- private global::System.Data.DataColumn columncodsoggetto;
+ private global::System.Data.DataColumn columnCodSoggetto;
private global::System.Data.DataColumn columnNumCont;
@@ -6749,7 +6749,7 @@ namespace GMW_data {
private global::System.Data.DataColumn columnnome;
- private global::System.Data.DataColumn columndescstato;
+ private global::System.Data.DataColumn columnDescStato;
private global::System.Data.DataColumn columnDescImballo;
@@ -6836,9 +6836,9 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn descparticolareColumn {
+ public global::System.Data.DataColumn DescParticolareColumn {
get {
- return this.columndescparticolare;
+ return this.columnDescParticolare;
}
}
@@ -6916,9 +6916,9 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn codsoggettoColumn {
+ public global::System.Data.DataColumn CodSoggettoColumn {
get {
- return this.columncodsoggetto;
+ return this.columnCodSoggetto;
}
}
@@ -7012,9 +7012,9 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn descstatoColumn {
+ public global::System.Data.DataColumn DescStatoColumn {
get {
- return this.columndescstato;
+ return this.columnDescStato;
}
}
@@ -7101,7 +7101,7 @@ namespace GMW_data {
string codcliente,
string ragsociale,
string particolare,
- string descparticolare,
+ string DescParticolare,
string DisegnoGrezzo,
string esponente,
string CodImpianto,
@@ -7111,7 +7111,7 @@ namespace GMW_data {
System.DateTime datafus,
int turnofus,
string CodImballo,
- string codsoggetto,
+ string CodSoggetto,
int NumCont,
double tara,
decimal qta,
@@ -7123,7 +7123,7 @@ namespace GMW_data {
System.DateTime ModDate,
string cognome,
string nome,
- string descstato,
+ string DescStato,
string DescImballo,
string CodFamiglia,
string DescFamiglia,
@@ -7136,7 +7136,7 @@ namespace GMW_data {
codcliente,
ragsociale,
particolare,
- descparticolare,
+ DescParticolare,
DisegnoGrezzo,
esponente,
CodImpianto,
@@ -7146,7 +7146,7 @@ namespace GMW_data {
datafus,
turnofus,
CodImballo,
- codsoggetto,
+ CodSoggetto,
NumCont,
tara,
qta,
@@ -7158,7 +7158,7 @@ namespace GMW_data {
ModDate,
cognome,
nome,
- descstato,
+ DescStato,
DescImballo,
CodFamiglia,
DescFamiglia,
@@ -7198,7 +7198,7 @@ namespace GMW_data {
this.columncodcliente = base.Columns["codcliente"];
this.columnragsociale = base.Columns["ragsociale"];
this.columnparticolare = base.Columns["particolare"];
- this.columndescparticolare = base.Columns["descparticolare"];
+ this.columnDescParticolare = base.Columns["DescParticolare"];
this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"];
this.columnesponente = base.Columns["esponente"];
this.columnCodImpianto = base.Columns["CodImpianto"];
@@ -7208,7 +7208,7 @@ namespace GMW_data {
this.columndatafus = base.Columns["datafus"];
this.columnturnofus = base.Columns["turnofus"];
this.columnCodImballo = base.Columns["CodImballo"];
- this.columncodsoggetto = base.Columns["codsoggetto"];
+ this.columnCodSoggetto = base.Columns["CodSoggetto"];
this.columnNumCont = base.Columns["NumCont"];
this.columntara = base.Columns["tara"];
this.columnqta = base.Columns["qta"];
@@ -7220,7 +7220,7 @@ namespace GMW_data {
this.columnModDate = base.Columns["ModDate"];
this.columncognome = base.Columns["cognome"];
this.columnnome = base.Columns["nome"];
- this.columndescstato = base.Columns["descstato"];
+ this.columnDescStato = base.Columns["DescStato"];
this.columnDescImballo = base.Columns["DescImballo"];
this.columnCodFamiglia = base.Columns["CodFamiglia"];
this.columnDescFamiglia = base.Columns["DescFamiglia"];
@@ -7241,8 +7241,8 @@ namespace GMW_data {
base.Columns.Add(this.columnragsociale);
this.columnparticolare = new global::System.Data.DataColumn("particolare", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnparticolare);
- this.columndescparticolare = new global::System.Data.DataColumn("descparticolare", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndescparticolare);
+ this.columnDescParticolare = new global::System.Data.DataColumn("DescParticolare", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescParticolare);
this.columnDisegnoGrezzo = new global::System.Data.DataColumn("DisegnoGrezzo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDisegnoGrezzo);
this.columnesponente = new global::System.Data.DataColumn("esponente", typeof(string), null, global::System.Data.MappingType.Element);
@@ -7261,8 +7261,8 @@ namespace GMW_data {
base.Columns.Add(this.columnturnofus);
this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodImballo);
- this.columncodsoggetto = new global::System.Data.DataColumn("codsoggetto", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncodsoggetto);
+ this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto);
this.columnNumCont = new global::System.Data.DataColumn("NumCont", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumCont);
this.columntara = new global::System.Data.DataColumn("tara", typeof(double), null, global::System.Data.MappingType.Element);
@@ -7285,8 +7285,8 @@ namespace GMW_data {
base.Columns.Add(this.columncognome);
this.columnnome = new global::System.Data.DataColumn("nome", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnnome);
- this.columndescstato = new global::System.Data.DataColumn("descstato", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndescstato);
+ this.columnDescStato = new global::System.Data.DataColumn("DescStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescStato);
this.columnDescImballo = new global::System.Data.DataColumn("DescImballo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescImballo);
this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element);
@@ -7309,8 +7309,8 @@ namespace GMW_data {
this.columnragsociale.MaxLength = 35;
this.columnparticolare.ReadOnly = true;
this.columnparticolare.MaxLength = 15;
- this.columndescparticolare.ReadOnly = true;
- this.columndescparticolare.MaxLength = 30;
+ this.columnDescParticolare.ReadOnly = true;
+ this.columnDescParticolare.MaxLength = 30;
this.columnDisegnoGrezzo.ReadOnly = true;
this.columnDisegnoGrezzo.MaxLength = 30;
this.columnesponente.ReadOnly = true;
@@ -7327,8 +7327,8 @@ namespace GMW_data {
this.columnturnofus.ReadOnly = true;
this.columnCodImballo.ReadOnly = true;
this.columnCodImballo.MaxLength = 15;
- this.columncodsoggetto.ReadOnly = true;
- this.columncodsoggetto.MaxLength = 17;
+ this.columnCodSoggetto.ReadOnly = true;
+ this.columnCodSoggetto.MaxLength = 17;
this.columnNumCont.ReadOnly = true;
this.columntara.ReadOnly = true;
this.columnqta.ReadOnly = true;
@@ -7341,8 +7341,8 @@ namespace GMW_data {
this.columncognome.MaxLength = 40;
this.columnnome.ReadOnly = true;
this.columnnome.MaxLength = 40;
- this.columndescstato.ReadOnly = true;
- this.columndescstato.MaxLength = 50;
+ this.columnDescStato.ReadOnly = true;
+ this.columnDescStato.MaxLength = 50;
this.columnDescImballo.ReadOnly = true;
this.columnDescImballo.MaxLength = 30;
this.columnCodFamiglia.MaxLength = 4;
@@ -7494,7 +7494,7 @@ namespace GMW_data {
private global::System.Data.DataColumn columnparticolare;
- private global::System.Data.DataColumn columndescparticolare;
+ private global::System.Data.DataColumn columnDescParticolare;
private global::System.Data.DataColumn columnDisegnoGrezzo;
@@ -7514,7 +7514,7 @@ namespace GMW_data {
private global::System.Data.DataColumn columnCodImballo;
- private global::System.Data.DataColumn columncodsoggetto;
+ private global::System.Data.DataColumn columnCodSoggetto;
private global::System.Data.DataColumn columnNumCont;
@@ -7538,7 +7538,7 @@ namespace GMW_data {
private global::System.Data.DataColumn columnnome;
- private global::System.Data.DataColumn columndescstato;
+ private global::System.Data.DataColumn columnDescStato;
private global::System.Data.DataColumn columnDescImballo;
@@ -7625,9 +7625,9 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn descparticolareColumn {
+ public global::System.Data.DataColumn DescParticolareColumn {
get {
- return this.columndescparticolare;
+ return this.columnDescParticolare;
}
}
@@ -7705,9 +7705,9 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn codsoggettoColumn {
+ public global::System.Data.DataColumn CodSoggettoColumn {
get {
- return this.columncodsoggetto;
+ return this.columnCodSoggetto;
}
}
@@ -7801,9 +7801,9 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn descstatoColumn {
+ public global::System.Data.DataColumn DescStatoColumn {
get {
- return this.columndescstato;
+ return this.columnDescStato;
}
}
@@ -7890,7 +7890,7 @@ namespace GMW_data {
string codcliente,
string ragsociale,
string particolare,
- string descparticolare,
+ string DescParticolare,
string DisegnoGrezzo,
string esponente,
string CodImpianto,
@@ -7900,7 +7900,7 @@ namespace GMW_data {
System.DateTime datafus,
int turnofus,
string CodImballo,
- string codsoggetto,
+ string CodSoggetto,
int NumCont,
double tara,
decimal qta,
@@ -7912,7 +7912,7 @@ namespace GMW_data {
System.DateTime ModDate,
string cognome,
string nome,
- string descstato,
+ string DescStato,
string DescImballo,
string CodFamiglia,
string DescFamiglia,
@@ -7925,7 +7925,7 @@ namespace GMW_data {
codcliente,
ragsociale,
particolare,
- descparticolare,
+ DescParticolare,
DisegnoGrezzo,
esponente,
CodImpianto,
@@ -7935,7 +7935,7 @@ namespace GMW_data {
datafus,
turnofus,
CodImballo,
- codsoggetto,
+ CodSoggetto,
NumCont,
tara,
qta,
@@ -7947,7 +7947,7 @@ namespace GMW_data {
ModDate,
cognome,
nome,
- descstato,
+ DescStato,
DescImballo,
CodFamiglia,
DescFamiglia,
@@ -7987,7 +7987,7 @@ namespace GMW_data {
this.columncodcliente = base.Columns["codcliente"];
this.columnragsociale = base.Columns["ragsociale"];
this.columnparticolare = base.Columns["particolare"];
- this.columndescparticolare = base.Columns["descparticolare"];
+ this.columnDescParticolare = base.Columns["DescParticolare"];
this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"];
this.columnesponente = base.Columns["esponente"];
this.columnCodImpianto = base.Columns["CodImpianto"];
@@ -7997,7 +7997,7 @@ namespace GMW_data {
this.columndatafus = base.Columns["datafus"];
this.columnturnofus = base.Columns["turnofus"];
this.columnCodImballo = base.Columns["CodImballo"];
- this.columncodsoggetto = base.Columns["codsoggetto"];
+ this.columnCodSoggetto = base.Columns["CodSoggetto"];
this.columnNumCont = base.Columns["NumCont"];
this.columntara = base.Columns["tara"];
this.columnqta = base.Columns["qta"];
@@ -8009,7 +8009,7 @@ namespace GMW_data {
this.columnModDate = base.Columns["ModDate"];
this.columncognome = base.Columns["cognome"];
this.columnnome = base.Columns["nome"];
- this.columndescstato = base.Columns["descstato"];
+ this.columnDescStato = base.Columns["DescStato"];
this.columnDescImballo = base.Columns["DescImballo"];
this.columnCodFamiglia = base.Columns["CodFamiglia"];
this.columnDescFamiglia = base.Columns["DescFamiglia"];
@@ -8030,8 +8030,8 @@ namespace GMW_data {
base.Columns.Add(this.columnragsociale);
this.columnparticolare = new global::System.Data.DataColumn("particolare", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnparticolare);
- this.columndescparticolare = new global::System.Data.DataColumn("descparticolare", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndescparticolare);
+ this.columnDescParticolare = new global::System.Data.DataColumn("DescParticolare", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescParticolare);
this.columnDisegnoGrezzo = new global::System.Data.DataColumn("DisegnoGrezzo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDisegnoGrezzo);
this.columnesponente = new global::System.Data.DataColumn("esponente", typeof(string), null, global::System.Data.MappingType.Element);
@@ -8050,8 +8050,8 @@ namespace GMW_data {
base.Columns.Add(this.columnturnofus);
this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodImballo);
- this.columncodsoggetto = new global::System.Data.DataColumn("codsoggetto", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncodsoggetto);
+ this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto);
this.columnNumCont = new global::System.Data.DataColumn("NumCont", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumCont);
this.columntara = new global::System.Data.DataColumn("tara", typeof(double), null, global::System.Data.MappingType.Element);
@@ -8074,8 +8074,8 @@ namespace GMW_data {
base.Columns.Add(this.columncognome);
this.columnnome = new global::System.Data.DataColumn("nome", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnnome);
- this.columndescstato = new global::System.Data.DataColumn("descstato", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndescstato);
+ this.columnDescStato = new global::System.Data.DataColumn("DescStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescStato);
this.columnDescImballo = new global::System.Data.DataColumn("DescImballo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescImballo);
this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element);
@@ -8098,8 +8098,8 @@ namespace GMW_data {
this.columnragsociale.MaxLength = 35;
this.columnparticolare.ReadOnly = true;
this.columnparticolare.MaxLength = 15;
- this.columndescparticolare.ReadOnly = true;
- this.columndescparticolare.MaxLength = 30;
+ this.columnDescParticolare.ReadOnly = true;
+ this.columnDescParticolare.MaxLength = 30;
this.columnDisegnoGrezzo.ReadOnly = true;
this.columnDisegnoGrezzo.MaxLength = 30;
this.columnesponente.ReadOnly = true;
@@ -8116,8 +8116,8 @@ namespace GMW_data {
this.columnturnofus.ReadOnly = true;
this.columnCodImballo.ReadOnly = true;
this.columnCodImballo.MaxLength = 15;
- this.columncodsoggetto.ReadOnly = true;
- this.columncodsoggetto.MaxLength = 17;
+ this.columnCodSoggetto.ReadOnly = true;
+ this.columnCodSoggetto.MaxLength = 17;
this.columnNumCont.ReadOnly = true;
this.columntara.ReadOnly = true;
this.columnqta.ReadOnly = true;
@@ -8130,8 +8130,8 @@ namespace GMW_data {
this.columncognome.MaxLength = 40;
this.columnnome.ReadOnly = true;
this.columnnome.MaxLength = 40;
- this.columndescstato.ReadOnly = true;
- this.columndescstato.MaxLength = 50;
+ this.columnDescStato.ReadOnly = true;
+ this.columnDescStato.MaxLength = 50;
this.columnDescImballo.ReadOnly = true;
this.columnDescImballo.MaxLength = 30;
this.columnCodFamiglia.MaxLength = 4;
@@ -11477,18 +11477,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string descparticolare {
+ public string DescParticolare {
get {
try {
- return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn]));
+ return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.DescParticolareColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartLiquidiF10ByUDC\' is D" +
+ throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'stp_prtCartLiquidiF10ByUDC\' is D" +
"BNull.", e);
}
}
set {
- this[this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn] = value;
+ this[this.tablestp_prtCartLiquidiF10ByUDC.DescParticolareColumn] = value;
}
}
@@ -11644,18 +11644,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string codsoggetto {
+ public string CodSoggetto {
get {
try {
- return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn]));
+ return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.CodSoggettoColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" +
+ throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" +
"l.", e);
}
}
set {
- this[this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn] = value;
+ this[this.tablestp_prtCartLiquidiF10ByUDC.CodSoggettoColumn] = value;
}
}
@@ -11839,18 +11839,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string descstato {
+ public string DescStato {
get {
try {
- return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn]));
+ return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.DescStatoColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull." +
+ throw new global::System.Data.StrongTypingException("The value for column \'DescStato\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull." +
"", e);
}
}
set {
- this[this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn] = value;
+ this[this.tablestp_prtCartLiquidiF10ByUDC.DescStatoColumn] = value;
}
}
@@ -11988,14 +11988,14 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsdescparticolareNull() {
- return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn);
+ public bool IsDescParticolareNull() {
+ return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.DescParticolareColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetdescparticolareNull() {
- this[this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn] = global::System.Convert.DBNull;
+ public void SetDescParticolareNull() {
+ this[this.tablestp_prtCartLiquidiF10ByUDC.DescParticolareColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12108,14 +12108,14 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IscodsoggettoNull() {
- return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn);
+ public bool IsCodSoggettoNull() {
+ return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.CodSoggettoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetcodsoggettoNull() {
- this[this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn] = global::System.Convert.DBNull;
+ public void SetCodSoggettoNull() {
+ this[this.tablestp_prtCartLiquidiF10ByUDC.CodSoggettoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12252,14 +12252,14 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsdescstatoNull() {
- return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn);
+ public bool IsDescStatoNull() {
+ return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.DescStatoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetdescstatoNull() {
- this[this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn] = global::System.Convert.DBNull;
+ public void SetDescStatoNull() {
+ this[this.tablestp_prtCartLiquidiF10ByUDC.DescStatoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12417,18 +12417,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string descparticolare {
+ public string DescParticolare {
get {
try {
- return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn]));
+ return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.DescParticolareColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartLiquidiF18ByUDC\' is D" +
+ throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'stp_prtCartLiquidiF18ByUDC\' is D" +
"BNull.", e);
}
}
set {
- this[this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn] = value;
+ this[this.tablestp_prtCartLiquidiF18ByUDC.DescParticolareColumn] = value;
}
}
@@ -12584,18 +12584,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string codsoggetto {
+ public string CodSoggetto {
get {
try {
- return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn]));
+ return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.CodSoggettoColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" +
+ throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" +
"l.", e);
}
}
set {
- this[this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn] = value;
+ this[this.tablestp_prtCartLiquidiF18ByUDC.CodSoggettoColumn] = value;
}
}
@@ -12779,18 +12779,18 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string descstato {
+ public string DescStato {
get {
try {
- return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn]));
+ return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.DescStatoColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull." +
+ throw new global::System.Data.StrongTypingException("The value for column \'DescStato\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull." +
"", e);
}
}
set {
- this[this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn] = value;
+ this[this.tablestp_prtCartLiquidiF18ByUDC.DescStatoColumn] = value;
}
}
@@ -12928,14 +12928,14 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsdescparticolareNull() {
- return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn);
+ public bool IsDescParticolareNull() {
+ return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.DescParticolareColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetdescparticolareNull() {
- this[this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn] = global::System.Convert.DBNull;
+ public void SetDescParticolareNull() {
+ this[this.tablestp_prtCartLiquidiF18ByUDC.DescParticolareColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -13048,14 +13048,14 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IscodsoggettoNull() {
- return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn);
+ public bool IsCodSoggettoNull() {
+ return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.CodSoggettoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetcodsoggettoNull() {
- this[this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn] = global::System.Convert.DBNull;
+ public void SetCodSoggettoNull() {
+ this[this.tablestp_prtCartLiquidiF18ByUDC.CodSoggettoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -13192,14 +13192,14 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsdescstatoNull() {
- return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn);
+ public bool IsDescStatoNull() {
+ return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.DescStatoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetdescstatoNull() {
- this[this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn] = global::System.Convert.DBNull;
+ public void SetDescStatoNull() {
+ this[this.tablestp_prtCartLiquidiF18ByUDC.DescStatoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -17320,7 +17320,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[13];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[14];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.ElencoCartellini";
@@ -17419,69 +17419,100 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
- this._commandCollection[7].CommandText = "dbo.stp_riattivaUdc";
+ this._commandCollection[7].CommandText = "dbo.stp_UDC_insNewFullWithAL";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
- this._commandCollection[8].CommandText = "dbo.stp_sbloccaUdc";
+ this._commandCollection[8].CommandText = "dbo.stp_riattivaUdc";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
- this._commandCollection[9].CommandText = "dbo.stp_UDC_associaParent";
+ this._commandCollection[9].CommandText = "dbo.stp_sbloccaUdc";
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Connection = this.Connection;
- this._commandCollection[10].CommandText = "dbo.stp_UDC_delete_byRdQ";
+ this._commandCollection[10].CommandText = "dbo.stp_UDC_associaParent";
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExecBatchInter", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[11].Connection = this.Connection;
- this._commandCollection[11].CommandText = "dbo.stp_UDC_updateNote";
+ this._commandCollection[11].CommandText = "dbo.stp_UDC_delete_byRdQ";
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExecBatchInter", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[12].Connection = this.Connection;
- this._commandCollection[12].CommandText = "dbo.stp_UDC_update";
+ this._commandCollection[12].CommandText = "dbo.stp_UDC_updateNote";
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[13].Connection = this.Connection;
+ this._commandCollection[13].CommandText = "dbo.stp_UDC_update";
+ this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -17995,6 +18026,199 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
return dataTable;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.ElencoCartelliniDataTable stp_insNewFullWithAL(
+ string AL,
+ string CodCella,
+ string CodCS,
+ string Flusso,
+ string Anno,
+ string CodCliente,
+ string Particolare,
+ string CodImpianto,
+ string CodStampo,
+ string Esponente,
+ string Figura,
+ global::System.Nullable
DataFus,
+ global::System.Nullable TurnoFus,
+ string CodImballo,
+ string CodSoggetto,
+ global::System.Nullable Tara,
+ global::System.Nullable IdxPosizione,
+ string CodTipoDichiaraz,
+ string CodEvento,
+ global::System.Nullable Qta,
+ global::System.Nullable PesoTot,
+ global::System.Nullable PesoCad,
+ string CodStato,
+ string UDC_parent,
+ global::System.Nullable DoDeleteUdcParent,
+ string Note) {
+ this.Adapter.SelectCommand = this.CommandCollection[7];
+ if ((AL == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(AL));
+ }
+ if ((CodCella == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCella));
+ }
+ if ((CodCS == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodCS));
+ }
+ if ((Flusso == null)) {
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Flusso));
+ }
+ if ((Anno == null)) {
+ this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Anno));
+ }
+ if ((CodCliente == null)) {
+ this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodCliente));
+ }
+ if ((Particolare == null)) {
+ this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[7].Value = ((string)(Particolare));
+ }
+ if ((CodImpianto == null)) {
+ this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodImpianto));
+ }
+ if ((CodStampo == null)) {
+ this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[9].Value = ((string)(CodStampo));
+ }
+ if ((Esponente == null)) {
+ this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[10].Value = ((string)(Esponente));
+ }
+ if ((Figura == null)) {
+ this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[11].Value = ((string)(Figura));
+ }
+ if ((DataFus.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ if ((TurnoFus.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[13].Value = ((int)(TurnoFus.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ if ((CodImballo == null)) {
+ this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[14].Value = ((string)(CodImballo));
+ }
+ if ((CodSoggetto == null)) {
+ this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[15].Value = ((string)(CodSoggetto));
+ }
+ if ((Tara.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[16].Value = ((double)(Tara.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ if ((IdxPosizione.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[17].Value = ((int)(IdxPosizione.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ if ((CodTipoDichiaraz == null)) {
+ this.Adapter.SelectCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[18].Value = ((string)(CodTipoDichiaraz));
+ }
+ if ((CodEvento == null)) {
+ this.Adapter.SelectCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[19].Value = ((string)(CodEvento));
+ }
+ if ((Qta.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[20].Value = ((decimal)(Qta.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((PesoTot.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[21].Value = ((double)(PesoTot.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((PesoCad.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[22].Value = ((double)(PesoCad.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ if ((CodStato == null)) {
+ this.Adapter.SelectCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[23].Value = ((string)(CodStato));
+ }
+ if ((UDC_parent == null)) {
+ this.Adapter.SelectCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[24].Value = ((string)(UDC_parent));
+ }
+ if ((DoDeleteUdcParent.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[25].Value = ((bool)(DoDeleteUdcParent.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ if ((Note == null)) {
+ this.Adapter.SelectCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[26].Value = ((string)(Note));
+ }
+ DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -18024,7 +18248,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
string CodStato,
string UDC_parent,
string Note) {
- this.Adapter.SelectCommand = this.CommandCollection[12];
+ this.Adapter.SelectCommand = this.CommandCollection[13];
if ((UDC_edit == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -19157,40 +19381,6 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_riattivaUdc(string UDC, string CodSoggetto) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
- if ((UDC == null)) {
- command.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[1].Value = ((string)(UDC));
- }
- if ((CodSoggetto == null)) {
- command.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[2].Value = ((string)(CodSoggetto));
- }
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- int returnValue;
- try {
- returnValue = command.ExecuteNonQuery();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int stp_sbloccaUdc(string UDC, string CodSoggetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -19224,7 +19414,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int stp_UDC_associaParent(string UDC, string UDC_parent) {
+ public virtual int stp_sbloccaUdc(string UDC, string CodSoggetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -19232,6 +19422,40 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
else {
command.Parameters[1].Value = ((string)(UDC));
}
+ if ((CodSoggetto == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(CodSoggetto));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int stp_UDC_associaParent(string UDC, string UDC_parent) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
+ if ((UDC == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(UDC));
+ }
if ((UDC_parent == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
@@ -19259,7 +19483,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_UDC_delete_byRdQ(global::System.Nullable nRapQual, global::System.Nullable ExecBatchInter) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
if ((nRapQual.HasValue == true)) {
command.Parameters[1].Value = ((decimal)(nRapQual.Value));
}
@@ -19293,7 +19517,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_updateNote(string UDC, string note, string CodSoggetto) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -22971,7 +23195,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
tableMapping.ColumnMappings.Add("codcliente", "codcliente");
tableMapping.ColumnMappings.Add("ragsociale", "ragsociale");
tableMapping.ColumnMappings.Add("particolare", "particolare");
- tableMapping.ColumnMappings.Add("descparticolare", "descparticolare");
+ tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare");
tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo");
tableMapping.ColumnMappings.Add("esponente", "esponente");
tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto");
@@ -22981,7 +23205,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
tableMapping.ColumnMappings.Add("datafus", "datafus");
tableMapping.ColumnMappings.Add("turnofus", "turnofus");
tableMapping.ColumnMappings.Add("CodImballo", "CodImballo");
- tableMapping.ColumnMappings.Add("codsoggetto", "codsoggetto");
+ tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto");
tableMapping.ColumnMappings.Add("NumCont", "NumCont");
tableMapping.ColumnMappings.Add("tara", "tara");
tableMapping.ColumnMappings.Add("qta", "qta");
@@ -22993,7 +23217,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
tableMapping.ColumnMappings.Add("ModDate", "ModDate");
tableMapping.ColumnMappings.Add("cognome", "cognome");
tableMapping.ColumnMappings.Add("nome", "nome");
- tableMapping.ColumnMappings.Add("descstato", "descstato");
+ tableMapping.ColumnMappings.Add("DescStato", "DescStato");
tableMapping.ColumnMappings.Add("DescImballo", "DescImballo");
tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia");
tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia");
@@ -23184,7 +23408,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
tableMapping.ColumnMappings.Add("codcliente", "codcliente");
tableMapping.ColumnMappings.Add("ragsociale", "ragsociale");
tableMapping.ColumnMappings.Add("particolare", "particolare");
- tableMapping.ColumnMappings.Add("descparticolare", "descparticolare");
+ tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare");
tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo");
tableMapping.ColumnMappings.Add("esponente", "esponente");
tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto");
@@ -23194,7 +23418,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
tableMapping.ColumnMappings.Add("datafus", "datafus");
tableMapping.ColumnMappings.Add("turnofus", "turnofus");
tableMapping.ColumnMappings.Add("CodImballo", "CodImballo");
- tableMapping.ColumnMappings.Add("codsoggetto", "codsoggetto");
+ tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto");
tableMapping.ColumnMappings.Add("NumCont", "NumCont");
tableMapping.ColumnMappings.Add("tara", "tara");
tableMapping.ColumnMappings.Add("qta", "qta");
@@ -23206,7 +23430,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
tableMapping.ColumnMappings.Add("ModDate", "ModDate");
tableMapping.ColumnMappings.Add("cognome", "cognome");
tableMapping.ColumnMappings.Add("nome", "nome");
- tableMapping.ColumnMappings.Add("descstato", "descstato");
+ tableMapping.ColumnMappings.Add("DescStato", "DescStato");
tableMapping.ColumnMappings.Add("DescImballo", "DescImballo");
tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia");
tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia");
@@ -23550,9 +23774,9 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
private AnagBilanceTableAdapter _anagBilanceTableAdapter;
- private ElencoCartelliniTableAdapter _ElencoCartelliniTableAdapter;
+ private ElencoCartelliniTableAdapter _elencoCartelliniTableAdapter;
- private AnagImballiTableAdapter _AnagImballiTableAdapter;
+ private AnagImballiTableAdapter _anagImballiTableAdapter;
private AnagOperatoriTableAdapter _anagOperatoriTableAdapter;
@@ -23686,10 +23910,10 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
"a", "System.Drawing.Design.UITypeEditor")]
public ElencoCartelliniTableAdapter ElencoCartelliniTableAdapter {
get {
- return this._ElencoCartelliniTableAdapter;
+ return this._elencoCartelliniTableAdapter;
}
set {
- this._ElencoCartelliniTableAdapter = value;
+ this._elencoCartelliniTableAdapter = value;
}
}
@@ -23700,10 +23924,10 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
"a", "System.Drawing.Design.UITypeEditor")]
public AnagImballiTableAdapter AnagImballiTableAdapter {
get {
- return this._AnagImballiTableAdapter;
+ return this._anagImballiTableAdapter;
}
set {
- this._AnagImballiTableAdapter = value;
+ this._anagImballiTableAdapter = value;
}
}
@@ -23838,13 +24062,13 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
&& (this._anagBilanceTableAdapter.Connection != null))) {
return this._anagBilanceTableAdapter.Connection;
}
- if (((this._ElencoCartelliniTableAdapter != null)
- && (this._ElencoCartelliniTableAdapter.Connection != null))) {
- return this._ElencoCartelliniTableAdapter.Connection;
+ if (((this._elencoCartelliniTableAdapter != null)
+ && (this._elencoCartelliniTableAdapter.Connection != null))) {
+ return this._elencoCartelliniTableAdapter.Connection;
}
- if (((this._AnagImballiTableAdapter != null)
- && (this._AnagImballiTableAdapter.Connection != null))) {
- return this._AnagImballiTableAdapter.Connection;
+ if (((this._anagImballiTableAdapter != null)
+ && (this._anagImballiTableAdapter.Connection != null))) {
+ return this._anagImballiTableAdapter.Connection;
}
if (((this._anagOperatoriTableAdapter != null)
&& (this._anagOperatoriTableAdapter.Connection != null))) {
@@ -23904,10 +24128,10 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
if ((this._anagBilanceTableAdapter != null)) {
count = (count + 1);
}
- if ((this._ElencoCartelliniTableAdapter != null)) {
+ if ((this._elencoCartelliniTableAdapter != null)) {
count = (count + 1);
}
- if ((this._AnagImballiTableAdapter != null)) {
+ if ((this._anagImballiTableAdapter != null)) {
count = (count + 1);
}
if ((this._anagOperatoriTableAdapter != null)) {
@@ -24020,21 +24244,21 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._AnagImballiTableAdapter != null)) {
+ if ((this._anagImballiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._AnagImballiTableAdapter.Update(updatedRows));
+ result = (result + this._anagImballiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._ElencoCartelliniTableAdapter != null)) {
+ if ((this._elencoCartelliniTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._ElencoCartelliniTableAdapter.Update(updatedRows));
+ result = (result + this._elencoCartelliniTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -24156,19 +24380,19 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
allAddedRows.AddRange(addedRows);
}
}
- if ((this._AnagImballiTableAdapter != null)) {
+ if ((this._anagImballiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._AnagImballiTableAdapter.Update(addedRows));
+ result = (result + this._anagImballiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
- if ((this._ElencoCartelliniTableAdapter != null)) {
+ if ((this._elencoCartelliniTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._ElencoCartelliniTableAdapter.Update(addedRows));
+ result = (result + this._elencoCartelliniTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -24246,19 +24470,19 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._ElencoCartelliniTableAdapter != null)) {
+ if ((this._elencoCartelliniTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._ElencoCartelliniTableAdapter.Update(deletedRows));
+ result = (result + this._elencoCartelliniTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._AnagImballiTableAdapter != null)) {
+ if ((this._anagImballiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._AnagImballiTableAdapter.Update(deletedRows));
+ result = (result + this._anagImballiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -24408,13 +24632,13 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._ElencoCartelliniTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._ElencoCartelliniTableAdapter.Connection) == false))) {
+ if (((this._elencoCartelliniTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._elencoCartelliniTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
- if (((this._AnagImballiTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._AnagImballiTableAdapter.Connection) == false))) {
+ if (((this._anagImballiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagImballiTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
@@ -24543,22 +24767,22 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
adaptersWithAcceptChangesDuringUpdate.Add(this._anagBilanceTableAdapter.Adapter);
}
}
- if ((this._ElencoCartelliniTableAdapter != null)) {
- revertConnections.Add(this._ElencoCartelliniTableAdapter, this._ElencoCartelliniTableAdapter.Connection);
- this._ElencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
- this._ElencoCartelliniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
- if (this._ElencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate) {
- this._ElencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
- adaptersWithAcceptChangesDuringUpdate.Add(this._ElencoCartelliniTableAdapter.Adapter);
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ revertConnections.Add(this._elencoCartelliniTableAdapter, this._elencoCartelliniTableAdapter.Connection);
+ this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._elencoCartelliniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._elencoCartelliniTableAdapter.Adapter);
}
}
- if ((this._AnagImballiTableAdapter != null)) {
- revertConnections.Add(this._AnagImballiTableAdapter, this._AnagImballiTableAdapter.Connection);
- this._AnagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
- this._AnagImballiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
- if (this._AnagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
- this._AnagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
- adaptersWithAcceptChangesDuringUpdate.Add(this._AnagImballiTableAdapter.Adapter);
+ if ((this._anagImballiTableAdapter != null)) {
+ revertConnections.Add(this._anagImballiTableAdapter, this._anagImballiTableAdapter.Connection);
+ this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagImballiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagImballiTableAdapter.Adapter);
}
}
if ((this._anagOperatoriTableAdapter != null)) {
@@ -24701,13 +24925,13 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagBilanceTableAdapter]));
this._anagBilanceTableAdapter.Transaction = null;
}
- if ((this._ElencoCartelliniTableAdapter != null)) {
- this._ElencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._ElencoCartelliniTableAdapter]));
- this._ElencoCartelliniTableAdapter.Transaction = null;
+ if ((this._elencoCartelliniTableAdapter != null)) {
+ this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoCartelliniTableAdapter]));
+ this._elencoCartelliniTableAdapter.Transaction = null;
}
- if ((this._AnagImballiTableAdapter != null)) {
- this._AnagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._AnagImballiTableAdapter]));
- this._AnagImballiTableAdapter.Transaction = null;
+ if ((this._anagImballiTableAdapter != null)) {
+ this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagImballiTableAdapter]));
+ this._anagImballiTableAdapter.Transaction = null;
}
if ((this._anagOperatoriTableAdapter != null)) {
this._anagOperatoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagOperatoriTableAdapter]));
diff --git a/GMW_data/DS_Applicazione.xsd b/GMW_data/DS_Applicazione.xsd
index 7c75e7af..7104d6fe 100644
--- a/GMW_data/DS_Applicazione.xsd
+++ b/GMW_data/DS_Applicazione.xsd
@@ -812,6 +812,42 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
+
+
+
+ dbo.stp_UDC_insNewFullWithAL
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2915,12 +2951,12 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GMW_data/DS_magazzino.Designer.cs b/GMW_data/DS_magazzino.Designer.cs
index 1b40eacf..19b92f72 100644
--- a/GMW_data/DS_magazzino.Designer.cs
+++ b/GMW_data/DS_magazzino.Designer.cs
@@ -39644,6 +39644,7 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoAl", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
@@ -40184,7 +40185,7 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual object insertNewTL(string SourceAL, string TipoAl, global::System.Nullable DataCreaz, string CodSoggetto, ref string AL) {
+ public virtual object insertNewTL(string SourceAL, string TipoAl, global::System.Nullable DataCreaz, string CodSoggetto, string CodCella, ref string AL) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
if ((SourceAL == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -40210,11 +40211,17 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
else {
command.Parameters[4].Value = ((string)(CodSoggetto));
}
- if ((AL == null)) {
+ if ((CodCella == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[5].Value = ((string)(AL));
+ command.Parameters[5].Value = ((string)(CodCella));
+ }
+ if ((AL == null)) {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[6].Value = ((string)(AL));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
@@ -40230,12 +40237,12 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
command.Connection.Close();
}
}
- if (((command.Parameters[5].Value == null)
- || (command.Parameters[5].Value.GetType() == typeof(global::System.DBNull)))) {
+ if (((command.Parameters[6].Value == null)
+ || (command.Parameters[6].Value.GetType() == typeof(global::System.DBNull)))) {
AL = null;
}
else {
- AL = ((string)(command.Parameters[5].Value));
+ AL = ((string)(command.Parameters[6].Value));
}
if (((returnValue == null)
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
diff --git a/GMW_data/DS_magazzino.xsd b/GMW_data/DS_magazzino.xsd
index b7e1e69b..f0b60ab2 100644
--- a/GMW_data/DS_magazzino.xsd
+++ b/GMW_data/DS_magazzino.xsd
@@ -3770,6 +3770,7 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
+
@@ -5199,7 +5200,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5256,7 +5257,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5288,7 +5289,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5310,7 +5311,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5337,7 +5338,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5386,14 +5387,14 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
-
+
@@ -5429,7 +5430,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5486,7 +5487,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5514,7 +5515,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5561,7 +5562,7 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
+
@@ -5755,21 +5756,21 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GMW_data/DS_magazzino.xss b/GMW_data/DS_magazzino.xss
index 12080cfe..3460d138 100644
--- a/GMW_data/DS_magazzino.xss
+++ b/GMW_data/DS_magazzino.xss
@@ -6,7 +6,7 @@
-->
-
+
@@ -38,7 +38,7 @@
-
+
diff --git a/GMW_data/MagClass.cs b/GMW_data/MagClass.cs
index c0ab79cd..ed008367 100644
--- a/GMW_data/MagClass.cs
+++ b/GMW_data/MagClass.cs
@@ -330,9 +330,10 @@ namespace GMW_data
///
/// Codice AL TT sorgente
/// tipologia (L)
+ /// codice cella di destinazione
/// Operatore
///
- public string creaAssociaAlTL(string SourceAL, tipoAL tipologia, string CodSoggetto)
+ public string creaAssociaAlTL(string SourceAL, tipoAL tipologia, string CodSoggetto, string CodCella)
{
// imposto valori default
string TipoAL = "";
@@ -352,7 +353,7 @@ namespace GMW_data
// creo nuovo Assieme Logico ed associo UDC!
try
{
- taEA.insertNewTL(SourceAL, TipoAL, DataRif, CodSoggetto, ref AL);
+ taEA.insertNewTL(SourceAL, TipoAL, DataRif, CodSoggetto, CodCella, ref AL);
}
catch (Exception exc)
{
@@ -949,6 +950,122 @@ namespace GMW_data
catch
{ }
return answ;
+ }///
+ /// Fornisce un nuovo codice UDC tipo completo (con pezzi e cod magazzino) a partire dalla richiesta e associa ad AL e mette nella cella richiesta
+ ///
+ /// AL da associare
+ /// codice cella destinazione
+ /// codice anagrafico della bilanca che effettua la richiesta (codice della pesa)
+ /// codice anagrafico del cliente
+ /// codice del particolare (articolo) - da anagrafica!
+ /// Codice dell'impianto
+ /// Codice dello stampo
+ /// codice dell'esponente dello stampo
+ /// Codice figura
+ /// codice dell'UDC parent (UDC della tara)
+ /// peso in kg (0 se non noto) da associare all'UDC come tara del contenitore
+ /// codice dell'imballo (tipo cassone) - string LIBERO (non facciamo controlli in input)
+ /// tipo di dichiarazione (vedere relativa anagrafica consentita, es U=uomo, M=macchina...)
+ /// codice dell'operatore
+ /// numero pezzi associati all'UDC
+ /// Peso totale rilevato
+ /// Peso unitario rilevato
+ /// Data di rif per la dichiarazione
+ /// Turno di rif per la dichiarazione
+ /// Codice dello stato del pezzo (da anagrafica: sabbiato, ...)
+ /// Codice del magazzino in cui inserire l'UDC
+ /// NOME della posizione default in cui creare UDC
+ /// cod evento da associare al movimento mag
+ /// note (opzionali)
+ /// cod UDC pre-calcolato, se "" verrà calcolato dalla query
+ /// anno in cui intestare i cartellini, trimma a 2 cifre DX
+ /// Ip del client
+ /// UDC del nuovo cartellino per FINITI
+ public string creaUdcWithAlCella(string AL, string CodCella, string CodBilancia, string CodCliente, string Particolare, string CodImpianto, string CodStampo, string Esponente, string Figura, string UDC_parent, double Tara, string CodImballo, string CodTipoDichiarazione, string CodSoggetto, int Quantita, float PesoTot, float PesoCad, DateTime DataRif, int TurnoRif, string CodStato, int CodMag, string defIdxPosiz, string codEvento, string note, string UDC, int anno, string clientIp)
+ {// trim fix
+ string CodBilanciaTrim = CodBilancia.Trim();
+ string CodClienteTrim = CodCliente.Trim();
+ string ParticolareTrim = Particolare.Trim();
+ string CodImpiantoTrim = CodImpianto.Trim();
+ string CodStampoTrim = CodStampo.Trim();
+ string EsponenteTrim = Esponente.Trim();
+ string FiguraTrim = Figura.Trim();
+ string UDC_parentTrim = UDC_parent.Trim();
+ string CodImballoTrim = CodImballo.Trim();
+ string CodTipoDichiarazioneTrim = CodTipoDichiarazione.Trim();
+ string CodSoggettoTrim = CodSoggetto.Trim();
+ string CodStatoTrim = CodStato.Trim();
+ string defIdxPosizTrim = defIdxPosiz.Trim();
+ string codEventoTrim = codEvento.Trim();
+ string noteTrim = note.Trim();
+ string annoTrim = anno.ToString();
+ if (annoTrim.Length > 2)
+ {
+ annoTrim = annoTrim.Substring(2, 2);
+ }
+ // determino se cancellare udcTara
+ bool doDeleteUdcTara = false; // memLayer.ML.confReadBool("doDeleteUdcTara");
+ // ricavo cod company...
+ string CodCS = "ND";
+ string answ = "NA";
+ try
+ {
+ CodCS = DataProxy.obj.taAnagBil.stp_getByCodBilancia(CodBilanciaTrim)[0].CodCS;
+ }
+ catch
+ {
+ CodCS = memLayer.ML.confReadString("CodCS");
+ }
+ int IdxPosizione = 0;
+ if (CodMag > 0)
+ {
+ IdxPosizione = CodMag;
+ }
+ else
+ {
+ IdxPosizione = memLayer.ML.confReadInt(defIdxPosizTrim);
+ }
+ // controllo di avere codice soggetto e particolare validi (!="")
+ if (ParticolareTrim != "" && CodSoggettoTrim != "")
+ {
+ // creo nuovo cartellino!
+ DS_Applicazione.ElencoCartelliniDataTable tabUdc = new DS_Applicazione.ElencoCartelliniDataTable();
+ // insert nuovo UDC con codice impostato
+ try
+ {
+ tabUdc = DataProxy.obj.taCartellini.stp_insNewFullWithAL(AL, CodCella, CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_parentTrim, doDeleteUdcTara, noteTrim);
+ answ = UDC;
+ }
+ catch
+ {
+ // loggo errore
+ logger.lg.scriviLog(string.Format("ERRORE CREAZIONE UDC: | {24} | procedura stp_insNewFull_fixUDC, parametri: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22} | {23}", answ, CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_parentTrim, noteTrim, clientIp), tipoLog.INFO);
+ }
+ // leggo la riga
+ answ = tabUdc[0].UDC;
+ // loggo tutto!
+ if (memLayer.ML.confReadInt("_logLevel") > 5)
+ {
+ try
+ {
+ logger.lg.scriviLog(string.Format(" | {24} | NUOVO cartellino da postazione: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22} | {23}", answ, CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_parentTrim, noteTrim, clientIp), tipoLog.INFO);
+ }
+ catch
+ { }
+ }
+ // solo se UDC parent != vuoto...
+ if (UDC_parentTrim != "")
+ {
+ try
+ {
+ // salvo associazione parent-child tra UDC!
+ DataProxy.obj.taRelazUDC.Insert(UDC_parentTrim, answ);
+ }
+ catch
+ { }
+ }
+ }
+ return answ;
}
///
/// Fornisce un nuovo codice UDC tipo completo (con pezzi e cod magazzino) a partire dalla richiesta e salva i dati
diff --git a/VersGen/GMW.cs b/VersGen/GMW.cs
index 595d282a..80896209 100644
--- a/VersGen/GMW.cs
+++ b/VersGen/GMW.cs
@@ -5,7 +5,7 @@
using System.Reflection;
-[assembly: AssemblyVersion("2.5.662.1558")]
-[assembly: AssemblyFileVersion("2.5.662.1558")]
+[assembly: AssemblyVersion("2.5.663.1559")]
+[assembly: AssemblyFileVersion("2.5.663.1559")]
[assembly: AssemblyCopyright("Steamware © 2007-2014")]
[assembly: AssemblyCompany("Steamware")]
diff --git a/VersGen/GMW.tt b/VersGen/GMW.tt
index 847f0508..3f65e369 100644
--- a/VersGen/GMW.tt
+++ b/VersGen/GMW.tt
@@ -6,8 +6,8 @@
using System.Reflection;
-[assembly: AssemblyVersion("2.5.662.<#= this.RevisionNumber #>")]
-[assembly: AssemblyFileVersion("2.5.662.<#= this.RevisionNumber #>")]
+[assembly: AssemblyVersion("2.5.663.<#= this.RevisionNumber #>")]
+[assembly: AssemblyFileVersion("2.5.663.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+