diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs index 2436756..94fb439 100644 --- a/AppData/DS_App.Designer.cs +++ b/AppData/DS_App.Designer.cs @@ -84,6 +84,10 @@ namespace AppData { private PackCheckDataTable tablePackCheck; + private OKIBDataTable tableOKIB; + + private OKIB_BinDataTable tableOKIB_Bin; + private global::System.Data.DataRelation relationFK_BatchReqList_OrderList; private global::System.Data.DataRelation relationFK_ItemList_Materials1; @@ -226,6 +230,12 @@ namespace AppData { if ((ds.Tables["PackCheck"] != null)) { base.Tables.Add(new PackCheckDataTable(ds.Tables["PackCheck"])); } + if ((ds.Tables["OKIB"] != null)) { + base.Tables.Add(new OKIBDataTable(ds.Tables["OKIB"])); + } + if ((ds.Tables["OKIB_Bin"] != null)) { + base.Tables.Add(new OKIB_BinDataTable(ds.Tables["OKIB_Bin"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -544,6 +554,26 @@ 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 OKIBDataTable OKIB { + get { + return this.tableOKIB; + } + } + + [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 OKIB_BinDataTable OKIB_Bin { + get { + return this.tableOKIB_Bin; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -701,6 +731,12 @@ namespace AppData { if ((ds.Tables["PackCheck"] != null)) { base.Tables.Add(new PackCheckDataTable(ds.Tables["PackCheck"])); } + if ((ds.Tables["OKIB"] != null)) { + base.Tables.Add(new OKIBDataTable(ds.Tables["OKIB"])); + } + if ((ds.Tables["OKIB_Bin"] != null)) { + base.Tables.Add(new OKIB_BinDataTable(ds.Tables["OKIB_Bin"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -914,6 +950,18 @@ namespace AppData { this.tablePackCheck.InitVars(); } } + this.tableOKIB = ((OKIBDataTable)(base.Tables["OKIB"])); + if ((initTable == true)) { + if ((this.tableOKIB != null)) { + this.tableOKIB.InitVars(); + } + } + this.tableOKIB_Bin = ((OKIB_BinDataTable)(base.Tables["OKIB_Bin"])); + if ((initTable == true)) { + if ((this.tableOKIB_Bin != null)) { + this.tableOKIB_Bin.InitVars(); + } + } this.relationFK_BatchReqList_OrderList = this.Relations["FK_BatchReqList_OrderList"]; this.relationFK_ItemList_Materials1 = this.Relations["FK_ItemList_Materials1"]; this.relationFK_OffOrd2Item_OfflineOrderList = this.Relations["FK_OffOrd2Item_OfflineOrderList"]; @@ -996,6 +1044,10 @@ namespace AppData { base.Tables.Add(this.tablePackLog); this.tablePackCheck = new PackCheckDataTable(); base.Tables.Add(this.tablePackCheck); + this.tableOKIB = new OKIBDataTable(); + base.Tables.Add(this.tableOKIB); + this.tableOKIB_Bin = new OKIB_BinDataTable(); + base.Tables.Add(this.tableOKIB_Bin); this.relationFK_BatchReqList_OrderList = new global::System.Data.DataRelation("FK_BatchReqList_OrderList", new global::System.Data.DataColumn[] { this.tableOrderList.OrdIDColumn}, new global::System.Data.DataColumn[] { this.tableBatchReqList.OrdIDColumn}, false); @@ -1226,6 +1278,18 @@ namespace AppData { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeOKIB() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeOKIB_Bin() { + 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) { @@ -1371,6 +1435,12 @@ namespace AppData { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void PackCheckRowChangeEventHandler(object sender, PackCheckRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void OKIBRowChangeEventHandler(object sender, OKIBRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void OKIB_BinRowChangeEventHandler(object sender, OKIB_BinRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -13020,6 +13090,1262 @@ namespace AppData { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class OKIBDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnItemID; + + private global::System.Data.DataColumn columnItemDtmx; + + private global::System.Data.DataColumn columnItemExtCode; + + private global::System.Data.DataColumn columnItemDesc; + + private global::System.Data.DataColumn columnStatusID; + + private global::System.Data.DataColumn columnMatID; + + private global::System.Data.DataColumn columnPostProcList; + + private global::System.Data.DataColumn columnProcessesReq; + + private global::System.Data.DataColumn columnOnCartDate; + + private global::System.Data.DataColumn columnOrdID; + + private global::System.Data.DataColumn columnOrderExtCode; + + private global::System.Data.DataColumn columnKitQty; + + private global::System.Data.DataColumn columnKitID; + + private global::System.Data.DataColumn columnBatchID; + + private global::System.Data.DataColumn columnCartID; + + private global::System.Data.DataColumn columnCartDtmx; + + private global::System.Data.DataColumn columnCartIndex; + + private global::System.Data.DataColumn columnCartKitStart; + + private global::System.Data.DataColumn columnCartKitEnd; + + private global::System.Data.DataColumn columnKitExtCode; + + private global::System.Data.DataColumn columnBinID; + + private global::System.Data.DataColumn columnBinIndex; + + private global::System.Data.DataColumn columnBinDtmx; + + private global::System.Data.DataColumn columnBinDtmxProc; + + private global::System.Data.DataColumn columnPaintDate; + + private global::System.Data.DataColumn columnBinKitStart; + + private global::System.Data.DataColumn columnBinKitEnd; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIBDataTable() { + this.TableName = "OKIB"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal OKIBDataTable(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 OKIBDataTable(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 ItemIDColumn { + get { + return this.columnItemID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemDtmxColumn { + get { + return this.columnItemDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemExtCodeColumn { + get { + return this.columnItemExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemDescColumn { + get { + return this.columnItemDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn StatusIDColumn { + get { + return this.columnStatusID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MatIDColumn { + get { + return this.columnMatID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PostProcListColumn { + get { + return this.columnPostProcList; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ProcessesReqColumn { + get { + return this.columnProcessesReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OnCartDateColumn { + get { + return this.columnOnCartDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrdIDColumn { + get { + return this.columnOrdID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrderExtCodeColumn { + get { + return this.columnOrderExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn KitQtyColumn { + get { + return this.columnKitQty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn KitIDColumn { + get { + return this.columnKitID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BatchIDColumn { + get { + return this.columnBatchID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartIDColumn { + get { + return this.columnCartID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartDtmxColumn { + get { + return this.columnCartDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartIndexColumn { + get { + return this.columnCartIndex; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartKitStartColumn { + get { + return this.columnCartKitStart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartKitEndColumn { + get { + return this.columnCartKitEnd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn KitExtCodeColumn { + get { + return this.columnKitExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinIDColumn { + get { + return this.columnBinID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinIndexColumn { + get { + return this.columnBinIndex; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinDtmxColumn { + get { + return this.columnBinDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinDtmxProcColumn { + get { + return this.columnBinDtmxProc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PaintDateColumn { + get { + return this.columnPaintDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinKitStartColumn { + get { + return this.columnBinKitStart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinKitEndColumn { + get { + return this.columnBinKitEnd; + } + } + + [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 OKIBRow this[int index] { + get { + return ((OKIBRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIBRowChangeEventHandler OKIBRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIBRowChangeEventHandler OKIBRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIBRowChangeEventHandler OKIBRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIBRowChangeEventHandler OKIBRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddOKIBRow(OKIBRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIBRow AddOKIBRow( + int ItemID, + string ItemDtmx, + string ItemExtCode, + string ItemDesc, + int StatusID, + int MatID, + string PostProcList, + string ProcessesReq, + System.DateTime OnCartDate, + int OrdID, + string OrderExtCode, + int KitQty, + int KitID, + int BatchID, + int CartID, + string CartDtmx, + int CartIndex, + System.DateTime CartKitStart, + System.DateTime CartKitEnd, + string KitExtCode, + int BinID, + int BinIndex, + string BinDtmx, + string BinDtmxProc, + System.DateTime PaintDate, + System.DateTime BinKitStart, + System.DateTime BinKitEnd) { + OKIBRow rowOKIBRow = ((OKIBRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + ItemID, + ItemDtmx, + ItemExtCode, + ItemDesc, + StatusID, + MatID, + PostProcList, + ProcessesReq, + OnCartDate, + OrdID, + OrderExtCode, + KitQty, + KitID, + BatchID, + CartID, + CartDtmx, + CartIndex, + CartKitStart, + CartKitEnd, + KitExtCode, + BinID, + BinIndex, + BinDtmx, + BinDtmxProc, + PaintDate, + BinKitStart, + BinKitEnd}; + rowOKIBRow.ItemArray = columnValuesArray; + this.Rows.Add(rowOKIBRow); + return rowOKIBRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIBRow FindByItemID(int ItemID) { + return ((OKIBRow)(this.Rows.Find(new object[] { + ItemID}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + OKIBDataTable cln = ((OKIBDataTable)(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 OKIBDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnItemID = base.Columns["ItemID"]; + this.columnItemDtmx = base.Columns["ItemDtmx"]; + this.columnItemExtCode = base.Columns["ItemExtCode"]; + this.columnItemDesc = base.Columns["ItemDesc"]; + this.columnStatusID = base.Columns["StatusID"]; + this.columnMatID = base.Columns["MatID"]; + this.columnPostProcList = base.Columns["PostProcList"]; + this.columnProcessesReq = base.Columns["ProcessesReq"]; + this.columnOnCartDate = base.Columns["OnCartDate"]; + this.columnOrdID = base.Columns["OrdID"]; + this.columnOrderExtCode = base.Columns["OrderExtCode"]; + this.columnKitQty = base.Columns["KitQty"]; + this.columnKitID = base.Columns["KitID"]; + this.columnBatchID = base.Columns["BatchID"]; + this.columnCartID = base.Columns["CartID"]; + this.columnCartDtmx = base.Columns["CartDtmx"]; + this.columnCartIndex = base.Columns["CartIndex"]; + this.columnCartKitStart = base.Columns["CartKitStart"]; + this.columnCartKitEnd = base.Columns["CartKitEnd"]; + this.columnKitExtCode = base.Columns["KitExtCode"]; + this.columnBinID = base.Columns["BinID"]; + this.columnBinIndex = base.Columns["BinIndex"]; + this.columnBinDtmx = base.Columns["BinDtmx"]; + this.columnBinDtmxProc = base.Columns["BinDtmxProc"]; + this.columnPaintDate = base.Columns["PaintDate"]; + this.columnBinKitStart = base.Columns["BinKitStart"]; + this.columnBinKitEnd = base.Columns["BinKitEnd"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnItemID = new global::System.Data.DataColumn("ItemID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemID); + this.columnItemDtmx = new global::System.Data.DataColumn("ItemDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDtmx); + this.columnItemExtCode = new global::System.Data.DataColumn("ItemExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemExtCode); + this.columnItemDesc = new global::System.Data.DataColumn("ItemDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDesc); + this.columnStatusID = new global::System.Data.DataColumn("StatusID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStatusID); + this.columnMatID = new global::System.Data.DataColumn("MatID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatID); + this.columnPostProcList = new global::System.Data.DataColumn("PostProcList", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPostProcList); + this.columnProcessesReq = new global::System.Data.DataColumn("ProcessesReq", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProcessesReq); + this.columnOnCartDate = new global::System.Data.DataColumn("OnCartDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOnCartDate); + this.columnOrdID = new global::System.Data.DataColumn("OrdID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrdID); + this.columnOrderExtCode = new global::System.Data.DataColumn("OrderExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrderExtCode); + this.columnKitQty = new global::System.Data.DataColumn("KitQty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKitQty); + this.columnKitID = new global::System.Data.DataColumn("KitID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKitID); + this.columnBatchID = new global::System.Data.DataColumn("BatchID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBatchID); + this.columnCartID = new global::System.Data.DataColumn("CartID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartID); + this.columnCartDtmx = new global::System.Data.DataColumn("CartDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartDtmx); + this.columnCartIndex = new global::System.Data.DataColumn("CartIndex", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartIndex); + this.columnCartKitStart = new global::System.Data.DataColumn("CartKitStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartKitStart); + this.columnCartKitEnd = new global::System.Data.DataColumn("CartKitEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartKitEnd); + this.columnKitExtCode = new global::System.Data.DataColumn("KitExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKitExtCode); + this.columnBinID = new global::System.Data.DataColumn("BinID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinID); + this.columnBinIndex = new global::System.Data.DataColumn("BinIndex", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinIndex); + this.columnBinDtmx = new global::System.Data.DataColumn("BinDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinDtmx); + this.columnBinDtmxProc = new global::System.Data.DataColumn("BinDtmxProc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinDtmxProc); + this.columnPaintDate = new global::System.Data.DataColumn("PaintDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPaintDate); + this.columnBinKitStart = new global::System.Data.DataColumn("BinKitStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinKitStart); + this.columnBinKitEnd = new global::System.Data.DataColumn("BinKitEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinKitEnd); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnItemID}, true)); + this.columnItemID.AllowDBNull = false; + this.columnItemID.Unique = true; + this.columnItemDtmx.MaxLength = 50; + this.columnItemExtCode.AllowDBNull = false; + this.columnItemExtCode.MaxLength = 250; + this.columnItemDesc.AllowDBNull = false; + this.columnItemDesc.MaxLength = 500; + this.columnStatusID.AllowDBNull = false; + this.columnMatID.AllowDBNull = false; + this.columnPostProcList.AllowDBNull = false; + this.columnPostProcList.MaxLength = 250; + this.columnProcessesReq.AllowDBNull = false; + this.columnProcessesReq.MaxLength = 250; + this.columnOrdID.AllowDBNull = false; + this.columnOrderExtCode.AllowDBNull = false; + this.columnOrderExtCode.MaxLength = 250; + this.columnKitQty.AllowDBNull = false; + this.columnKitID.AllowDBNull = false; + this.columnBatchID.AllowDBNull = false; + this.columnCartID.AllowDBNull = false; + this.columnCartDtmx.ReadOnly = true; + this.columnCartDtmx.MaxLength = 10; + this.columnCartIndex.AllowDBNull = false; + this.columnKitExtCode.AllowDBNull = false; + this.columnKitExtCode.MaxLength = 250; + this.columnBinID.AllowDBNull = false; + this.columnBinIndex.AllowDBNull = false; + this.columnBinDtmx.ReadOnly = true; + this.columnBinDtmx.MaxLength = 10; + this.columnBinDtmxProc.ReadOnly = true; + this.columnBinDtmxProc.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIBRow NewOKIBRow() { + return ((OKIBRow)(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 OKIBRow(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(OKIBRow); + } + + [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.OKIBRowChanged != null)) { + this.OKIBRowChanged(this, new OKIBRowChangeEvent(((OKIBRow)(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.OKIBRowChanging != null)) { + this.OKIBRowChanging(this, new OKIBRowChangeEvent(((OKIBRow)(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.OKIBRowDeleted != null)) { + this.OKIBRowDeleted(this, new OKIBRowChangeEvent(((OKIBRow)(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.OKIBRowDeleting != null)) { + this.OKIBRowDeleting(this, new OKIBRowChangeEvent(((OKIBRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveOKIBRow(OKIBRow 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_App ds = new DS_App(); + 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 = "OKIBDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class OKIB_BinDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnBinID; + + private global::System.Data.DataColumn columnCartID; + + private global::System.Data.DataColumn columnBinIndex; + + private global::System.Data.DataColumn columnBinDtmx; + + private global::System.Data.DataColumn columnBinDtmxProc; + + private global::System.Data.DataColumn columnPaintDate; + + private global::System.Data.DataColumn columnBinKitStart; + + private global::System.Data.DataColumn columnBinKitEnd; + + private global::System.Data.DataColumn columnNumItems; + + private global::System.Data.DataColumn columnNumPicked; + + private global::System.Data.DataColumn columnItemExtCode; + + private global::System.Data.DataColumn columnItemDesc; + + private global::System.Data.DataColumn columnOnCartDate; + + private global::System.Data.DataColumn columnOrdID; + + private global::System.Data.DataColumn columnOrderExtCode; + + private global::System.Data.DataColumn columnKitQty; + + private global::System.Data.DataColumn columnBatchID; + + private global::System.Data.DataColumn columnCartDtmx; + + private global::System.Data.DataColumn columnCartIndex; + + private global::System.Data.DataColumn columnCartKitStart; + + private global::System.Data.DataColumn columnCartKitEnd; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIB_BinDataTable() { + this.TableName = "OKIB_Bin"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal OKIB_BinDataTable(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 OKIB_BinDataTable(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 BinIDColumn { + get { + return this.columnBinID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartIDColumn { + get { + return this.columnCartID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinIndexColumn { + get { + return this.columnBinIndex; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinDtmxColumn { + get { + return this.columnBinDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinDtmxProcColumn { + get { + return this.columnBinDtmxProc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PaintDateColumn { + get { + return this.columnPaintDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinKitStartColumn { + get { + return this.columnBinKitStart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinKitEndColumn { + get { + return this.columnBinKitEnd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn NumItemsColumn { + get { + return this.columnNumItems; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn NumPickedColumn { + get { + return this.columnNumPicked; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemExtCodeColumn { + get { + return this.columnItemExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemDescColumn { + get { + return this.columnItemDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OnCartDateColumn { + get { + return this.columnOnCartDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrdIDColumn { + get { + return this.columnOrdID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrderExtCodeColumn { + get { + return this.columnOrderExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn KitQtyColumn { + get { + return this.columnKitQty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BatchIDColumn { + get { + return this.columnBatchID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartDtmxColumn { + get { + return this.columnCartDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartIndexColumn { + get { + return this.columnCartIndex; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartKitStartColumn { + get { + return this.columnCartKitStart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartKitEndColumn { + get { + return this.columnCartKitEnd; + } + } + + [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 OKIB_BinRow this[int index] { + get { + return ((OKIB_BinRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIB_BinRowChangeEventHandler OKIB_BinRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIB_BinRowChangeEventHandler OKIB_BinRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIB_BinRowChangeEventHandler OKIB_BinRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event OKIB_BinRowChangeEventHandler OKIB_BinRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddOKIB_BinRow(OKIB_BinRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIB_BinRow AddOKIB_BinRow( + int BinID, + int CartID, + int BinIndex, + string BinDtmx, + string BinDtmxProc, + System.DateTime PaintDate, + System.DateTime BinKitStart, + System.DateTime BinKitEnd, + int NumItems, + int NumPicked, + string ItemExtCode, + string ItemDesc, + System.DateTime OnCartDate, + int OrdID, + string OrderExtCode, + int KitQty, + int BatchID, + string CartDtmx, + int CartIndex, + System.DateTime CartKitStart, + System.DateTime CartKitEnd) { + OKIB_BinRow rowOKIB_BinRow = ((OKIB_BinRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + BinID, + CartID, + BinIndex, + BinDtmx, + BinDtmxProc, + PaintDate, + BinKitStart, + BinKitEnd, + NumItems, + NumPicked, + ItemExtCode, + ItemDesc, + OnCartDate, + OrdID, + OrderExtCode, + KitQty, + BatchID, + CartDtmx, + CartIndex, + CartKitStart, + CartKitEnd}; + rowOKIB_BinRow.ItemArray = columnValuesArray; + this.Rows.Add(rowOKIB_BinRow); + return rowOKIB_BinRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIB_BinRow FindByBinIDCartID(int BinID, int CartID) { + return ((OKIB_BinRow)(this.Rows.Find(new object[] { + BinID, + CartID}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + OKIB_BinDataTable cln = ((OKIB_BinDataTable)(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 OKIB_BinDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnBinID = base.Columns["BinID"]; + this.columnCartID = base.Columns["CartID"]; + this.columnBinIndex = base.Columns["BinIndex"]; + this.columnBinDtmx = base.Columns["BinDtmx"]; + this.columnBinDtmxProc = base.Columns["BinDtmxProc"]; + this.columnPaintDate = base.Columns["PaintDate"]; + this.columnBinKitStart = base.Columns["BinKitStart"]; + this.columnBinKitEnd = base.Columns["BinKitEnd"]; + this.columnNumItems = base.Columns["NumItems"]; + this.columnNumPicked = base.Columns["NumPicked"]; + this.columnItemExtCode = base.Columns["ItemExtCode"]; + this.columnItemDesc = base.Columns["ItemDesc"]; + this.columnOnCartDate = base.Columns["OnCartDate"]; + this.columnOrdID = base.Columns["OrdID"]; + this.columnOrderExtCode = base.Columns["OrderExtCode"]; + this.columnKitQty = base.Columns["KitQty"]; + this.columnBatchID = base.Columns["BatchID"]; + this.columnCartDtmx = base.Columns["CartDtmx"]; + this.columnCartIndex = base.Columns["CartIndex"]; + this.columnCartKitStart = base.Columns["CartKitStart"]; + this.columnCartKitEnd = base.Columns["CartKitEnd"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnBinID = new global::System.Data.DataColumn("BinID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinID); + this.columnCartID = new global::System.Data.DataColumn("CartID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartID); + this.columnBinIndex = new global::System.Data.DataColumn("BinIndex", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinIndex); + this.columnBinDtmx = new global::System.Data.DataColumn("BinDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinDtmx); + this.columnBinDtmxProc = new global::System.Data.DataColumn("BinDtmxProc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinDtmxProc); + this.columnPaintDate = new global::System.Data.DataColumn("PaintDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPaintDate); + this.columnBinKitStart = new global::System.Data.DataColumn("BinKitStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinKitStart); + this.columnBinKitEnd = new global::System.Data.DataColumn("BinKitEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinKitEnd); + this.columnNumItems = new global::System.Data.DataColumn("NumItems", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumItems); + this.columnNumPicked = new global::System.Data.DataColumn("NumPicked", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumPicked); + this.columnItemExtCode = new global::System.Data.DataColumn("ItemExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemExtCode); + this.columnItemDesc = new global::System.Data.DataColumn("ItemDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDesc); + this.columnOnCartDate = new global::System.Data.DataColumn("OnCartDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOnCartDate); + this.columnOrdID = new global::System.Data.DataColumn("OrdID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrdID); + this.columnOrderExtCode = new global::System.Data.DataColumn("OrderExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrderExtCode); + this.columnKitQty = new global::System.Data.DataColumn("KitQty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKitQty); + this.columnBatchID = new global::System.Data.DataColumn("BatchID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBatchID); + this.columnCartDtmx = new global::System.Data.DataColumn("CartDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartDtmx); + this.columnCartIndex = new global::System.Data.DataColumn("CartIndex", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartIndex); + this.columnCartKitStart = new global::System.Data.DataColumn("CartKitStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartKitStart); + this.columnCartKitEnd = new global::System.Data.DataColumn("CartKitEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartKitEnd); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnBinID, + this.columnCartID}, true)); + this.columnBinID.AllowDBNull = false; + this.columnCartID.AllowDBNull = false; + this.columnBinIndex.AllowDBNull = false; + this.columnBinDtmx.ReadOnly = true; + this.columnBinDtmx.MaxLength = 10; + this.columnBinDtmxProc.ReadOnly = true; + this.columnBinDtmxProc.MaxLength = 10; + this.columnItemExtCode.AllowDBNull = false; + this.columnItemExtCode.MaxLength = 250; + this.columnItemDesc.AllowDBNull = false; + this.columnItemDesc.MaxLength = 500; + this.columnOrdID.AllowDBNull = false; + this.columnOrderExtCode.AllowDBNull = false; + this.columnOrderExtCode.MaxLength = 250; + this.columnKitQty.AllowDBNull = false; + this.columnBatchID.AllowDBNull = false; + this.columnCartDtmx.ReadOnly = true; + this.columnCartDtmx.MaxLength = 10; + this.columnCartIndex.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public OKIB_BinRow NewOKIB_BinRow() { + return ((OKIB_BinRow)(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 OKIB_BinRow(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(OKIB_BinRow); + } + + [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.OKIB_BinRowChanged != null)) { + this.OKIB_BinRowChanged(this, new OKIB_BinRowChangeEvent(((OKIB_BinRow)(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.OKIB_BinRowChanging != null)) { + this.OKIB_BinRowChanging(this, new OKIB_BinRowChangeEvent(((OKIB_BinRow)(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.OKIB_BinRowDeleted != null)) { + this.OKIB_BinRowDeleted(this, new OKIB_BinRowChangeEvent(((OKIB_BinRow)(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.OKIB_BinRowDeleting != null)) { + this.OKIB_BinRowDeleting(this, new OKIB_BinRowChangeEvent(((OKIB_BinRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveOKIB_BinRow(OKIB_BinRow 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_App ds = new DS_App(); + 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 = "OKIB_BinDataTable"; + 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. /// @@ -18454,6 +19780,921 @@ namespace AppData { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class OKIBRow : global::System.Data.DataRow { + + private OKIBDataTable tableOKIB; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal OKIBRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableOKIB = ((OKIBDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int ItemID { + get { + return ((int)(this[this.tableOKIB.ItemIDColumn])); + } + set { + this[this.tableOKIB.ItemIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemDtmx { + get { + try { + return ((string)(this[this.tableOKIB.ItemDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'ItemDtmx\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.ItemDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemExtCode { + get { + return ((string)(this[this.tableOKIB.ItemExtCodeColumn])); + } + set { + this[this.tableOKIB.ItemExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemDesc { + get { + return ((string)(this[this.tableOKIB.ItemDescColumn])); + } + set { + this[this.tableOKIB.ItemDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int StatusID { + get { + return ((int)(this[this.tableOKIB.StatusIDColumn])); + } + set { + this[this.tableOKIB.StatusIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MatID { + get { + return ((int)(this[this.tableOKIB.MatIDColumn])); + } + set { + this[this.tableOKIB.MatIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PostProcList { + get { + return ((string)(this[this.tableOKIB.PostProcListColumn])); + } + set { + this[this.tableOKIB.PostProcListColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ProcessesReq { + get { + return ((string)(this[this.tableOKIB.ProcessesReqColumn])); + } + set { + this[this.tableOKIB.ProcessesReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime OnCartDate { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB.OnCartDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'OnCartDate\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.OnCartDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OrdID { + get { + return ((int)(this[this.tableOKIB.OrdIDColumn])); + } + set { + this[this.tableOKIB.OrdIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OrderExtCode { + get { + return ((string)(this[this.tableOKIB.OrderExtCodeColumn])); + } + set { + this[this.tableOKIB.OrderExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int KitQty { + get { + return ((int)(this[this.tableOKIB.KitQtyColumn])); + } + set { + this[this.tableOKIB.KitQtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int KitID { + get { + return ((int)(this[this.tableOKIB.KitIDColumn])); + } + set { + this[this.tableOKIB.KitIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BatchID { + get { + return ((int)(this[this.tableOKIB.BatchIDColumn])); + } + set { + this[this.tableOKIB.BatchIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int CartID { + get { + return ((int)(this[this.tableOKIB.CartIDColumn])); + } + set { + this[this.tableOKIB.CartIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CartDtmx { + get { + try { + return ((string)(this[this.tableOKIB.CartDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartDtmx\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.CartDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int CartIndex { + get { + return ((int)(this[this.tableOKIB.CartIndexColumn])); + } + set { + this[this.tableOKIB.CartIndexColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime CartKitStart { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB.CartKitStartColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartKitStart\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.CartKitStartColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime CartKitEnd { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB.CartKitEndColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartKitEnd\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.CartKitEndColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string KitExtCode { + get { + return ((string)(this[this.tableOKIB.KitExtCodeColumn])); + } + set { + this[this.tableOKIB.KitExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BinID { + get { + return ((int)(this[this.tableOKIB.BinIDColumn])); + } + set { + this[this.tableOKIB.BinIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BinIndex { + get { + return ((int)(this[this.tableOKIB.BinIndexColumn])); + } + set { + this[this.tableOKIB.BinIndexColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string BinDtmx { + get { + try { + return ((string)(this[this.tableOKIB.BinDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinDtmx\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.BinDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string BinDtmxProc { + get { + try { + return ((string)(this[this.tableOKIB.BinDtmxProcColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinDtmxProc\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.BinDtmxProcColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime PaintDate { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB.PaintDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'PaintDate\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.PaintDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime BinKitStart { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB.BinKitStartColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinKitStart\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.BinKitStartColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime BinKitEnd { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB.BinKitEndColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinKitEnd\' nella tabella \'OKIB\' è DBNull.", e); + } + } + set { + this[this.tableOKIB.BinKitEndColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsItemDtmxNull() { + return this.IsNull(this.tableOKIB.ItemDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetItemDtmxNull() { + this[this.tableOKIB.ItemDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOnCartDateNull() { + return this.IsNull(this.tableOKIB.OnCartDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOnCartDateNull() { + this[this.tableOKIB.OnCartDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartDtmxNull() { + return this.IsNull(this.tableOKIB.CartDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartDtmxNull() { + this[this.tableOKIB.CartDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartKitStartNull() { + return this.IsNull(this.tableOKIB.CartKitStartColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartKitStartNull() { + this[this.tableOKIB.CartKitStartColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartKitEndNull() { + return this.IsNull(this.tableOKIB.CartKitEndColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartKitEndNull() { + this[this.tableOKIB.CartKitEndColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinDtmxNull() { + return this.IsNull(this.tableOKIB.BinDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinDtmxNull() { + this[this.tableOKIB.BinDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinDtmxProcNull() { + return this.IsNull(this.tableOKIB.BinDtmxProcColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinDtmxProcNull() { + this[this.tableOKIB.BinDtmxProcColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPaintDateNull() { + return this.IsNull(this.tableOKIB.PaintDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPaintDateNull() { + this[this.tableOKIB.PaintDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinKitStartNull() { + return this.IsNull(this.tableOKIB.BinKitStartColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinKitStartNull() { + this[this.tableOKIB.BinKitStartColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinKitEndNull() { + return this.IsNull(this.tableOKIB.BinKitEndColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinKitEndNull() { + this[this.tableOKIB.BinKitEndColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class OKIB_BinRow : global::System.Data.DataRow { + + private OKIB_BinDataTable tableOKIB_Bin; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal OKIB_BinRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableOKIB_Bin = ((OKIB_BinDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BinID { + get { + return ((int)(this[this.tableOKIB_Bin.BinIDColumn])); + } + set { + this[this.tableOKIB_Bin.BinIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int CartID { + get { + return ((int)(this[this.tableOKIB_Bin.CartIDColumn])); + } + set { + this[this.tableOKIB_Bin.CartIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BinIndex { + get { + return ((int)(this[this.tableOKIB_Bin.BinIndexColumn])); + } + set { + this[this.tableOKIB_Bin.BinIndexColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string BinDtmx { + get { + try { + return ((string)(this[this.tableOKIB_Bin.BinDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinDtmx\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.BinDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string BinDtmxProc { + get { + try { + return ((string)(this[this.tableOKIB_Bin.BinDtmxProcColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinDtmxProc\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.BinDtmxProcColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime PaintDate { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB_Bin.PaintDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'PaintDate\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.PaintDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime BinKitStart { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB_Bin.BinKitStartColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinKitStart\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.BinKitStartColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime BinKitEnd { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB_Bin.BinKitEndColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinKitEnd\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.BinKitEndColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int NumItems { + get { + try { + return ((int)(this[this.tableOKIB_Bin.NumItemsColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumItems\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.NumItemsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int NumPicked { + get { + try { + return ((int)(this[this.tableOKIB_Bin.NumPickedColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumPicked\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.NumPickedColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemExtCode { + get { + return ((string)(this[this.tableOKIB_Bin.ItemExtCodeColumn])); + } + set { + this[this.tableOKIB_Bin.ItemExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemDesc { + get { + return ((string)(this[this.tableOKIB_Bin.ItemDescColumn])); + } + set { + this[this.tableOKIB_Bin.ItemDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime OnCartDate { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB_Bin.OnCartDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'OnCartDate\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.OnCartDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OrdID { + get { + return ((int)(this[this.tableOKIB_Bin.OrdIDColumn])); + } + set { + this[this.tableOKIB_Bin.OrdIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OrderExtCode { + get { + return ((string)(this[this.tableOKIB_Bin.OrderExtCodeColumn])); + } + set { + this[this.tableOKIB_Bin.OrderExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int KitQty { + get { + return ((int)(this[this.tableOKIB_Bin.KitQtyColumn])); + } + set { + this[this.tableOKIB_Bin.KitQtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BatchID { + get { + return ((int)(this[this.tableOKIB_Bin.BatchIDColumn])); + } + set { + this[this.tableOKIB_Bin.BatchIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CartDtmx { + get { + try { + return ((string)(this[this.tableOKIB_Bin.CartDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartDtmx\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.CartDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int CartIndex { + get { + return ((int)(this[this.tableOKIB_Bin.CartIndexColumn])); + } + set { + this[this.tableOKIB_Bin.CartIndexColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime CartKitStart { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB_Bin.CartKitStartColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartKitStart\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.CartKitStartColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime CartKitEnd { + get { + try { + return ((global::System.DateTime)(this[this.tableOKIB_Bin.CartKitEndColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartKitEnd\' nella tabella \'OKIB_Bin\' è DBNull.", e); + } + } + set { + this[this.tableOKIB_Bin.CartKitEndColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinDtmxNull() { + return this.IsNull(this.tableOKIB_Bin.BinDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinDtmxNull() { + this[this.tableOKIB_Bin.BinDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinDtmxProcNull() { + return this.IsNull(this.tableOKIB_Bin.BinDtmxProcColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinDtmxProcNull() { + this[this.tableOKIB_Bin.BinDtmxProcColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPaintDateNull() { + return this.IsNull(this.tableOKIB_Bin.PaintDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPaintDateNull() { + this[this.tableOKIB_Bin.PaintDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinKitStartNull() { + return this.IsNull(this.tableOKIB_Bin.BinKitStartColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinKitStartNull() { + this[this.tableOKIB_Bin.BinKitStartColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinKitEndNull() { + return this.IsNull(this.tableOKIB_Bin.BinKitEndColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinKitEndNull() { + this[this.tableOKIB_Bin.BinKitEndColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsNumItemsNull() { + return this.IsNull(this.tableOKIB_Bin.NumItemsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetNumItemsNull() { + this[this.tableOKIB_Bin.NumItemsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsNumPickedNull() { + return this.IsNull(this.tableOKIB_Bin.NumPickedColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetNumPickedNull() { + this[this.tableOKIB_Bin.NumPickedColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOnCartDateNull() { + return this.IsNull(this.tableOKIB_Bin.OnCartDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOnCartDateNull() { + this[this.tableOKIB_Bin.OnCartDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartDtmxNull() { + return this.IsNull(this.tableOKIB_Bin.CartDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartDtmxNull() { + this[this.tableOKIB_Bin.CartDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartKitStartNull() { + return this.IsNull(this.tableOKIB_Bin.CartKitStartColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartKitStartNull() { + this[this.tableOKIB_Bin.CartKitStartColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartKitEndNull() { + return this.IsNull(this.tableOKIB_Bin.CartKitEndColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartKitEndNull() { + this[this.tableOKIB_Bin.CartKitEndColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -19473,6 +21714,74 @@ namespace AppData { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class OKIBRowChangeEvent : global::System.EventArgs { + + private OKIBRow 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 OKIBRowChangeEvent(OKIBRow 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 OKIBRow 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; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class OKIB_BinRowChangeEvent : global::System.EventArgs { + + private OKIB_BinRow 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 OKIB_BinRowChangeEvent(OKIB_BinRow 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 OKIB_BinRow 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_AppTableAdapters { @@ -24123,7 +26432,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat [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[7]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT * FROM v_BinDetail"; @@ -24163,11 +26472,19 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BinIndex", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[6].Connection = this.Connection; - this._commandCollection[6].CommandText = "dbo.stp_BIN_updatePainted"; + this._commandCollection[6].CommandText = "dbo.stp_BIN_updateKitting"; this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BinID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaintDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecStart", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecEnd", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_BIN_updatePainted"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BinID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PaintDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -24301,7 +26618,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat [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, false)] - public virtual DS_App.BinsDataTable updatePainted(global::System.Nullable Original_BinID, global::System.Nullable PaintDate) { + public virtual DS_App.BinsDataTable updateKitting(global::System.Nullable Original_BinID, global::System.Nullable RecStart, global::System.Nullable RecEnd) { this.Adapter.SelectCommand = this.CommandCollection[6]; if ((Original_BinID.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_BinID.Value)); @@ -24309,6 +26626,35 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } + if ((RecStart.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(RecStart.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((RecEnd.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(RecEnd.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_App.BinsDataTable dataTable = new DS_App.BinsDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [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, false)] + public virtual DS_App.BinsDataTable updatePainted(global::System.Nullable Original_BinID, global::System.Nullable PaintDate) { + this.Adapter.SelectCommand = this.CommandCollection[7]; + if ((Original_BinID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_BinID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } if ((PaintDate.HasValue == true)) { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(PaintDate.Value)); } @@ -30376,6 +32722,432 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W } } + /// + ///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 OKIBTableAdapter : 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 OKIBTableAdapter() { + 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 = "OKIB"; + tableMapping.ColumnMappings.Add("ItemID", "ItemID"); + tableMapping.ColumnMappings.Add("ItemDtmx", "ItemDtmx"); + tableMapping.ColumnMappings.Add("ItemExtCode", "ItemExtCode"); + tableMapping.ColumnMappings.Add("ItemDesc", "ItemDesc"); + tableMapping.ColumnMappings.Add("StatusID", "StatusID"); + tableMapping.ColumnMappings.Add("MatID", "MatID"); + tableMapping.ColumnMappings.Add("PostProcList", "PostProcList"); + tableMapping.ColumnMappings.Add("ProcessesReq", "ProcessesReq"); + tableMapping.ColumnMappings.Add("OnCartDate", "OnCartDate"); + tableMapping.ColumnMappings.Add("OrdID", "OrdID"); + tableMapping.ColumnMappings.Add("OrderExtCode", "OrderExtCode"); + tableMapping.ColumnMappings.Add("KitQty", "KitQty"); + tableMapping.ColumnMappings.Add("KitID", "KitID"); + tableMapping.ColumnMappings.Add("BatchID", "BatchID"); + tableMapping.ColumnMappings.Add("CartID", "CartID"); + tableMapping.ColumnMappings.Add("CartDtmx", "CartDtmx"); + tableMapping.ColumnMappings.Add("CartIndex", "CartIndex"); + tableMapping.ColumnMappings.Add("CartKitStart", "CartKitStart"); + tableMapping.ColumnMappings.Add("CartKitEnd", "CartKitEnd"); + tableMapping.ColumnMappings.Add("KitExtCode", "KitExtCode"); + tableMapping.ColumnMappings.Add("BinID", "BinID"); + tableMapping.ColumnMappings.Add("BinIndex", "BinIndex"); + tableMapping.ColumnMappings.Add("BinDtmx", "BinDtmx"); + tableMapping.ColumnMappings.Add("BinDtmxProc", "BinDtmxProc"); + tableMapping.ColumnMappings.Add("PaintDate", "PaintDate"); + tableMapping.ColumnMappings.Add("BinKitStart", "BinKitStart"); + tableMapping.ColumnMappings.Add("BinKitEnd", "BinKitEnd"); + 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[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_OKIB"; + 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_OKIB_getByBinDtmxProc"; + 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("@BinDtmxProc", global::System.Data.SqlDbType.NVarChar, 50, 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_App.OKIBDataTable 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", "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_App.OKIBDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_App.OKIBDataTable dataTable = new DS_App.OKIBDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [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, false)] + public virtual DS_App.OKIBDataTable getByBinDtmxProc(string BinDtmxProc) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((BinDtmxProc == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(BinDtmxProc)); + } + DS_App.OKIBDataTable dataTable = new DS_App.OKIBDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 OKIB_BinTableAdapter : 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 OKIB_BinTableAdapter() { + 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 = "OKIB_Bin"; + tableMapping.ColumnMappings.Add("BinID", "BinID"); + tableMapping.ColumnMappings.Add("CartID", "CartID"); + tableMapping.ColumnMappings.Add("BinIndex", "BinIndex"); + tableMapping.ColumnMappings.Add("BinDtmx", "BinDtmx"); + tableMapping.ColumnMappings.Add("BinDtmxProc", "BinDtmxProc"); + tableMapping.ColumnMappings.Add("PaintDate", "PaintDate"); + tableMapping.ColumnMappings.Add("BinKitStart", "BinKitStart"); + tableMapping.ColumnMappings.Add("BinKitEnd", "BinKitEnd"); + tableMapping.ColumnMappings.Add("NumItems", "NumItems"); + tableMapping.ColumnMappings.Add("NumPicked", "NumPicked"); + tableMapping.ColumnMappings.Add("ItemExtCode", "ItemExtCode"); + tableMapping.ColumnMappings.Add("ItemDesc", "ItemDesc"); + tableMapping.ColumnMappings.Add("OnCartDate", "OnCartDate"); + tableMapping.ColumnMappings.Add("OrdID", "OrdID"); + tableMapping.ColumnMappings.Add("OrderExtCode", "OrderExtCode"); + tableMapping.ColumnMappings.Add("KitQty", "KitQty"); + tableMapping.ColumnMappings.Add("BatchID", "BatchID"); + tableMapping.ColumnMappings.Add("CartDtmx", "CartDtmx"); + tableMapping.ColumnMappings.Add("CartIndex", "CartIndex"); + tableMapping.ColumnMappings.Add("CartKitStart", "CartKitStart"); + tableMapping.ColumnMappings.Add("CartKitEnd", "CartKitEnd"); + 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[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "select * from v_OKIB_BinSum"; + 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_OKIB_Bin_getByBinDtmxProc"; + 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("@BinDtmxProc", global::System.Data.SqlDbType.NVarChar, 50, 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_App.OKIB_BinDataTable 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", "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_App.OKIB_BinDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_App.OKIB_BinDataTable dataTable = new DS_App.OKIB_BinDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [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, false)] + public virtual DS_App.OKIB_BinDataTable getByBinDtmxProc(string BinDtmxProc) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((BinDtmxProc == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(BinDtmxProc)); + } + DS_App.OKIB_BinDataTable dataTable = new DS_App.OKIB_BinDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -30777,15 +33549,6 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(updatedRows); } } - if ((this._materialsTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Materials.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._materialsTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._kitListTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.KitList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -30795,6 +33558,15 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(updatedRows); } } + if ((this._materialsTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Materials.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._materialsTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._finalKitTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.FinalKit.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -30831,15 +33603,6 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(updatedRows); } } - if ((this._binListTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.BinList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._binListTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._countersTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Counters.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -30858,6 +33621,15 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(updatedRows); } } + if ((this._binListTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.BinList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._binListTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._nestingTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Nesting.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -30912,14 +33684,6 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allAddedRows.AddRange(addedRows); } } - if ((this._materialsTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Materials.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._materialsTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._kitListTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.KitList.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -30928,6 +33692,14 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allAddedRows.AddRange(addedRows); } } + if ((this._materialsTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Materials.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._materialsTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._finalKitTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.FinalKit.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -30960,14 +33732,6 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allAddedRows.AddRange(addedRows); } } - if ((this._binListTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.BinList.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._binListTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._countersTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Counters.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -30984,6 +33748,14 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allAddedRows.AddRange(addedRows); } } + if ((this._binListTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.BinList.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._binListTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._nestingTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Nesting.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -31058,6 +33830,14 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(deletedRows); } } + if ((this._binListTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.BinList.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._binListTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._order2FinalKitTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.Order2FinalKit.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -31074,14 +33854,6 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(deletedRows); } } - if ((this._binListTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.BinList.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._binListTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._itemValidationTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.ItemValidation.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -31114,14 +33886,6 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(deletedRows); } } - if ((this._kitListTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.KitList.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._kitListTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._materialsTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.Materials.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -31130,6 +33894,14 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W allChangedRows.AddRange(deletedRows); } } + if ((this._kitListTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.KitList.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._kitListTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._orderListTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.OrderList.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd index 9180040..d22c487 100644 --- a/AppData/DS_App.xsd +++ b/AppData/DS_App.xsd @@ -1252,6 +1252,19 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat + + + + dbo.stp_BIN_updateKitting + + + + + + + + + @@ -2354,7 +2367,7 @@ FROM v_CartKitDetail - + dbo.stp_PL_DeleteAll @@ -2365,7 +2378,7 @@ FROM v_CartKitDetail - + dbo.stp_PL_fixSched @@ -2405,7 +2418,7 @@ FROM v_CartKitDetail - + dbo.stp_PL_updateSchedPrior @@ -2626,6 +2639,109 @@ FROM v_PackListDet + + + + + + SELECT * +FROM v_OKIB + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_OKIB_getByBinDtmxProc + + + + + + + + + + + + + + + select * from v_OKIB_BinSum + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_OKIB_Bin_getByBinDtmxProc + + + + + + + + + @@ -2634,7 +2750,7 @@ FROM v_PackListDet - + @@ -2684,7 +2800,7 @@ FROM v_PackListDet - + @@ -2709,7 +2825,7 @@ FROM v_PackListDet - + @@ -2764,7 +2880,7 @@ FROM v_PackListDet - + @@ -2837,7 +2953,7 @@ FROM v_PackListDet - + @@ -2845,7 +2961,7 @@ FROM v_PackListDet - + @@ -2914,7 +3030,7 @@ FROM v_PackListDet - + @@ -2947,7 +3063,7 @@ FROM v_PackListDet - + @@ -2988,7 +3104,7 @@ FROM v_PackListDet - + @@ -3007,7 +3123,7 @@ FROM v_PackListDet - + @@ -3031,7 +3147,7 @@ FROM v_PackListDet - + @@ -3039,7 +3155,7 @@ FROM v_PackListDet - + @@ -3056,7 +3172,7 @@ FROM v_PackListDet - + @@ -3065,7 +3181,7 @@ FROM v_PackListDet - + @@ -3096,7 +3212,7 @@ FROM v_PackListDet - + @@ -3104,7 +3220,7 @@ FROM v_PackListDet - + @@ -3120,7 +3236,7 @@ FROM v_PackListDet - + @@ -3128,7 +3244,7 @@ FROM v_PackListDet - + @@ -3156,7 +3272,7 @@ FROM v_PackListDet - + @@ -3192,7 +3308,7 @@ FROM v_PackListDet - + @@ -3208,7 +3324,7 @@ FROM v_PackListDet - + @@ -3218,7 +3334,7 @@ FROM v_PackListDet - + @@ -3235,7 +3351,7 @@ FROM v_PackListDet - + @@ -3248,7 +3364,7 @@ FROM v_PackListDet - + @@ -3298,7 +3414,7 @@ FROM v_PackListDet - + @@ -3326,7 +3442,7 @@ FROM v_PackListDet - + @@ -3368,7 +3484,7 @@ FROM v_PackListDet - + @@ -3477,7 +3593,7 @@ FROM v_PackListDet - + @@ -3540,7 +3656,7 @@ FROM v_PackListDet - + @@ -3585,7 +3701,7 @@ FROM v_PackListDet - + @@ -3612,6 +3728,162 @@ FROM v_PackListDet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3729,21 +4001,30 @@ FROM v_PackListDet + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss index 2dabdcc..11736ef 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,41 +4,43 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 352 @@ -50,7 +52,7 @@ - + 1197 @@ -62,7 +64,7 @@ - + 1054 @@ -74,7 +76,7 @@ - + 788 @@ -86,7 +88,7 @@ - + 986 @@ -98,7 +100,7 @@ - + 699 @@ -110,7 +112,7 @@ - + 550 @@ -122,7 +124,7 @@ - + 1129 @@ -134,7 +136,7 @@ - + 1380 @@ -146,7 +148,7 @@ - + 1161 @@ -158,7 +160,7 @@ - + 131 @@ -170,7 +172,7 @@ - + 352 diff --git a/AppData/DataLayer.cs b/AppData/DataLayer.cs index 1499ce9..c7bde5a 100644 --- a/AppData/DataLayer.cs +++ b/AppData/DataLayer.cs @@ -23,6 +23,8 @@ namespace AppData public DS_AppTableAdapters.NestingTableAdapter taNest; public DS_AppTableAdapters.OfflineOrderListTableAdapter taOffOL; public DS_AppTableAdapters.OffOrd2ItemTableAdapter taOO2I; + public DS_AppTableAdapters.OKIBTableAdapter taOKIB; + public DS_AppTableAdapters.OKIB_BinTableAdapter taOKIB_Bin; public DS_AppTableAdapters.OrderListTableAdapter taOL; public DS_AppTableAdapters.OtherItemTableAdapter taOtItem; public DS_AppTableAdapters.PackListTableAdapter taPL; @@ -63,6 +65,8 @@ namespace AppData taNest.Connection.ConnectionString = connString; taOffOL.Connection.ConnectionString = connString; taOO2I.Connection.ConnectionString = connString; + taOKIB.Connection.ConnectionString = connString; + taOKIB_Bin.Connection.ConnectionString = connString; taOL.Connection.ConnectionString = connString; taOtItem.Connection.ConnectionString = connString; taPL.Connection.ConnectionString = connString; @@ -95,6 +99,8 @@ namespace AppData taNest = new DS_AppTableAdapters.NestingTableAdapter(); taOffOL = new DS_AppTableAdapters.OfflineOrderListTableAdapter(); taOO2I = new DS_AppTableAdapters.OffOrd2ItemTableAdapter(); + taOKIB = new DS_AppTableAdapters.OKIBTableAdapter(); + taOKIB_Bin = new DS_AppTableAdapters.OKIB_BinTableAdapter(); taOL = new DS_AppTableAdapters.OrderListTableAdapter(); taOtItem = new DS_AppTableAdapters.OtherItemTableAdapter(); taPL = new DS_AppTableAdapters.PackListTableAdapter(); diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index b501f35..d88411d 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -398,6 +398,12 @@ + + + + + + @@ -950,6 +956,48 @@ cmp_kittingSmart.ascx + + cmp_KS_BinCart.ascx + ASPXCodeBehind + + + cmp_KS_BinCart.ascx + + + cmp_KS_currBin.ascx + ASPXCodeBehind + + + cmp_KS_currBin.ascx + + + cmp_KS_currCart.ascx + ASPXCodeBehind + + + cmp_KS_currCart.ascx + + + cmp_KS_OkibBin.ascx + ASPXCodeBehind + + + cmp_KS_OkibBin.ascx + + + cmp_KS_OkibCart.ascx + ASPXCodeBehind + + + cmp_KS_OkibCart.ascx + + + cmp_KS_OtherCart.ascx + ASPXCodeBehind + + + cmp_KS_OtherCart.ascx + cmp_login.ascx ASPXCodeBehind diff --git a/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx b/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx new file mode 100644 index 0000000..5b2f0ac --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx @@ -0,0 +1,35 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_BinCart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_BinCart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_currBin.ascx" TagPrefix="uc1" TagName="cmp_KS_currBin" %> +<%@ Register Src="~/WebUserControls/cmp_KS_currCart.ascx" TagPrefix="uc1" TagName="cmp_KS_currCart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_OkibBin.ascx" TagPrefix="uc1" TagName="cmp_KS_OkibBin" %> +<%@ Register Src="~/WebUserControls/cmp_KS_OkibCart.ascx" TagPrefix="uc1" TagName="cmp_KS_OkibCart" %> + + + +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
diff --git a/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx.cs new file mode 100644 index 0000000..d8605bd --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx.cs @@ -0,0 +1,97 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_BinCart : BaseUserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + fixVisibility(); + } + } + + private void fixVisibility() + { + // controllo visualizazione in base ai dati presenti + bool binOk= BinID > 0; + bool cartOk = CartID > 0; + cmp_KS_currBin.Visible = binOk; + cmp_KS_OkibBin.Visible = binOk; + cmp_KS_currCart.Visible = cartOk; + cmp_KS_OkibCart.Visible = cartOk; + lbtAddAll.Visible = binOk && cartOk; + lbtAddOne.Visible = binOk && cartOk; + } + + public void doUpdate() + { + fixVisibility(); + } + + /// + /// Cart selezionato + /// + public int CartID + { + get + { + return cmp_KS_currCart.CurrId; + } + set + { + cmp_KS_currCart.CurrId = value; + } + } + /// + /// Matrix Cart selezionato + /// + public string CartDtmx + { + get + { + return cmp_KS_currCart.Dtmx; + } + set + { + cmp_KS_currCart.Dtmx = value; + //cmp_KS_OkibCart.BPDtmx = value; + } + } + /// + /// Bin selezionato + /// + public int BinID + { + get + { + return cmp_KS_currBin.CurrId; + } + set + { + cmp_KS_currBin.CurrId = value; + } + } + /// + /// Matrix Bin selezionato + /// + public string BinDtmx + { + get + { + return cmp_KS_currBin.Dtmx; + } + set + { + cmp_KS_currBin.Dtmx = value; + cmp_KS_OkibBin.Dtmx = value; + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx.designer.cs new file mode 100644 index 0000000..8058239 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_BinCart.ascx.designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_BinCart + { + + /// + /// Controllo cmp_KS_currBin. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_currBin cmp_KS_currBin; + + /// + /// Controllo lbtAddOne. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtAddOne; + + /// + /// Controllo lbtAddAll. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtAddAll; + + /// + /// Controllo cmp_KS_currCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_currCart cmp_KS_currCart; + + /// + /// Controllo cmp_KS_OkibBin. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_OkibBin cmp_KS_OkibBin; + + /// + /// Controllo cmp_KS_OkibCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_OkibCart cmp_KS_OkibCart; + } +} diff --git a/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx b/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx new file mode 100644 index 0000000..e51c966 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx @@ -0,0 +1,38 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_OkibBin.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_OkibBin" %> + + + + +
+ + +
+ +
+
+ + +
+
+ +
+
+ Picked: + +
+
+ Total: + +
+
+
+
+ <%----%> +
+
+ + + + + + diff --git a/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx.cs new file mode 100644 index 0000000..1cef392 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_OkibBin : BaseUserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + public string Dtmx + { + get + { + return hfDtmx.Value; + } + set + { + hfDtmx.Value = value.Trim(); + grView.DataBind(); + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx.designer.cs new file mode 100644 index 0000000..b44bc1e --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OkibBin.ascx.designer.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_OkibBin + { + + /// + /// Controllo grView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo hfDtmx. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfDtmx; + } +} diff --git a/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx b/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx new file mode 100644 index 0000000..e6a789e --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx @@ -0,0 +1,3 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_OkibCart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_OkibCart" %> + +TAB riassunto x CART \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx.cs new file mode 100644 index 0000000..dd9d00f --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_OkibCart : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx.designer.cs new file mode 100644 index 0000000..e6baaa2 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OkibCart.ascx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_OkibCart + { + } +} diff --git a/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx b/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx new file mode 100644 index 0000000..d6e5f85 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx @@ -0,0 +1 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_OtherCart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_OtherCart" %> diff --git a/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx.cs new file mode 100644 index 0000000..dd32c6e --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_OtherCart : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx.designer.cs new file mode 100644 index 0000000..c38d3f1 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_OtherCart.ascx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_OtherCart + { + } +} diff --git a/NKC_WF/WebUserControls/cmp_KS_currBin.ascx b/NKC_WF/WebUserControls/cmp_KS_currBin.ascx new file mode 100644 index 0000000..9f2f5b7 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_currBin.ascx @@ -0,0 +1,7 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_currBin.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_currBin" %> + +
+
BIN
+ + +
diff --git a/NKC_WF/WebUserControls/cmp_KS_currBin.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_currBin.ascx.cs new file mode 100644 index 0000000..0b42fd0 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_currBin.ascx.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_currBin : BaseUserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + public int CurrId + { + get + { + int answ = 0; + int.TryParse(hfValue.Value, out answ); + return answ; + } + set + { + hfValue.Value = value.ToString(); + } + } + public string Dtmx + { + get + { + return lblDtmx.Text; + } + set + { + lblDtmx.Text = value; + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_currBin.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_currBin.ascx.designer.cs new file mode 100644 index 0000000..3fc8fe4 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_currBin.ascx.designer.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_currBin + { + + /// + /// Controllo hfValue. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfValue; + + /// + /// Controllo lblDtmx. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblDtmx; + } +} diff --git a/NKC_WF/WebUserControls/cmp_KS_currCart.ascx b/NKC_WF/WebUserControls/cmp_KS_currCart.ascx new file mode 100644 index 0000000..94145b7 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_currCart.ascx @@ -0,0 +1,7 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_currCart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_currCart" %> + +
+
CART
+ + +
diff --git a/NKC_WF/WebUserControls/cmp_KS_currCart.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_currCart.ascx.cs new file mode 100644 index 0000000..a43b8a8 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_currCart.ascx.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_currCart : BaseUserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + public int CurrId + { + get + { + int answ = 0; + int.TryParse(hfValue.Value, out answ); + return answ; + } + set + { + hfValue.Value = value.ToString(); + } + } + public string Dtmx + { + get + { + return lblDtmx.Text; + } + set + { + lblDtmx.Text = value; + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_currCart.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_currCart.ascx.designer.cs new file mode 100644 index 0000000..d0391f2 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_currCart.ascx.designer.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_currCart + { + + /// + /// Controllo hfValue. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfValue; + + /// + /// Controllo lblDtmx. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblDtmx; + } +} diff --git a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx index 2f61419..37b7033 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx +++ b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx @@ -1,77 +1,67 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kittingSmart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kittingSmart" %> <%@ Register Src="~/WebUserControls/cmp_barcode.ascx" TagPrefix="uc1" TagName="cmp_barcode" %> +<%@ Register Src="~/WebUserControls/cmp_KS_BinCart.ascx" TagPrefix="uc1" TagName="cmp_KS_BinCart" %>
- - - -
-

<%: traduci("KittingSmart") %>

-
-
-
- - - - - - - -
-
-
- -
-
- - -
-
- -
-
- -
+ + + +
+

<%: traduci("KittingSmart") %>

+
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+
+ + +
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+ <%: traduci("cancel") %> +
+
+ +
+
+ +
+
+ <%: traduci("scrapped") %> + <%: traduci("toPark") %> +
+
+ <%: traduci("ResetSel") %> +
-
-
-
- -
-
-
- -
-
-
CART
-
-
-
BIN
-
-
-
SEC OP
-
-
-
-
- <%: traduci("cancel") %> -
-
- -
-
- -
-
- <%: traduci("scrapped") %> - <%: traduci("toPark") %> -
-
- <%: traduci("ResetSel") %> -
-
-
-
\ No newline at end of file +
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs index 10ecee6..e7ba19f 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs @@ -2,6 +2,8 @@ using NKC_SDK; using SteamWare; using System; +using System.Data; +using System.Linq; namespace NKC_WF.WebUserControls { @@ -87,17 +89,6 @@ namespace NKC_WF.WebUserControls return answ; } } - protected string secOp - { - get - { - return hfSecOp.Value; - } - set - { - hfSecOp.Value = value; - } - } /// /// Aggiorna dati correnti (IP, batch, sheet...) /// @@ -214,7 +205,7 @@ namespace NKC_WF.WebUserControls cmp_barcode.inputAcquired = ""; // aggiorno... doUpdate(); - if(doRaiseEv) + if (doRaiseEv) { raiseEvent(); } @@ -234,15 +225,15 @@ namespace NKC_WF.WebUserControls break; case codeType.Item: cmp_barcode.showOutput("badge badge-success", $"Valid IT Code: {decoData.rawData}"); - processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + //processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); break; case codeType.ItemGeneric: cmp_barcode.showOutput("badge badge-success", $"Valid IG Code: {decoData.rawData}"); - processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + //processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); break; case codeType.OtherItem: cmp_barcode.showOutput("badge badge-success", $"Valid Generic PART Code: {decoData.rawData}"); - processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + //processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); break; case codeType.Material: cmp_barcode.showOutput("badge badge-warning", $"Material - ignored: {decoData.description}"); @@ -266,7 +257,11 @@ namespace NKC_WF.WebUserControls doRaiseEv = true; break; case codeType.Bin: - cmp_barcode.showOutput("badge badge-success", $"Valid BN Code: {decoData.description}"); + cmp_barcode.showOutput("badge badge-warning", $"BIN NOT PAINTED - Ignored: {decoData.description}"); + doRaiseEv = true; + break; + case codeType.BinProcessed: + cmp_barcode.showOutput("badge badge-success", $"Valid BP Code: {decoData.description}"); processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); break; default: @@ -291,50 +286,13 @@ namespace NKC_WF.WebUserControls // processo suggerimenti x ITEM / cart / bin dato suo RawData (Dtmx) e Cod univoco (intero) switch (tipoCod) { - case codeType.OtherItem: - lastObject = ""; - var tabOtherItem = DataLayer.man.taOtItem.getByKey(codeInt); - if (tabOtherItem.Count == 1) - { - showOtherItemDetail(true, tabOtherItem[0], false); - } - break; - case codeType.Item: - lastObject = ""; - tabItem = DataLayer.man.taIL.getBySearch(codeInt, rawData, 0, 999); - if (tabItem.Count == 1) - { - showItemDetail(true, tabItem[0], false); - } - else if (tabItem.Count == 0) - { - showItemDetail(false, null, true); - } - break; - case codeType.ItemGeneric: - lastObject = ""; - // PRIMA CERCSE ne ho in stato 1..3 - tabItem = DataLayer.man.taIL.getBySearch(0, rawData, 1, 3); - if (tabItem.Count == 0) - { - // se NON ne trovo cerci FINO a stato 5... - tabItem = DataLayer.man.taIL.getBySearch(0, rawData, 1, 5); - } - if (tabItem.Count == 1) - { - showItemDetail(true, tabItem[0], false); - } - else if (tabItem.Count == 0) - { - showItemDetail(false, null, true); - } - break; case codeType.Cart: // primo step: verifico dal codice CART l'ordine da cui deriva... var tabOrdini = DataLayer.man.taOL.getByCart(rawData); if (tabOrdini.Count == 0) { displError($"CART: Order not found for Cart {rawData}, please retry", true); + resetCart(); } else { @@ -345,9 +303,14 @@ namespace NKC_WF.WebUserControls if (tabPLD.Count == 0) { displError($"KIT REQuest: PackList not found for Cart {rawData} --> OrdExtCode {rigaOrd.OrderExtCode}, please retry", true); + resetCart(); } else { + // mostro CART! + cmp_KS_BinCart.CartID = codeInt; + cmp_KS_BinCart.CartDtmx = rawData; + cmp_KS_BinCart.doUpdate(); // verifico se il cart sia già stato messo in scarico (in quel caso dico già ok...) var tabLog = DataLayer.man.taPLog.getByCartId(codeInt); if (tabLog.Count > 0) @@ -362,6 +325,7 @@ namespace NKC_WF.WebUserControls if (tabPLCheck.Count == 0) { displError($"ERROR evaluating CART: {rawData}", true); + resetCart(); } else { @@ -386,62 +350,90 @@ namespace NKC_WF.WebUserControls else { displError($"ERROR CART contains KIT already on download: {rawData}", true); + resetCart(); } } } } } - -#if false - - // verifico NON SIA richiesto PAINT - if (showBin) - { - displError("PAINT: BIN REQUESTED: please retry", true); - } - else - { - if (currCartTab.Count == 1) - { - // controllo se sia quello corretto - if (rawData != currCartTab[0].CartDtmx) - { - displError("INCORRECT CART: please retry", true); - } - else - { - // dichiaro che è depositato - DataLayer.man.taIL.updateStatus(itemIdSelected, 3, PlaceId); - lblDestination.Text = $"Item {itemIdSelected} PUT IN CART {rawData}"; - resetSelection(false); - } - } - } -#endif break; - case codeType.Bin: - lastObject = ""; - // verifico NON SIA richiesto PAINT - if (showCart) + case codeType.BinProcessed: + // recupero la tab OKIB x iniziare a controllare i dati... + var tabOKIB = DataLayer.man.taOKIB.getByBinDtmxProc(rawData); + // PRIMO: verifico SE ho delle righe valide... + if (tabOKIB.Count == 0) { - displError("NOT PAINTED: CART REQUESTED: please retry", true); + displError($"BIN: Code not found {rawData}, please retry", true); + resetBin(); } else { - if (currBinTab.Count == 1) + var listPainted = tabOKIB.Where(x => !x.IsPaintDateNull()).ToList(); + if (listPainted.Count == 0) { - // controllo se sia quello corretto - if (rawData != currBinTab[0].BinDtmx) + displError($"BIN: Paint Date missing for item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}, please retry", true); + resetBin(); + } + else + { + var listAvailable = tabOKIB.Where(x => !x.IsPaintDateNull() && x.IsOnCartDateNull()).ToList(); + if (listAvailable.Count == 0) { - displError("INCORRECT BIN: please retry", true); + displError($"BIN: No item available for pickup on target CART for code {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}, please retry", true); + resetBin(); } else { - // dichiaro che è depositato - DataLayer.man.taIL.updateStatus(itemIdSelected, 4, PlaceId); - lblDestination.Text = $"Item {itemIdSelected} PUT IN BIN {rawData}"; - resetSelection(false); + // verifico SE ci sia ALMENO UN CART in postazione (iniziato KIT ma NON finito)... + var listCartAvailable = tabOKIB.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull()).ToList(); + if (listCartAvailable.Count == 0) + { + displError($"BIN: No CART available to proceed: {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}", true); + resetBin(); + } + else + { + // mostro BIN! + cmp_KS_BinCart.BinID = codeInt; + cmp_KS_BinCart.BinDtmx = rawData; + cmp_KS_BinCart.doUpdate(); + + + // verifico se il Bin sia già stato messo in scarico (in quel caso dico già ok...) + var listBinAcquired = tabOKIB.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull() && !x.IsBinKitStartNull()).ToList(); + if (listBinAcquired.Count > 0) + { + // verifico se sia GIA' stato completato KIT... + var listBinNotCompleted = tabOKIB.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull() && !x.IsBinKitStartNull() && x.IsBinKitEndNull()).ToList(); + if(listBinNotCompleted.Count == 0) + { + displError($"BIN: already completed: {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}", true); + resetBin(); + } + else + { + displError($"OK BIN: already acquired! {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}", true); + } + } + else + { + // processing... + if (lastObject == rawData) + { + // seconda lettura x indicare in scarico + DataLayer.man.taBN.updateKitting(codeInt, true, false); + } + else + { + // chiedo seconda lettura + lastObject = rawData; + displError($"Please read BIN another time: BIN {rawData}", true); + // reset preliminare + resetBin(); + } + } + } } } } @@ -454,6 +446,19 @@ namespace NKC_WF.WebUserControls } + + private void resetBin() + { + cmp_KS_BinCart.BinID = 0; + cmp_KS_BinCart.doUpdate(); + } + + private void resetCart() + { + cmp_KS_BinCart.CartID = 0; + cmp_KS_BinCart.doUpdate(); + } + /// /// Mostra errore ed effettua reset vari... /// @@ -526,8 +531,6 @@ namespace NKC_WF.WebUserControls // verifico cosa devo mostrare come PROX passaggio... showCart = string.IsNullOrEmpty(itemRow.ProcessesReq); showBin = (itemRow.ProcessesReq.Contains("PaintFlag")); - secOp = itemRow.PostProcList; - showSecOp = (!string.IsNullOrEmpty(secOp)); doUpdate(); break; case 3: @@ -665,18 +668,10 @@ namespace NKC_WF.WebUserControls private void doUpdate() { // reset grafico - icnCart.Attributes.Remove("class"); - icnCart.Attributes.Add("class", "btn btn-sm btn-block btn-outline-secondary"); - icnBin.Attributes.Remove("class"); - icnBin.Attributes.Add("class", "btn btn-sm btn-block btn-outline-secondary"); - icnSecOp.Attributes.Remove("class"); - icnSecOp.Attributes.Add("class", "btn btn-sm btn-block btn-outline-secondary"); // in base al secondo mostro uno o altro... if (showCart) { - icnCart.Attributes.Remove("class"); - icnCart.Attributes.Add("class", "btn btn-sm btn-block btn-success"); lblMessage.Text = "Item recognized"; // controllo SE HO cart if (currCartTab.Count == 1) @@ -693,8 +688,6 @@ namespace NKC_WF.WebUserControls } else if (showBin) { - icnBin.Attributes.Remove("class"); - icnBin.Attributes.Add("class", "btn btn-sm btn-block btn-primary"); lblMessage.Text = "Item recognized"; if (currBinTab.Count == 1) { @@ -709,10 +702,7 @@ namespace NKC_WF.WebUserControls } if (showSecOp) { - icnSecOp.Attributes.Remove("class"); - icnSecOp.Attributes.Add("class", "btn btn-sm btn-block btn-info"); lblMessage.Text = "Item recognized"; - lblLastBCode.Text = $"DO SEC OP: {secOp}"; lblLastBCode.CssClass = "text-info"; } // fix btn reset! diff --git a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.designer.cs index bead678..a1b7068 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.designer.cs @@ -104,6 +104,15 @@ namespace NKC_WF.WebUserControls /// protected global::System.Web.UI.WebControls.HiddenField hfShowSecOp; + /// + /// Controllo cmp_KS_BinCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_BinCart cmp_KS_BinCart; + /// /// Controllo divItemDet. /// @@ -167,42 +176,6 @@ namespace NKC_WF.WebUserControls /// protected global::System.Web.UI.WebControls.Label lblErrorMsg; - /// - /// Controllo hfSecOp. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.HiddenField hfSecOp; - - /// - /// Controllo icnCart. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.HtmlControls.HtmlGenericControl icnCart; - - /// - /// Controllo icnBin. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.HtmlControls.HtmlGenericControl icnBin; - - /// - /// Controllo icnSecOp. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.HtmlControls.HtmlGenericControl icnSecOp; - /// /// Controllo lbtCancel. /// diff --git a/NKC_WF/site/KittingSmart.aspx b/NKC_WF/site/KittingSmart.aspx index fd7e80e..be60006 100644 --- a/NKC_WF/site/KittingSmart.aspx +++ b/NKC_WF/site/KittingSmart.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="KittingSmart.aspx.cs" Inherits="NKC_WF.site.KittingSmart" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="KittingSmart.aspx.cs" Inherits="NKC_WF.site.KittingSmart" %> <%@ Register Src="~/WebUserControls/cmp_kittingSmart.ascx" TagPrefix="uc1" TagName="cmp_kittingSmart" %> <%@ Register Src="~/WebUserControls/cmp_kitRunning.ascx" TagPrefix="uc1" TagName="cmp_kitRunning" %> diff --git a/NKC_WF/site/KittingSmart.aspx.cs b/NKC_WF/site/KittingSmart.aspx.cs index 15df822..7e97e22 100644 --- a/NKC_WF/site/KittingSmart.aspx.cs +++ b/NKC_WF/site/KittingSmart.aspx.cs @@ -10,7 +10,7 @@ namespace NKC_WF.site { if (!Page.IsPostBack) { - ((SiteMaster)this.Master).showSearch = false; + ((SiteContent)this.Master).showSearch = false; doUpdate(); } cmp_kittingSmart.eh_doRefresh += cmp_kittingSmart_eh_doRefresh;