....
This commit is contained in:
		| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | |||||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||||
| // 지정되도록 할 수 있습니다. | // 지정되도록 할 수 있습니다. | ||||||
| // [assembly: AssemblyVersion("1.0.*")] | // [assembly: AssemblyVersion("1.0.*")] | ||||||
| [assembly: AssemblyVersion("22.07.20.1130")] | [assembly: AssemblyVersion("22.07.22.0830")] | ||||||
| [assembly: AssemblyFileVersion("22.07.20.1130")] | [assembly: AssemblyFileVersion("22.07.22.0830")] | ||||||
|   | |||||||
							
								
								
									
										42
									
								
								Project/fMain.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										42
									
								
								Project/fMain.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -125,8 +125,8 @@ | |||||||
| 			this.메일자동발신테스트ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | 			this.메일자동발신테스트ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| 			this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); | 			this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
| 			this.아이템비활성화하기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | 			this.아이템비활성화하기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| 			this.설명서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |  | ||||||
| 			this.버젼확인ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | 			this.버젼확인ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  | 			this.설명서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| 			this.tabControl1 = new System.Windows.Forms.TabControl(); | 			this.tabControl1 = new System.Windows.Forms.TabControl(); | ||||||
| 			this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | 			this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | ||||||
| 			this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); | 			this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| @@ -134,6 +134,7 @@ | |||||||
| 			this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); | 			this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| 			this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | 			this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||||
| 			this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | 			this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||||
|  | 			this.sPR설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| 			this.cmTab.SuspendLayout(); | 			this.cmTab.SuspendLayout(); | ||||||
| 			this.statusStrip1.SuspendLayout(); | 			this.statusStrip1.SuspendLayout(); | ||||||
| 			this.menuStrip1.SuspendLayout(); | 			this.menuStrip1.SuspendLayout(); | ||||||
| @@ -256,14 +257,14 @@ | |||||||
| 			//  | 			//  | ||||||
| 			this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image"))); | 			this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image"))); | ||||||
| 			this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; | 			this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; | ||||||
| 			this.codesToolStripMenuItem.Size = new System.Drawing.Size(153, 24); | 			this.codesToolStripMenuItem.Size = new System.Drawing.Size(180, 24); | ||||||
| 			this.codesToolStripMenuItem.Text = "공용코드"; | 			this.codesToolStripMenuItem.Text = "공용코드"; | ||||||
| 			this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); | 			this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
| 			// itemsToolStripMenuItem | 			// itemsToolStripMenuItem | ||||||
| 			//  | 			//  | ||||||
| 			this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; | 			this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; | ||||||
| 			this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24); | 			this.itemsToolStripMenuItem.Size = new System.Drawing.Size(180, 24); | ||||||
| 			this.itemsToolStripMenuItem.Text = "품목정보"; | 			this.itemsToolStripMenuItem.Text = "품목정보"; | ||||||
| 			this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); | 			this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
| @@ -274,7 +275,7 @@ | |||||||
|             this.myAccouserToolStripMenuItem, |             this.myAccouserToolStripMenuItem, | ||||||
|             this.권한설정ToolStripMenuItem}); |             this.권한설정ToolStripMenuItem}); | ||||||
| 			this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; | 			this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; | ||||||
| 			this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24); | 			this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(180, 24); | ||||||
| 			this.userInfoToolStripMenuItem.Text = "사용자"; | 			this.userInfoToolStripMenuItem.Text = "사용자"; | ||||||
| 			//  | 			//  | ||||||
| 			// userAccountToolStripMenuItem | 			// userAccountToolStripMenuItem | ||||||
| @@ -301,14 +302,14 @@ | |||||||
| 			// customerToolStripMenuItem | 			// customerToolStripMenuItem | ||||||
| 			//  | 			//  | ||||||
| 			this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; | 			this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; | ||||||
| 			this.customerToolStripMenuItem.Size = new System.Drawing.Size(153, 24); | 			this.customerToolStripMenuItem.Size = new System.Drawing.Size(180, 24); | ||||||
| 			this.customerToolStripMenuItem.Text = "업체정보"; | 			this.customerToolStripMenuItem.Text = "업체정보"; | ||||||
| 			this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); | 			this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
| 			// mn_kuntae | 			// mn_kuntae | ||||||
| 			//  | 			//  | ||||||
| 			this.mn_kuntae.Name = "mn_kuntae"; | 			this.mn_kuntae.Name = "mn_kuntae"; | ||||||
| 			this.mn_kuntae.Size = new System.Drawing.Size(153, 24); | 			this.mn_kuntae.Size = new System.Drawing.Size(180, 24); | ||||||
| 			this.mn_kuntae.Text = "월별 근무표"; | 			this.mn_kuntae.Text = "월별 근무표"; | ||||||
| 			this.mn_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); | 			this.mn_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
| @@ -316,7 +317,7 @@ | |||||||
| 			//  | 			//  | ||||||
| 			this.메일양식ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image"))); | 			this.메일양식ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image"))); | ||||||
| 			this.메일양식ToolStripMenuItem.Name = "메일양식ToolStripMenuItem"; | 			this.메일양식ToolStripMenuItem.Name = "메일양식ToolStripMenuItem"; | ||||||
| 			this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(153, 24); | 			this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); | ||||||
| 			this.메일양식ToolStripMenuItem.Text = "메일 양식"; | 			this.메일양식ToolStripMenuItem.Text = "메일 양식"; | ||||||
| 			this.메일양식ToolStripMenuItem.Click += new System.EventHandler(this.메일양식ToolStripMenuItem_Click); | 			this.메일양식ToolStripMenuItem.Click += new System.EventHandler(this.메일양식ToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
| @@ -775,7 +776,8 @@ | |||||||
|             this.accessDBToolStripMenuItem, |             this.accessDBToolStripMenuItem, | ||||||
|             this.메일자동발신테스트ToolStripMenuItem, |             this.메일자동발신테스트ToolStripMenuItem, | ||||||
|             this.toolStripMenuItem5, |             this.toolStripMenuItem5, | ||||||
|             this.아이템비활성화하기ToolStripMenuItem}); |             this.아이템비활성화하기ToolStripMenuItem, | ||||||
|  |             this.sPR설정ToolStripMenuItem}); | ||||||
| 			this.btDev.ForeColor = System.Drawing.Color.Blue; | 			this.btDev.ForeColor = System.Drawing.Color.Blue; | ||||||
| 			this.btDev.Image = ((System.Drawing.Image)(resources.GetObject("btDev.Image"))); | 			this.btDev.Image = ((System.Drawing.Image)(resources.GetObject("btDev.Image"))); | ||||||
| 			this.btDev.Name = "btDev"; | 			this.btDev.Name = "btDev"; | ||||||
| @@ -917,14 +919,6 @@ | |||||||
| 			this.아이템비활성화하기ToolStripMenuItem.Text = "아이템 비활성화하기"; | 			this.아이템비활성화하기ToolStripMenuItem.Text = "아이템 비활성화하기"; | ||||||
| 			this.아이템비활성화하기ToolStripMenuItem.Click += new System.EventHandler(this.아이템비활성화하기ToolStripMenuItem_Click); | 			this.아이템비활성화하기ToolStripMenuItem.Click += new System.EventHandler(this.아이템비활성화하기ToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
| 			// 설명서ToolStripMenuItem |  | ||||||
| 			//  |  | ||||||
| 			this.설명서ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("설명서ToolStripMenuItem.Image"))); |  | ||||||
| 			this.설명서ToolStripMenuItem.Name = "설명서ToolStripMenuItem"; |  | ||||||
| 			this.설명서ToolStripMenuItem.Size = new System.Drawing.Size(79, 23); |  | ||||||
| 			this.설명서ToolStripMenuItem.Text = "설명서"; |  | ||||||
| 			this.설명서ToolStripMenuItem.Click += new System.EventHandler(this.설명서ToolStripMenuItem_Click); |  | ||||||
| 			//  |  | ||||||
| 			// 버젼확인ToolStripMenuItem | 			// 버젼확인ToolStripMenuItem | ||||||
| 			//  | 			//  | ||||||
| 			this.버젼확인ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("버젼확인ToolStripMenuItem.Image"))); | 			this.버젼확인ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("버젼확인ToolStripMenuItem.Image"))); | ||||||
| @@ -933,6 +927,14 @@ | |||||||
| 			this.버젼확인ToolStripMenuItem.Text = "버젼확인"; | 			this.버젼확인ToolStripMenuItem.Text = "버젼확인"; | ||||||
| 			this.버젼확인ToolStripMenuItem.Click += new System.EventHandler(this.버젼확인ToolStripMenuItem_Click); | 			this.버젼확인ToolStripMenuItem.Click += new System.EventHandler(this.버젼확인ToolStripMenuItem_Click); | ||||||
| 			//  | 			//  | ||||||
|  | 			// 설명서ToolStripMenuItem | ||||||
|  | 			//  | ||||||
|  | 			this.설명서ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("설명서ToolStripMenuItem.Image"))); | ||||||
|  | 			this.설명서ToolStripMenuItem.Name = "설명서ToolStripMenuItem"; | ||||||
|  | 			this.설명서ToolStripMenuItem.Size = new System.Drawing.Size(79, 23); | ||||||
|  | 			this.설명서ToolStripMenuItem.Text = "설명서"; | ||||||
|  | 			this.설명서ToolStripMenuItem.Click += new System.EventHandler(this.설명서ToolStripMenuItem_Click); | ||||||
|  | 			//  | ||||||
| 			// tabControl1 | 			// tabControl1 | ||||||
| 			//  | 			//  | ||||||
| 			this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; | 			this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; | ||||||
| @@ -1016,6 +1018,13 @@ | |||||||
| 			this.toolStripButton2.Text = "품목정보"; | 			this.toolStripButton2.Text = "품목정보"; | ||||||
| 			this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); | 			this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); | ||||||
| 			//  | 			//  | ||||||
|  | 			// sPR설정ToolStripMenuItem | ||||||
|  | 			//  | ||||||
|  | 			this.sPR설정ToolStripMenuItem.Name = "sPR설정ToolStripMenuItem"; | ||||||
|  | 			this.sPR설정ToolStripMenuItem.Size = new System.Drawing.Size(278, 24); | ||||||
|  | 			this.sPR설정ToolStripMenuItem.Text = "SPR 설정"; | ||||||
|  | 			this.sPR설정ToolStripMenuItem.Click += new System.EventHandler(this.sPR설정ToolStripMenuItem_Click); | ||||||
|  | 			//  | ||||||
| 			// fMain | 			// fMain | ||||||
| 			//  | 			//  | ||||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
| @@ -1152,6 +1161,7 @@ | |||||||
| 		private System.Windows.Forms.ToolStripMenuItem 버젼확인ToolStripMenuItem; | 		private System.Windows.Forms.ToolStripMenuItem 버젼확인ToolStripMenuItem; | ||||||
| 		private System.Windows.Forms.ToolStripSeparator toolStripMenuItem11; | 		private System.Windows.Forms.ToolStripSeparator toolStripMenuItem11; | ||||||
| 		private System.Windows.Forms.ToolStripMenuItem 근태마감ToolStripMenuItem; | 		private System.Windows.Forms.ToolStripMenuItem 근태마감ToolStripMenuItem; | ||||||
|  | 		private System.Windows.Forms.ToolStripMenuItem sPR설정ToolStripMenuItem; | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1129,7 +1129,8 @@ namespace Project | |||||||
| 						"서버 : " + MaxVerstion + "\n" + | 						"서버 : " + MaxVerstion + "\n" + | ||||||
| 					   "현재 : " + curversion); | 					   "현재 : " + curversion); | ||||||
| 				} | 				} | ||||||
| 			} else Util.MsgE("버젼 확인 불가"); | 			} | ||||||
|  | 			else Util.MsgE("버젼 확인 불가"); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		private void 근태마감ToolStripMenuItem_Click(object sender, EventArgs e) | 		private void 근태마감ToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
| @@ -1168,5 +1169,37 @@ namespace Project | |||||||
| 			Application.Exit(); | 			Application.Exit(); | ||||||
| 			//this.Close(); | 			//this.Close(); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|  | 		private void sPR설정ToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  | 		{ | ||||||
|  | 			var lines = Clipboard.GetText().Replace("\r", "").Split('\n'); | ||||||
|  | 			List<string> items = new List<string>(); | ||||||
|  | 			foreach (var lin in lines) | ||||||
|  | 			{ | ||||||
|  | 				if (string.IsNullOrEmpty(lin)) continue; | ||||||
|  | 				if (lin.Length == 9) items.Add(lin.Trim()); | ||||||
|  | 			} | ||||||
|  |  | ||||||
|  | 			var dlg = FCOMMON.Util.MsgQ($"{lines.Length} 건의 자료를 SPR로 설정할까요?"); | ||||||
|  | 			if (dlg != DialogResult.Yes) return; | ||||||
|  |  | ||||||
|  | 			var cn = FCOMMON.DBM.getCn(); | ||||||
|  | 			cn.Open(); | ||||||
|  | 			var cmd = new System.Data.SqlClient.SqlCommand("", cn); | ||||||
|  | 			var cnt = 0; | ||||||
|  | 			foreach (var item in items) | ||||||
|  | 			{ | ||||||
|  | 				var sql = $"update Items set Storage = 'SPR' where gcode = '{FCOMMON.info.Login.gcode}' and sid='{item}'"; | ||||||
|  | 				cmd.CommandText = sql; | ||||||
|  | 				cnt += cmd.ExecuteNonQuery(); | ||||||
|  | 				if (cnt % 25 == 0) | ||||||
|  | 				{ | ||||||
|  | 					this.Text = $"{cnt}/{items.Count}"; | ||||||
|  | 					Application.DoEvents(); | ||||||
|  | 				} | ||||||
|  | 			} | ||||||
|  | 			cn.Close(); | ||||||
|  | 			FCOMMON.Util.MsgI($"{cnt}건의 자료가 변경 되었습니다"); | ||||||
|  | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|   | |||||||
| @@ -153,83 +153,6 @@ | |||||||
|         Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA |         Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA | ||||||
|         kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV |         kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV | ||||||
|         Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw== |         Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw== | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="commonToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQfAP/umP/eN//kV//riOuzSuujJ+usOuu3VuvKgf/0uf/yq+ucF//bJf/pfOvOiO/O |  | ||||||
|         fP/52//ZGP/UAP/haf/ma//hR//ncevDceu8YP39/OuuQP/rp//pdP/nZf///////yH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIkAA/CByYwUOGgQgTfvDgwINChQw9IHD4UGBEABAuUETo |  | ||||||
|         oaNEDxg1erTo4IGDiQAGNFCA4QABAg4jdkxpoYOABAkUGKD4UaUFARUCMLCwk6NGCkADRKBQNKEHDB6E |  | ||||||
|         RpDQlCNUoRYkSJhQYKPFAyqZThjbleMBDxw07CxQYMKGBRs9vNTQcaGHBXjjjuS4t2LFgAA7 |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="managementToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA |  | ||||||
|         AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4 |  | ||||||
|         QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl |  | ||||||
|         OoWKdGiDBgEBADs= |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="mn_docu.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh |  | ||||||
|         e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI |  | ||||||
|         oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui |  | ||||||
|         ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC |  | ||||||
|         Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs= |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="기타ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt |  | ||||||
|         Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ |  | ||||||
|         8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW |  | ||||||
|         GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R |  | ||||||
|         v3gHemD5QK4HtBMSEyRplOTBgAA7 |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="즐겨찾기ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIMPAEWi6azap1WzS9LusYrSbApexXLHV+z41vH559Ltw8ns+pe75hBs0iCZEP////// |  | ||||||
|         /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAEAAQAAAIiwAfCBxIsKDBBw4SOjg4MGGDBgwY |  | ||||||
|         JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP |  | ||||||
|         jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA |  | ||||||
|         Ow== |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="btDev.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQfAKxoR8VkLxFw1feVPITSWv+eQv7Qo0Cc6OyIN/v7+3PLTSCZEFy17Wa6XuT1x2bG |  | ||||||
|         Q3nNUU6vRXPAa9mLXMTkwJZEHJt7LL5aJ/z8/O2KONx3L/ubP/r6+rtVI////////yH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpgA/CBxIsOBADBgEeljoweAHDB06eIi4QICAhRwOdjAQ |  | ||||||
|         kaMDCgwELOiQ8WGHAQYMFIjIgMEBCBEzQkSwoUCBCR0OSGigIKZJDQM2cKxwoAGBBx0ykISoIcOGiAcO |  | ||||||
|         EFCAVCkHphueAtgaIYKFpks7NM0qFIDFCxk0kPyQQCzZiB0CbLAqsO1YslnTrq0r9m4GvSUHcoioobDa |  | ||||||
|         vQU5DIar2KFgxYEHBgQAOw== |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="버젼확인ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1c |  | ||||||
|         hEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqgA/CPzgoaBBDwMTEoQgoGGDBhAQKvSQAcOCBQUcaHwg |  | ||||||
|         USBFDARCEqhQgYEEjh47gKxwweAFBAgkREDooYMCAhs8XGCAwMOEmB1o2qywYSdMnxMABCVocwMDngUP |  | ||||||
|         GLAAYCZTBTARHPAgdWpVoQV+TrBgoGwCA1+ZOkgwduuBBAk4pCWogUBcDnjxAgjQkS4BAAMCD9jrgcJE |  | ||||||
|         DQ8eBAjwYKZhhQQPFoRMuXJAADs= |  | ||||||
| </value> |  | ||||||
|   </data> |  | ||||||
|   <data name="설명서ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |  | ||||||
|     <value> |  | ||||||
|         R0lGODlhEAAQAIQAAP/99v/qaOvOSem4M+zSSv/ypf/ug//1w//2zP/xnv/te//zrf/0uv/41/nWdufB |  | ||||||
|         MP/vkevTVf/rcv/0s//wlv/57OvRM//vi+/OQtaXIuuYEuvTLNyhJ+vHUP///////yH/C05FVFNDQVBF |  | ||||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsCBBDwgTKizogUCEhwQIYLBgYYOHgR4cKPQA |  | ||||||
|         oMEBBAgsfsjoAQGDCQsKJEhAAcKBChYQajyZkiWECwYMAHiAkAAAlCop4FRA9ABPDxgqABVqQIGEpxQG |  | ||||||
|         IMTQoCaEphICaFXAAaEABCmZZtUawECGi0gRHGigloFWCgzOYhRAt0OHASg1yD24cUAFDRcNMhwAWLBB |  | ||||||
|         D4UNMwz8ISAAOw== |  | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="codesToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="codesToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
| @@ -250,6 +173,15 @@ | |||||||
|         gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi |         gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi | ||||||
|         SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG |         SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG | ||||||
|         CyQdKlaIsLHjggEBADs= |         CyQdKlaIsLHjggEBADs= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="commonToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAP/umP/eN//kV//riOuzSuujJ+usOuu3VuvKgf/0uf/yq+ucF//bJf/pfOvOiO/O | ||||||
|  |         fP/52//ZGP/UAP/haf/ma//hR//ncevDceu8YP39/OuuQP/rp//pdP/nZf///////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIkAA/CByYwUOGgQgTfvDgwINChQw9IHD4UGBEABAuUETo | ||||||
|  |         oaNEDxg1erTo4IGDiQAGNFCA4QABAg4jdkxpoYOABAkUGKD4UaUFARUCMLCwk6NGCkADRKBQNKEHDB6E | ||||||
|  |         RpDQlCNUoRYkSJhQYKPFAyqZThjbleMBDxw07CxQYMKGBRs9vNTQcaGHBXjjjuS4t2LFgAA7 | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="mn_purchase.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="mn_purchase.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
| @@ -365,6 +297,74 @@ | |||||||
|         h58L4755nzwWACmRSEixWEynl0gQtXWDq9efcWesTLPb7RZmkg1AikQiUigU0uklEoREZl63mEkW430F |         h58L4755nzwWACmRSEixWEynl0gQtXWDq9efcWesTLPb7RZmkg1AikQiUigU0uklEoREZl63mEkW430F | ||||||
|         g0EHv2mdHpgsyzvNJMvHQ/n9fofX69XJ7HK5bGaSrfBQPNXBzU92nQFgfwCJli/+LKS33wAAAABJRU5E |         g0EHv2mdHpgsyzvNJMvHQ/n9fofX69XJ7HK5bGaSrfBQPNXBzU92nQFgfwCJli/+LKS33wAAAABJRU5E | ||||||
|         rkJggg== |         rkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="managementToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA | ||||||
|  |         AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4 | ||||||
|  |         QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl | ||||||
|  |         OoWKdGiDBgEBADs= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="mn_docu.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh | ||||||
|  |         e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI | ||||||
|  |         oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui | ||||||
|  |         ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC | ||||||
|  |         Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="기타ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt | ||||||
|  |         Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ | ||||||
|  |         8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW | ||||||
|  |         GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R | ||||||
|  |         v3gHemD5QK4HtBMSEyRplOTBgAA7 | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="즐겨찾기ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIMPAEWi6azap1WzS9LusYrSbApexXLHV+z41vH559Ltw8ns+pe75hBs0iCZEP////// | ||||||
|  |         /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAEAAQAAAIiwAfCBxIsKDBBw4SOjg4MGGDBgwY | ||||||
|  |         JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP | ||||||
|  |         jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA | ||||||
|  |         Ow== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="btDev.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAKxoR8VkLxFw1feVPITSWv+eQv7Qo0Cc6OyIN/v7+3PLTSCZEFy17Wa6XuT1x2bG | ||||||
|  |         Q3nNUU6vRXPAa9mLXMTkwJZEHJt7LL5aJ/z8/O2KONx3L/ubP/r6+rtVI////////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpgA/CBxIsOBADBgEeljoweAHDB06eIi4QICAhRwOdjAQ | ||||||
|  |         kaMDCgwELOiQ8WGHAQYMFIjIgMEBCBEzQkSwoUCBCR0OSGigIKZJDQM2cKxwoAGBBx0ykISoIcOGiAcO | ||||||
|  |         EFCAVCkHphueAtgaIYKFpks7NM0qFIDFCxk0kPyQQCzZiB0CbLAqsO1YslnTrq0r9m4GvSUHcoioobDa | ||||||
|  |         vQU5DIar2KFgxYEHBgQAOw== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="버젼확인ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1c | ||||||
|  |         hEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqgA/CPzgoaBBDwMTEoQgoGGDBhAQKvSQAcOCBQUcaHwg | ||||||
|  |         USBFDARCEqhQgYEEjh47gKxwweAFBAgkREDooYMCAhs8XGCAwMOEmB1o2qywYSdMnxMABCVocwMDngUP | ||||||
|  |         GLAAYCZTBTARHPAgdWpVoQV+TrBgoGwCA1+ZOkgwduuBBAk4pCWogUBcDnjxAgjQkS4BAAMCD9jrgcJE | ||||||
|  |         DQ8eBAjwYKZhhQQPFoRMuXJAADs= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="설명서ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQAAP/99v/qaOvOSem4M+zSSv/ypf/ug//1w//2zP/xnv/te//zrf/0uv/41/nWdufB | ||||||
|  |         MP/vkevTVf/rcv/0s//wlv/57OvRM//vi+/OQtaXIuuYEuvTLNyhJ+vHUP///////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsCBBDwgTKizogUCEhwQIYLBgYYOHgR4cKPQA | ||||||
|  |         oMEBBAgsfsjoAQGDCQsKJEhAAcKBChYQajyZkiWECwYMAHiAkAAAlCop4FRA9ABPDxgqABVqQIGEpxQG | ||||||
|  |         IMTQoCaEphICaFXAAaEABCmZZtUawECGi0gRHGigloFWCgzOYhRAt0OHASg1yD24cUAFDRcNMhwAWLBB | ||||||
|  |         D4UNMwz8ISAAOw== | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|   | |||||||
							
								
								
									
										575
									
								
								SubProject/FCM0000/Item/fItemAdd.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										575
									
								
								SubProject/FCM0000/Item/fItemAdd.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -28,280 +28,304 @@ | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|             System.Windows.Forms.Label nameLabel; | 			System.Windows.Forms.Label nameLabel; | ||||||
|             System.Windows.Forms.Label sidLabel; | 			System.Windows.Forms.Label sidLabel; | ||||||
|             System.Windows.Forms.Label modelLabel; | 			System.Windows.Forms.Label modelLabel; | ||||||
|             System.Windows.Forms.Label manuLabel; | 			System.Windows.Forms.Label manuLabel; | ||||||
|             System.Windows.Forms.Label supplyLabel; | 			System.Windows.Forms.Label supplyLabel; | ||||||
|             System.Windows.Forms.Label memoLabel; | 			System.Windows.Forms.Label memoLabel; | ||||||
|             System.Windows.Forms.Label priceLabel; | 			System.Windows.Forms.Label priceLabel; | ||||||
|             System.Windows.Forms.Label label1; | 			System.Windows.Forms.Label label1; | ||||||
|             System.Windows.Forms.Label label2; | 			System.Windows.Forms.Label label2; | ||||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | 			System.Windows.Forms.Label label3; | ||||||
|             this.tbName = new System.Windows.Forms.TextBox(); | 			this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); | ||||||
|             this.tbSid = new System.Windows.Forms.TextBox(); | 			this.tbName = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbModel = new System.Windows.Forms.TextBox(); | 			this.tbSid = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbManu = new System.Windows.Forms.TextBox(); | 			this.tbModel = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbSupply = new System.Windows.Forms.TextBox(); | 			this.tbManu = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbMemo = new System.Windows.Forms.TextBox(); | 			this.tbSupply = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbPrice = new System.Windows.Forms.TextBox(); | 			this.tbMemo = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbSupplyIdx = new System.Windows.Forms.TextBox(); | 			this.tbPrice = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbUnit = new System.Windows.Forms.TextBox(); | 			this.tbSupplyIdx = new System.Windows.Forms.TextBox(); | ||||||
|             this.btOK = new System.Windows.Forms.Button(); | 			this.tbUnit = new System.Windows.Forms.TextBox(); | ||||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); | 			this.btOK = new System.Windows.Forms.Button(); | ||||||
|             this.tbPriceD = new System.Windows.Forms.TextBox(); | 			this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||||
|             nameLabel = new System.Windows.Forms.Label(); | 			this.tbPriceD = new System.Windows.Forms.TextBox(); | ||||||
|             sidLabel = new System.Windows.Forms.Label(); | 			this.tbStorage = new System.Windows.Forms.TextBox(); | ||||||
|             modelLabel = new System.Windows.Forms.Label(); | 			nameLabel = new System.Windows.Forms.Label(); | ||||||
|             manuLabel = new System.Windows.Forms.Label(); | 			sidLabel = new System.Windows.Forms.Label(); | ||||||
|             supplyLabel = new System.Windows.Forms.Label(); | 			modelLabel = new System.Windows.Forms.Label(); | ||||||
|             memoLabel = new System.Windows.Forms.Label(); | 			manuLabel = new System.Windows.Forms.Label(); | ||||||
|             priceLabel = new System.Windows.Forms.Label(); | 			supplyLabel = new System.Windows.Forms.Label(); | ||||||
|             label1 = new System.Windows.Forms.Label(); | 			memoLabel = new System.Windows.Forms.Label(); | ||||||
|             label2 = new System.Windows.Forms.Label(); | 			priceLabel = new System.Windows.Forms.Label(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | 			label1 = new System.Windows.Forms.Label(); | ||||||
|             this.SuspendLayout(); | 			label2 = new System.Windows.Forms.Label(); | ||||||
|             //  | 			label3 = new System.Windows.Forms.Label(); | ||||||
|             // nameLabel | 			((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||||
|             //  | 			this.SuspendLayout(); | ||||||
|             nameLabel.AutoSize = true; | 			//  | ||||||
|             nameLabel.Location = new System.Drawing.Point(34, 17); | 			// nameLabel | ||||||
|             nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             nameLabel.Name = "nameLabel"; | 			nameLabel.AutoSize = true; | ||||||
|             nameLabel.Size = new System.Drawing.Size(55, 30); | 			nameLabel.Location = new System.Drawing.Point(53, 17); | ||||||
|             nameLabel.TabIndex = 0; | 			nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             nameLabel.Text = "품명"; | 			nameLabel.Name = "nameLabel"; | ||||||
|             //  | 			nameLabel.Size = new System.Drawing.Size(55, 30); | ||||||
|             // sidLabel | 			nameLabel.TabIndex = 0; | ||||||
|             //  | 			nameLabel.Text = "품명"; | ||||||
|             sidLabel.AutoSize = true; | 			//  | ||||||
|             sidLabel.Location = new System.Drawing.Point(44, 231); | 			// sidLabel | ||||||
|             sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             sidLabel.Name = "sidLabel"; | 			sidLabel.AutoSize = true; | ||||||
|             sidLabel.Size = new System.Drawing.Size(45, 30); | 			sidLabel.Location = new System.Drawing.Point(63, 231); | ||||||
|             sidLabel.TabIndex = 10; | 			sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             sidLabel.Text = "SID"; | 			sidLabel.Name = "sidLabel"; | ||||||
|             //  | 			sidLabel.Size = new System.Drawing.Size(45, 30); | ||||||
|             // modelLabel | 			sidLabel.TabIndex = 10; | ||||||
|             //  | 			sidLabel.Text = "SID"; | ||||||
|             modelLabel.AutoSize = true; | 			//  | ||||||
|             modelLabel.Location = new System.Drawing.Point(13, 63); | 			// modelLabel | ||||||
|             modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             modelLabel.Name = "modelLabel"; | 			modelLabel.AutoSize = true; | ||||||
|             modelLabel.Size = new System.Drawing.Size(76, 30); | 			modelLabel.Location = new System.Drawing.Point(32, 63); | ||||||
|             modelLabel.TabIndex = 8; | 			modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             modelLabel.Text = "모델명"; | 			modelLabel.Name = "modelLabel"; | ||||||
|             //  | 			modelLabel.Size = new System.Drawing.Size(76, 30); | ||||||
|             // manuLabel | 			modelLabel.TabIndex = 8; | ||||||
|             //  | 			modelLabel.Text = "모델명"; | ||||||
|             manuLabel.AutoSize = true; | 			//  | ||||||
|             manuLabel.Location = new System.Drawing.Point(13, 147); | 			// manuLabel | ||||||
|             manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             manuLabel.Name = "manuLabel"; | 			manuLabel.AutoSize = true; | ||||||
|             manuLabel.Size = new System.Drawing.Size(76, 30); | 			manuLabel.Location = new System.Drawing.Point(32, 147); | ||||||
|             manuLabel.TabIndex = 6; | 			manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             manuLabel.Text = "제조사"; | 			manuLabel.Name = "manuLabel"; | ||||||
|             //  | 			manuLabel.Size = new System.Drawing.Size(76, 30); | ||||||
|             // supplyLabel | 			manuLabel.TabIndex = 6; | ||||||
|             //  | 			manuLabel.Text = "제조사"; | ||||||
|             supplyLabel.AutoSize = true; | 			//  | ||||||
|             supplyLabel.Location = new System.Drawing.Point(13, 273); | 			// supplyLabel | ||||||
|             supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             supplyLabel.Name = "supplyLabel"; | 			supplyLabel.AutoSize = true; | ||||||
|             supplyLabel.Size = new System.Drawing.Size(76, 30); | 			supplyLabel.Location = new System.Drawing.Point(32, 319); | ||||||
|             supplyLabel.TabIndex = 12; | 			supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             supplyLabel.Text = "공급처"; | 			supplyLabel.Name = "supplyLabel"; | ||||||
|             //  | 			supplyLabel.Size = new System.Drawing.Size(76, 30); | ||||||
|             // memoLabel | 			supplyLabel.TabIndex = 12; | ||||||
|             //  | 			supplyLabel.Text = "공급처"; | ||||||
|             memoLabel.AutoSize = true; | 			//  | ||||||
|             memoLabel.Location = new System.Drawing.Point(34, 318); | 			// memoLabel | ||||||
|             memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             memoLabel.Name = "memoLabel"; | 			memoLabel.AutoSize = true; | ||||||
|             memoLabel.Size = new System.Drawing.Size(55, 30); | 			memoLabel.Location = new System.Drawing.Point(53, 364); | ||||||
|             memoLabel.TabIndex = 15; | 			memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             memoLabel.Text = "비고"; | 			memoLabel.Name = "memoLabel"; | ||||||
|             //  | 			memoLabel.Size = new System.Drawing.Size(55, 30); | ||||||
|             // priceLabel | 			memoLabel.TabIndex = 15; | ||||||
|             //  | 			memoLabel.Text = "비고"; | ||||||
|             priceLabel.AutoSize = true; | 			//  | ||||||
|             priceLabel.Location = new System.Drawing.Point(34, 189); | 			// priceLabel | ||||||
|             priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             priceLabel.Name = "priceLabel"; | 			priceLabel.AutoSize = true; | ||||||
|             priceLabel.Size = new System.Drawing.Size(55, 30); | 			priceLabel.Location = new System.Drawing.Point(53, 189); | ||||||
|             priceLabel.TabIndex = 8; | 			priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             priceLabel.Text = "단가"; | 			priceLabel.Name = "priceLabel"; | ||||||
|             //  | 			priceLabel.Size = new System.Drawing.Size(55, 30); | ||||||
|             // label1 | 			priceLabel.TabIndex = 8; | ||||||
|             //  | 			priceLabel.Text = "단가"; | ||||||
|             label1.AutoSize = true; | 			//  | ||||||
|             label1.Location = new System.Drawing.Point(34, 101); | 			// label1 | ||||||
|             label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			//  | ||||||
|             label1.Name = "label1"; | 			label1.AutoSize = true; | ||||||
|             label1.Size = new System.Drawing.Size(55, 30); | 			label1.Location = new System.Drawing.Point(53, 101); | ||||||
|             label1.TabIndex = 4; | 			label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             label1.Text = "단위"; | 			label1.Name = "label1"; | ||||||
|             //  | 			label1.Size = new System.Drawing.Size(55, 30); | ||||||
|             // ta | 			label1.TabIndex = 4; | ||||||
|             //  | 			label1.Text = "단위"; | ||||||
|             this.ta.ClearBeforeFill = true; | 			//  | ||||||
|             //  | 			// label2 | ||||||
|             // tbName | 			//  | ||||||
|             //  | 			label2.AutoSize = true; | ||||||
|             this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | 			label2.ForeColor = System.Drawing.Color.Blue; | ||||||
|             this.tbName.Location = new System.Drawing.Point(97, 17); | 			label2.Location = new System.Drawing.Point(364, 189); | ||||||
|             this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             this.tbName.Name = "tbName"; | 			label2.Name = "label2"; | ||||||
|             this.tbName.Size = new System.Drawing.Size(561, 35); | 			label2.Size = new System.Drawing.Size(25, 30); | ||||||
|             this.tbName.TabIndex = 2; | 			label2.TabIndex = 18; | ||||||
|             //  | 			label2.Text = "$"; | ||||||
|             // tbSid | 			//  | ||||||
|             //  | 			// ta | ||||||
|             this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); | 			//  | ||||||
|             this.tbSid.Location = new System.Drawing.Point(97, 228); | 			this.ta.ClearBeforeFill = true; | ||||||
|             this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			//  | ||||||
|             this.tbSid.Name = "tbSid"; | 			// tbName | ||||||
|             this.tbSid.Size = new System.Drawing.Size(561, 35); | 			//  | ||||||
|             this.tbSid.TabIndex = 11; | 			this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||||
|             this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			this.tbName.Location = new System.Drawing.Point(112, 17); | ||||||
|             //  | 			this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             // tbModel | 			this.tbName.Name = "tbName"; | ||||||
|             //  | 			this.tbName.Size = new System.Drawing.Size(546, 35); | ||||||
|             this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); | 			this.tbName.TabIndex = 2; | ||||||
|             this.tbModel.Location = new System.Drawing.Point(97, 58); | 			//  | ||||||
|             this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			// tbSid | ||||||
|             this.tbModel.Name = "tbModel"; | 			//  | ||||||
|             this.tbModel.Size = new System.Drawing.Size(561, 35); | 			this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); | ||||||
|             this.tbModel.TabIndex = 3; | 			this.tbSid.Location = new System.Drawing.Point(112, 228); | ||||||
|             //  | 			this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             // tbManu | 			this.tbSid.Name = "tbSid"; | ||||||
|             //  | 			this.tbSid.Size = new System.Drawing.Size(546, 35); | ||||||
|             this.tbManu.Location = new System.Drawing.Point(97, 144); | 			this.tbSid.TabIndex = 11; | ||||||
|             this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.tbManu.Name = "tbManu"; | 			//  | ||||||
|             this.tbManu.Size = new System.Drawing.Size(561, 35); | 			// tbModel | ||||||
|             this.tbManu.TabIndex = 7; | 			//  | ||||||
|             //  | 			this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); | ||||||
|             // tbSupply | 			this.tbModel.Location = new System.Drawing.Point(112, 58); | ||||||
|             //  | 			this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.tbSupply.Location = new System.Drawing.Point(97, 270); | 			this.tbModel.Name = "tbModel"; | ||||||
|             this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			this.tbModel.Size = new System.Drawing.Size(546, 35); | ||||||
|             this.tbSupply.Name = "tbSupply"; | 			this.tbModel.TabIndex = 3; | ||||||
|             this.tbSupply.Size = new System.Drawing.Size(449, 35); | 			//  | ||||||
|             this.tbSupply.TabIndex = 13; | 			// tbManu | ||||||
|             //  | 			//  | ||||||
|             // tbMemo | 			this.tbManu.Location = new System.Drawing.Point(112, 144); | ||||||
|             //  | 			this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.tbMemo.Location = new System.Drawing.Point(97, 311); | 			this.tbManu.Name = "tbManu"; | ||||||
|             this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			this.tbManu.Size = new System.Drawing.Size(546, 35); | ||||||
|             this.tbMemo.Name = "tbMemo"; | 			this.tbManu.TabIndex = 7; | ||||||
|             this.tbMemo.Size = new System.Drawing.Size(561, 35); | 			//  | ||||||
|             this.tbMemo.TabIndex = 16; | 			// tbSupply | ||||||
|             this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			//  | ||||||
|             //  | 			this.tbSupply.Location = new System.Drawing.Point(112, 316); | ||||||
|             // tbPrice | 			this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             //  | 			this.tbSupply.Name = "tbSupply"; | ||||||
|             this.tbPrice.Location = new System.Drawing.Point(97, 187); | 			this.tbSupply.Size = new System.Drawing.Size(449, 35); | ||||||
|             this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			this.tbSupply.TabIndex = 13; | ||||||
|             this.tbPrice.Name = "tbPrice"; | 			//  | ||||||
|             this.tbPrice.Size = new System.Drawing.Size(241, 35); | 			// tbMemo | ||||||
|             this.tbPrice.TabIndex = 9; | 			//  | ||||||
|             this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			this.tbMemo.Location = new System.Drawing.Point(112, 357); | ||||||
|             //  | 			this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             // tbSupplyIdx | 			this.tbMemo.Name = "tbMemo"; | ||||||
|             //  | 			this.tbMemo.Size = new System.Drawing.Size(546, 35); | ||||||
|             this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | 			this.tbMemo.TabIndex = 16; | ||||||
|             this.tbSupplyIdx.Enabled = false; | 			this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.tbSupplyIdx.Location = new System.Drawing.Point(556, 270); | 			//  | ||||||
|             this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			// tbPrice | ||||||
|             this.tbSupplyIdx.Name = "tbSupplyIdx"; | 			//  | ||||||
|             this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); | 			this.tbPrice.Location = new System.Drawing.Point(112, 187); | ||||||
|             this.tbSupplyIdx.TabIndex = 14; | 			this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.tbSupplyIdx.Text = "-1"; | 			this.tbPrice.Name = "tbPrice"; | ||||||
|             this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			this.tbPrice.Size = new System.Drawing.Size(241, 35); | ||||||
|             //  | 			this.tbPrice.TabIndex = 9; | ||||||
|             // tbUnit | 			this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             //  | 			//  | ||||||
|             this.tbUnit.Location = new System.Drawing.Point(97, 100); | 			// tbSupplyIdx | ||||||
|             this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			//  | ||||||
|             this.tbUnit.Name = "tbUnit"; | 			this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             this.tbUnit.Size = new System.Drawing.Size(561, 35); | 			this.tbSupplyIdx.Enabled = false; | ||||||
|             this.tbUnit.TabIndex = 5; | 			this.tbSupplyIdx.Location = new System.Drawing.Point(556, 316); | ||||||
|             this.tbUnit.Text = "EA"; | 			this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			this.tbSupplyIdx.Name = "tbSupplyIdx"; | ||||||
|             //  | 			this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); | ||||||
|             // btOK | 			this.tbSupplyIdx.TabIndex = 14; | ||||||
|             //  | 			this.tbSupplyIdx.Text = "-1"; | ||||||
|             this.btOK.Location = new System.Drawing.Point(97, 357); | 			this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.btOK.Name = "btOK"; | 			//  | ||||||
|             this.btOK.Size = new System.Drawing.Size(561, 66); | 			// tbUnit | ||||||
|             this.btOK.TabIndex = 17; | 			//  | ||||||
|             this.btOK.Text = "확인"; | 			this.tbUnit.Location = new System.Drawing.Point(112, 100); | ||||||
|             this.btOK.UseVisualStyleBackColor = true; | 			this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.btOK.Click += new System.EventHandler(this.btOK_Click); | 			this.tbUnit.Name = "tbUnit"; | ||||||
|             //  | 			this.tbUnit.Size = new System.Drawing.Size(546, 35); | ||||||
|             // dsMSSQL | 			this.tbUnit.TabIndex = 5; | ||||||
|             //  | 			this.tbUnit.Text = "EA"; | ||||||
|             this.dsMSSQL.DataSetName = "dsMSSQL"; | 			this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | 			//  | ||||||
|             //  | 			// btOK | ||||||
|             // label2 | 			//  | ||||||
|             //  | 			this.btOK.Location = new System.Drawing.Point(112, 403); | ||||||
|             label2.AutoSize = true; | 			this.btOK.Name = "btOK"; | ||||||
|             label2.ForeColor = System.Drawing.Color.Blue; | 			this.btOK.Size = new System.Drawing.Size(546, 66); | ||||||
|             label2.Location = new System.Drawing.Point(348, 189); | 			this.btOK.TabIndex = 17; | ||||||
|             label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | 			this.btOK.Text = "확인"; | ||||||
|             label2.Name = "label2"; | 			this.btOK.UseVisualStyleBackColor = true; | ||||||
|             label2.Size = new System.Drawing.Size(25, 30); | 			this.btOK.Click += new System.EventHandler(this.btOK_Click); | ||||||
|             label2.TabIndex = 18; | 			//  | ||||||
|             label2.Text = "$"; | 			// dsMSSQL | ||||||
|             //  | 			//  | ||||||
|             // tbPriceD | 			this.dsMSSQL.DataSetName = "dsMSSQL"; | ||||||
|             //  | 			this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||||
|             this.tbPriceD.ForeColor = System.Drawing.Color.Blue; | 			//  | ||||||
|             this.tbPriceD.Location = new System.Drawing.Point(383, 187); | 			// tbPriceD | ||||||
|             this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			//  | ||||||
|             this.tbPriceD.Name = "tbPriceD"; | 			this.tbPriceD.ForeColor = System.Drawing.Color.Blue; | ||||||
|             this.tbPriceD.Size = new System.Drawing.Size(275, 35); | 			this.tbPriceD.Location = new System.Drawing.Point(399, 187); | ||||||
|             this.tbPriceD.TabIndex = 19; | 			this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			this.tbPriceD.Name = "tbPriceD"; | ||||||
|             //  | 			this.tbPriceD.Size = new System.Drawing.Size(259, 35); | ||||||
|             // fItemAdd | 			this.tbPriceD.TabIndex = 19; | ||||||
|             //  | 			this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); | 			//  | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 			// label3 | ||||||
|             this.ClientSize = new System.Drawing.Size(669, 436); | 			//  | ||||||
|             this.Controls.Add(label2); | 			label3.AutoSize = true; | ||||||
|             this.Controls.Add(this.tbPriceD); | 			label3.Location = new System.Drawing.Point(4, 272); | ||||||
|             this.Controls.Add(this.btOK); | 			label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||||
|             this.Controls.Add(nameLabel); | 			label3.Name = "label3"; | ||||||
|             this.Controls.Add(this.tbName); | 			label3.Size = new System.Drawing.Size(104, 30); | ||||||
|             this.Controls.Add(sidLabel); | 			label3.TabIndex = 20; | ||||||
|             this.Controls.Add(this.tbSid); | 			label3.Text = "STORAGE"; | ||||||
|             this.Controls.Add(label1); | 			//  | ||||||
|             this.Controls.Add(modelLabel); | 			// tbStorage | ||||||
|             this.Controls.Add(this.tbModel); | 			//  | ||||||
|             this.Controls.Add(manuLabel); | 			this.tbStorage.Location = new System.Drawing.Point(112, 270); | ||||||
|             this.Controls.Add(this.tbManu); | 			this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|             this.Controls.Add(supplyLabel); | 			this.tbStorage.Name = "tbStorage"; | ||||||
|             this.Controls.Add(this.tbSupply); | 			this.tbStorage.Size = new System.Drawing.Size(241, 35); | ||||||
|             this.Controls.Add(memoLabel); | 			this.tbStorage.TabIndex = 21; | ||||||
|             this.Controls.Add(this.tbMemo); | 			this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.Controls.Add(priceLabel); | 			//  | ||||||
|             this.Controls.Add(this.tbPrice); | 			// fItemAdd | ||||||
|             this.Controls.Add(this.tbSupplyIdx); | 			//  | ||||||
|             this.Controls.Add(this.tbUnit); | 			this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); | ||||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|             this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | 			this.ClientSize = new System.Drawing.Size(669, 478); | ||||||
|             this.MaximizeBox = false; | 			this.Controls.Add(label3); | ||||||
|             this.MinimizeBox = false; | 			this.Controls.Add(this.tbStorage); | ||||||
|             this.MinimumSize = new System.Drawing.Size(685, 448); | 			this.Controls.Add(label2); | ||||||
|             this.Name = "fItemAdd"; | 			this.Controls.Add(this.tbPriceD); | ||||||
|             this.Text = "품목 추가"; | 			this.Controls.Add(this.btOK); | ||||||
|             this.Load += new System.EventHandler(this.fItemAdd_Load); | 			this.Controls.Add(nameLabel); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | 			this.Controls.Add(this.tbName); | ||||||
|             this.ResumeLayout(false); | 			this.Controls.Add(sidLabel); | ||||||
|             this.PerformLayout(); | 			this.Controls.Add(this.tbSid); | ||||||
|  | 			this.Controls.Add(label1); | ||||||
|  | 			this.Controls.Add(modelLabel); | ||||||
|  | 			this.Controls.Add(this.tbModel); | ||||||
|  | 			this.Controls.Add(manuLabel); | ||||||
|  | 			this.Controls.Add(this.tbManu); | ||||||
|  | 			this.Controls.Add(supplyLabel); | ||||||
|  | 			this.Controls.Add(this.tbSupply); | ||||||
|  | 			this.Controls.Add(memoLabel); | ||||||
|  | 			this.Controls.Add(this.tbMemo); | ||||||
|  | 			this.Controls.Add(priceLabel); | ||||||
|  | 			this.Controls.Add(this.tbPrice); | ||||||
|  | 			this.Controls.Add(this.tbSupplyIdx); | ||||||
|  | 			this.Controls.Add(this.tbUnit); | ||||||
|  | 			this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|  | 			this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); | ||||||
|  | 			this.MaximizeBox = false; | ||||||
|  | 			this.MinimizeBox = false; | ||||||
|  | 			this.MinimumSize = new System.Drawing.Size(685, 448); | ||||||
|  | 			this.Name = "fItemAdd"; | ||||||
|  | 			this.Text = "품목 추가"; | ||||||
|  | 			this.Load += new System.EventHandler(this.fItemAdd_Load); | ||||||
|  | 			((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||||
|  | 			this.ResumeLayout(false); | ||||||
|  | 			this.PerformLayout(); | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
| @@ -320,5 +344,6 @@ | |||||||
|         public System.Windows.Forms.TextBox tbSupplyIdx; |         public System.Windows.Forms.TextBox tbSupplyIdx; | ||||||
|         public System.Windows.Forms.TextBox tbUnit; |         public System.Windows.Forms.TextBox tbUnit; | ||||||
|         public System.Windows.Forms.TextBox tbPriceD; |         public System.Windows.Forms.TextBox tbPriceD; | ||||||
|     } | 		public System.Windows.Forms.TextBox tbStorage; | ||||||
|  | 	} | ||||||
| } | } | ||||||
| @@ -82,6 +82,7 @@ namespace FCM0000.Item | |||||||
|             newdr.supplyidx = int.Parse(tbSupplyIdx.Text.Trim()); |             newdr.supplyidx = int.Parse(tbSupplyIdx.Text.Trim()); | ||||||
|             newdr.memo = tbMemo.Text.Trim(); |             newdr.memo = tbMemo.Text.Trim(); | ||||||
|             newdr.cate = "--"; |             newdr.cate = "--"; | ||||||
|  |             newdr.Storage = tbStorage.Text.Trim(); | ||||||
|  |  | ||||||
|  |  | ||||||
|             //21711 |             //21711 | ||||||
|   | |||||||
| @@ -141,13 +141,16 @@ | |||||||
|   <metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>False</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|  |   <metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>122, 17</value> |     <value>122, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>17, 17</value> |     <value>17, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>False</value> |     <value>False</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| </root> | </root> | ||||||
							
								
								
									
										1721
									
								
								SubProject/FCM0000/Item/fItems.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1721
									
								
								SubProject/FCM0000/Item/fItems.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -222,20 +222,20 @@ | |||||||
|   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL0SURBVEhLtVZbTxNBFCZeYrxEjY8++KKiMfHFRAgviv4H |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALzSURBVEhLtVZbTxNBFCZeYrxEjY8++OI1Jr6YCOFF0f9g | ||||||
|         o/4Bn9RoDBETzcQgRmjLtrbQVuyFlgVKQy3d7i6XSpRCdxc0QICWBpSbCQRjgk+QWLL2NNPEmIHuwPZL |         1D/gkxqNIWKimRjECG3Z1hbair1AWaA01KXb3eVSCVLo7lITMEBbAsrNBDAxwSdIhKw9zTQxZqA7sP2S | ||||||
|         vkx29sz3Zc6ZObsleuCxKXD4mdF58WVjxw0Y4Rm/0h+3Ojv3M37hkVeQxeBwain2ZWVzaP63CiM8u7Lz |         L5OdPfN9mXNmzm6JEXhiCR5+bnZfetXQcRNGeMavjMftzs79TEB87BcVKTSSXowllzeG535rMMKzJzvP | ||||||
|         TGv0IUJoH16yd9S3hCq8PYqkpH9mJn6p6nZU0msZNy8lXrdEKvDS3YPxi3cjo9+WSEbbMSTNLJpZ4Q6W |         tEYfIYT24SV7R11zuNzfo8pq5ufm11+ath3VzOqmV5ATb5oj5Xjp7sEEpHuR5LdFktF2DMuZBSsr3sUS | ||||||
|         oIfBHbkaVtILJPFCDI3M/ahnd7FzqCmklySqlZB26prDQSpU00KUZ9YycOCwpDZ4eKmHJEZLLy+LWLIw |         9DB5I9c4dXqeJF6I4dHZH3XsLnYONYX0kkT1EtJOXXM4SIVqWohKenUTDhyW1AefIPeQxGjpFxQJSxbG | ||||||
|         nhh8R0Px5DJJiJZw1TTf86q69xc+fl3dJAnRsntsZaOqzn0eS+8M1NR2c2h+nShEy/j3dRVZ2yux9M6o |         U1PL0XA8tUQSoiVcNd33vLL2w8VPX1Y2SEK05MaW1ytrveex9M5AjW23hufWiEK0jH9f05C9vQJL74wq | ||||||
|         Nr4rjYytbpCEaAk7rjY1n8PSOwMh5xGoDUmIll2J1CJVL4feSxKipUeUeSypDXD/oPeSxLRSnl/7Y/bx |         8/sL3WMr6yQhWsKOqyxN57D0zkDIfQRqQxKiZVcivUDVy6H3koRo6ZMUAUvqA9w/6L0kMb1U5lb/WFuE | ||||||
|         97GkNkDHcYl761weQRqm7lzZBQeMnu7+bjlNFC3E8MjcMnWvfmCxHGrwhTkuMakGYqNqZGSWKL4d4evE |         B1hSH6DjeKS9dS6fKI9Qd67sggNmX3d/tzJNFC1EbnR2ibpXP7TZDtW3cDyfmNCCsaQWGZ0him9H+Dox | ||||||
|         tPO3sZw2wIk2eD+InDSpCkpS5RJTar0nHHdxCQl6L8koT6gppNfgCpdjOW1AjOdkdqfxqDSVM4XR6A73 |         7cIdLKcPcKJN/o8SL09ooprS+MSkVufj4h4+IUPvJRnlCTWF9Jo8XBmW0wfE+E5mdxqPypM5UxjNXq4X | ||||||
|         QgagVnDg3KIswBWB+wl/IDCGpNQC9GQ4SPQ1NTWfsrL8YFSezpny0rTa4Of6SHcQ5qDJIHt7JYy7/udC |         MgC1ggPnlRQRrgjcT/gDgTEsp+ehJ8NBoq+ppemUnRWGospUzlSQp7T6AN9HuoMwB00GOdsrYNz1Pxey | ||||||
|         1rbT1jZeEfKmyrRqZqODyGY7hkP0R43Fe9YW4Mf5rCGYgrm5NTIKGcAh+qPW7r9kD/RO5QxzO02qNpYf |         t522twmqmDdVpzQrGx1CDscxHGI8qm3+s46gMC5kDcEUzK2tkSRkAIcYjxpn4LIz2DuZM8ztNKU5WGEc | ||||||
|         hwzgEP3xytFxxRGMJfOmQHtQHEPmljM4RH/UOFqvObr6Z/8zTWY/X6U4RH88feM80RSMpf81bQ7FUs+t |         MoBDjMdrV8dVVyiWypsCnSFpDFmbz+AQ41Htar3u6uqf+c80lf18XcAhxuPZW/eJxlBs+l/TpnAs/cIe | ||||||
|         gcs4pDh4wbjKgwODW3lTV3bn6C1bhl8XD/eczoOMn/vUOfB5y9nVN1PbyF7Hr4oPMEcmbxmy+I/jqSKj |         vIJDioOXjKcsNPB5K2/qye4cvWNL8evi4b7bfZAJ8IOdA4Nb7q6+TE0DewO/Kj7AHFn8pcgWOI6nioyS | ||||||
|         pOQvnQJaQklTJLQAAAAASUVORK5CYII= |         kr/Li1oqyqt7QQAAAABJRU5ErkJggg== | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
| @@ -282,25 +282,25 @@ | |||||||
|   <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQkSURBVEhLtVftT1NXHL7RGf0TNs0SjZtOv+tI/OBXo2YM |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQkSURBVEhLtVftT1NXHL5xLu5PUJclLm6+fd9m4ge/LmrG | ||||||
|         xHQolJVWqW6KQqUDJBe7ibQXaKflTVYFgVY3UYOOSrEBRlta6gS2RdSiLaj4EqWAum+u63M5x16gMCp3 |         UExFoay0Sn1FoVIFycWqSHuBVldExCoVaH1DDSqFYgNIW1qqAroMAbUFFV/iKODcN+36XM6hV6hK5fok | ||||||
|         T3LSm/ye83t6Xn4vh4kVO3f+vPiLI1eW7yho/TyxoHVTfP71jzez7R8Qs7iQsG1rZKUubn9lv/2waWDo |         J73J7zm/p+fl93KYWLF27fmvftt9Ze6a3IZfVuc2LIvLqf9uOds0k5jFhYRtXCArcnNbSrscu0zd/TtN | ||||||
|         kOnuKHvO98+xppFQTs1ffydr7FsJVRxI2PaV8h+9lu/O+V7qWoIhzjo2Y/xw+Vlol6ZtO5mycEh1TpWq |         PUOsuffd/prBUFb5X/8lahwrCFUcSNimefIjPuueM33/6OqCIc42PGkcvPwitF7TuIpMmT6kOpdKZe59 | ||||||
|         7t4jzhpdkI7pwlJtlz2zqj8wfaQUO4Z3FFjjCW0mcIbpOld1YePIG6EAVpxjGRo/UP2na5+x16Iw9NQo |         wtmiC9IxUViqbXWkH+8KTBxJBc6BNbm2OEKbDJxhqs5dllc9+EYogBVnWftHtpfdc282dlgVhvZyhcFr | ||||||
|         DB7THoO7OYm9sZFMZ76p7G8VzsNQ1QaepnLOVEKJDogWNQfe0km6lrGQum7wcXqpp1pS1LaG0GbFTOFg |         2mjw1CawN34m05mtpV0NwnkYqorA82TOlUwo0QHR/Fr/WzpJVzccUpsfPE0t8pZJ8hsXENoHMVk4GJIW | ||||||
|         SFrS3UzM0YHtFa5U++toKOOktzOF61xFKP+JqCtuvPcmrdh5kFCmAhdp8kwjonJ9z6UtB1qWEsq8QIXV |         ttUSc3Rge4Ur1V4fCqUd9bUkcS3fE8onEW3FmdU9b1IKXDsI5X3gIo2daURUrm+/9Ov2ulmEMiVQYbU1 | ||||||
|         lkCw+NpoRLx2YDjqAhQG93l6kbC9GadudsQqCkAYZ5pS3CVXGntdVBg+FWXeekKbxG6NfS1ChpJwprFs |         ECy4NjQurqroHoi6AIXBc5ZeJGxv2p+3mmMVBSCMM00qaJUrjR1uKgyfimJfJaGNYYPGsRAhQ0k401i2 | ||||||
|         rxC7Tzg6UjjnV/j+UtOxDr6oX1Xtg6fJGtunPBGQcS6Oxil+ZWWeKmKKGfFq60ryyUOh95yJhGTYdzgR |         V4gNh53NSZxrHb5/1zQvhi/qV1Xx6Hmixv4jTwRknJujcYpfWbH3ODHFjDi1bR755KHQe09FQjLsO5yI | ||||||
|         ERPDICPRf5Vv9k8kCv/VAoFIyDH7x6n/feV9Nt6AuEUapIaDlX1O3iAivq34w039Q4vP7dvyrq7IrXsw |         iIlhkJHov8qx+EdXC//VNIFIyLL4R6j/zSWddt6AuEUapIYdpZ0u3iAith2766H+ocXn9pXZV7/da340 | ||||||
|         Rg1K463zhC8alCdvXaD+c+v8YygyTAJrizvWNPguYaTrvdWELxrgk/pHcUnIs8UxKG+FTb7/VXiPoec0 |         TA1K452zhC8alEfvnKP+95r9wygyTDxrX7q/pm88YaTqfWWELxrgk/pHcYnPti9lUN7yanq/qPBGQ/sJ | ||||||
|         9V940fc2oaBlA7/VwsPPMHrF3+ry3l+of5TUraprHzJ7995cIrxcuAiELxqElyur5o4fF5o3KCt6b1BD |         6j/vYu/b+Ny6n/itFh5+mtEn/laXdFyg/lFSV6iuzWY2bbr1tfBy4SIQvmgQXq6M8vt+XGjeoDzWcYMa | ||||||
|         jjkwLmY4JbPtn+Wbhyao//2VfW3EFD78EneJMMgR9MTEY3pSiAXyMs9PwuQk5ZxaYmKYpKP2tdn195/T |         siyBETHDKZFtWpRj6R+l/reUdjYSU/jwCz2FwiBH0BMTj4lJIRbIi70nhclJyrm0xMQwCfscCzMrH76k | ||||||
|         f4U0l3T8t/WwIf0hDfLEGIGWSV1/9wn1m9Vw/0VS0fVPiHkScr3HgkROSeEi4Uw+0SE90uAbQeIntHkj |         /wppLuHQzSWwIf0hDfLEGIGWSV3Z84z6zah6+Cohv/4HYh6DXO+1IpFTUrhIuBIPN0t3V/UNIvET2pQR | ||||||
|         nCSWwUfEZxDVroGYI5Do7KsPn739kAqjpKnNgSC+YxWGqEzvbkZppf6yzw4MS8IdKaFMRZrWoSxs8r+i |         ThLfwEfEZxDVroqYI5DoHPN3nf77MRVGSVNbAkF8xyoMUZneU4vSSv1lnu4ekIQ7UkJ5HylapzKvxv+a | ||||||
|         ZDpiEcb2Ko2/O4Si7MXB19KSrkxCiY600u6rkYs2f2GJxrZOXuox4UyFR4Y2Ko1zzF3tUrWdEpypUBRD |         kumIRRjbqzTedgpF2YsP/pUWtqYTSnSkFLVdjVy0qQtLNPbF8iKvCWcqPDK0USmc8+PVLlnbIsGZCkUx | ||||||
|         KIzGDg0eGj00fMryvguI06PmwAS9vXRgpRB9F7fRgNYTLWi01hQtK6ExaGXR0goFZo5gSBU+01Rd1yEy |         hMJo7NDgodFDw6cs6TyHON1nCYzS20sHVgrR8biNBrSeaEGjtaZoWQmNQSuLllYoMHkEQ6rwmSbrWneS | ||||||
|         beGYSxgrRsjI9D2Ns16k9wWeK3i24PmCSoPcm2kaCCD7fc11ayXf21cTqrhAEcdDDQ82VLaEPOtHLMsu |         adPHx4SxYoSMTN9e/cGL9LnAcwXPFjxfUGmQe9NN3QFkvz+4Nq3kgGM+oYoLFHE81PBgQ2WLz7bNYVl2 | ||||||
|         IuZ5gmH+BfOd89s25OCvAAAAAElFTkSuQmCC |         BjFPEQzzP4+4884nkdwlAAAAAElFTkSuQmCC | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
| @@ -345,18 +345,18 @@ | |||||||
|   <data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKSSURBVDhPzZLrSltBFIXPGxT6GN5AYhBR1Igo+EMUREVD |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKQSURBVDhPzZLbSltBGIX3GxT6GB4uJAYRRY2IgheiICoa | ||||||
|         TGJiLqhBUREJRqlR8RoSczsxSalVUFCESq0ixR/WKIhEaUzSKrR9g1Io9Id+nXMofYV2YDEzMGvttfYe |         cjIxB9SgqIgEo9SoeAyJOZukNI2goAiVpooUL6xREInSmNgqtH2DUij0Qr/O3pS+QjuwmL2ZWetf6/9H | ||||||
|         6f9Y4XDYu7q6mlpYWEjPzc3deDyeu/Hx8fuhoaGvAwMD38bGxu7n5+d9f55LXV1dmra2tufqJRqNPotE |         +j9WKBTyrK+vZ5eWlnILCwvXbrf7dnJy8n5kZOTr0NDQt4mJifvFxUXvn+tSb2+vqrOz87nyE4lEnoXD | ||||||
|         IlxeXnJxccH5+TlnZ2fEAh5+fXnNj/c6vG4HgYCf/v5+g16v/y6AwFN3d7dWEhU+7+3tcXt7y/7+Phsb |         YS4uLjg/P+fs7IzT01Nifje/vrzmx3sNHpcdv9/H4OCgTqvVfhdA4Kmvr08tiQqf9/b2uLm5YX9/n1Qq | ||||||
|         GySTSQ4PD1GEE4kEp6en7OzsMDw8jMPhwOl0YrPZaG1tzUlClZOTE7a2ttT94eGBXC5HJpPh6upKFZyZ |         RTKZJJPJIAsnEglOTk7Y2dlhdHQUu92Ow+HAarXS0dFRlIQqx8fHbG1tKfvDwwPFYpF8Ps/l5aUiODc3 | ||||||
|         mUHE5ODggHg8zvLyMiIStbW1SIqiQj4+PuYw9QmH/BFDKINeoDd8w6s3HwiFQoh+oDhVXNntdqanp6mu |         h4jJwcEB8Xic1dVVRCQaGhqQZEWZfHR0RCb7CXv0I7pgHq1Af+iaV28+EAwGEf1Adiq7stlszM7OUldX | ||||||
|         rkZSrMRiMbLZLE5BNkfv6ItlsaxnMYpzbzjN7u4uBoOB7e1t/H4/PT09uN1uKisrkaxWK2tra6TTaQxh |         hyRbicViFAoFHIJsitwyECtg3ixgEN/9oRy7u7vodDq2t7fx+Xzo9XpcLhc1NTVIFouFjY0NcrkcupAg | ||||||
|         QY7ncSbzOBJ5rLEcPZE7Njc3aW9vV+MsLi7S0dHB6OgoFRUVSGazmZWVFVKplCpgFZUVsvNlHls8h1nO |         x+9wJO+wJ+6wxIrow7ek02m6urqUOMvLy3R3dzM+Pk51dTWSyWRibW2NbDarCFhEZZnseHmHNV7EFC0o | ||||||
|         qg5bWlrUhnq9XpqbmxkcHKS8vBzJaDQiZs/R0RGWUBqTnMO2LiDIfWK3y9csLS3R1NSELMtMTU3R2Nio |         Dtvb25WGejwe2traGB4epqqqCslgMCBmz+HhIeZgDmO0iHVTQJAHxG6LXrGyskJrayvRaJSZmRlaWlqU | ||||||
|         TkOr1SIp2SYnJ1Vrwc13QuQaoyyyiz7Yo9e8CGwg5o1OpyMYDKrZ6+rqsFgsaDQaJCWPy+VS5zoxMaHa |         aajVaiQ52/T0tGItkH4nRK4wREV20Qdb5IoX/hRi3mg0GgKBgJK9sbERs9mMSqVCkvM4nU5lrlNTU4pd | ||||||
|         VTodCASYnZ2ls7NTHZdC8Pl8jIyMYDKZEL+R0tJSJGHHVVJS8lPYeWxoaHiqr69Xq9XU1FBVVUVZWdlT |         udN+v5/5+Xl6enqUcckEr9fL2NgYRqMR8RqpqKhAEnac5eXlP4Wdx+bm5qempialWn19PbW1tVRWVj6J | ||||||
|         cXHxY1FR0WNhYeFfFBQUKHirfud/uCTpN8tW0cVm/HObAAAAAElFTkSuQmCC |         88eysrLH0tLSvygpKZHxVnnO/3BJ0m/JH9HCt9NfZQAAAABJRU5ErkJggg== | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="taPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="taPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|   | |||||||
							
								
								
									
										1079
									
								
								SubProject/FCM0000/Item/fLovItem.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1079
									
								
								SubProject/FCM0000/Item/fLovItem.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -20,6 +20,7 @@ namespace FCM0000 | |||||||
|         public decimal itempriceD { get; set; } |         public decimal itempriceD { get; set; } | ||||||
|         public string SID { get; set; } |         public string SID { get; set; } | ||||||
|         public string itemUnit { get; set; } |         public string itemUnit { get; set; } | ||||||
|  |         public string Storage { get; set; } | ||||||
|         public string itemSupply { get; set; } |         public string itemSupply { get; set; } | ||||||
|         public int itemSupplyidx { get; set; } |         public int itemSupplyidx { get; set; } | ||||||
|  |  | ||||||
| @@ -40,6 +41,7 @@ namespace FCM0000 | |||||||
|             itempriceD = 0; |             itempriceD = 0; | ||||||
|             SID = string.Empty; |             SID = string.Empty; | ||||||
|             itemUnit = "EA"; |             itemUnit = "EA"; | ||||||
|  |             Storage = string.Empty; | ||||||
|             itemSupply = string.Empty; |             itemSupply = string.Empty; | ||||||
|             itemSupplyidx = -1; |             itemSupplyidx = -1; | ||||||
|             itemManu = string.Empty; |             itemManu = string.Empty; | ||||||
| @@ -107,6 +109,7 @@ namespace FCM0000 | |||||||
|                 itemSupply = string.Empty; |                 itemSupply = string.Empty; | ||||||
|                 itemSupplyidx = -1; |                 itemSupplyidx = -1; | ||||||
|                 itemManu = string.Empty; |                 itemManu = string.Empty; | ||||||
|  |                 Storage = string.Empty; | ||||||
|                 itemUnit = "EA"; |                 itemUnit = "EA"; | ||||||
|                 SID = string.Empty; |                 SID = string.Empty; | ||||||
|                 return; |                 return; | ||||||
| @@ -125,7 +128,9 @@ namespace FCM0000 | |||||||
|                 else itemprice = dr.price; |                 else itemprice = dr.price; | ||||||
|                 if (dr.IspriceDNull()) itempriceD = 0; |                 if (dr.IspriceDNull()) itempriceD = 0; | ||||||
|                 else itempriceD = dr.priceD; |                 else itempriceD = dr.priceD; | ||||||
|                  |  | ||||||
|  |                 if (dr.IsStorageNull()) Storage = string.Empty; | ||||||
|  |                 else Storage = dr.Storage; | ||||||
|  |  | ||||||
|                 if (dr.IssupplyNull()) itemSupply = string.Empty; |                 if (dr.IssupplyNull()) itemSupply = string.Empty; | ||||||
|                 else itemSupply = dr.supply; |                 else itemSupply = dr.supply; | ||||||
| @@ -277,6 +282,7 @@ namespace FCM0000 | |||||||
|                 itemUnit = f.tbUnit.Text.Trim(); |                 itemUnit = f.tbUnit.Text.Trim(); | ||||||
|                 itemSupply = f.tbSupply.Text.Trim(); |                 itemSupply = f.tbSupply.Text.Trim(); | ||||||
|                 itemSupplyidx = int.Parse(f.tbSupplyIdx.Text); |                 itemSupplyidx = int.Parse(f.tbSupplyIdx.Text); | ||||||
|  |                 Storage = f.tbStorage.Text.Trim(); | ||||||
|                 DialogResult = System.Windows.Forms.DialogResult.OK; |                 DialogResult = System.Windows.Forms.DialogResult.OK; | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
| @@ -230,19 +230,19 @@ | |||||||
|   <data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|     <value> |     <value> | ||||||
|         iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApAoFii63vrNX |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApLoCKbrc+s5e | ||||||
|         ygkEPV+BiOa6QB8QRJRUIbe2lJA0KfgMIPgAPCog1EADM3uTxhqTnX04t9L+pL8U6cbj/23W9niu19HR |         KScQ9HwFIprrAn1AEFFShdzaUh40FHwGEHwAHhUQaqCBmb1JY43Jzj6cW2l/0l+KdOPx/zZrezzX6+jo | ||||||
|         UZ3x6/FJZc1C4vQj5XSWZOajmpqfyqk/ueDvgTUf8s8gZpilNyeTyQkafnxop6+A8Segr8qZvzINv8CX |         qM7k1eSksmYpcfqhcjpLMvNRzcxP5dSfXPD30JoP+WcQM8rSm9Pp9AQNPz6001fA+GPQV+XMX5lGX+DL | ||||||
|         edzP0suULh79zZWLKhtt3HK3f/PmigtzDJx+rrbVBUrfLPAa3IOnd8CZqaJlt/wjydK7NE39XNt4cDqx |         PBpk6WVKF4/B1upFlY03++7Wb95ccWGOodPP1I66QOmbBV6Du/D0DjgzVbTiVn4kWXqHpqmfa5v3TyfW | ||||||
|         5iU3eZ2COV7gXDRtPcC/92ziRnvchI3Iml2ck6avRv7kY5o/lDX7sLudIRvlifHahISLm2yUAxbVfS5x |         vOAmr1Mwx3Oci6atB/j3nk3c+DU3YSOyZh/npOmrkT/5mOYPZc0b2N3OkI3yxHhtQsLFTTbKAYvqHpc4 | ||||||
|         XOk7ZEeGseb80tR855PGFOx4ZbZY3Of5hPEFr/EzslUMPB2rHlI+XExR5V621VWydzR5ecAkksiHi5EI |         rvRtsiPDWHN+eWa+80ljCna8Mlss7vN8wviC1/gp2SoGno5VDykfLqaoci876irZO5q8PGASSeTDxUiE | ||||||
|         yw6y93+wyMI6hUsikQ8XIxLUW1g0ks0wELjAJhDKh4uRCtbCDbIZZlYS8wkk8uFixLJmlWyGgSDLDhbK |         ZQfZ+z9YZGGdwiWRyIeLEQnqLSwayWYYCFxiEwjlw8VIBWvhBtkMMy+J+QQS+XAxYlmzRjbDQJBlBwvl | ||||||
|         h4sRy5otshlmdvFgBgvlw8WINTXvyWYYSalcF1xuTniwks0wkv2/LrjcrF6ZX2QzTOu/QOtfofYv4rZv |         w8WIZc022Qwzv3gwg4Xy4WLEmpn3ZDOMpFSuCy43JzxYyWYYyf5fF1xuVi/NL7IZpvVfoPWvUPsXcdu3 | ||||||
|         o/N8kMEF5yHZDINNJ26wVD5cjFhZep1shsFibrBlPrMJBPLhYiTqW/OpcDcPS1cuiUQ+XIxMeo3sHc28 |         0UU+yOCC84BshsGmEzdYKh8uRqwsvU42w2AxN9w2n9kEAvlwMRINrPlUuJuHpSuXRCIfLkYmvU72jmbR | ||||||
|         XWhw/092kktkrxh5u49LdizS62SrOEubK+fm4VKPLcfSfVPsVXJJYyqx6ZjslAN7lVziGILN5CnZKA/e |         LjS4/ye7ySWyV4y83cclOxbpDbJVnOWt1XOLcKnHlmPpvin2KrmkMZXYdEJ2yoG9Si5xDMFm8oRslAfv | ||||||
|         QweZcdwEzUq/WXy7eIpsVAMbrXCM7/IT1a/EjXZqa+4egk3eGDsTvja1PXkO7FU2szuNvlVesEXBvim2 |         ocPMOG6CZqX3+m/7p8hGNbDRCsf4Pj9R/UrceLe25u4h2OSNsTPha1Pbk+fAXmUzu9P4W+UFWxTsm2K7 | ||||||
|         +/CA4c0IlOfQ67htU/p44OmIZUeZ2mk2Rq+JT9gmwCILm06w0FexZseLB97ssByZlSTDA7govcPPsCTG |         Dw8Y3oxAeQ69gds2pY8Hno5YdpSpneZj9Lr4hG0CLLKw6QQLfQ1rdrx44M0Oy5F5STI6gIvSO/wMS2Ks | ||||||
|         qnIufmbt6Gg9vd4/xTNqSYSHQM4AAAAASUVORK5CYII= |         KhfiZ9aOjtbT6/0Ddt5qN1uCD44AAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|   | |||||||
							
								
								
									
										700
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										700
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -669,6 +669,8 @@ namespace FCM0000 { | |||||||
|              |              | ||||||
|             private global::System.Data.DataColumn columnpriceD; |             private global::System.Data.DataColumn columnpriceD; | ||||||
|              |              | ||||||
|  |             private global::System.Data.DataColumn columnStorage; | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|             public ItemsDataTable() { |             public ItemsDataTable() { | ||||||
| @@ -862,6 +864,14 @@ namespace FCM0000 { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|  |             public global::System.Data.DataColumn StorageColumn { | ||||||
|  |                 get { | ||||||
|  |                     return this.columnStorage; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|             [global::System.ComponentModel.Browsable(false)] |             [global::System.ComponentModel.Browsable(false)] | ||||||
| @@ -918,7 +928,8 @@ namespace FCM0000 { | |||||||
|                         int iparam1,  |                         int iparam1,  | ||||||
|                         string import,  |                         string import,  | ||||||
|                         string gcode,  |                         string gcode,  | ||||||
|                         decimal priceD) { |                         decimal priceD,  | ||||||
|  |                         string Storage) { | ||||||
|                 ItemsRow rowItemsRow = ((ItemsRow)(this.NewRow())); |                 ItemsRow rowItemsRow = ((ItemsRow)(this.NewRow())); | ||||||
|                 object[] columnValuesArray = new object[] { |                 object[] columnValuesArray = new object[] { | ||||||
|                         null, |                         null, | ||||||
| @@ -940,7 +951,8 @@ namespace FCM0000 { | |||||||
|                         iparam1, |                         iparam1, | ||||||
|                         import, |                         import, | ||||||
|                         gcode, |                         gcode, | ||||||
|                         priceD}; |                         priceD, | ||||||
|  |                         Storage}; | ||||||
|                 rowItemsRow.ItemArray = columnValuesArray; |                 rowItemsRow.ItemArray = columnValuesArray; | ||||||
|                 this.Rows.Add(rowItemsRow); |                 this.Rows.Add(rowItemsRow); | ||||||
|                 return rowItemsRow; |                 return rowItemsRow; | ||||||
| @@ -990,6 +1002,7 @@ namespace FCM0000 { | |||||||
|                 this.columnimport = base.Columns["import"]; |                 this.columnimport = base.Columns["import"]; | ||||||
|                 this.columngcode = base.Columns["gcode"]; |                 this.columngcode = base.Columns["gcode"]; | ||||||
|                 this.columnpriceD = base.Columns["priceD"]; |                 this.columnpriceD = base.Columns["priceD"]; | ||||||
|  |                 this.columnStorage = base.Columns["Storage"]; | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
| @@ -1035,6 +1048,8 @@ namespace FCM0000 { | |||||||
|                 base.Columns.Add(this.columngcode); |                 base.Columns.Add(this.columngcode); | ||||||
|                 this.columnpriceD = new global::System.Data.DataColumn("priceD", typeof(decimal), null, global::System.Data.MappingType.Element); |                 this.columnpriceD = new global::System.Data.DataColumn("priceD", typeof(decimal), null, global::System.Data.MappingType.Element); | ||||||
|                 base.Columns.Add(this.columnpriceD); |                 base.Columns.Add(this.columnpriceD); | ||||||
|  |                 this.columnStorage = new global::System.Data.DataColumn("Storage", typeof(string), null, global::System.Data.MappingType.Element); | ||||||
|  |                 base.Columns.Add(this.columnStorage); | ||||||
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||||||
|                                 this.columnidx}, true)); |                                 this.columnidx}, true)); | ||||||
|                 this.columnidx.AutoIncrement = true; |                 this.columnidx.AutoIncrement = true; | ||||||
| @@ -1058,6 +1073,7 @@ namespace FCM0000 { | |||||||
|                 this.columnunit.MaxLength = 50; |                 this.columnunit.MaxLength = 50; | ||||||
|                 this.columnimport.MaxLength = 1; |                 this.columnimport.MaxLength = 1; | ||||||
|                 this.columngcode.MaxLength = 10; |                 this.columngcode.MaxLength = 10; | ||||||
|  |                 this.columnStorage.MaxLength = 20; | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
| @@ -6231,6 +6247,22 @@ namespace FCM0000 { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|  |             public string Storage { | ||||||
|  |                 get { | ||||||
|  |                     if (this.IsStorageNull()) { | ||||||
|  |                         return string.Empty; | ||||||
|  |                     } | ||||||
|  |                     else { | ||||||
|  |                         return ((string)(this[this.tableItems.StorageColumn])); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 set { | ||||||
|  |                     this[this.tableItems.StorageColumn] = value; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|             public bool IsnameNull() { |             public bool IsnameNull() { | ||||||
| @@ -6434,6 +6466,18 @@ namespace FCM0000 { | |||||||
|             public void SetpriceDNull() { |             public void SetpriceDNull() { | ||||||
|                 this[this.tableItems.priceDColumn] = global::System.Convert.DBNull; |                 this[this.tableItems.priceDColumn] = global::System.Convert.DBNull; | ||||||
|             } |             } | ||||||
|  |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|  |             public bool IsStorageNull() { | ||||||
|  |                 return this.IsNull(this.tableItems.StorageColumn); | ||||||
|  |             } | ||||||
|  |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|  |             public void SetStorageNull() { | ||||||
|  |                 this[this.tableItems.StorageColumn] = global::System.Convert.DBNull; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|          |          | ||||||
|         /// <summary> |         /// <summary> | ||||||
| @@ -10553,67 +10597,185 @@ namespace FCM0000.dsMSSQLTableAdapters { | |||||||
|             tableMapping.ColumnMappings.Add("import", "import"); |             tableMapping.ColumnMappings.Add("import", "import"); | ||||||
|             tableMapping.ColumnMappings.Add("gcode", "gcode"); |             tableMapping.ColumnMappings.Add("gcode", "gcode"); | ||||||
|             tableMapping.ColumnMappings.Add("priceD", "priceD"); |             tableMapping.ColumnMappings.Add("priceD", "priceD"); | ||||||
|  |             tableMapping.ColumnMappings.Add("Storage", "Storage"); | ||||||
|             this._adapter.TableMappings.Add(tableMapping); |             this._adapter.TableMappings.Add(tableMapping); | ||||||
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.DeleteCommand.Connection = this.Connection; |             this._adapter.DeleteCommand.Connection = this.Connection; | ||||||
|             this._adapter.DeleteCommand.CommandText = "DELETE FROM Items\r\nWHERE  (idx = @Original_idx)"; |             this._adapter.DeleteCommand.CommandText = "DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [na" + | ||||||
|  |                 "me] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NU" + | ||||||
|  |                 "LL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR " + | ||||||
|  |                 "([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([man" + | ||||||
|  |                 "u] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply" + | ||||||
|  |                 "] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] " + | ||||||
|  |                 "= @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Ori" + | ||||||
|  |                 "ginal_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND (" + | ||||||
|  |                 "(@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNul" + | ||||||
|  |                 "l_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx))" + | ||||||
|  |                 " AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AN" + | ||||||
|  |                 "D ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@Is" + | ||||||
|  |                 "Null_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND " + | ||||||
|  |                 "((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1))" + | ||||||
|  |                 " AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_ipar" + | ||||||
|  |                 "am1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_im" + | ||||||
|  |                 "port)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcod" + | ||||||
|  |                 "e)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_pric" + | ||||||
|  |                 "eD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_" + | ||||||
|  |                 "Storage)))"; | ||||||
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_price", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "price", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_scale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_unit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_disable", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_priceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "priceD", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.InsertCommand.Connection = this.Connection; |             this._adapter.InsertCommand.Connection = this.Connection; | ||||||
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO Items
 |             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage);
 | ||||||
|                (name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD) | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx";
 | ||||||
| VALUES  (@name,@sid,@model,@manu,@supply,@price,@memo,@wuid,@wdate,@cate,@supplyidx,@scale,@unit,@disable,@bparam1,@iparam1,@import,@gcode,@priceD);  |  | ||||||
| SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx";
 |  | ||||||
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|  |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.UpdateCommand.Connection = this.Connection; |             this._adapter.UpdateCommand.Connection = this.Connection; | ||||||
|             this._adapter.UpdateCommand.CommandText = @"UPDATE Items
 |             this._adapter.UpdateCommand.CommandText = "UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu" + | ||||||
| SET        name = @name, sid = @sid, model = @model, manu = @manu, supply = @supply, price = @price, memo = @memo, wuid = @wuid, wdate = @wdate, cate = @cate, supplyidx = @supplyidx,  |                 ", [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] " + | ||||||
|                scale = @scale, unit = @unit, disable = @disable, bparam1 = @bparam1, iparam1 = @iparam1, import = @import, gcode = @gcode, priceD = @priceD |                 "= @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @" + | ||||||
| WHERE  (idx = @Original_idx);   |                 "unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import]" + | ||||||
| SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx";
 |                 " = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage WHERE (([" + | ||||||
|  |                 "idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @O" + | ||||||
|  |                 "riginal_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_si" + | ||||||
|  |                 "d)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model))" + | ||||||
|  |                 " AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((" + | ||||||
|  |                 "@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND (" + | ||||||
|  |                 "(@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@I" + | ||||||
|  |                 "sNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @" + | ||||||
|  |                 "Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate]" + | ||||||
|  |                 " IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyi" + | ||||||
|  |                 "dx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND" + | ||||||
|  |                 " [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [un" + | ||||||
|  |                 "it] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disabl" + | ||||||
|  |                 "e] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [b" + | ||||||
|  |                 "param1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 A" + | ||||||
|  |                 "ND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import =" + | ||||||
|  |                 " 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode =" + | ||||||
|  |                 " 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1" + | ||||||
|  |                 " AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage =" + | ||||||
|  |                 " 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)));\r\nSELECT idx, nam" + | ||||||
|  |                 "e, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, u" + | ||||||
|  |                 "nit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE " + | ||||||
|  |                 "(idx = @idx) ORDER BY cate, name, idx"; | ||||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_price", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "price", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_scale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_unit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_disable", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_priceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "priceD", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|         } |         } | ||||||
|          |          | ||||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
| @@ -10630,8 +10792,8 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp | |||||||
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[0].Connection = this.Connection; |             this._commandCollection[0].Connection = this.Connection; | ||||||
|             this._commandCollection[0].CommandText = "SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" + |             this._commandCollection[0].CommandText = "SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" + | ||||||
|                 "lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD\r\nFROM     I" + |                 "lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage\r\nF" + | ||||||
|                 "tems\r\nWHERE  (gcode = @gcode)\r\nORDER BY cate, name, idx"; |                 "ROM     Items\r\nWHERE  (gcode = @gcode)\r\nORDER BY cate, name, idx"; | ||||||
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; |             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
| @@ -10656,7 +10818,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp | |||||||
|             this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[4].Connection = this.Connection; |             this._commandCollection[4].Connection = this.Connection; | ||||||
|             this._commandCollection[4].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 |             this._commandCollection[4].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage
 | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (sid IN | WHERE  (sid IN | ||||||
|                    (SELECT  sid |                    (SELECT  sid | ||||||
| @@ -10669,7 +10831,7 @@ ORDER BY sid, name, idx"; | |||||||
|             this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[5].Connection = this.Connection; |             this._commandCollection[5].Connection = this.Connection; | ||||||
|             this._commandCollection[5].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 |             this._commandCollection[5].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage
 | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR | WHERE  (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR | ||||||
|                ISNULL(model, N'') LIKE @search OR |                ISNULL(model, N'') LIKE @search OR | ||||||
| @@ -10682,7 +10844,7 @@ ORDER BY name, idx"; | |||||||
|             this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[6].Connection = this.Connection; |             this._commandCollection[6].Connection = this.Connection; | ||||||
|             this._commandCollection[6].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 |             this._commandCollection[6].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage
 | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (ISNULL(name, N'') LIKE @search OR | WHERE  (ISNULL(name, N'') LIKE @search OR | ||||||
|                ISNULL(sid, N'') LIKE @search OR |                ISNULL(sid, N'') LIKE @search OR | ||||||
| @@ -10696,14 +10858,14 @@ ORDER BY name, idx"; | |||||||
|             this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[7].Connection = this.Connection; |             this._commandCollection[7].Connection = this.Connection; | ||||||
|             this._commandCollection[7].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 |             this._commandCollection[7].CommandText = @"SELECT  Storage, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid
 | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (ISNULL(name, N'') LIKE @search OR | WHERE  (ISNULL(name, N'') LIKE @search OR | ||||||
|                ISNULL(sid, N'') LIKE @search OR |                ISNULL(sid, N'') LIKE @search OR | ||||||
|                ISNULL(manu, N'') LIKE @search OR |                ISNULL(manu, N'') LIKE @search OR | ||||||
|                ISNULL(supply, N'') LIKE @search OR |                ISNULL(supply, N'') LIKE @search OR | ||||||
|                ISNULL(model, N'') LIKE @search OR |                ISNULL(model, N'') LIKE @search OR | ||||||
|                ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) and isnull(disable,0)=0 |                ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0) | ||||||
| ORDER BY name, idx";
 | ORDER BY name, idx";
 | ||||||
|             this._commandCollection[7].CommandType = global::System.Data.CommandType.Text; |             this._commandCollection[7].CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -10711,8 +10873,8 @@ ORDER BY name, idx"; | |||||||
|             this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[8].Connection = this.Connection; |             this._commandCollection[8].Connection = this.Connection; | ||||||
|             this._commandCollection[8].CommandText = "SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" + |             this._commandCollection[8].CommandText = "SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" + | ||||||
|                 "ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD\r\nFROM     I" + |                 "ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage\r\nF" + | ||||||
|                 "tems\r\nWHERE  (idx = @idx)"; |                 "ROM     Items\r\nWHERE  (idx = @idx)"; | ||||||
|             this._commandCollection[8].CommandType = global::System.Data.CommandType.Text; |             this._commandCollection[8].CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
| @@ -11021,8 +11183,180 @@ ORDER BY name, idx"; | |||||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] |         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] |         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||||
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] |         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] | ||||||
|         public virtual int Delete(int Original_idx) { |         public virtual int Delete( | ||||||
|  |                     int Original_idx,  | ||||||
|  |                     string Original_name,  | ||||||
|  |                     string Original_sid,  | ||||||
|  |                     string Original_model,  | ||||||
|  |                     string Original_manu,  | ||||||
|  |                     string Original_supply,  | ||||||
|  |                     global::System.Nullable<decimal> Original_price,  | ||||||
|  |                     string Original_memo,  | ||||||
|  |                     string Original_wuid,  | ||||||
|  |                     System.DateTime Original_wdate,  | ||||||
|  |                     string Original_cate,  | ||||||
|  |                     global::System.Nullable<int> Original_supplyidx,  | ||||||
|  |                     global::System.Nullable<double> Original_scale,  | ||||||
|  |                     string Original_unit,  | ||||||
|  |                     global::System.Nullable<bool> Original_disable,  | ||||||
|  |                     global::System.Nullable<bool> Original_bparam1,  | ||||||
|  |                     global::System.Nullable<int> Original_iparam1,  | ||||||
|  |                     string Original_import,  | ||||||
|  |                     string Original_gcode,  | ||||||
|  |                     global::System.Nullable<decimal> Original_priceD,  | ||||||
|  |                     string Original_Storage) { | ||||||
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); |             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); | ||||||
|  |             if ((Original_name == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_name)); | ||||||
|  |             } | ||||||
|  |             if ((Original_sid == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_sid)); | ||||||
|  |             } | ||||||
|  |             if ((Original_model == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_model)); | ||||||
|  |             } | ||||||
|  |             if ((Original_manu == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_manu)); | ||||||
|  |             } | ||||||
|  |             if ((Original_supply == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_supply)); | ||||||
|  |             } | ||||||
|  |             if ((Original_price.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_price.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_memo == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_memo)); | ||||||
|  |             } | ||||||
|  |             if ((Original_wuid == null)) { | ||||||
|  |                 throw new global::System.ArgumentNullException("Original_wuid"); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_wuid)); | ||||||
|  |             } | ||||||
|  |             this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_wdate)); | ||||||
|  |             if ((Original_cate == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_cate)); | ||||||
|  |             } | ||||||
|  |             if ((Original_supplyidx.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[20].Value = ((int)(Original_supplyidx.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_scale.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_scale.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_unit == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_unit)); | ||||||
|  |             } | ||||||
|  |             if ((Original_disable.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[26].Value = ((bool)(Original_disable.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_bparam1.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[28].Value = ((bool)(Original_bparam1.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_iparam1.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[30].Value = ((int)(Original_iparam1.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_import == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_import)); | ||||||
|  |             } | ||||||
|  |             if ((Original_gcode == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_gcode)); | ||||||
|  |             } | ||||||
|  |             if ((Original_priceD.HasValue == true)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_priceD.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_Storage == null)) { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_Storage)); | ||||||
|  |             } | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; | ||||||
|             if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
| @@ -11062,7 +11396,8 @@ ORDER BY name, idx"; | |||||||
|                     global::System.Nullable<int> iparam1,  |                     global::System.Nullable<int> iparam1,  | ||||||
|                     string import,  |                     string import,  | ||||||
|                     string gcode,  |                     string gcode,  | ||||||
|                     global::System.Nullable<decimal> priceD) { |                     global::System.Nullable<decimal> priceD,  | ||||||
|  |                     string Storage) { | ||||||
|             if ((name == null)) { |             if ((name == null)) { | ||||||
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; |                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
| @@ -11172,6 +11507,12 @@ ORDER BY name, idx"; | |||||||
|             else { |             else { | ||||||
|                 this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; |                 this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|  |             if ((Storage == null)) { | ||||||
|  |                 this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Storage)); | ||||||
|  |             } | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; | ||||||
|             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
| @@ -11212,7 +11553,28 @@ ORDER BY name, idx"; | |||||||
|                     string import,  |                     string import,  | ||||||
|                     string gcode,  |                     string gcode,  | ||||||
|                     global::System.Nullable<decimal> priceD,  |                     global::System.Nullable<decimal> priceD,  | ||||||
|  |                     string Storage,  | ||||||
|                     int Original_idx,  |                     int Original_idx,  | ||||||
|  |                     string Original_name,  | ||||||
|  |                     string Original_sid,  | ||||||
|  |                     string Original_model,  | ||||||
|  |                     string Original_manu,  | ||||||
|  |                     string Original_supply,  | ||||||
|  |                     global::System.Nullable<decimal> Original_price,  | ||||||
|  |                     string Original_memo,  | ||||||
|  |                     string Original_wuid,  | ||||||
|  |                     System.DateTime Original_wdate,  | ||||||
|  |                     string Original_cate,  | ||||||
|  |                     global::System.Nullable<int> Original_supplyidx,  | ||||||
|  |                     global::System.Nullable<double> Original_scale,  | ||||||
|  |                     string Original_unit,  | ||||||
|  |                     global::System.Nullable<bool> Original_disable,  | ||||||
|  |                     global::System.Nullable<bool> Original_bparam1,  | ||||||
|  |                     global::System.Nullable<int> Original_iparam1,  | ||||||
|  |                     string Original_import,  | ||||||
|  |                     string Original_gcode,  | ||||||
|  |                     global::System.Nullable<decimal> Original_priceD,  | ||||||
|  |                     string Original_Storage,  | ||||||
|                     int idx) { |                     int idx) { | ||||||
|             if ((name == null)) { |             if ((name == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||||
| @@ -11323,8 +11685,165 @@ ORDER BY name, idx"; | |||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_idx)); |             if ((Storage == null)) { | ||||||
|             this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(idx)); |                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Storage)); | ||||||
|  |             } | ||||||
|  |             this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx)); | ||||||
|  |             if ((Original_name == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_name)); | ||||||
|  |             } | ||||||
|  |             if ((Original_sid == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_sid)); | ||||||
|  |             } | ||||||
|  |             if ((Original_model == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_model)); | ||||||
|  |             } | ||||||
|  |             if ((Original_manu == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_manu)); | ||||||
|  |             } | ||||||
|  |             if ((Original_supply == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_supply)); | ||||||
|  |             } | ||||||
|  |             if ((Original_price.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_price.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_memo == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_memo)); | ||||||
|  |             } | ||||||
|  |             if ((Original_wuid == null)) { | ||||||
|  |                 throw new global::System.ArgumentNullException("Original_wuid"); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_wuid)); | ||||||
|  |             } | ||||||
|  |             this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_wdate)); | ||||||
|  |             if ((Original_cate == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_cate)); | ||||||
|  |             } | ||||||
|  |             if ((Original_supplyidx.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_supplyidx.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_scale.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[42].Value = ((double)(Original_scale.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_unit == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_unit)); | ||||||
|  |             } | ||||||
|  |             if ((Original_disable.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_disable.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_bparam1.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[48].Value = ((bool)(Original_bparam1.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_iparam1.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_iparam1.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_import == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_import)); | ||||||
|  |             } | ||||||
|  |             if ((Original_gcode == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_gcode)); | ||||||
|  |             } | ||||||
|  |             if ((Original_priceD.HasValue == true)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[56].Value = ((decimal)(Original_priceD.Value)); | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             if ((Original_Storage == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_Storage)); | ||||||
|  |             } | ||||||
|  |             this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx)); | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; | ||||||
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
| @@ -11341,6 +11860,55 @@ ORDER BY name, idx"; | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
|          |          | ||||||
|  |         [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.Update, true)] | ||||||
|  |         public virtual int Update( | ||||||
|  |                     string name,  | ||||||
|  |                     string sid,  | ||||||
|  |                     string model,  | ||||||
|  |                     string manu,  | ||||||
|  |                     string supply,  | ||||||
|  |                     global::System.Nullable<decimal> price,  | ||||||
|  |                     string memo,  | ||||||
|  |                     string wuid,  | ||||||
|  |                     System.DateTime wdate,  | ||||||
|  |                     string cate,  | ||||||
|  |                     global::System.Nullable<int> supplyidx,  | ||||||
|  |                     global::System.Nullable<double> scale,  | ||||||
|  |                     string unit,  | ||||||
|  |                     global::System.Nullable<bool> disable,  | ||||||
|  |                     global::System.Nullable<bool> bparam1,  | ||||||
|  |                     global::System.Nullable<int> iparam1,  | ||||||
|  |                     string import,  | ||||||
|  |                     string gcode,  | ||||||
|  |                     global::System.Nullable<decimal> priceD,  | ||||||
|  |                     string Storage,  | ||||||
|  |                     int Original_idx,  | ||||||
|  |                     string Original_name,  | ||||||
|  |                     string Original_sid,  | ||||||
|  |                     string Original_model,  | ||||||
|  |                     string Original_manu,  | ||||||
|  |                     string Original_supply,  | ||||||
|  |                     global::System.Nullable<decimal> Original_price,  | ||||||
|  |                     string Original_memo,  | ||||||
|  |                     string Original_wuid,  | ||||||
|  |                     System.DateTime Original_wdate,  | ||||||
|  |                     string Original_cate,  | ||||||
|  |                     global::System.Nullable<int> Original_supplyidx,  | ||||||
|  |                     global::System.Nullable<double> Original_scale,  | ||||||
|  |                     string Original_unit,  | ||||||
|  |                     global::System.Nullable<bool> Original_disable,  | ||||||
|  |                     global::System.Nullable<bool> Original_bparam1,  | ||||||
|  |                     global::System.Nullable<int> Original_iparam1,  | ||||||
|  |                     string Original_import,  | ||||||
|  |                     string Original_gcode,  | ||||||
|  |                     global::System.Nullable<decimal> Original_priceD,  | ||||||
|  |                     string Original_Storage) { | ||||||
|  |             return this.Update(name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, Original_idx, Original_name, Original_sid, Original_model, Original_manu, Original_supply, Original_price, Original_memo, Original_wuid, Original_wdate, Original_cate, Original_supplyidx, Original_scale, Original_unit, Original_disable, Original_bparam1, Original_iparam1, Original_import, Original_gcode, Original_priceD, Original_Storage, Original_idx); | ||||||
|  |         } | ||||||
|  |          | ||||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] |         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] |         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||||
|   | |||||||
| @@ -2,9 +2,9 @@ | |||||||
| { | { | ||||||
|  |  | ||||||
|  |  | ||||||
|     partial class dsMSSQL | 	partial class dsMSSQL | ||||||
|     { | 	{ | ||||||
|     } | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
| namespace FCM0000.dsMSSQLTableAdapters { | namespace FCM0000.dsMSSQLTableAdapters { | ||||||
|   | |||||||
| @@ -12,45 +12,81 @@ | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||||
|                 <DeleteCommand> |                 <DeleteCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>DELETE FROM Items |                     <CommandText>DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)))</CommandText> | ||||||
| WHERE  (idx = @Original_idx)</CommandText> |  | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_scale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="scale" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_scale" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_unit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="unit" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_unit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_disable" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="disable" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_disable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bparam1" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_priceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="priceD" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Storage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </DeleteCommand> |                 </DeleteCommand> | ||||||
|                 <InsertCommand> |                 <InsertCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>INSERT INTO Items |                     <CommandText>INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage); | ||||||
|                (name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD) | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx</CommandText> | ||||||
| VALUES  (@name,@sid,@model,@manu,@supply,@price,@memo,@wuid,@wdate,@cate,@supplyidx,@scale,@unit,@disable,@bparam1,@iparam1,@import,@gcode,@priceD);  |  | ||||||
| SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx</CommandText> |  | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="sid" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="model" ColumnName="model" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="manu" ColumnName="manu" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="supply" ColumnName="supply" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="price" ColumnName="price" DataSourceName="EE.dbo.Items" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.Items" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="supplyidx" ColumnName="supplyidx" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="scale" ColumnName="scale" DataSourceName="EE.dbo.Items" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@scale" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@scale" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="unit" ColumnName="unit" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="disable" ColumnName="disable" DataSourceName="EE.dbo.Items" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="bparam1" ColumnName="bparam1" DataSourceName="EE.dbo.Items" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="iparam1" ColumnName="iparam1" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@iparam1" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="EE.dbo.Items" DataTypeServer="char(1)" DbType="AnsiString" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="priceD" ColumnName="priceD" DataSourceName="EE.dbo.Items" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="9" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </InsertCommand> |                 </InsertCommand> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD |                     <CommandText>SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (gcode = @gcode) | WHERE  (gcode = @gcode) | ||||||
| ORDER BY cate, name, idx</CommandText> | ORDER BY cate, name, idx</CommandText> | ||||||
| @@ -60,34 +96,70 @@ ORDER BY cate, name, idx</CommandText> | |||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </SelectCommand> |                 </SelectCommand> | ||||||
|                 <UpdateCommand> |                 <UpdateCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>UPDATE Items |                     <CommandText>UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import] = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage))); | ||||||
| SET        name = @name, sid = @sid, model = @model, manu = @manu, supply = @supply, price = @price, memo = @memo, wuid = @wuid, wdate = @wdate, cate = @cate, supplyidx = @supplyidx,  | SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx</CommandText> | ||||||
|                scale = @scale, unit = @unit, disable = @disable, bparam1 = @bparam1, iparam1 = @iparam1, import = @import, gcode = @gcode, priceD = @priceD |  | ||||||
| WHERE  (idx = @Original_idx);   |  | ||||||
| SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx</CommandText> |  | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="sid" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="model" ColumnName="model" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="manu" ColumnName="manu" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="supply" ColumnName="supply" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="price" ColumnName="price" DataSourceName="EE.dbo.Items" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.Items" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="supplyidx" ColumnName="supplyidx" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="scale" ColumnName="scale" DataSourceName="EE.dbo.Items" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@scale" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@scale" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="unit" ColumnName="unit" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="disable" ColumnName="disable" DataSourceName="EE.dbo.Items" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="bparam1" ColumnName="bparam1" DataSourceName="EE.dbo.Items" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="iparam1" ColumnName="iparam1" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@iparam1" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="EE.dbo.Items" DataTypeServer="char(1)" DbType="AnsiString" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="priceD" ColumnName="priceD" DataSourceName="EE.dbo.Items" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="9" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_scale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="scale" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_scale" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_unit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="unit" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_unit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_disable" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="disable" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_disable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bparam1" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_priceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="priceD" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Storage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </UpdateCommand> |                 </UpdateCommand> | ||||||
| @@ -114,6 +186,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp | |||||||
|               <Mapping SourceColumn="import" DataSetColumn="import" /> |               <Mapping SourceColumn="import" DataSetColumn="import" /> | ||||||
|               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> |               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | ||||||
|               <Mapping SourceColumn="priceD" DataSetColumn="priceD" /> |               <Mapping SourceColumn="priceD" DataSetColumn="priceD" /> | ||||||
|  |               <Mapping SourceColumn="Storage" DataSetColumn="Storage" /> | ||||||
|             </Mappings> |             </Mappings> | ||||||
|             <Sources> |             <Sources> | ||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport"> | ||||||
| @@ -164,7 +237,7 @@ where gcode = @gcode and sid = @sid and isnull(sid,'') <> ''</CommandText> | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD |                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (sid IN | WHERE  (sid IN | ||||||
|                    (SELECT  sid |                    (SELECT  sid | ||||||
| @@ -182,7 +255,7 @@ ORDER BY sid, name, idx</CommandText> | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD |                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR | WHERE  (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR | ||||||
|                ISNULL(model, N'') LIKE @search OR |                ISNULL(model, N'') LIKE @search OR | ||||||
| @@ -200,7 +273,7 @@ ORDER BY name, idx</CommandText> | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD |                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (ISNULL(name, N'') LIKE @search OR | WHERE  (ISNULL(name, N'') LIKE @search OR | ||||||
|                ISNULL(sid, N'') LIKE @search OR |                ISNULL(sid, N'') LIKE @search OR | ||||||
| @@ -219,14 +292,14 @@ ORDER BY name, idx</CommandText> | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearchNoDisable" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearchNoDisable" GeneratorSourceName="FillSearchNoDisable" GetMethodModifier="Public" GetMethodName="GetSearchNoDisable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearchNoDisable" UserSourceName="FillSearchNoDisable"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearchNoDisable" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearchNoDisable" GeneratorSourceName="FillSearchNoDisable" GetMethodModifier="Public" GetMethodName="GetSearchNoDisable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearchNoDisable" UserSourceName="FillSearchNoDisable"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD |                     <CommandText>SELECT  Storage, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (ISNULL(name, N'') LIKE @search OR | WHERE  (ISNULL(name, N'') LIKE @search OR | ||||||
|                ISNULL(sid, N'') LIKE @search OR |                ISNULL(sid, N'') LIKE @search OR | ||||||
|                ISNULL(manu, N'') LIKE @search OR |                ISNULL(manu, N'') LIKE @search OR | ||||||
|                ISNULL(supply, N'') LIKE @search OR |                ISNULL(supply, N'') LIKE @search OR | ||||||
|                ISNULL(model, N'') LIKE @search OR |                ISNULL(model, N'') LIKE @search OR | ||||||
|                ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) and isnull(disable,0)=0 |                ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0) | ||||||
| ORDER BY name, idx</CommandText> | ORDER BY name, idx</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -238,7 +311,7 @@ ORDER BY name, idx</CommandText> | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetbyIDX" GetMethodModifier="Public" GetMethodName="GetbyIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyIDX" UserSourceName="GetbyIDX"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetbyIDX" GetMethodModifier="Public" GetMethodName="GetbyIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyIDX" UserSourceName="GetbyIDX"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD |                     <CommandText>SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage | ||||||
| FROM     Items | FROM     Items | ||||||
| WHERE  (idx = @idx)</CommandText> | WHERE  (idx = @idx)</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
| @@ -1645,7 +1718,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|   <xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL"> |   <xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL"> | ||||||
|     <xs:complexType> |     <xs:complexType> | ||||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|         <xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_UserTableName="Items" msprop:Generator_RowEvArgName="ItemsRowChangeEvent"> |         <xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_UserTableName="Items" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_RowClassName="ItemsRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -1734,10 +1807,17 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="priceD" msprop:Generator_ColumnVarNameInTable="columnpriceD" msprop:Generator_ColumnPropNameInRow="priceD" msprop:Generator_ColumnPropNameInTable="priceDColumn" msprop:Generator_UserColumnName="priceD" type="xs:decimal" minOccurs="0" /> |               <xs:element name="priceD" msprop:Generator_ColumnVarNameInTable="columnpriceD" msprop:Generator_ColumnPropNameInRow="priceD" msprop:Generator_ColumnPropNameInTable="priceDColumn" msprop:Generator_UserColumnName="priceD" type="xs:decimal" minOccurs="0" /> | ||||||
|  |               <xs:element name="Storage" msprop:Generator_ColumnVarNameInTable="columnStorage" msprop:Generator_ColumnPropNameInRow="Storage" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="StorageColumn" msprop:Generator_UserColumnName="Storage" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="20" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="Common" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_TablePropName="Common" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_RowClassName="CommonRow" msprop:Generator_UserTableName="Common" msprop:Generator_RowEvArgName="CommonRowChangeEvent"> |         <xs:element name="Common" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon" msprop:Generator_TablePropName="Common" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_UserTableName="Common" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_RowEvArgName="CommonRowChangeEvent" msprop:Generator_RowClassName="CommonRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -1789,7 +1869,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="Board" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_TablePropName="Board" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_RowClassName="BoardRow" msprop:Generator_UserTableName="Board" msprop:Generator_RowEvArgName="BoardRowChangeEvent"> |         <xs:element name="Board" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard" msprop:Generator_TablePropName="Board" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_UserTableName="Board" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_RowEvArgName="BoardRowChangeEvent" msprop:Generator_RowClassName="BoardRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -1857,7 +1937,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="RequestItem" msprop:Generator_TableClassName="RequestItemDataTable" msprop:Generator_TableVarName="tableRequestItem" msprop:Generator_RowChangedName="RequestItemRowChanged" msprop:Generator_TablePropName="RequestItem" msprop:Generator_RowDeletingName="RequestItemRowDeleting" msprop:Generator_RowChangingName="RequestItemRowChanging" msprop:Generator_RowEvHandlerName="RequestItemRowChangeEventHandler" msprop:Generator_RowDeletedName="RequestItemRowDeleted" msprop:Generator_RowClassName="RequestItemRow" msprop:Generator_UserTableName="RequestItem" msprop:Generator_RowEvArgName="RequestItemRowChangeEvent"> |         <xs:element name="RequestItem" msprop:Generator_TableClassName="RequestItemDataTable" msprop:Generator_TableVarName="tableRequestItem" msprop:Generator_TablePropName="RequestItem" msprop:Generator_RowDeletingName="RequestItemRowDeleting" msprop:Generator_RowChangingName="RequestItemRowChanging" msprop:Generator_RowEvHandlerName="RequestItemRowChangeEventHandler" msprop:Generator_RowDeletedName="RequestItemRowDeleted" msprop:Generator_UserTableName="RequestItem" msprop:Generator_RowChangedName="RequestItemRowChanged" msprop:Generator_RowEvArgName="RequestItemRowChangeEvent" msprop:Generator_RowClassName="RequestItemRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -1946,7 +2026,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="Customs" msprop:Generator_TableClassName="CustomsDataTable" msprop:Generator_TableVarName="tableCustoms" msprop:Generator_RowChangedName="CustomsRowChanged" msprop:Generator_TablePropName="Customs" msprop:Generator_RowDeletingName="CustomsRowDeleting" msprop:Generator_RowChangingName="CustomsRowChanging" msprop:Generator_RowEvHandlerName="CustomsRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomsRowDeleted" msprop:Generator_RowClassName="CustomsRow" msprop:Generator_UserTableName="Customs" msprop:Generator_RowEvArgName="CustomsRowChangeEvent"> |         <xs:element name="Customs" msprop:Generator_TableClassName="CustomsDataTable" msprop:Generator_TableVarName="tableCustoms" msprop:Generator_TablePropName="Customs" msprop:Generator_RowDeletingName="CustomsRowDeleting" msprop:Generator_RowChangingName="CustomsRowChanging" msprop:Generator_RowEvHandlerName="CustomsRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomsRowDeleted" msprop:Generator_UserTableName="Customs" msprop:Generator_RowChangedName="CustomsRowChanged" msprop:Generator_RowEvArgName="CustomsRowChangeEvent" msprop:Generator_RowClassName="CustomsRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -2059,7 +2139,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="Staff" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_TablePropName="Staff" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_RowClassName="StaffRow" msprop:Generator_UserTableName="Staff" msprop:Generator_RowEvArgName="StaffRowChangeEvent"> |         <xs:element name="Staff" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff" msprop:Generator_TablePropName="Staff" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_UserTableName="Staff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_RowEvArgName="StaffRowChangeEvent" msprop:Generator_RowClassName="StaffRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -2124,7 +2204,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent"> |         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -2265,7 +2345,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow"> |         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="ddate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ddate" msprop:Generator_ColumnVarNameInTable="columnddate" msprop:Generator_ColumnPropNameInTable="ddateColumn" msprop:Generator_UserColumnName="ddate" minOccurs="0"> |               <xs:element name="ddate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ddate" msprop:Generator_ColumnVarNameInTable="columnddate" msprop:Generator_ColumnPropNameInTable="ddateColumn" msprop:Generator_UserColumnName="ddate" minOccurs="0"> | ||||||
| @@ -2386,7 +2466,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent" msprop:Generator_RowClassName="HolidayLIstRow"> |         <xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_RowClassName="HolidayLIstRow" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -2416,7 +2496,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="InventoryUser" msprop:Generator_TableClassName="InventoryUserDataTable" msprop:Generator_TableVarName="tableInventoryUser" msprop:Generator_TablePropName="InventoryUser" msprop:Generator_RowDeletingName="InventoryUserRowDeleting" msprop:Generator_RowChangingName="InventoryUserRowChanging" msprop:Generator_RowEvHandlerName="InventoryUserRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryUserRowDeleted" msprop:Generator_UserTableName="InventoryUser" msprop:Generator_RowChangedName="InventoryUserRowChanged" msprop:Generator_RowEvArgName="InventoryUserRowChangeEvent" msprop:Generator_RowClassName="InventoryUserRow"> |         <xs:element name="InventoryUser" msprop:Generator_TableClassName="InventoryUserDataTable" msprop:Generator_TableVarName="tableInventoryUser" msprop:Generator_RowChangedName="InventoryUserRowChanged" msprop:Generator_TablePropName="InventoryUser" msprop:Generator_RowDeletingName="InventoryUserRowDeleting" msprop:Generator_RowChangingName="InventoryUserRowChanging" msprop:Generator_RowEvHandlerName="InventoryUserRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryUserRowDeleted" msprop:Generator_RowClassName="InventoryUserRow" msprop:Generator_UserTableName="InventoryUser" msprop:Generator_RowEvArgName="InventoryUserRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -2493,7 +2573,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="EETGW_DocuForm" msprop:Generator_TableClassName="EETGW_DocuFormDataTable" msprop:Generator_TableVarName="tableEETGW_DocuForm" msprop:Generator_TablePropName="EETGW_DocuForm" msprop:Generator_RowDeletingName="EETGW_DocuFormRowDeleting" msprop:Generator_RowChangingName="EETGW_DocuFormRowChanging" msprop:Generator_RowEvHandlerName="EETGW_DocuFormRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_DocuFormRowDeleted" msprop:Generator_UserTableName="EETGW_DocuForm" msprop:Generator_RowChangedName="EETGW_DocuFormRowChanged" msprop:Generator_RowEvArgName="EETGW_DocuFormRowChangeEvent" msprop:Generator_RowClassName="EETGW_DocuFormRow"> |         <xs:element name="EETGW_DocuForm" msprop:Generator_TableClassName="EETGW_DocuFormDataTable" msprop:Generator_TableVarName="tableEETGW_DocuForm" msprop:Generator_RowChangedName="EETGW_DocuFormRowChanged" msprop:Generator_TablePropName="EETGW_DocuForm" msprop:Generator_RowDeletingName="EETGW_DocuFormRowDeleting" msprop:Generator_RowChangingName="EETGW_DocuFormRowChanging" msprop:Generator_RowEvHandlerName="EETGW_DocuFormRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_DocuFormRowDeleted" msprop:Generator_RowClassName="EETGW_DocuFormRow" msprop:Generator_UserTableName="EETGW_DocuForm" msprop:Generator_RowEvArgName="EETGW_DocuFormRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
|   | |||||||
							
								
								
									
										1745
									
								
								SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1745
									
								
								SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -345,7 +345,7 @@ namespace FEQ0000 | |||||||
|                     this.tbSID.Text = f.SID; |                     this.tbSID.Text = f.SID; | ||||||
|                     this.tbSID.Tag = f.SID; |                     this.tbSID.Tag = f.SID; | ||||||
|                     this.tbPumUnit.Text = f.itemUnit; //181214 |                     this.tbPumUnit.Text = f.itemUnit; //181214 | ||||||
|  |                     this.tbStorage.Text = f.Storage; | ||||||
|                     this.tbPumModel.Enabled = false; |                     this.tbPumModel.Enabled = false; | ||||||
|                     this.tbPumUnit.Enabled = false; |                     this.tbPumUnit.Enabled = false; | ||||||
|                     if (tbSID.Text != "") tbSID.Enabled = false; |                     if (tbSID.Text != "") tbSID.Enabled = false; | ||||||
| @@ -488,6 +488,12 @@ namespace FEQ0000 | |||||||
|                 } |                 } | ||||||
|  |  | ||||||
|             } |             } | ||||||
|  |             if(tbStorage.Text.Equals("SPR")) | ||||||
|  | 			{ | ||||||
|  |                 if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes) | ||||||
|  |                     return false; | ||||||
|  | 			} | ||||||
|  |  | ||||||
|  |  | ||||||
|             var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); |             var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); | ||||||
|             if (overtime.TotalSeconds > 0) |             if (overtime.TotalSeconds > 0) | ||||||
|   | |||||||
| @@ -203,6 +203,9 @@ | |||||||
| * 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) | * 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) | ||||||
| * 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value> | * 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value> | ||||||
|   </data> |   </data> | ||||||
|  |   <metadata name="label10.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|   <metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>17, 17</value> |     <value>17, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 chi
					chi