diff --git a/GMW_Term/GMW_Term.csproj b/GMW_Term/GMW_Term.csproj
index dcc39d36..7abc9c8c 100644
--- a/GMW_Term/GMW_Term.csproj
+++ b/GMW_Term/GMW_Term.csproj
@@ -358,6 +358,13 @@
mod_search.ascx
+
+ mod_searchRes.ascx
+ ASPXCodeBehind
+
+
+ mod_searchRes.ascx
+
mod_searchResults.ascx
ASPXCodeBehind
@@ -441,6 +448,7 @@
+
diff --git a/GMW_Term/Search.aspx b/GMW_Term/Search.aspx
index 55ebe842..aee396a7 100644
--- a/GMW_Term/Search.aspx
+++ b/GMW_Term/Search.aspx
@@ -1,11 +1,11 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master"
AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="GMW_Term.Search" %>
-<%--<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc1" %>--%>
-<%@ Register Src="WebUserControls/mod_search.ascx" TagName="mod_search" TagPrefix="uc2" %>
+<%@ Register Src="WebUserControls/mod_barcode.ascx" TagName="mod_barcode" TagPrefix="uc1" %>
+<%@ Register src="WebUserControls/mod_searchRes.ascx" tagname="mod_searchRes" tagprefix="uc2" %>
-
- <%----%>
-
+
+
+
diff --git a/GMW_Term/Search.aspx.cs b/GMW_Term/Search.aspx.cs
index 1b4984a1..3d76a966 100644
--- a/GMW_Term/Search.aspx.cs
+++ b/GMW_Term/Search.aspx.cs
@@ -11,9 +11,43 @@ namespace GMW_Term
{
protected void Page_Load(object sender, EventArgs e)
{
-
+ // imposto valori visibilità barcode specifici (nascondo testo...)
+ mod_barcode1.valoreScan = "";
+ mod_barcode1.showHeaderText = true;
+ mod_barcode1.showNoteText = true;
+ // imposto controllo valori scansionati
+ mod_barcode1.eh_scannedParticolare += new EventHandler(mod_barcode1_eh_scannedParticolare);
+ if (!Page.IsPostBack)
+ {
+ mod_searchRes1.Visible = false;
+ }
+ checkVisibility();
+ }
+ ///
+ /// scansionato particolare --> mostro magazzini contenenti!
+ ///
+ ///
+ ///
+ void mod_barcode1_eh_scannedParticolare(object sender, EventArgs e)
+ {
+ GMW_data.TermClass.Ter.resetScanBarcode(true, true, false);
+ mod_barcode1.Visible = false;
+ mod_searchRes1.Visible = true;
+ }
+ ///
+ /// controllo visibilità dati valori in sessione
+ ///
+ private void checkVisibility()
+ {
+ bool filtMag = memLayer.ML.isInSessionObject("Mag4det_sel");
+ if (filtMag)
+ {
+ mod_barcode1.Visible = false;
+ }
+ else
+ {
+ mod_barcode1.Visible = true;
+ }
}
-
-
}
}
diff --git a/GMW_Term/Search.aspx.designer.cs b/GMW_Term/Search.aspx.designer.cs
index b23c9f29..3f697284 100644
--- a/GMW_Term/Search.aspx.designer.cs
+++ b/GMW_Term/Search.aspx.designer.cs
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// the code is regenerated.
//
//------------------------------------------------------------------------------
@@ -14,12 +13,21 @@ namespace GMW_Term {
public partial class Search {
///
- /// mod_search1 control.
+ /// mod_barcode1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::GMW_Term.WebUserControls.mod_search mod_search1;
+ protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1;
+
+ ///
+ /// mod_searchRes1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::GMW_Term.WebUserControls.mod_searchRes mod_searchRes1;
}
}
diff --git a/GMW_Term/WebUserControls/mod_search.ascx b/GMW_Term/WebUserControls/mod_search.ascx
index 1fbb7857..e20f20e5 100644
--- a/GMW_Term/WebUserControls/mod_search.ascx
+++ b/GMW_Term/WebUserControls/mod_search.ascx
@@ -1,15 +1,21 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_search.ascx.cs"
Inherits="GMW_Term.WebUserControls.mod_search" %>
<%@ Register Src="mod_searchResults.ascx" TagName="mod_searchResults" TagPrefix="uc1" %>
+<% if (false)
+ { %>
+
+<% } %>
diff --git a/GMW_Term/WebUserControls/mod_search.ascx.designer.cs b/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
index d8ab7b54..ce7ca4bf 100644
--- a/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
+++ b/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// the code is regenerated.
//
//------------------------------------------------------------------------------
diff --git a/GMW_Term/WebUserControls/mod_searchRes.ascx b/GMW_Term/WebUserControls/mod_searchRes.ascx
new file mode 100644
index 00000000..ca3ed5dd
--- /dev/null
+++ b/GMW_Term/WebUserControls/mod_searchRes.ascx
@@ -0,0 +1,29 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchRes.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_searchRes" %>
+<% if (false)
+ { %>
+
+<% } %>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/GMW_Term/WebUserControls/mod_searchRes.ascx.cs b/GMW_Term/WebUserControls/mod_searchRes.ascx.cs
new file mode 100644
index 00000000..b5291606
--- /dev/null
+++ b/GMW_Term/WebUserControls/mod_searchRes.ascx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_searchRes : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/GMW_Term/WebUserControls/mod_searchRes.ascx.designer.cs b/GMW_Term/WebUserControls/mod_searchRes.ascx.designer.cs
new file mode 100644
index 00000000..836518e2
--- /dev/null
+++ b/GMW_Term/WebUserControls/mod_searchRes.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_searchRes {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/GMW_Term/bin/GMW_Term.dll b/GMW_Term/bin/GMW_Term.dll
index 1e9ffc8c..16bedd01 100644
Binary files a/GMW_Term/bin/GMW_Term.dll and b/GMW_Term/bin/GMW_Term.dll differ
diff --git a/GMW_Term/bin/GMW_data.dll b/GMW_Term/bin/GMW_data.dll
index 292156c3..c4e4e579 100644
Binary files a/GMW_Term/bin/GMW_data.dll and b/GMW_Term/bin/GMW_data.dll differ
diff --git a/GMW_Term/bin/SteamWare.dll b/GMW_Term/bin/SteamWare.dll
index a97198d5..23374fbd 100644
Binary files a/GMW_Term/bin/SteamWare.dll and b/GMW_Term/bin/SteamWare.dll differ
diff --git a/GMW_Term/interrMov.aspx.cs b/GMW_Term/interrMov.aspx.cs
index c9db6dd6..8841861c 100644
--- a/GMW_Term/interrMov.aspx.cs
+++ b/GMW_Term/interrMov.aspx.cs
@@ -12,7 +12,7 @@ namespace GMW_Term
protected void Page_Load(object sender, EventArgs e)
{
// imposto valori visibilità barcode specifici (nascondo testo...)
- mod_barcode1.valoreScan = "";
+ mod_barcode1.valoreScan = "";
mod_barcode1.showHeaderText = true;
mod_barcode1.showNoteText = true;
// imposto controllo valori scansionati
diff --git a/GMW_Terminus.suo b/GMW_Terminus.suo
index e0ed4749..4bcfb228 100644
Binary files a/GMW_Terminus.suo and b/GMW_Terminus.suo differ
diff --git a/GMW_data/DS_magazzino.Designer.cs b/GMW_data/DS_magazzino.Designer.cs
index 928c186a..8dc9431a 100644
--- a/GMW_data/DS_magazzino.Designer.cs
+++ b/GMW_data/DS_magazzino.Designer.cs
@@ -76,6 +76,8 @@ namespace GMW_data {
private StoricoAzioniOperatoreDataTable tableStoricoAzioniOperatore;
+ private stp_MagFifoByParticolareDataTable tablestp_MagFifoByParticolare;
+
private global::System.Data.DataRelation relationFK_PosizioneUdcCorrente_ElencoCartellini;
private global::System.Data.DataRelation relationFK_PosizioneUdcStorico_ElencoCartellini;
@@ -204,6 +206,9 @@ namespace GMW_data {
if ((ds.Tables["StoricoAzioniOperatore"] != null)) {
base.Tables.Add(new StoricoAzioniOperatoreDataTable(ds.Tables["StoricoAzioniOperatore"]));
}
+ if ((ds.Tables["stp_MagFifoByParticolare"] != null)) {
+ base.Tables.Add(new stp_MagFifoByParticolareDataTable(ds.Tables["stp_MagFifoByParticolare"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -482,6 +487,16 @@ namespace GMW_data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public stp_MagFifoByParticolareDataTable stp_MagFifoByParticolare {
+ get {
+ return this.tablestp_MagFifoByParticolare;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -627,6 +642,9 @@ namespace GMW_data {
if ((ds.Tables["StoricoAzioniOperatore"] != null)) {
base.Tables.Add(new StoricoAzioniOperatoreDataTable(ds.Tables["StoricoAzioniOperatore"]));
}
+ if ((ds.Tables["stp_MagFifoByParticolare"] != null)) {
+ base.Tables.Add(new stp_MagFifoByParticolareDataTable(ds.Tables["stp_MagFifoByParticolare"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -816,6 +834,12 @@ namespace GMW_data {
this.tableStoricoAzioniOperatore.InitVars();
}
}
+ this.tablestp_MagFifoByParticolare = ((stp_MagFifoByParticolareDataTable)(base.Tables["stp_MagFifoByParticolare"]));
+ if ((initTable == true)) {
+ if ((this.tablestp_MagFifoByParticolare != null)) {
+ this.tablestp_MagFifoByParticolare.InitVars();
+ }
+ }
this.relationFK_PosizioneUdcCorrente_ElencoCartellini = this.Relations["FK_PosizioneUdcCorrente_ElencoCartellini"];
this.relationFK_PosizioneUdcStorico_ElencoCartellini = this.Relations["FK_PosizioneUdcStorico_ElencoCartellini"];
this.relationFK_Blocchi_AnagMag = this.Relations["FK_Blocchi_AnagMag"];
@@ -889,6 +913,8 @@ namespace GMW_data {
base.Tables.Add(this.tableAnagLeghe);
this.tableStoricoAzioniOperatore = new StoricoAzioniOperatoreDataTable();
base.Tables.Add(this.tableStoricoAzioniOperatore);
+ this.tablestp_MagFifoByParticolare = new stp_MagFifoByParticolareDataTable();
+ base.Tables.Add(this.tablestp_MagFifoByParticolare);
this.relationFK_PosizioneUdcCorrente_ElencoCartellini = new global::System.Data.DataRelation("FK_PosizioneUdcCorrente_ElencoCartellini", new global::System.Data.DataColumn[] {
this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] {
this.tablePosizioneUdcCorrente.UDCColumn}, false);
@@ -1095,6 +1121,12 @@ namespace GMW_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializestp_MagFifoByParticolare() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -1228,6 +1260,9 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void StoricoAzioniOperatoreRowChangeEventHandler(object sender, StoricoAzioniOperatoreRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void stp_MagFifoByParticolareRowChangeEventHandler(object sender, stp_MagFifoByParticolareRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -11089,6 +11124,370 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class stp_MagFifoByParticolareDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxBlocco;
+
+ private global::System.Data.DataColumn columnCodBlocco;
+
+ private global::System.Data.DataColumn columnDescBlocco;
+
+ private global::System.Data.DataColumn columnParticolare;
+
+ private global::System.Data.DataColumn columnNumUDC;
+
+ private global::System.Data.DataColumn columnOldest;
+
+ private global::System.Data.DataColumn columnNewest;
+
+ private global::System.Data.DataColumn columnQtaTotPz;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareDataTable() {
+ this.TableName = "stp_MagFifoByParticolare";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal stp_MagFifoByParticolareDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected stp_MagFifoByParticolareDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxBloccoColumn {
+ get {
+ return this.columnIdxBlocco;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodBloccoColumn {
+ get {
+ return this.columnCodBlocco;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescBloccoColumn {
+ get {
+ return this.columnDescBlocco;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ParticolareColumn {
+ get {
+ return this.columnParticolare;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumUDCColumn {
+ get {
+ return this.columnNumUDC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn OldestColumn {
+ get {
+ return this.columnOldest;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NewestColumn {
+ get {
+ return this.columnNewest;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn QtaTotPzColumn {
+ get {
+ return this.columnQtaTotPz;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareRow this[int index] {
+ get {
+ return ((stp_MagFifoByParticolareRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event stp_MagFifoByParticolareRowChangeEventHandler stp_MagFifoByParticolareRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event stp_MagFifoByParticolareRowChangeEventHandler stp_MagFifoByParticolareRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event stp_MagFifoByParticolareRowChangeEventHandler stp_MagFifoByParticolareRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event stp_MagFifoByParticolareRowChangeEventHandler stp_MagFifoByParticolareRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Addstp_MagFifoByParticolareRow(stp_MagFifoByParticolareRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareRow Addstp_MagFifoByParticolareRow(int IdxBlocco, string CodBlocco, string DescBlocco, string Particolare, int NumUDC, System.DateTime Oldest, System.DateTime Newest, decimal QtaTotPz) {
+ stp_MagFifoByParticolareRow rowstp_MagFifoByParticolareRow = ((stp_MagFifoByParticolareRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ IdxBlocco,
+ CodBlocco,
+ DescBlocco,
+ Particolare,
+ NumUDC,
+ Oldest,
+ Newest,
+ QtaTotPz};
+ rowstp_MagFifoByParticolareRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowstp_MagFifoByParticolareRow);
+ return rowstp_MagFifoByParticolareRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareRow FindByIdxBlocco(int IdxBlocco) {
+ return ((stp_MagFifoByParticolareRow)(this.Rows.Find(new object[] {
+ IdxBlocco})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ stp_MagFifoByParticolareDataTable cln = ((stp_MagFifoByParticolareDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new stp_MagFifoByParticolareDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxBlocco = base.Columns["IdxBlocco"];
+ this.columnCodBlocco = base.Columns["CodBlocco"];
+ this.columnDescBlocco = base.Columns["DescBlocco"];
+ this.columnParticolare = base.Columns["Particolare"];
+ this.columnNumUDC = base.Columns["NumUDC"];
+ this.columnOldest = base.Columns["Oldest"];
+ this.columnNewest = base.Columns["Newest"];
+ this.columnQtaTotPz = base.Columns["QtaTotPz"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxBlocco = new global::System.Data.DataColumn("IdxBlocco", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxBlocco);
+ this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodBlocco);
+ this.columnDescBlocco = new global::System.Data.DataColumn("DescBlocco", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescBlocco);
+ this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnParticolare);
+ this.columnNumUDC = new global::System.Data.DataColumn("NumUDC", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumUDC);
+ this.columnOldest = new global::System.Data.DataColumn("Oldest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnOldest);
+ this.columnNewest = new global::System.Data.DataColumn("Newest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNewest);
+ this.columnQtaTotPz = new global::System.Data.DataColumn("QtaTotPz", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnQtaTotPz);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxBlocco}, true));
+ this.columnIdxBlocco.AllowDBNull = false;
+ this.columnIdxBlocco.Unique = true;
+ this.columnCodBlocco.AllowDBNull = false;
+ this.columnCodBlocco.MaxLength = 3;
+ this.columnDescBlocco.MaxLength = 50;
+ this.columnParticolare.MaxLength = 15;
+ this.columnNumUDC.ReadOnly = true;
+ this.columnOldest.ReadOnly = true;
+ this.columnNewest.ReadOnly = true;
+ this.columnQtaTotPz.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareRow Newstp_MagFifoByParticolareRow() {
+ return ((stp_MagFifoByParticolareRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new stp_MagFifoByParticolareRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(stp_MagFifoByParticolareRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.stp_MagFifoByParticolareRowChanged != null)) {
+ this.stp_MagFifoByParticolareRowChanged(this, new stp_MagFifoByParticolareRowChangeEvent(((stp_MagFifoByParticolareRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.stp_MagFifoByParticolareRowChanging != null)) {
+ this.stp_MagFifoByParticolareRowChanging(this, new stp_MagFifoByParticolareRowChangeEvent(((stp_MagFifoByParticolareRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.stp_MagFifoByParticolareRowDeleted != null)) {
+ this.stp_MagFifoByParticolareRowDeleted(this, new stp_MagFifoByParticolareRowChangeEvent(((stp_MagFifoByParticolareRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.stp_MagFifoByParticolareRowDeleting != null)) {
+ this.stp_MagFifoByParticolareRowDeleting(this, new stp_MagFifoByParticolareRowChangeEvent(((stp_MagFifoByParticolareRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Removestp_MagFifoByParticolareRow(stp_MagFifoByParticolareRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_magazzino ds = new DS_magazzino();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "stp_MagFifoByParticolareDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -16377,6 +16776,212 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class stp_MagFifoByParticolareRow : global::System.Data.DataRow {
+
+ private stp_MagFifoByParticolareDataTable tablestp_MagFifoByParticolare;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal stp_MagFifoByParticolareRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablestp_MagFifoByParticolare = ((stp_MagFifoByParticolareDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxBlocco {
+ get {
+ return ((int)(this[this.tablestp_MagFifoByParticolare.IdxBloccoColumn]));
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.IdxBloccoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodBlocco {
+ get {
+ return ((string)(this[this.tablestp_MagFifoByParticolare.CodBloccoColumn]));
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.CodBloccoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescBlocco {
+ get {
+ try {
+ return ((string)(this[this.tablestp_MagFifoByParticolare.DescBloccoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DescBlocco\' in table \'stp_MagFifoByParticolare\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.DescBloccoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Particolare {
+ get {
+ try {
+ return ((string)(this[this.tablestp_MagFifoByParticolare.ParticolareColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'stp_MagFifoByParticolare\' is DBNull." +
+ "", e);
+ }
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.ParticolareColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumUDC {
+ get {
+ try {
+ return ((int)(this[this.tablestp_MagFifoByParticolare.NumUDCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NumUDC\' in table \'stp_MagFifoByParticolare\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.NumUDCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Oldest {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablestp_MagFifoByParticolare.OldestColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Oldest\' in table \'stp_MagFifoByParticolare\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.OldestColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Newest {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablestp_MagFifoByParticolare.NewestColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Newest\' in table \'stp_MagFifoByParticolare\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.NewestColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public decimal QtaTotPz {
+ get {
+ try {
+ return ((decimal)(this[this.tablestp_MagFifoByParticolare.QtaTotPzColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'QtaTotPz\' in table \'stp_MagFifoByParticolare\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablestp_MagFifoByParticolare.QtaTotPzColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDescBloccoNull() {
+ return this.IsNull(this.tablestp_MagFifoByParticolare.DescBloccoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDescBloccoNull() {
+ this[this.tablestp_MagFifoByParticolare.DescBloccoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsParticolareNull() {
+ return this.IsNull(this.tablestp_MagFifoByParticolare.ParticolareColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetParticolareNull() {
+ this[this.tablestp_MagFifoByParticolare.ParticolareColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNumUDCNull() {
+ return this.IsNull(this.tablestp_MagFifoByParticolare.NumUDCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNumUDCNull() {
+ this[this.tablestp_MagFifoByParticolare.NumUDCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsOldestNull() {
+ return this.IsNull(this.tablestp_MagFifoByParticolare.OldestColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetOldestNull() {
+ this[this.tablestp_MagFifoByParticolare.OldestColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNewestNull() {
+ return this.IsNull(this.tablestp_MagFifoByParticolare.NewestColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNewestNull() {
+ this[this.tablestp_MagFifoByParticolare.NewestColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsQtaTotPzNull() {
+ return this.IsNull(this.tablestp_MagFifoByParticolare.QtaTotPzColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetQtaTotPzNull() {
+ this[this.tablestp_MagFifoByParticolare.QtaTotPzColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -17260,6 +17865,40 @@ namespace GMW_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class stp_MagFifoByParticolareRowChangeEvent : global::System.EventArgs {
+
+ private stp_MagFifoByParticolareRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareRowChangeEvent(stp_MagFifoByParticolareRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace GMW_data.DS_magazzinoTableAdapters {
@@ -31146,6 +31785,207 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class stp_MagFifoByParticolareTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public stp_MagFifoByParticolareTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "stp_MagFifoByParticolare";
+ tableMapping.ColumnMappings.Add("IdxBlocco", "IdxBlocco");
+ tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco");
+ tableMapping.ColumnMappings.Add("DescBlocco", "DescBlocco");
+ tableMapping.ColumnMappings.Add("Particolare", "Particolare");
+ tableMapping.ColumnMappings.Add("NumUDC", "NumUDC");
+ tableMapping.ColumnMappings.Add("Oldest", "Oldest");
+ tableMapping.ColumnMappings.Add("Newest", "Newest");
+ tableMapping.ColumnMappings.Add("QtaTotPz", "QtaTotPz");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
+ }
+
+ [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[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "dbo.stp_MagFifoByParticolare";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[0].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[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [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.Fill, true)]
+ public virtual int Fill(DS_magazzino.stp_MagFifoByParticolareDataTable dataTable, string CodCS, string Particolare) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((CodCS == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
+ }
+ if ((Particolare == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ 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")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_magazzino.stp_MagFifoByParticolareDataTable GetData(string CodCS, string Particolare) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((CodCS == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
+ }
+ if ((Particolare == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare));
+ }
+ DS_magazzino.stp_MagFifoByParticolareDataTable dataTable = new DS_magazzino.stp_MagFifoByParticolareDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -31570,24 +32410,6 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._tipoListaPrelievoTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._tipoListaPrelievoTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._anagPosizioniTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._anagPosizioniTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
if ((this._blocchiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31606,6 +32428,24 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._tipoListaPrelievoTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._tipoListaPrelievoTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._anagPosizioniTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagPosizioniTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._elencoCartelliniTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31624,6 +32464,15 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._anagLegheTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagLegheTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31642,24 +32491,6 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._posizioneUdcCorrenteTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._posizioneUdcCorrenteTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._posizioneUdcStoricoTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._posizioneUdcStoricoTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
if ((this._righeListePrelievoTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -31669,12 +32500,12 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagLegheTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._storicoAzioniOperatoreTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._anagLegheTableAdapter.Update(updatedRows));
+ result = (result + this._storicoAzioniOperatoreTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -31687,12 +32518,21 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._storicoAzioniOperatoreTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._posizioneUdcStoricoTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._storicoAzioniOperatoreTableAdapter.Update(updatedRows));
+ result = (result + this._posizioneUdcStoricoTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._posizioneUdcCorrenteTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._posizioneUdcCorrenteTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -31714,22 +32554,6 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allAddedRows.AddRange(addedRows);
}
}
- if ((this._tipoListaPrelievoTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._tipoListaPrelievoTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._anagPosizioniTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._anagPosizioniTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
if ((this._blocchiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31746,6 +32570,22 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._tipoListaPrelievoTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._tipoListaPrelievoTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._anagPosizioniTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagPosizioniTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._elencoCartelliniTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31762,6 +32602,14 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._anagLegheTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagLegheTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31778,22 +32626,6 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allAddedRows.AddRange(addedRows);
}
}
- if ((this._posizioneUdcCorrenteTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._posizioneUdcCorrenteTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._posizioneUdcStoricoTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._posizioneUdcStoricoTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
if ((this._righeListePrelievoTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -31802,11 +32634,11 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagLegheTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._storicoAzioniOperatoreTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._anagLegheTableAdapter.Update(addedRows));
+ result = (result + this._storicoAzioniOperatoreTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -31818,11 +32650,19 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allAddedRows.AddRange(addedRows);
}
}
- if ((this._storicoAzioniOperatoreTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._posizioneUdcStoricoTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._storicoAzioniOperatoreTableAdapter.Update(addedRows));
+ result = (result + this._posizioneUdcStoricoTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._posizioneUdcCorrenteTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._posizioneUdcCorrenteTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -31836,35 +32676,11 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_magazzino dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
- if ((this._storicoAzioniOperatoreTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._posizioneUdcCorrenteTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._storicoAzioniOperatoreTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- 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));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._anagLegheTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._anagLegheTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._righeListePrelievoTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._righeListePrelievoTableAdapter.Update(deletedRows));
+ result = (result + this._posizioneUdcCorrenteTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -31876,11 +32692,27 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._posizioneUdcCorrenteTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ 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._posizioneUdcCorrenteTableAdapter.Update(deletedRows));
+ result = (result + this._anagImballiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._storicoAzioniOperatoreTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._storicoAzioniOperatoreTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._righeListePrelievoTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._righeListePrelievoTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -31900,6 +32732,14 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._anagLegheTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagLegheTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._celleTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Celle.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -31916,22 +32756,6 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._tipoCellaTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._tipoCellaTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._blocchiTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._blocchiTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._anagPosizioniTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -31948,6 +32772,22 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._tipoCellaTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._tipoCellaTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._blocchiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._blocchiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._anagMagTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagMag.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
diff --git a/GMW_data/DS_magazzino.xsd b/GMW_data/DS_magazzino.xsd
index 8a747db5..c5bf37f4 100644
--- a/GMW_data/DS_magazzino.xsd
+++ b/GMW_data/DS_magazzino.xsd
@@ -3009,6 +3009,33 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
+
+
+
+
+
+ dbo.stp_MagFifoByParticolare
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4110,7 +4137,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
-
+
@@ -4167,6 +4194,38 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4292,20 +4351,24 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GMW_data/DS_magazzino.xss b/GMW_data/DS_magazzino.xss
index 5777e088..c6dc6ebc 100644
--- a/GMW_data/DS_magazzino.xss
+++ b/GMW_data/DS_magazzino.xss
@@ -4,37 +4,38 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
338
@@ -46,7 +47,7 @@
-
+
338
@@ -58,7 +59,7 @@
-
+
1254
@@ -70,7 +71,7 @@
-
+
712
@@ -82,7 +83,7 @@
-
+
1072
@@ -94,7 +95,7 @@
-
+
1139
@@ -106,7 +107,7 @@
-
+
211
@@ -118,7 +119,7 @@
-
+
430
@@ -130,7 +131,7 @@
-
+
735
@@ -142,7 +143,7 @@
-
+
392
@@ -158,7 +159,7 @@
-
+
1029
diff --git a/GMW_data/TermClass.cs b/GMW_data/TermClass.cs
index 33e4e054..2ce27225 100644
--- a/GMW_data/TermClass.cs
+++ b/GMW_data/TermClass.cs
@@ -230,6 +230,7 @@ namespace GMW_data
answ = tipoCodiceBarcode.ListaPrelievo;
break;
case "P":
+ case "A":
answ = tipoCodiceBarcode.Particolare;
break;
case "U":