diff --git a/Projects/WebGIM/GIM_data/DS_Mag.Designer.cs b/Projects/WebGIM/GIM_data/DS_Mag.Designer.cs index 2cc2ac7..1dbdeb4 100644 --- a/Projects/WebGIM/GIM_data/DS_Mag.Designer.cs +++ b/Projects/WebGIM/GIM_data/DS_Mag.Designer.cs @@ -44,6 +44,8 @@ namespace GIM_data { private MovMagRicDataTable tableMovMagRic; + private MovMagExplDataTable tableMovMagExpl; + private global::System.Data.DataRelation relationFK_MagRic_AnagLocazioni; private global::System.Data.DataRelation relationFK_MagRic_AnagItems; @@ -116,6 +118,9 @@ namespace GIM_data { if ((ds.Tables["MovMagRic"] != null)) { base.Tables.Add(new MovMagRicDataTable(ds.Tables["MovMagRic"])); } + if ((ds.Tables["MovMagExpl"] != null)) { + base.Tables.Add(new MovMagExplDataTable(ds.Tables["MovMagExpl"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -234,6 +239,16 @@ namespace GIM_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 MovMagExplDataTable MovMagExpl { + get { + return this.tableMovMagExpl; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -331,6 +346,9 @@ namespace GIM_data { if ((ds.Tables["MovMagRic"] != null)) { base.Tables.Add(new MovMagRicDataTable(ds.Tables["MovMagRic"])); } + if ((ds.Tables["MovMagExpl"] != null)) { + base.Tables.Add(new MovMagExplDataTable(ds.Tables["MovMagExpl"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -424,6 +442,12 @@ namespace GIM_data { this.tableMovMagRic.InitVars(); } } + this.tableMovMagExpl = ((MovMagExplDataTable)(base.Tables["MovMagExpl"])); + if ((initTable == true)) { + if ((this.tableMovMagExpl != null)) { + this.tableMovMagExpl.InitVars(); + } + } this.relationFK_MagRic_AnagLocazioni = this.Relations["FK_MagRic_AnagLocazioni"]; this.relationFK_MagRic_AnagItems = this.Relations["FK_MagRic_AnagItems"]; this.relationFK_Tag2Item_AnagItems = this.Relations["FK_Tag2Item_AnagItems"]; @@ -461,6 +485,8 @@ namespace GIM_data { base.Tables.Add(this.tableSinonimiTag); this.tableMovMagRic = new MovMagRicDataTable(); base.Tables.Add(this.tableMovMagRic); + this.tableMovMagExpl = new MovMagExplDataTable(); + base.Tables.Add(this.tableMovMagExpl); this.relationFK_MagRic_AnagLocazioni = new global::System.Data.DataRelation("FK_MagRic_AnagLocazioni", new global::System.Data.DataColumn[] { this.tableAnagLocazioni.CodLocazioneColumn}, new global::System.Data.DataColumn[] { this.tableMagRic.CodLocazioneColumn}, false); @@ -551,6 +577,12 @@ namespace GIM_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeMovMagExpl() { + 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) { @@ -636,6 +668,9 @@ namespace GIM_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void MovMagRicRowChangeEventHandler(object sender, MovMagRicRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void MovMagExplRowChangeEventHandler(object sender, MovMagExplRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -3952,6 +3987,514 @@ namespace GIM_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class MovMagExplDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxItem; + + private global::System.Data.DataColumn columnnumIntMtz; + + private global::System.Data.DataColumn columndtMov; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnFamiglia; + + private global::System.Data.DataColumn columnDescrizione; + + private global::System.Data.DataColumn columnNomeCostruttore; + + private global::System.Data.DataColumn columnCodCostruttore; + + private global::System.Data.DataColumn columnCodInterno; + + private global::System.Data.DataColumn columnQtaMin; + + private global::System.Data.DataColumn columnQtaLotto; + + private global::System.Data.DataColumn columnValore; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columndtLastUpd; + + private global::System.Data.DataColumn columnCodLocazione; + + private global::System.Data.DataColumn columnDescrLocazione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MovMagExplDataTable() { + this.TableName = "MovMagExpl"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal MovMagExplDataTable(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 MovMagExplDataTable(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 idxItemColumn { + get { + return this.columnidxItem; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numIntMtzColumn { + get { + return this.columnnumIntMtz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn dtMovColumn { + get { + return this.columndtMov; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FamigliaColumn { + get { + return this.columnFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrizioneColumn { + get { + return this.columnDescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NomeCostruttoreColumn { + get { + return this.columnNomeCostruttore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCostruttoreColumn { + get { + return this.columnCodCostruttore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodInternoColumn { + get { + return this.columnCodInterno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaMinColumn { + get { + return this.columnQtaMin; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaLottoColumn { + get { + return this.columnQtaLotto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ValoreColumn { + get { + return this.columnValore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn dtLastUpdColumn { + get { + return this.columndtLastUpd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLocazioneColumn { + get { + return this.columnCodLocazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrLocazioneColumn { + get { + return this.columnDescrLocazione; + } + } + + [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 MovMagExplRow this[int index] { + get { + return ((MovMagExplRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MovMagExplRowChangeEventHandler MovMagExplRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MovMagExplRowChangeEventHandler MovMagExplRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MovMagExplRowChangeEventHandler MovMagExplRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MovMagExplRowChangeEventHandler MovMagExplRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddMovMagExplRow(MovMagExplRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MovMagExplRow AddMovMagExplRow( + int idxItem, + int numIntMtz, + System.DateTime dtMov, + int Qta, + string Famiglia, + string Descrizione, + string NomeCostruttore, + string CodCostruttore, + string CodInterno, + int QtaMin, + int QtaLotto, + decimal Valore, + string Note, + System.DateTime dtLastUpd, + string CodLocazione, + string DescrLocazione) { + MovMagExplRow rowMovMagExplRow = ((MovMagExplRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxItem, + numIntMtz, + dtMov, + Qta, + Famiglia, + Descrizione, + NomeCostruttore, + CodCostruttore, + CodInterno, + QtaMin, + QtaLotto, + Valore, + Note, + dtLastUpd, + CodLocazione, + DescrLocazione}; + rowMovMagExplRow.ItemArray = columnValuesArray; + this.Rows.Add(rowMovMagExplRow); + return rowMovMagExplRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MovMagExplRow FindByidxItemdtMovnumIntMtz(int idxItem, System.DateTime dtMov, int numIntMtz) { + return ((MovMagExplRow)(this.Rows.Find(new object[] { + idxItem, + dtMov, + numIntMtz}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + MovMagExplDataTable cln = ((MovMagExplDataTable)(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 MovMagExplDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidxItem = base.Columns["idxItem"]; + this.columnnumIntMtz = base.Columns["numIntMtz"]; + this.columndtMov = base.Columns["dtMov"]; + this.columnQta = base.Columns["Qta"]; + this.columnFamiglia = base.Columns["Famiglia"]; + this.columnDescrizione = base.Columns["Descrizione"]; + this.columnNomeCostruttore = base.Columns["NomeCostruttore"]; + this.columnCodCostruttore = base.Columns["CodCostruttore"]; + this.columnCodInterno = base.Columns["CodInterno"]; + this.columnQtaMin = base.Columns["QtaMin"]; + this.columnQtaLotto = base.Columns["QtaLotto"]; + this.columnValore = base.Columns["Valore"]; + this.columnNote = base.Columns["Note"]; + this.columndtLastUpd = base.Columns["dtLastUpd"]; + this.columnCodLocazione = base.Columns["CodLocazione"]; + this.columnDescrLocazione = base.Columns["DescrLocazione"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidxItem = new global::System.Data.DataColumn("idxItem", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxItem); + this.columnnumIntMtz = new global::System.Data.DataColumn("numIntMtz", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumIntMtz); + this.columndtMov = new global::System.Data.DataColumn("dtMov", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndtMov); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnFamiglia = new global::System.Data.DataColumn("Famiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFamiglia); + this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrizione); + this.columnNomeCostruttore = new global::System.Data.DataColumn("NomeCostruttore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNomeCostruttore); + this.columnCodCostruttore = new global::System.Data.DataColumn("CodCostruttore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCostruttore); + this.columnCodInterno = new global::System.Data.DataColumn("CodInterno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodInterno); + this.columnQtaMin = new global::System.Data.DataColumn("QtaMin", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQtaMin); + this.columnQtaLotto = new global::System.Data.DataColumn("QtaLotto", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQtaLotto); + this.columnValore = new global::System.Data.DataColumn("Valore", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnValore); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columndtLastUpd = new global::System.Data.DataColumn("dtLastUpd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndtLastUpd); + this.columnCodLocazione = new global::System.Data.DataColumn("CodLocazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLocazione); + this.columnDescrLocazione = new global::System.Data.DataColumn("DescrLocazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrLocazione); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxItem, + this.columndtMov, + this.columnnumIntMtz}, true)); + this.columnidxItem.AllowDBNull = false; + this.columnnumIntMtz.AllowDBNull = false; + this.columndtMov.AllowDBNull = false; + this.columnQta.AllowDBNull = false; + this.columnFamiglia.AllowDBNull = false; + this.columnFamiglia.MaxLength = 50; + this.columnDescrizione.AllowDBNull = false; + this.columnDescrizione.MaxLength = 250; + this.columnNomeCostruttore.AllowDBNull = false; + this.columnNomeCostruttore.MaxLength = 250; + this.columnCodCostruttore.AllowDBNull = false; + this.columnCodCostruttore.MaxLength = 250; + this.columnCodInterno.AllowDBNull = false; + this.columnCodInterno.MaxLength = 50; + this.columnQtaMin.AllowDBNull = false; + this.columnQtaLotto.AllowDBNull = false; + this.columnValore.AllowDBNull = false; + this.columnNote.AllowDBNull = false; + this.columnNote.MaxLength = 2147483647; + this.columnCodLocazione.AllowDBNull = false; + this.columnCodLocazione.MaxLength = 50; + this.columnDescrLocazione.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MovMagExplRow NewMovMagExplRow() { + return ((MovMagExplRow)(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 MovMagExplRow(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(MovMagExplRow); + } + + [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.MovMagExplRowChanged != null)) { + this.MovMagExplRowChanged(this, new MovMagExplRowChangeEvent(((MovMagExplRow)(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.MovMagExplRowChanging != null)) { + this.MovMagExplRowChanging(this, new MovMagExplRowChangeEvent(((MovMagExplRow)(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.MovMagExplRowDeleted != null)) { + this.MovMagExplRowDeleted(this, new MovMagExplRowChangeEvent(((MovMagExplRow)(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.MovMagExplRowDeleting != null)) { + this.MovMagExplRowDeleting(this, new MovMagExplRowChangeEvent(((MovMagExplRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveMovMagExplRow(MovMagExplRow 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_Mag ds = new DS_Mag(); + 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 = "MovMagExplDataTable"; + 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. /// @@ -5127,6 +5670,231 @@ namespace GIM_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class MovMagExplRow : global::System.Data.DataRow { + + private MovMagExplDataTable tableMovMagExpl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal MovMagExplRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableMovMagExpl = ((MovMagExplDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxItem { + get { + return ((int)(this[this.tableMovMagExpl.idxItemColumn])); + } + set { + this[this.tableMovMagExpl.idxItemColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int numIntMtz { + get { + return ((int)(this[this.tableMovMagExpl.numIntMtzColumn])); + } + set { + this[this.tableMovMagExpl.numIntMtzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime dtMov { + get { + return ((global::System.DateTime)(this[this.tableMovMagExpl.dtMovColumn])); + } + set { + this[this.tableMovMagExpl.dtMovColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + return ((int)(this[this.tableMovMagExpl.QtaColumn])); + } + set { + this[this.tableMovMagExpl.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Famiglia { + get { + return ((string)(this[this.tableMovMagExpl.FamigliaColumn])); + } + set { + this[this.tableMovMagExpl.FamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Descrizione { + get { + return ((string)(this[this.tableMovMagExpl.DescrizioneColumn])); + } + set { + this[this.tableMovMagExpl.DescrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NomeCostruttore { + get { + return ((string)(this[this.tableMovMagExpl.NomeCostruttoreColumn])); + } + set { + this[this.tableMovMagExpl.NomeCostruttoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCostruttore { + get { + return ((string)(this[this.tableMovMagExpl.CodCostruttoreColumn])); + } + set { + this[this.tableMovMagExpl.CodCostruttoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodInterno { + get { + return ((string)(this[this.tableMovMagExpl.CodInternoColumn])); + } + set { + this[this.tableMovMagExpl.CodInternoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int QtaMin { + get { + return ((int)(this[this.tableMovMagExpl.QtaMinColumn])); + } + set { + this[this.tableMovMagExpl.QtaMinColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int QtaLotto { + get { + return ((int)(this[this.tableMovMagExpl.QtaLottoColumn])); + } + set { + this[this.tableMovMagExpl.QtaLottoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Valore { + get { + return ((decimal)(this[this.tableMovMagExpl.ValoreColumn])); + } + set { + this[this.tableMovMagExpl.ValoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + return ((string)(this[this.tableMovMagExpl.NoteColumn])); + } + set { + this[this.tableMovMagExpl.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime dtLastUpd { + get { + try { + return ((global::System.DateTime)(this[this.tableMovMagExpl.dtLastUpdColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'dtLastUpd\' in table \'MovMagExpl\' is DBNull.", e); + } + } + set { + this[this.tableMovMagExpl.dtLastUpdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLocazione { + get { + return ((string)(this[this.tableMovMagExpl.CodLocazioneColumn])); + } + set { + this[this.tableMovMagExpl.CodLocazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrLocazione { + get { + try { + return ((string)(this[this.tableMovMagExpl.DescrLocazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrLocazione\' in table \'MovMagExpl\' is DBNull.", e); + } + } + set { + this[this.tableMovMagExpl.DescrLocazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdtLastUpdNull() { + return this.IsNull(this.tableMovMagExpl.dtLastUpdColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdtLastUpdNull() { + this[this.tableMovMagExpl.dtLastUpdColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrLocazioneNull() { + return this.IsNull(this.tableMovMagExpl.DescrLocazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrLocazioneNull() { + this[this.tableMovMagExpl.DescrLocazioneColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -5466,6 +6234,40 @@ namespace GIM_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class MovMagExplRowChangeEvent : global::System.EventArgs { + + private MovMagExplRow 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 MovMagExplRowChangeEvent(MovMagExplRow 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 MovMagExplRow 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 GIM_data.DS_MagTableAdapters { @@ -9392,7 +10194,6 @@ namespace GIM_data.DS_MagTableAdapters { this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxItem", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; this._commandCollection[4].CommandText = "dbo.stp_MovMag_update"; @@ -9617,7 +10418,7 @@ namespace GIM_data.DS_MagTableAdapters { [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 insertQuery(global::System.Nullable idxItem, global::System.Nullable numIntMtz, global::System.Nullable Qta, global::System.Nullable idxMacchina) { + public virtual int insertQuery(global::System.Nullable idxItem, global::System.Nullable numIntMtz, global::System.Nullable Qta) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; if ((idxItem.HasValue == true)) { command.Parameters[1].Value = ((int)(idxItem.Value)); @@ -9637,12 +10438,6 @@ namespace GIM_data.DS_MagTableAdapters { else { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((idxMacchina.HasValue == true)) { - command.Parameters[4].Value = ((int)(idxMacchina.Value)); - } - else { - command.Parameters[4].Value = global::System.DBNull.Value; - } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; if (((command.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -9713,6 +10508,213 @@ namespace GIM_data.DS_MagTableAdapters { } } + /// + ///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 MovMagExplTableAdapter : 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 MovMagExplTableAdapter() { + 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 = "MovMagExpl"; + tableMapping.ColumnMappings.Add("idxItem", "idxItem"); + tableMapping.ColumnMappings.Add("numIntMtz", "numIntMtz"); + tableMapping.ColumnMappings.Add("dtMov", "dtMov"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Famiglia", "Famiglia"); + tableMapping.ColumnMappings.Add("Descrizione", "Descrizione"); + tableMapping.ColumnMappings.Add("NomeCostruttore", "NomeCostruttore"); + tableMapping.ColumnMappings.Add("CodCostruttore", "CodCostruttore"); + tableMapping.ColumnMappings.Add("CodInterno", "CodInterno"); + tableMapping.ColumnMappings.Add("QtaMin", "QtaMin"); + tableMapping.ColumnMappings.Add("QtaLotto", "QtaLotto"); + tableMapping.ColumnMappings.Add("Valore", "Valore"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("dtLastUpd", "dtLastUpd"); + tableMapping.ColumnMappings.Add("CodLocazione", "CodLocazione"); + tableMapping.ColumnMappings.Add("DescrLocazione", "DescrLocazione"); + 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 = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [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[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT idxItem, numIntMtz, dtMov, Qta, Famiglia, Descrizione, NomeCostruttore, Co" + + "dCostruttore, CodInterno, QtaMin, QtaLotto, Valore, Note, dtLastUpd, CodLocazion" + + "e, DescrLocazione FROM dbo.v_MovMagExpl"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_vMovMag_getByNumIntMtz"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_Mag.MovMagExplDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.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_Mag.MovMagExplDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Mag.MovMagExplDataTable dataTable = new DS_Mag.MovMagExplDataTable(); + 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")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Mag.MovMagExplDataTable getByNumInt(global::System.Nullable numIntMtz) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((numIntMtz.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(numIntMtz.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_Mag.MovMagExplDataTable dataTable = new DS_Mag.MovMagExplDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/Projects/WebGIM/GIM_data/DS_Mag.xsd b/Projects/WebGIM/GIM_data/DS_Mag.xsd index a451b2a..55ee92b 100644 --- a/Projects/WebGIM/GIM_data/DS_Mag.xsd +++ b/Projects/WebGIM/GIM_data/DS_Mag.xsd @@ -803,7 +803,6 @@ FROM AnagTags - @@ -825,6 +824,49 @@ FROM AnagTags + + + + + + SELECT idxItem, numIntMtz, dtMov, Qta, Famiglia, Descrizione, NomeCostruttore, CodCostruttore, CodInterno, QtaMin, QtaLotto, Valore, Note, dtLastUpd, CodLocazione, DescrLocazione FROM dbo.v_MovMagExpl + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_vMovMag_getByNumIntMtz + + + + + + + + + @@ -1117,6 +1159,76 @@ FROM AnagTags + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1164,6 +1276,12 @@ FROM AnagTags + + + + + + diff --git a/Projects/WebGIM/GIM_data/bin/GIM_data.dll b/Projects/WebGIM/GIM_data/bin/GIM_data.dll index cc8db34..eb46ddf 100644 Binary files a/Projects/WebGIM/GIM_data/bin/GIM_data.dll and b/Projects/WebGIM/GIM_data/bin/GIM_data.dll differ diff --git a/Projects/WebGIM/GIM_data/bin/SteamWare.dll b/Projects/WebGIM/GIM_data/bin/SteamWare.dll index d65a524..5d90c05 100644 Binary files a/Projects/WebGIM/GIM_data/bin/SteamWare.dll and b/Projects/WebGIM/GIM_data/bin/SteamWare.dll differ diff --git a/Projects/WebGIM/GIM_site/ConsumoRic.aspx b/Projects/WebGIM/GIM_site/ConsumoRic.aspx new file mode 100644 index 0000000..4477673 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ConsumoRic.aspx @@ -0,0 +1,36 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="ConsumoRic.aspx.cs" Inherits="GIM_site.ConsumoRic" %> + +<%@ Register Src="~/WebUserControls/mod_ricercaItem.ascx" TagPrefix="uc1" TagName="mod_ricercaItem" %> +<%@ Register Src="~/WebUserControls/mod_MovMag2Int.ascx" TagPrefix="uc1" TagName="mod_MovMag2Int" %> + + + + + + + + +
+ <%: traduci("return2DetInt") %> +
+
+
+

<%: traduci("ConsumoRicLong") %>

+
+
+
+ +
+
+ <%: traduci("RicambiDisponibili") %> + +
+
+ <%: traduci("RicambiImpiegati") %> + +
+
+
+
+
+
diff --git a/Projects/WebGIM/GIM_site/ConsumoRic.aspx.cs b/Projects/WebGIM/GIM_site/ConsumoRic.aspx.cs new file mode 100644 index 0000000..f68cee3 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ConsumoRic.aspx.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GIM_site +{ + public partial class ConsumoRic : UserPage + { + protected void Page_Load(object sender, EventArgs e) + { + mod_ricercaItem.eh_newrecord += Mod_ricercaItem_eh_newrecord; + } + + private void Mod_ricercaItem_eh_newrecord(object sender, EventArgs e) + { + mod_MovMag2Int.doUpdate(); + } + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/ConsumoRic.aspx.designer.cs b/Projects/WebGIM/GIM_site/ConsumoRic.aspx.designer.cs new file mode 100644 index 0000000..2e5ccd1 --- /dev/null +++ b/Projects/WebGIM/GIM_site/ConsumoRic.aspx.designer.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// 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 GIM_site { + + + public partial class ConsumoRic { + + /// + /// hlReturn control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlReturn; + + /// + /// mod_ricercaItem control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GIM_site.WebUserControls.mod_ricercaItem mod_ricercaItem; + + /// + /// mod_MovMag2Int control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GIM_site.WebUserControls.mod_MovMag2Int mod_MovMag2Int; + } +} diff --git a/Projects/WebGIM/GIM_site/GIM_site.csproj b/Projects/WebGIM/GIM_site/GIM_site.csproj index 21bbf63..9ddad77 100644 --- a/Projects/WebGIM/GIM_site/GIM_site.csproj +++ b/Projects/WebGIM/GIM_site/GIM_site.csproj @@ -261,6 +261,7 @@ + @@ -896,6 +897,13 @@ Bootstrap.Master + + ConsumoRic.aspx + ASPXCodeBehind + + + ConsumoRic.aspx + ExcelExportAllData.aspx ASPXCodeBehind @@ -1390,6 +1398,13 @@ mod_menuTop.ascx + + mod_MovMag2Int.ascx + ASPXCodeBehind + + + mod_MovMag2Int.ascx + mod_mtzPrevPending.ascx ASPXCodeBehind @@ -1667,6 +1682,7 @@ + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx new file mode 100644 index 0000000..074fd8a --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx @@ -0,0 +1,67 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_MovMag2Int.ascx.cs" Inherits="GIM_site.WebUserControls.mod_MovMag2Int" %> + + + + + + + + + + + <%# traduci("Descrizione") %> + + +
+
+
+ + - + +
+
+ + - + +
+
+ + - + +
+
+
+ + +
+ <%# traduci("Qta") %>: +
+ +
+
+
+
+
+ <%-- + + + + + + + + + + + + + + + --%> +
+
+ + + + + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx.cs new file mode 100644 index 0000000..51d8c67 --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GIM_site.WebUserControls +{ + public partial class mod_MovMag2Int : SteamWare.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// forza update + /// + public void doUpdate() + { + grView.DataBind(); + } + } +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx.designer.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.ascx.designer.cs new file mode 100644 index 0000000..8bcf7ee --- /dev/null +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_MovMag2Int.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 GIM_site.WebUserControls { + + + public partial class mod_MovMag2Int { + + /// + /// 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/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx index 3f07706..e2aa38d 100644 --- a/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx @@ -5,6 +5,8 @@ <%@ Register Src="~/WebUserControls/mod_dataOra.ascx" TagName="mod_dataOra" TagPrefix="uc2" %> <%@ Register Src="~/WebUserControls/mod_impiegoRisorse.ascx" TagPrefix="uc3" TagName="mod_impiegoRisorse" %> <%@ Register Src="~/WebUserControls/mod_ricercaItem.ascx" TagPrefix="uc1" TagName="mod_ricercaItem" %> +<%@ Register Src="~/WebUserControls/mod_MovMag2Int.ascx" TagPrefix="uc1" TagName="mod_MovMag2Int" %> +
@@ -29,7 +31,7 @@
-
+
@@ -173,9 +175,10 @@
-
+
<%: traduci("RicambiImpiegati") %> - ...elenco items associati, eliminabili SE non trasferiti + + <%# traduci("AddRicambi2Int") %>
@@ -256,500 +259,505 @@
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - [lblTurnoLav] - - -
- - - - - - - - - - - -
- - - -
- - - -
- - - - - -
- - - - - <%-- +
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + [lblTurnoLav] + + +
+ + + + + + + + + + + +
+ + + +
+ + + +
+ + + + + +
+ + + + + <%-- --%> - -
- - - -
- - - -
- - - -
- -
- -
-
-
- <%: traduci("RicambiImpiegati") %> - -
+ +
+ + + +
+ + + +
+ + + +
+ +
+ +
+
+
+ <%: traduci("RicambiImpiegati") %> + + <%# traduci("AddRicambi2Int") %>
-
- -
-
- - - - - - - - +
+
+
- - - - - - - - - - - -
+ + + + + + + - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + +
- - - - - - - - - - - - - -
- - - - -
- -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - - - -
- - - - - - - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - - <%-- +
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + +
+ + + + + + +
+ + + + + +
+ + + + + <%-- --%> - -
- - - - - - - - - - - -
- - - -
-
- - -
- - -
- -
-
- - - -
-
-
- <%: traduci("RicambiImpiegati") %> - -
+ +
+ + + + + + + + + + + +
+ + + +
+
+ + +
+ + +
+ +
+
+ + + +
+
+
+ <%: traduci("RicambiImpiegati") %> + + <%# traduci("AddRicambi2Int") %>
-
- -
-
- - - - - - - - +
+
+
- - - - - - - - - - - -
+ + + + + + + - - - + - - - - - - - - - - - - - -
+ + + + + + + + + + + +
- <%-- +
+ <%----%> - - - - - - - - - - - - - -
- - - - -
- -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx index 5269503..6349adc 100644 --- a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx @@ -1,17 +1,22 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_ricercaItem.ascx.cs" Inherits="GIM_site.WebUserControls.mod_ricercaItem" %>
-
- +
+
-
+
- + + + + + + <%# traduci("Descrizione") %> @@ -49,15 +54,6 @@
- <%-- - - - - - - - - --%> diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx.cs b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx.cs index 6db4a5f..d40225b 100644 --- a/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx.cs +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_ricercaItem.ascx.cs @@ -10,6 +10,7 @@ namespace GIM_site.WebUserControls { public partial class mod_ricercaItem : SteamWare.UserControl { + public event EventHandler eh_newrecord; protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) @@ -33,8 +34,8 @@ namespace GIM_site.WebUserControls txtBtn = "showAllItems"; odsFilt.SelectMethod = "getByIdxMacc"; odsFilt.SelectParameters.Clear(); - odsFilt.SelectParameters.Add("idxMacchina",System.Data.DbType.Int32, idxMacchina.ToString()); - } + odsFilt.SelectParameters.Add("idxMacchina", System.Data.DbType.Int32, idxMacchina.ToString()); + } lbtOdsMode.Text = traduci(txtBtn); grView.DataBind(); } @@ -83,5 +84,33 @@ namespace GIM_site.WebUserControls { fixOds(); } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + int idxItem = 0; + try + { + idxItem = Convert.ToInt32(grView.SelectedDataKey["idxItem"]); + } + catch + { } + if (idxItem > 0) + { + // aggiungo record! + TA_app.obj.taMovMag.insertQuery(idxItem, memLayer.ML.IntSessionObj("numIntMtz_sel"), 1); + // sollevo evento + raiseEvent(); + } + } + /// + /// solleva elenco creazione nuovo record + /// + protected void raiseEvent() + { + if (eh_newrecord != null) + { + eh_newrecord(this, new EventArgs()); + } + } } } \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/bin/GIM_data.dll b/Projects/WebGIM/GIM_site/bin/GIM_data.dll index cc8db34..eb46ddf 100644 Binary files a/Projects/WebGIM/GIM_site/bin/GIM_data.dll and b/Projects/WebGIM/GIM_site/bin/GIM_data.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/GIM_site.dll b/Projects/WebGIM/GIM_site/bin/GIM_site.dll index cecf7fa..807ac72 100644 Binary files a/Projects/WebGIM/GIM_site/bin/GIM_site.dll and b/Projects/WebGIM/GIM_site/bin/GIM_site.dll differ diff --git a/Projects/WebGIM/GIM_site/bin/SteamWare.dll b/Projects/WebGIM/GIM_site/bin/SteamWare.dll index d65a524..5d90c05 100644 Binary files a/Projects/WebGIM/GIM_site/bin/SteamWare.dll and b/Projects/WebGIM/GIM_site/bin/SteamWare.dll differ diff --git a/Projects/WebGIM/GIM_site/sql/GIM_1.5_to_1.6.sql b/Projects/WebGIM/GIM_site/sql/GIM_1.5_to_1.6.sql index cc6632a..c484e77 100644 --- a/Projects/WebGIM/GIM_site/sql/GIM_1.5_to_1.6.sql +++ b/Projects/WebGIM/GIM_site/sql/GIM_1.5_to_1.6.sql @@ -16,6 +16,7 @@ INSERT INTO Permessi (COD_PERMESSO,URL,GRUPPO,NUMERO,NOME,DESCRIZIONE) VALUES (' INSERT INTO Permessi (COD_PERMESSO,URL,GRUPPO,NUMERO,NOME,DESCRIZIONE) VALUES ('ANAG_Tags', 'anagTags', 1, 17, 'anagTags', 'anagTagsLong') INSERT INTO Permessi (COD_PERMESSO,URL,GRUPPO,NUMERO,NOME,DESCRIZIONE) VALUES ('Menu', 'menu', 0, 1, 'menu', 'menuIcon') INSERT INTO Permessi (COD_PERMESSO,URL,GRUPPO,NUMERO,NOME,DESCRIZIONE) VALUES ('chLang', 'chLang', 999, 3, 'chLang', 'chLangIcon') +INSERT INTO Permessi (COD_PERMESSO,URL,GRUPPO,NUMERO,NOME,DESCRIZIONE) VALUES ('ConsumoRic', 'ConsumoRic', 999, 4, 'ConsumoRic', 'ConsumoRicIcon') -- Permessi2Funzione INSERT INTO Permessi2Funzione (COD_PERMESSO,COD_FUNZIONE,[READWRITE]) VALUES ('ANAG_Locazioni', 'GIM_MR', 'S') @@ -25,6 +26,7 @@ INSERT INTO Permessi2Funzione (COD_PERMESSO,COD_FUNZIONE,[READWRITE]) VALUES ('M INSERT INTO Permessi2Funzione (COD_PERMESSO,COD_FUNZIONE,[READWRITE]) VALUES ('Menu', 'GIM_MR', 'N') INSERT INTO Permessi2Funzione (COD_PERMESSO,COD_FUNZIONE,[READWRITE]) VALUES ('Menu', 'GIM_AppAdmin', 'N') INSERT INTO Permessi2Funzione (COD_PERMESSO,COD_FUNZIONE,[READWRITE]) VALUES ('chLang', 'GIM_AppAdmin', 'N') +INSERT INTO Permessi2Funzione (COD_PERMESSO,COD_FUNZIONE,[READWRITE]) VALUES ('ConsumoRic', 'GIM_MR', 'S') -- FIX FriendlyURLS + icone FontAwesome nuova grafica UPDATE permessi SET URL = REPLACE(URL, '.aspx', '') @@ -139,5 +141,13 @@ exec voc.stp_insNewLemma 'lblNewDescr', 'Nuovo Ricambio' exec voc.stp_insNewLemma 'addNewItem', 'Aggiungi Record' exec voc.stp_insNewLemma 'showItemsAssegnati', 'Mostra Ricambi Assegnati' exec voc.stp_insNewLemma 'showAllItems', 'Mostra Tutti i Ricambi' +exec voc.stp_insNewLemma 'ConsumoRic', 'Associa consumo Ricambi' +exec voc.stp_insNewLemma 'ConsumoRicIcon', 'fa fa-plus' +exec voc.stp_insNewLemma 'lbtnAddNewRic', 'Aggiunta Ricambi' +exec voc.stp_insNewLemma 'Qta', 'Qty' +exec voc.stp_insNewLemma 'ConsumoRicLong', 'Aggiunta Consumo Ricambi' +exec voc.stp_insNewLemma 'AddRicambi2Int', 'Gestione Ricambi Consumati' +exec voc.stp_insNewLemma 'return2DetInt', 'Torna a dettaglio intervento' +exec voc.stp_insNewLemma 'RicambiDisponibili', 'Ricambi Disponibili'