diff --git a/AppData/DS_Report.Designer.cs b/AppData/DS_Report.Designer.cs index 9dac20d..376a550 100644 --- a/AppData/DS_Report.Designer.cs +++ b/AppData/DS_Report.Designer.cs @@ -38,6 +38,8 @@ namespace AppData { private stp_prt_BunkGroupDataTable tablestp_prt_BunkGroup; + private stp_prt_OtherPartDataTable tablestp_prt_OtherPart; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -87,6 +89,9 @@ namespace AppData { if ((ds.Tables["stp_prt_BunkGroup"] != null)) { base.Tables.Add(new stp_prt_BunkGroupDataTable(ds.Tables["stp_prt_BunkGroup"])); } + if ((ds.Tables["stp_prt_OtherPart"] != null)) { + base.Tables.Add(new stp_prt_OtherPartDataTable(ds.Tables["stp_prt_OtherPart"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -175,6 +180,16 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prt_OtherPartDataTable stp_prt_OtherPart { + get { + return this.tablestp_prt_OtherPart; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -263,6 +278,9 @@ namespace AppData { if ((ds.Tables["stp_prt_BunkGroup"] != null)) { base.Tables.Add(new stp_prt_BunkGroupDataTable(ds.Tables["stp_prt_BunkGroup"])); } + if ((ds.Tables["stp_prt_OtherPart"] != null)) { + base.Tables.Add(new stp_prt_OtherPartDataTable(ds.Tables["stp_prt_OtherPart"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -338,6 +356,12 @@ namespace AppData { this.tablestp_prt_BunkGroup.InitVars(); } } + this.tablestp_prt_OtherPart = ((stp_prt_OtherPartDataTable)(base.Tables["stp_prt_OtherPart"])); + if ((initTable == true)) { + if ((this.tablestp_prt_OtherPart != null)) { + this.tablestp_prt_OtherPart.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -362,6 +386,8 @@ namespace AppData { base.Tables.Add(this.tablestp_prt_Cart); this.tablestp_prt_BunkGroup = new stp_prt_BunkGroupDataTable(); base.Tables.Add(this.tablestp_prt_BunkGroup); + this.tablestp_prt_OtherPart = new stp_prt_OtherPartDataTable(); + base.Tables.Add(this.tablestp_prt_OtherPart); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -406,6 +432,12 @@ namespace AppData { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializestp_prt_OtherPart() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -482,6 +514,9 @@ namespace AppData { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void stp_prt_BunkGroupRowChangeEventHandler(object sender, stp_prt_BunkGroupRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void stp_prt_OtherPartRowChangeEventHandler(object sender, stp_prt_OtherPartRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -2992,6 +3027,363 @@ namespace AppData { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prt_OtherPartDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOtherItemID; + + private global::System.Data.DataColumn columnOtherItemExtCode; + + private global::System.Data.DataColumn columnOtherItemDesc; + + private global::System.Data.DataColumn columnOtherItemDtmx; + + private global::System.Data.DataColumn columnOtherItemType; + + private global::System.Data.DataColumn columnOtherItemNote; + + private global::System.Data.DataColumn columnQRCodeBaseUrl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_OtherPartDataTable() { + this.TableName = "stp_prt_OtherPart"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal stp_prt_OtherPartDataTable(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", "16.0.0.0")] + protected stp_prt_OtherPartDataTable(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", "16.0.0.0")] + public global::System.Data.DataColumn OtherItemIDColumn { + get { + return this.columnOtherItemID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OtherItemExtCodeColumn { + get { + return this.columnOtherItemExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OtherItemDescColumn { + get { + return this.columnOtherItemDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OtherItemDtmxColumn { + get { + return this.columnOtherItemDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OtherItemTypeColumn { + get { + return this.columnOtherItemType; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OtherItemNoteColumn { + get { + return this.columnOtherItemNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn QRCodeBaseUrlColumn { + get { + return this.columnQRCodeBaseUrl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.0.0.0")] + public stp_prt_OtherPartRow this[int index] { + get { + return ((stp_prt_OtherPartRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_OtherPartRowChangeEventHandler stp_prt_OtherPartRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_OtherPartRowChangeEventHandler stp_prt_OtherPartRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_OtherPartRowChangeEventHandler stp_prt_OtherPartRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_OtherPartRowChangeEventHandler stp_prt_OtherPartRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Addstp_prt_OtherPartRow(stp_prt_OtherPartRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_OtherPartRow Addstp_prt_OtherPartRow(string OtherItemExtCode, string OtherItemDesc, string OtherItemDtmx, string OtherItemType, string OtherItemNote, string QRCodeBaseUrl) { + stp_prt_OtherPartRow rowstp_prt_OtherPartRow = ((stp_prt_OtherPartRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + OtherItemExtCode, + OtherItemDesc, + OtherItemDtmx, + OtherItemType, + OtherItemNote, + QRCodeBaseUrl}; + rowstp_prt_OtherPartRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prt_OtherPartRow); + return rowstp_prt_OtherPartRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_OtherPartRow FindByOtherItemID(int OtherItemID) { + return ((stp_prt_OtherPartRow)(this.Rows.Find(new object[] { + OtherItemID}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prt_OtherPartDataTable cln = ((stp_prt_OtherPartDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prt_OtherPartDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnOtherItemID = base.Columns["OtherItemID"]; + this.columnOtherItemExtCode = base.Columns["OtherItemExtCode"]; + this.columnOtherItemDesc = base.Columns["OtherItemDesc"]; + this.columnOtherItemDtmx = base.Columns["OtherItemDtmx"]; + this.columnOtherItemType = base.Columns["OtherItemType"]; + this.columnOtherItemNote = base.Columns["OtherItemNote"]; + this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnOtherItemID = new global::System.Data.DataColumn("OtherItemID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOtherItemID); + this.columnOtherItemExtCode = new global::System.Data.DataColumn("OtherItemExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOtherItemExtCode); + this.columnOtherItemDesc = new global::System.Data.DataColumn("OtherItemDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOtherItemDesc); + this.columnOtherItemDtmx = new global::System.Data.DataColumn("OtherItemDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOtherItemDtmx); + this.columnOtherItemType = new global::System.Data.DataColumn("OtherItemType", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOtherItemType); + this.columnOtherItemNote = new global::System.Data.DataColumn("OtherItemNote", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOtherItemNote); + this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQRCodeBaseUrl); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOtherItemID}, true)); + this.columnOtherItemID.AutoIncrement = true; + this.columnOtherItemID.AutoIncrementSeed = -1; + this.columnOtherItemID.AutoIncrementStep = -1; + this.columnOtherItemID.AllowDBNull = false; + this.columnOtherItemID.ReadOnly = true; + this.columnOtherItemID.Unique = true; + this.columnOtherItemExtCode.AllowDBNull = false; + this.columnOtherItemExtCode.MaxLength = 250; + this.columnOtherItemDesc.AllowDBNull = false; + this.columnOtherItemDesc.MaxLength = 500; + this.columnOtherItemDtmx.MaxLength = 50; + this.columnOtherItemType.AllowDBNull = false; + this.columnOtherItemType.MaxLength = 50; + this.columnOtherItemNote.AllowDBNull = false; + this.columnOtherItemNote.MaxLength = 500; + this.columnQRCodeBaseUrl.ReadOnly = true; + this.columnQRCodeBaseUrl.MaxLength = 400; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_OtherPartRow Newstp_prt_OtherPartRow() { + return ((stp_prt_OtherPartRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prt_OtherPartRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prt_OtherPartRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prt_OtherPartRowChanged != null)) { + this.stp_prt_OtherPartRowChanged(this, new stp_prt_OtherPartRowChangeEvent(((stp_prt_OtherPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prt_OtherPartRowChanging != null)) { + this.stp_prt_OtherPartRowChanging(this, new stp_prt_OtherPartRowChangeEvent(((stp_prt_OtherPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prt_OtherPartRowDeleted != null)) { + this.stp_prt_OtherPartRowDeleted(this, new stp_prt_OtherPartRowChangeEvent(((stp_prt_OtherPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prt_OtherPartRowDeleting != null)) { + this.stp_prt_OtherPartRowDeleting(this, new stp_prt_OtherPartRowChangeEvent(((stp_prt_OtherPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Removestp_prt_OtherPartRow(stp_prt_OtherPartRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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_Report ds = new DS_Report(); + 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_prt_OtherPartDataTable"; + 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. /// @@ -4244,6 +4636,134 @@ namespace AppData { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prt_OtherPartRow : global::System.Data.DataRow { + + private stp_prt_OtherPartDataTable tablestp_prt_OtherPart; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal stp_prt_OtherPartRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prt_OtherPart = ((stp_prt_OtherPartDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OtherItemID { + get { + return ((int)(this[this.tablestp_prt_OtherPart.OtherItemIDColumn])); + } + set { + this[this.tablestp_prt_OtherPart.OtherItemIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OtherItemExtCode { + get { + return ((string)(this[this.tablestp_prt_OtherPart.OtherItemExtCodeColumn])); + } + set { + this[this.tablestp_prt_OtherPart.OtherItemExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OtherItemDesc { + get { + return ((string)(this[this.tablestp_prt_OtherPart.OtherItemDescColumn])); + } + set { + this[this.tablestp_prt_OtherPart.OtherItemDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OtherItemDtmx { + get { + try { + return ((string)(this[this.tablestp_prt_OtherPart.OtherItemDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'OtherItemDtmx\' nella tabella \'stp_prt_OtherPart\' è DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prt_OtherPart.OtherItemDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OtherItemType { + get { + return ((string)(this[this.tablestp_prt_OtherPart.OtherItemTypeColumn])); + } + set { + this[this.tablestp_prt_OtherPart.OtherItemTypeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OtherItemNote { + get { + return ((string)(this[this.tablestp_prt_OtherPart.OtherItemNoteColumn])); + } + set { + this[this.tablestp_prt_OtherPart.OtherItemNoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string QRCodeBaseUrl { + get { + try { + return ((string)(this[this.tablestp_prt_OtherPart.QRCodeBaseUrlColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'QRCodeBaseUrl\' nella tabella \'stp_prt_OtherPart\' è DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prt_OtherPart.QRCodeBaseUrlColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOtherItemDtmxNull() { + return this.IsNull(this.tablestp_prt_OtherPart.OtherItemDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOtherItemDtmxNull() { + this[this.tablestp_prt_OtherPart.OtherItemDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsQRCodeBaseUrlNull() { + return this.IsNull(this.tablestp_prt_OtherPart.QRCodeBaseUrlColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetQRCodeBaseUrlNull() { + this[this.tablestp_prt_OtherPart.QRCodeBaseUrlColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -4481,6 +5001,40 @@ namespace AppData { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class stp_prt_OtherPartRowChangeEvent : global::System.EventArgs { + + private stp_prt_OtherPartRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_OtherPartRowChangeEvent(stp_prt_OtherPartRow 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", "16.0.0.0")] + public stp_prt_OtherPartRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace AppData.DS_ReportTableAdapters { @@ -6662,6 +7216,206 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione } } + /// + ///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_prt_OtherPartTableAdapter : 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", "16.0.0.0")] + public stp_prt_OtherPartTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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_prt_OtherPart"; + tableMapping.ColumnMappings.Add("OtherItemID", "OtherItemID"); + tableMapping.ColumnMappings.Add("OtherItemExtCode", "OtherItemExtCode"); + tableMapping.ColumnMappings.Add("OtherItemDesc", "OtherItemDesc"); + tableMapping.ColumnMappings.Add("OtherItemDtmx", "OtherItemDtmx"); + tableMapping.ColumnMappings.Add("OtherItemType", "OtherItemType"); + tableMapping.ColumnMappings.Add("OtherItemNote", "OtherItemNote"); + tableMapping.ColumnMappings.Add("QRCodeBaseUrl", "QRCodeBaseUrl"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::AppData.Properties.Settings.Default.Sauder_NKCConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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 = "prt.stp_prt_OtherPart"; + 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("@OtherItemID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QRCodeBaseUrl", global::System.Data.SqlDbType.NVarChar, 400, 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", "16.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_Report.stp_prt_OtherPartDataTable dataTable, global::System.Nullable OtherItemID, string QRCodeBaseUrl) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((OtherItemID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(OtherItemID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((QRCodeBaseUrl == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QRCodeBaseUrl)); + } + 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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Report.stp_prt_OtherPartDataTable GetData(global::System.Nullable OtherItemID, string QRCodeBaseUrl) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((OtherItemID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(OtherItemID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((QRCodeBaseUrl == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QRCodeBaseUrl)); + } + DS_Report.stp_prt_OtherPartDataTable dataTable = new DS_Report.stp_prt_OtherPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/AppData/DS_Report.xsd b/AppData/DS_Report.xsd index 7195839..6978255 100644 --- a/AppData/DS_Report.xsd +++ b/AppData/DS_Report.xsd @@ -397,6 +397,32 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + prt.stp_prt_OtherPart + + + + + + + + + + + + + + + + + + + + @@ -405,7 +431,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -437,7 +463,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -469,7 +495,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -496,7 +522,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -562,7 +588,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -590,7 +616,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -628,7 +654,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -674,6 +700,55 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -696,5 +771,9 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + \ No newline at end of file diff --git a/AppData/DS_Report.xss b/AppData/DS_Report.xss index 5732339..a6debca 100644 --- a/AppData/DS_Report.xss +++ b/AppData/DS_Report.xss @@ -6,13 +6,14 @@ --> - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/AppData/DataLayer.cs b/AppData/DataLayer.cs index 92de00c..ff8bca9 100644 --- a/AppData/DataLayer.cs +++ b/AppData/DataLayer.cs @@ -46,6 +46,7 @@ namespace AppData public DS_ReportTableAdapters.stp_prt_BunkListTableAdapter taRepBunkList; public DS_ReportTableAdapters.stp_prt_CartTableAdapter taRepCart; public DS_ReportTableAdapters.stp_prt_PartTableAdapter taRepPart; + public DS_ReportTableAdapters.stp_prt_OtherPartTableAdapter taRepOtherPart; public DataLayer() { @@ -95,6 +96,7 @@ namespace AppData taRepBunkList.Connection.ConnectionString = connString; taRepCart.Connection.ConnectionString = connString; taRepPart.Connection.ConnectionString = connString; + taRepOtherPart.Connection.ConnectionString = connString; } private void initTA() { @@ -136,6 +138,7 @@ namespace AppData taRepBunkList = new DS_ReportTableAdapters.stp_prt_BunkListTableAdapter(); taRepCart = new DS_ReportTableAdapters.stp_prt_CartTableAdapter(); taRepPart = new DS_ReportTableAdapters.stp_prt_PartTableAdapter(); + taRepOtherPart = new DS_ReportTableAdapters.stp_prt_OtherPartTableAdapter(); } #endregion @@ -309,6 +312,11 @@ namespace AppData var tabPart = taIL.getByKey(intIdx); answ = tabPart.Count > 0; break; + case tipoDocumento.docOtherPart: + int.TryParse(keyParam, out intIdx); + var tabOtherPart = taOtItem.getByKey(intIdx); + answ = tabOtherPart.Count > 0; + break; case tipoDocumento.docStack: int.TryParse(keyParam, out intIdx); var tabStack = taSTL.getByKey(intIdx); diff --git a/AppData/reportPrinter.cs b/AppData/reportPrinter.cs index 3792543..75a13d8 100644 --- a/AppData/reportPrinter.cs +++ b/AppData/reportPrinter.cs @@ -228,6 +228,10 @@ namespace AppData report.ReportPath = string.Format(@"{0}\Part.rdlc", repoBasePath); report.DataSources.Add(new ReportDataSource(memLayer.ML.cdv("ReportDS_DocPart"), caricaDati(tipoReport, keyParam))); break; + case reportRichiesto.otherPart: + report.ReportPath = string.Format(@"{0}\OtherPart.rdlc", repoBasePath); + report.DataSources.Add(new ReportDataSource(memLayer.ML.cdv("ReportDS_DocOtherPart"), caricaDati(tipoReport, keyParam))); + break; } deviceInfo = deviceInfoParam.xmlParam; doEmfPrint(printerName, report, deviceInfo); @@ -394,6 +398,10 @@ namespace AppData tipo = "DocPart"; report = reportRichiesto.part; break; + case tipoDocumento.docOtherPart: + tipo = "DocOtherPart"; + report = reportRichiesto.otherPart; + break; case tipoDocumento.docStack: tipo = "DocStack"; report = reportRichiesto.bunkGroup; diff --git a/Jenkinsfile b/Jenkinsfile index 6532e2a..bd00267 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { steps { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=349']) { + withEnv(['NEXT_BUILD_NUMBER=350']) { // env.versionNumber = VersionNumber(versionNumberString : '1.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '1.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.versionNumberBeta = VersionNumber(versionNumberString : '1.1.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') @@ -20,7 +20,7 @@ pipeline { } script { currentBuild.displayName = "${env.versionNumber}" - if (env.BRANCH_NAME == "develop" || env.BRANCH_NAME.contains("DEMO")) { + if (env.BRANCH_NAME == "develop" || env.BRANCH_NAME.contains("DEMO") || env.BRANCH_NAME.contains("report")) { currentBuild.description = "TEST ${env.versionNumber}" } else { diff --git a/NKC_SDK/Enums.cs b/NKC_SDK/Enums.cs index d34134e..83bdf8d 100644 --- a/NKC_SDK/Enums.cs +++ b/NKC_SDK/Enums.cs @@ -243,7 +243,8 @@ bunkList, cart, offline, - part + part, + otherPart } /// /// tipologia di DOCUMENTO gestito in stampa... @@ -263,7 +264,7 @@ /// docCart, /// - /// Docuemtno per singolo ITEM: + /// Documento per singolo ITEM: /// - QR code /// - num cart/bin /// - T/P/* (se va fatto qualcosa di speciale) @@ -271,6 +272,13 @@ /// docPart, /// + /// Documento per singolo OtherItem: + /// - QR code + /// - cod originale + /// - descrizione + /// + docOtherPart, + /// /// doc per STACK /// docStack, diff --git a/NKC_WF/Controllers/PrintQueueController.cs b/NKC_WF/Controllers/PrintQueueController.cs index a67a271..21b9058 100644 --- a/NKC_WF/Controllers/PrintQueueController.cs +++ b/NKC_WF/Controllers/PrintQueueController.cs @@ -102,6 +102,11 @@ namespace NKC_WF.Controllers tab = (DataTable)DLMan.taRepPart.GetData(intIdx, qrCodeBaseUrl); answ.Add(memLayer.ML.cdv("ReportDS_DocPart"), tab); break; + case reportRichiesto.otherPart: + int.TryParse(keyParam, out intIdx); + tab = (DataTable)DLMan.taRepOtherPart.GetData(intIdx, qrCodeBaseUrl); + answ.Add(memLayer.ML.cdv("ReportDS_DocOtherPart"), tab); + break; default: break; } @@ -142,6 +147,9 @@ namespace NKC_WF.Controllers case "docPart": report = reportRichiesto.part; break; + case "docOtherPart": + report = reportRichiesto.otherPart; + break; case "docOffline": report = reportRichiesto.offline; break; diff --git a/NKC_WF/Controllers/PrintQueueLenController.cs b/NKC_WF/Controllers/PrintQueueLenController.cs index 6f46fe0..11bc9a2 100644 --- a/NKC_WF/Controllers/PrintQueueLenController.cs +++ b/NKC_WF/Controllers/PrintQueueLenController.cs @@ -55,102 +55,7 @@ namespace NKC_WF.Controllers } return answ; } - /// - /// Carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) e restituisce Dictionary [nome RDS / tab RDS] - /// - /// - /// cod UDC - /// tabella dati - private Dictionary caricaDati(reportRichiesto tipoReport, string keyParam) - { - int intIdx = 0; - Dictionary answ = new Dictionary(); - DataTable tab = new DataTable(); - // FIXME TODO... - string qrCodeBaseUrl = ""; - string imagePath = ""; //"http://seriate.steamware.net:8083/NKC/PartsImg/"; - switch (tipoReport) - { - case reportRichiesto.binPost: - int.TryParse(keyParam, out intIdx); - tab = (DataTable)DLMan.taRepBin.GetData(intIdx, true, imagePath, qrCodeBaseUrl); - answ.Add(memLayer.ML.cdv("ReportDS_DocBin"), tab); - break; - case reportRichiesto.binPre: - int.TryParse(keyParam, out intIdx); - tab = (DataTable)DLMan.taRepBin.GetData(intIdx, false, imagePath, qrCodeBaseUrl); - answ.Add(memLayer.ML.cdv("ReportDS_DocBin"), tab); - break; - case reportRichiesto.bunkGroup: - int.TryParse(keyParam, out intIdx); - tab = (DataTable)DLMan.taRepBunkGroup.GetData(intIdx, qrCodeBaseUrl); - answ.Add(memLayer.ML.cdv("ReportDS_DocBunkGroup"), tab); - break; - case reportRichiesto.bunkList: - int.TryParse(keyParam, out intIdx); - tab = (DataTable)DLMan.taRepBunkList.GetData(intIdx, qrCodeBaseUrl); - answ.Add(memLayer.ML.cdv("ReportDS_DocBunkList"), tab); - break; - case reportRichiesto.cart: - int.TryParse(keyParam, out intIdx); - tab = (DataTable)DLMan.taRepCart.GetData(intIdx, qrCodeBaseUrl); - answ.Add(memLayer.ML.cdv("ReportDS_DocCart"), tab); - break; - case reportRichiesto.offline: - case reportRichiesto.part: - int.TryParse(keyParam, out intIdx); - tab = (DataTable)DLMan.taRepPart.GetData(intIdx, qrCodeBaseUrl); - answ.Add(memLayer.ML.cdv("ReportDS_DocPart"), tab); - break; - default: - break; - } - tab.Dispose(); - return answ; - } - - /// - /// Calcola report da tipo + nome coda... - /// - /// - /// - /// - protected reportRichiesto reportByTipo(string tipo, string queueName) - { - reportRichiesto report = reportRichiesto.bunkGroup; - switch (tipo) - { - case "docStack": - if (queueName == "queueBunkDetail") - { - report = reportRichiesto.bunkList; - } - else - { - report = reportRichiesto.bunkGroup; - } - break; - case "docBinPre": - report = reportRichiesto.binPre; - break; - case "docBinPost": - report = reportRichiesto.binPost; - break; - case "docCart": - report = reportRichiesto.cart; - break; - case "docPart": - report = reportRichiesto.part; - break; - case "docOffline": - report = reportRichiesto.offline; - break; - default: - break; - } - return report; - } - + #endregion #region REST api call diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 1a59f33..b4ec75a 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -602,6 +602,9 @@ Always + + Always + diff --git a/NKC_WF/Reports/OtherPart.rdlc b/NKC_WF/Reports/OtherPart.rdlc new file mode 100644 index 0000000..f394295 --- /dev/null +++ b/NKC_WF/Reports/OtherPart.rdlc @@ -0,0 +1,287 @@ + + + v. 2.1.1 + 0 + + + Sauder_NKC + 7e875094-37e0-46d4-8db0-d51955773fb0 + + + + + + Sauder_NKC + + + =Parameters!OtherItemID.Value + + + =Parameters!QRCodeBaseUrl.Value + + + StoredProcedure + prt.stp_prt_OtherPart + true + + + + OtherItemID + System.Int32 + + + OtherItemExtCode + System.String + + + OtherItemDesc + System.String + + + OtherItemDtmx + System.String + + + QRCodeBaseUrl + System.String + + + OtherItemType + System.String + + + OtherItemNote + System.String + + + + + + + + + + + + + 3.9in + + + + + 1.9in + + + + + + + true + + + + + =First(Fields!OtherItemExtCode.Value) + + + + + + + Destination + 0.73025cm + 3.7cm + 0.425in + 2.44331in + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!OtherItemDtmx.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.2875in + 0.1in + 1.3in + 1.3in + 1 + + + + + + true + + + + + =First(Fields!OtherItemDesc.Value) + + + + + + + Destination + 1.98614cm + 3.66183cm + 0.80556in + 2.44331in + 2 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + true + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + + + + + + + + + + + + + + + + + + =Fields!OtherItemID.Value + + + Output + true + + + + stp_prt_OtherPart + + End + + 1.9in + 3.9in + + + + 1.9in + + + + + + + + true + true + + + + + =First(Fields!BinIndexChar.Value) + + + + + + + BinIndexChar + 0.45297cm + 1.7086in + 2.27083in + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + =First(Fields!BinDtmxRich.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!TotItem.Value) + + + + + + + BinDtmxProc + 0.8187in + 0.25in + 2.97049in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemDesc.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.17833in + 2.40278in + 1.7086in + 2.97049in + 1 + + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.41131cm + 5.44271in + 1.725in + 1.93333in + 2 + + + + + + true + 0.26993in + 0.00001cm + 2.08333in + 7.37604in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_Bin + + End + + 0.1343in + 0.00001cm + 8.86829in + 7.37604in + + + + 9.5in + + + + + + + + true + true + + + + + =First(Fields!BinIndexChar.Value) + + + + + + + BinIndexChar + 0.45297cm + 1.7086in + 2.27083in + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + =First(Fields!BinDtmxRich.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!TotItem.Value) + + + + + + + BinDtmxProc + 0.8187in + 0.25in + 2.97049in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemDesc.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.17833in + 2.40278in + 1.7086in + 2.97049in + 1 + + + + + + External + =Replace(Parameters!QRCodeBaseURL.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) + +' la stringa nel parametro di default è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'=Parameters!QRCodeBaseURL.Value.ToString() & ":['" & Fields!StackID.Value.ToString() & "']}" + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.41131cm + 5.44271in + 1.725in + 1.93333in + 2 + + + + + + true + 0.26993in + 2.08333in + 7.37604in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_Bin + + End + + 0.1343in + 0.00001cm + 6.94949in + 7.37604in + + + + 7.08379in + + + + + + + + true + true + + + + + =First(Fields!BinIndexChar.Value) + + + + + + + BinIndexChar + 0.45297cm + 1.7086in + 2.27083in + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + =First(Fields!BinDtmxRich.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!TotItem.Value) + + + + + + + BinDtmxProc + 0.8187in + 0.25in + 2.97049in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemDesc.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.17833in + 2.40278in + 1.7086in + 2.97049in + 1 + + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.41131cm + 5.44271in + 1.725in + 1.93333in + 2 + + + + + + true + 0.26993in + 2.08333in + 7.37604in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_Bin + + End + + 0.1343in + 0.00001cm + 8.20162in + 7.37604in + + + + 8.33592in + + + + + + + textbox4 + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + QTY + + + + + + + Textbox5 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MAT. ID # + + + + + + + textbox20 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + DESCRIPTION + + + + + + + textbox21 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + CONFIRMED BY + + + + + + + Textbox66 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.2725in + + + + + true + true + + + + + =Fields!SheetSequ.Value + + + + + + + SheetSequ + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!SheetTot.Value + + + + + + + SheetTot + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatExtCode.Value + + + + + + + MatExtCode + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatDesc.Value + + + + + + + MatDesc + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox67 + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + After + true + true + + + + Detail + + + + + Detail_Collection + Output + true + + + + stp_prt_BunkGroup + + + =Fields!SheetIndexMax.Value + + + 2.19657in + 0.01322cm + 0.4925in + 7.46354in + + 0.5pt + + + Black + + + + Black + + + + Black + + + + Black + + + + + + true + true + + + + + MATERIAL LIST FROM + + + + + + + + + TOP OF BUNK TO BOTTOM + + + + + + + StackIndex + 3.75576cm + 0.01322cm + 0.59292in + 7.46354in + 1 + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + BUNK ID NUMBER : + + + + =Fields!StackIndex.Value + + + + + + + StackIndex + 0.38153cm + 0.31751cm + 0.27in + 5.42708in + + + + true + true + + + + + RELEASE DATE : + + + + + =Fields!Prepared.Value + + + + + + + StackIndex + 1.06733cm + 0.3175cm + 0.27in + 5.42708in + 1 + + + + true + true + + + + + TO BE CUT DATE : + + + + + =Fields!DueDate.Value + + + + + + + StackIndex + 1.75313cm + 0.31751cm + 0.27in + 5.42708in + 2 + + + + true + 0.1618in + 0.00522in + 1.1in + 5.65103in + 2 + + 0.5pt + + + Black + + + Black + + + Black + + + Black + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!StackDtmx.Value.ToString()) + +' la stringa nel campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.41097cm + 6.07812in + 1.1in + 1.1in + 3 + + + + + + true + + + + true + true + + + + + BUNK BUILD SHEET + + + + + + + textbox1 + 0.49541in + 7.46875in + 1 + + + Top + 2pt + 2pt + 2pt + 2pt + + + + 3.22532in + + + + + + + textbox4 + + + + Black + + 1pt + + + Black + + + Black + + 1pt + + + Black + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MATERIAL ID # + + + + + + + textbox20 + + + + Black + + 1pt + + + Black + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + DESCRIPTION + + + + + + + textbox21 + + + + Black + + 1pt + + + Black + + + Black + + 1pt + + + Black + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + CONFIRMED BY + + + + + + + Textbox66 + + + + Black + + 1pt + + + Black + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.21in + + + + + true + true + + + + + =Fields!SheetIndex.Value + + + + + + + SheetIndex + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatExtCode.Value + + + + + + + MatExtCode + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatDesc.Value + + + + + + + MatDesc + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox67 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + After + true + true + + + + Detail + + + + + Detail_Collection + Output + true + + + + stp_prt_StackLabel + + + =Fields!SheetIndex.Value + + + 3.44657in + 0.01322cm + 0.43in + 7.46354in + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + true + + + + + MATERIAL LIST FROM + + + + + + + + + TOP OF BUNK TO BOTTOM + + + + + + + StackIndex + 7.24826cm + 0.01322cm + 0.59292in + 7.46354in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + External + =Replace(Parameters!QRCodeBaseURL.Value.ToString(),"QRCODEVALUE",Fields!StackDtmx.Value.ToString()) + +'=Parameters!QRCodeBaseURL.Value.ToString() & ":['" & Fields!StackID.Value.ToString() & "']}" + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 3.08698in + 1.3in + 1.3in + 2 + + + + + + + + true + true + + + + + BUNK ID NUMBER : + + + + =Fields!StackIndex.Value + + + + + + + StackIndex + 0.33391cm + 0.31751cm + 0.27in + 3.58333in + + + + true + true + + + + + RELEASE DATE : + + + + + =Fields!Prepared.Value + + + + + + + StackIndex + 1.12554cm + 0.3175cm + 0.27in + 6.60417in + 1 + + + + true + true + + + + + TO BE CUT DATE : + + + + + =Fields!DueDate.Value + + + + + + + StackIndex + 1.95245cm + 0.31751cm + 0.27in + 6.60417in + 2 + + + + true + true + + + + + MATERIAL SORTED BY + + + + + + + StackIndex + 0.29863cm + 9.72343cm + 0.27in + 2.90105in + 3 + + + + true + 1.43055in + 0.00522in + 1.15625in + 7.46353in + 3 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + true + true + + + + + BUNK BUILD SHEET + + + + + + + textbox1 + 0.56833in + 7.46875in + 1 + + + Top + 2pt + 2pt + 2pt + 2pt + + + + 4.68798in + + + + + + + textbox4 + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MAT. ID # + + + + + + + textbox20 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + DESCRIPTION + + + + + + + textbox21 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + CONFIRMED BY + + + + + + + Textbox66 + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.2725in + + + + + true + true + + + + + =Fields!SheetSequ.Value + + + + + + + SheetSequ + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatExtCode.Value + + + + + + + MatExtCode + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatDesc.Value + + + + + + + MatDesc + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox67 + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + After + true + true + + + + Detail + + + + + Detail_Collection + Output + true + + + + stp_prt_BunkList + + + =Fields!SheetSequ.Value + + + 2.19657in + 0.64822cm + 0.4925in + 6.75522in + + 0.5pt + + + Black + + + + Black + + + + Black + + + + Black + + + + + + true + true + + + + + MATERIAL LIST FROM + + + + + + + + + TOP OF BUNK TO BOTTOM + + + + + + + StackIndex + 3.75576cm + 0.01322cm + 0.59292in + 7.46354in + 1 + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + BUNK ID NUMBER : + + + + =Fields!StackIndex.Value + + + + + + + StackIndex + 0.38153cm + 0.31751cm + 0.27in + 5.42708in + + + + true + true + + + + + RELEASE DATE : + + + + + =Fields!Prepared.Value + + + + + + + StackIndex + 1.06733cm + 0.3175cm + 0.27in + 5.42708in + 1 + + + + true + true + + + + + TO BE CUT DATE : + + + + + =Fields!DueDate.Value + + + + + + + StackIndex + 1.75313cm + 0.31751cm + 0.27in + 5.42708in + 2 + + + + true + 0.1618in + 0.00522in + 1.1in + 5.65103in + 2 + + 0.5pt + + + Black + + + Black + + + Black + + + Black + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!StackDtmx.Value.ToString()) + +' la stringa nel parametro di default è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.41097cm + 6.07812in + 1.1in + 1.1in + 3 + + + + + + true + + + + true + true + + + + + BUNK BUILD LIST + + + + + + + textbox1 + 0.49541in + 7.46875in + 1 + + + Top + 2pt + 2pt + 2pt + 2pt + + + + 3.22532in + + + + + + true + true + + + + + ="C " & Fields!CartIndex.Value + + + + + + + textbox1 + 8.46951cm + 4.03708in + 7.46875in + 1 + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + + 1.5in + + + 1.67938in + + + 1.41667in + + + + + 0.25in + + + + + true + true + + + + + Order.Line + + + + + + + Textbox8 + + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Model + + + + + + + Textbox10 + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Kit Qty + + + + + + + Textbox12 + + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.25in + + + + + true + true + + + + + =Fields!OrderExtCode.Value + + + + + + + OrderExtCode + + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!FamilyCode.Value + + + + + + + FamilyCode + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!TotKit.Value + + + + + + + TotKit + + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + After + + + + + + + stp_prt_Cart + 7.84362in + 1.41541in + 0.5in + 4.59605in + 2 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + 9in + + + + + + + + + + true + true + + + + + =Fields!ItemDtmx.Value + + + + + + + ItemDtmx + 2 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + + + + =Fields!SheetID.Value + + + + + + + SheetID + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.16667in + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox10 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + + Textbox11 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + + + + + stp_prt_Part + + + =Fields!SheetID.Value + + + 0.31125in + 0.18625in + 1.28125in + 4.98958in + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + 1.76458in + + + + + + + Destination + 0.73025cm + 3.7cm + 0.425in + 2.44331in + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!OtherItemDtmx.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.2875in + 0.1in + 1.3in + 1.3in + 1 + + + + + + true + + + + + =First(Fields!OtherItemDesc.Value) + + + + + + + Destination + 1.98614cm + 3.66183cm + 0.80556in + 2.44331in + 2 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + true + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + + + + + + + + + + + + + + + + + + =Fields!OtherItemID.Value + + + Output + true + + + + stp_prt_OtherPart + + End + + 1.9in + 3.9in + + + + 1.9in + + + + + + + Destination + 0.73025cm + 3.7cm + 1.3in + 2.44331in + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!ItemDtmx.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.2875in + 0.1in + 1.3in + 1.3in + 1 + + + + + + true + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + + + + + + + + + + + + + + + + + + =Fields!ItemID.Value + + + Output + true + + + + stp_prt_Part + + End + + 1.9in + 3.9in + + + + 1.9in + + + + + + + Destination + 0.254cm + 2.33539cm + 0.8in + 1.05555in + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!ItemDtmx.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.1in + 0.05in + 0.8in + 0.8in + 1 + + + + + + true + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + Gray + + 0.5pt + + + + + + + + + + + + + + + + + + + + =Fields!ItemID.Value + + + Output + true + + + + stp_prt_Part + + End + + 0.99in + 2in + + + + 0.99in +