diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 2e9f1f0..22930bb 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("23.10.18.1130")] -[assembly: AssemblyFileVersion("23.10.18.1130")] +[assembly: AssemblyVersion("23.10.19.0042")] +[assembly: AssemblyFileVersion("23.10.19.0042")] diff --git a/Project/_Common/fUserList.Designer.cs b/Project/_Common/fUserList.Designer.cs index 0b5b2cb..552a560 100644 --- a/Project/_Common/fUserList.Designer.cs +++ b/Project/_Common/fUserList.Designer.cs @@ -80,6 +80,8 @@ this.useUserStateDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.useJobReportDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.exceptHolyDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); @@ -87,6 +89,7 @@ this.cm1.SuspendLayout(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit(); + this.panel1.SuspendLayout(); this.SuspendLayout(); // // bn @@ -364,11 +367,11 @@ // // tbFind // - this.tbFind.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tbFind.Dock = System.Windows.Forms.DockStyle.Fill; this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.tbFind.Location = new System.Drawing.Point(0, 629); + this.tbFind.Location = new System.Drawing.Point(126, 0); this.tbFind.Name = "tbFind"; - this.tbFind.Size = new System.Drawing.Size(1234, 43); + this.tbFind.Size = new System.Drawing.Size(1108, 43); this.tbFind.TabIndex = 3; this.tbFind.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // @@ -412,7 +415,7 @@ this.arDatagridView1.ReadOnly = true; this.arDatagridView1.RowTemplate.Height = 23; this.arDatagridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.arDatagridView1.Size = new System.Drawing.Size(1234, 604); + this.arDatagridView1.Size = new System.Drawing.Size(1234, 603); this.arDatagridView1.TabIndex = 6; // // idDataGridViewTextBoxColumn @@ -520,13 +523,35 @@ this.exceptHolyDataGridViewCheckBoxColumn.Name = "exceptHolyDataGridViewCheckBoxColumn"; this.exceptHolyDataGridViewCheckBoxColumn.ReadOnly = true; // + // panel1 + // + this.panel1.Controls.Add(this.tbFind); + this.panel1.Controls.Add(this.label1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(0, 628); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1234, 44); + this.panel1.TabIndex = 7; + // + // label1 + // + this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label1.Dock = System.Windows.Forms.DockStyle.Left; + this.label1.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label1.Location = new System.Drawing.Point(0, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(126, 44); + this.label1.TabIndex = 4; + this.label1.Text = "검색"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // fUserList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1234, 711); this.Controls.Add(this.arDatagridView1); - this.Controls.Add(this.tbFind); + this.Controls.Add(this.panel1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.bn); this.Name = "fUserList"; @@ -541,6 +566,8 @@ this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -598,5 +625,7 @@ private System.Windows.Forms.DataGridViewCheckBoxColumn useUserStateDataGridViewCheckBoxColumn; private System.Windows.Forms.DataGridViewCheckBoxColumn useJobReportDataGridViewCheckBoxColumn; private System.Windows.Forms.DataGridViewCheckBoxColumn exceptHolyDataGridViewCheckBoxColumn; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label label1; } } \ No newline at end of file diff --git a/Project/_Common/fUserList.resx b/Project/_Common/fUserList.resx index 1e6ec25..9a92ff4 100644 --- a/Project/_Common/fUserList.resx +++ b/Project/_Common/fUserList.resx @@ -130,7 +130,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA @@ -141,7 +141,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC @@ -150,7 +150,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f oAc0QjgAAAAASUVORK5CYII= @@ -159,7 +159,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG @@ -170,7 +170,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + wQAADsEBuJFr7QAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA @@ -266,7 +266,4 @@ True - - True - \ No newline at end of file diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index cc350d5..4fb86a6 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -116,6 +116,7 @@ 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.btDev = new System.Windows.Forms.ToolStripMenuItem(); this.메일전송ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); @@ -153,7 +154,6 @@ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); - this.대쉬보드ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cmTab.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); @@ -284,14 +284,14 @@ // this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image"))); this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; - this.codesToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.codesToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.codesToolStripMenuItem.Text = "공용코드"; this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); // // itemsToolStripMenuItem // this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; - this.itemsToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.itemsToolStripMenuItem.Text = "품목정보"; this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); // @@ -304,7 +304,7 @@ this.toolStripMenuItem12, this.그룹정보ToolStripMenuItem}); this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; - this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.userInfoToolStripMenuItem.Text = "사용자"; // // userAccountToolStripMenuItem @@ -343,14 +343,14 @@ // customerToolStripMenuItem // this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; - this.customerToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.customerToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.customerToolStripMenuItem.Text = "업체정보"; this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); // // mn_kuntae // this.mn_kuntae.Name = "mn_kuntae"; - this.mn_kuntae.Size = new System.Drawing.Size(180, 24); + this.mn_kuntae.Size = new System.Drawing.Size(153, 24); this.mn_kuntae.Text = "월별 근무표"; this.mn_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); // @@ -358,7 +358,7 @@ // this.메일양식ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image"))); this.메일양식ToolStripMenuItem.Name = "메일양식ToolStripMenuItem"; - this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.메일양식ToolStripMenuItem.Text = "메일 양식"; this.메일양식ToolStripMenuItem.Click += new System.EventHandler(this.메일양식ToolStripMenuItem_Click); // @@ -399,35 +399,35 @@ // 일반구매ToolStripMenuItem // this.일반구매ToolStripMenuItem.Name = "일반구매ToolStripMenuItem"; - this.일반구매ToolStripMenuItem.Size = new System.Drawing.Size(139, 24); - this.일반구매ToolStripMenuItem.Text = "NR 구매"; + this.일반구매ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.일반구매ToolStripMenuItem.Text = "일반 구매"; this.일반구매ToolStripMenuItem.Click += new System.EventHandler(this.일반구매ToolStripMenuItem_Click); // // cR구매ToolStripMenuItem // this.cR구매ToolStripMenuItem.ForeColor = System.Drawing.Color.Black; this.cR구매ToolStripMenuItem.Name = "cR구매ToolStripMenuItem"; - this.cR구매ToolStripMenuItem.Size = new System.Drawing.Size(139, 24); + this.cR구매ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.cR구매ToolStripMenuItem.Text = "CR 구매"; this.cR구매ToolStripMenuItem.Click += new System.EventHandler(this.cR구매ToolStripMenuItem_Click); // // sPR구매ToolStripMenuItem // - this.sPR구매ToolStripMenuItem.Enabled = false; + this.sPR구매ToolStripMenuItem.ForeColor = System.Drawing.Color.Blue; this.sPR구매ToolStripMenuItem.Name = "sPR구매ToolStripMenuItem"; - this.sPR구매ToolStripMenuItem.Size = new System.Drawing.Size(139, 24); - this.sPR구매ToolStripMenuItem.Text = "SPR 구매"; + this.sPR구매ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.sPR구매ToolStripMenuItem.Text = "전자실 구매"; this.sPR구매ToolStripMenuItem.Click += new System.EventHandler(this.sPR구매ToolStripMenuItem_Click); // // toolStripMenuItem14 // this.toolStripMenuItem14.Name = "toolStripMenuItem14"; - this.toolStripMenuItem14.Size = new System.Drawing.Size(136, 6); + this.toolStripMenuItem14.Size = new System.Drawing.Size(177, 6); // // 품목입고ToolStripMenuItem // this.품목입고ToolStripMenuItem.Name = "품목입고ToolStripMenuItem"; - this.품목입고ToolStripMenuItem.Size = new System.Drawing.Size(139, 24); + this.품목입고ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.품목입고ToolStripMenuItem.Text = "품목 입고"; this.품목입고ToolStripMenuItem.Click += new System.EventHandler(this.품목입고ToolStripMenuItem_Click); // @@ -447,7 +447,7 @@ // 목록ToolStripMenuItem // this.목록ToolStripMenuItem.Name = "목록ToolStripMenuItem"; - this.목록ToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.목록ToolStripMenuItem.Text = "목록"; this.목록ToolStripMenuItem.Click += new System.EventHandler(this.목록ToolStripMenuItem_Click); // @@ -455,19 +455,19 @@ // this.담당자별현황ToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.담당자별현황ToolStripMenuItem.Name = "담당자별현황ToolStripMenuItem"; - this.담당자별현황ToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.담당자별현황ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.담당자별현황ToolStripMenuItem.Text = "목록(챔피언)"; this.담당자별현황ToolStripMenuItem.Click += new System.EventHandler(this.담당자별현황ToolStripMenuItem_Click); // // toolStripMenuItem15 // this.toolStripMenuItem15.Name = "toolStripMenuItem15"; - this.toolStripMenuItem15.Size = new System.Drawing.Size(153, 6); + this.toolStripMenuItem15.Size = new System.Drawing.Size(177, 6); // // layoutToolStripMenuItem // this.layoutToolStripMenuItem.Name = "layoutToolStripMenuItem"; - this.layoutToolStripMenuItem.Size = new System.Drawing.Size(156, 24); + this.layoutToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.layoutToolStripMenuItem.Text = "Layout"; this.layoutToolStripMenuItem.Click += new System.EventHandler(this.layoutToolStripMenuItem_Click); // @@ -867,6 +867,13 @@ this.품목검색ToolStripMenuItem.Text = "품목 검색"; this.품목검색ToolStripMenuItem.Click += new System.EventHandler(this.품목검색ToolStripMenuItem_Click); // + // 대쉬보드ToolStripMenuItem + // + this.대쉬보드ToolStripMenuItem.Name = "대쉬보드ToolStripMenuItem"; + this.대쉬보드ToolStripMenuItem.Size = new System.Drawing.Size(139, 24); + this.대쉬보드ToolStripMenuItem.Text = "대쉬보드"; + this.대쉬보드ToolStripMenuItem.Click += new System.EventHandler(this.대쉬보드ToolStripMenuItem_Click); + // // 즐겨찾기ToolStripMenuItem // this.즐겨찾기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("즐겨찾기ToolStripMenuItem.Image"))); @@ -1198,13 +1205,6 @@ this.toolStripButton3.ToolTipText = "휴가신청"; this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); // - // 대쉬보드ToolStripMenuItem - // - this.대쉬보드ToolStripMenuItem.Name = "대쉬보드ToolStripMenuItem"; - this.대쉬보드ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); - this.대쉬보드ToolStripMenuItem.Text = "대쉬보드"; - this.대쉬보드ToolStripMenuItem.Click += new System.EventHandler(this.대쉬보드ToolStripMenuItem_Click); - // // fMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; diff --git a/Project/fMain.cs b/Project/fMain.cs index d56e36a..b9d081f 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -477,7 +477,7 @@ namespace Project { string formkey = "PUCHASENR"; if (!ShowForm(formkey)) - AddForm(formkey, new FEQ0000.fPurchaseNR(), "NR구매"); + AddForm(formkey, new FEQ0000.fPurchaseNR(), "일반구매"); } void menu_crpurchase() { @@ -488,10 +488,15 @@ namespace Project } void menu_sprpurchase() { - FCOMMON.Util.MsgE("SPR구매현황은 신규 개발 기능으로 아직 open 되지 않았습니다"); - //string formkey = "PUCHASESPR"; - //if (!ShowForm(formkey)) - // AddForm(formkey, new FEQ0000.fPurchase(), "SPR구매"); + if(System.Diagnostics.Debugger.IsAttached==false) + { + FCOMMON.Util.MsgE("SPR구매현황은 신규 개발 기능으로 아직 open 되지 않았습니다"); + return; + } + + string formkey = "PUCHASEEB"; + if (!ShowForm(formkey)) + AddForm(formkey, new FEQ0000.fPurchaseEB(), "전자실구매"); } private void nRPurchaseToolStripMenuItem_Click(object sender, EventArgs e) diff --git a/Project/fMain.resx b/Project/fMain.resx index 169eb77..3fa72b9 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -153,83 +153,6 @@ Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw== - - - - - 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 - - - - - R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA - AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4 - QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl - OoWKdGiDBgEBADs= - - - - - R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh - e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI - oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui - ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC - Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs= - - - - - R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt - Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ - 8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW - GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R - v3gHemD5QK4HtBMSEyRplOTBgAA7 - - - - - R0lGODlhEAAQAIMPAEWi6azap1WzS9LusYrSbApexXLHV+z41vH559Ltw8ns+pe75hBs0iCZEP////// - /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAEAAQAAAIiwAfCBxIsKDBBw4SOjg4MGGDBgwY - JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP - jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA - Ow== - - - - - R0lGODlhEAAQAIQfAKxoR8VkLxFw1feVPITSWv+eQv7Qo0Cc6OyIN/v7+3PLTSCZEFy17Wa6XuT1x2bG - Q3nNUU6vRXPAa9mLXMTkwJZEHJt7LL5aJ/z8/O2KONx3L/ubP/r6+rtVI////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpgA/CBxIsOBADBgEeljoweAHDB06eIi4QICAhRwOdjAQ - kaMDCgwELOiQ8WGHAQYMFIjIgMEBCBEzQkSwoUCBCR0OSGigIKZJDQM2cKxwoAGBBx0ykISoIcOGiAcO - EFCAVCkHphueAtgaIYKFpks7NM0qFIDFCxk0kPyQQCzZiB0CbLAqsO1YslnTrq0r9m4GvSUHcoioobDa - vQU5DIar2KFgxYEHBgQAOw== - - - - - R0lGODlhEAAQAIQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1c - hEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqgA/CPzgoaBBDwMTEoQgoGGDBhAQKvSQAcOCBQUcaHwg - USBFDARCEqhQgYEEjh47gKxwweAFBAgkREDooYMCAhs8XGCAwMOEmB1o2qywYSdMnxMABCVocwMDngUP - GLAAYCZTBTARHPAgdWpVoQV+TrBgoGwCA1+ZOkgwduuBBAk4pCWogUBcDnjxAgjQkS4BAAMCD9jrgcJE - DQ8eBAjwYKZhhQQPFoRMuXJAADs= - - - - - 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== @@ -250,6 +173,15 @@ gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG CyQdKlaIsLHjggEBADs= + + + + + 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 @@ -365,6 +297,74 @@ h58L4755nzwWACmRSEixWEynl0gQtXWDq9efcWesTLPb7RZmkg1AikQiUigU0uklEoREZl63mEkW430F g0EHv2mdHpgsyzvNJMvHQ/n9fofX69XJ7HK5bGaSrfBQPNXBzU92nQFgfwCJli/+LKS33wAAAABJRU5E rkJggg== + + + + + R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA + AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4 + QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl + OoWKdGiDBgEBADs= + + + + + R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh + e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI + oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui + ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC + Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs= + + + + + R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt + Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ + 8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW + GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R + v3gHemD5QK4HtBMSEyRplOTBgAA7 + + + + + R0lGODlhEAAQAIMPAEWi6azap1WzS9LusYrSbApexXLHV+z41vH559Ltw8ns+pe75hBs0iCZEP////// + /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAEAAQAAAIiwAfCBxIsKDBBw4SOjg4MGGDBgwY + JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP + jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA + Ow== + + + + + R0lGODlhEAAQAIQfAKxoR8VkLxFw1feVPITSWv+eQv7Qo0Cc6OyIN/v7+3PLTSCZEFy17Wa6XuT1x2bG + Q3nNUU6vRXPAa9mLXMTkwJZEHJt7LL5aJ/z8/O2KONx3L/ubP/r6+rtVI////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpgA/CBxIsOBADBgEeljoweAHDB06eIi4QICAhRwOdjAQ + kaMDCgwELOiQ8WGHAQYMFIjIgMEBCBEzQkSwoUCBCR0OSGigIKZJDQM2cKxwoAGBBx0ykISoIcOGiAcO + EFCAVCkHphueAtgaIYKFpks7NM0qFIDFCxk0kPyQQCzZiB0CbLAqsO1YslnTrq0r9m4GvSUHcoioobDa + vQU5DIar2KFgxYEHBgQAOw== + + + + + R0lGODlhEAAQAIQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1c + hEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqgA/CPzgoaBBDwMTEoQgoGGDBhAQKvSQAcOCBQUcaHwg + USBFDARCEqhQgYEEjh47gKxwweAFBAgkREDooYMCAhs8XGCAwMOEmB1o2qywYSdMnxMABCVocwMDngUP + GLAAYCZTBTARHPAgdWpVoQV+TrBgoGwCA1+ZOkgwduuBBAk4pCWogUBcDnjxAgjQkS4BAAMCD9jrgcJE + DQ8eBAjwYKZhhQQPFoRMuXJAADs= + + + + + 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== @@ -452,14 +452,14 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPY4CDmcasDEu1MxmW6ixgWKbTwrBYVx0svkqL h2GZViHDMu15QPFWhmXqUmBxDLBUZzVQwX84Xqzzg2GJpifDMs3rKOJLtZ4ADZWA6oKCpVo2IEmBtZb/ - /U7m/E+5XP8/92TF/3lzYj/UzM3/l3q54X/kubL/qtu8oIZo90F1QsEynQn8a8yPJV+p/1Z8q+d/yc2e - /4dm5vx/1Jn2/+qkzJ8gMRg22R16gmGJzjWoTihYqitYfKu7Dqao41D9/+ulEf8Ptrr+vV7o9blnWyHc + /U7m/E+5XP8/92TF/3lzYj/UzMn/l3q54X/kubL/qtu8oIZo90F1QsEynQn8a8yPJV+p/1Z8q+d/yc2e + /4dm5vx/1Jn2/+qkzJ8gMRg22R16gmGJzjWoTihYqitYfKu7Dqao41D9/+ulEf8PtLr8vV7o9blnWyHc gOJbXRdA6qE6EaD4ZvdcmKLKSx3LzheGHLyc7PbtYpDa/20VTnuLL3Z8BMkV3Ox5B9WCCmAuKLrZUwLi v2iNEH9c5vn/SobWnyfZNmqFN3v1gbZ/LrrVcx6sAR0U3+kxLr7RdRzKZXhc7On5qNTjPxiXeHmAxICu LAVa1AJWgA0U3+kWgzIZnlR4ZcEMeFLpnQkSq79fz5F7ayIfWAEh8KjCs+9Judd/EH5c7tULFSYeAP2/ - Ee6FUo8NUGHiwP/99RwvuqJOv+mJ+w/CLzsjT4HEoNLYwb8D/Zp/D/T2/T/Qe+bhgd7fQPo/MoaKnQGr - 2d+jAdUG1LhtIjtQcP7DRfX/0DXhwiC1fw/0zAPpZfi7v7cXmyJiMEgv0Ol9tkDTlgMFVpGCQXr+Heiz - BQDX/6rZxdf1ogAAAABJRU5ErkJggg== + Ee6FUo8NUGHiwP/99RwvuqJOv+mJ+w/CLzsjT4HEoNLYwb8D/Zp/D/T2/T/Qe+bBgd7fQPo/MoaKnQGr + 2d+jAdUG1LhtIjtQcP6DhfX/0DXhwiC1fw/0zAPpZfi7v7cXmyJiMEgv0Ol9tkDTlgMFVpGCQXr+Heiz + BQDKX6rQcfcHQwAAAABJRU5ErkJggg== diff --git a/SubProject/FEQ0000/FEQ0000.csproj b/SubProject/FEQ0000/FEQ0000.csproj index a2c1342..d0acc99 100644 --- a/SubProject/FEQ0000/FEQ0000.csproj +++ b/SubProject/FEQ0000/FEQ0000.csproj @@ -193,6 +193,36 @@ fPurchaseCR.cs + + Form + + + fPurchaseEB.cs + + + Form + + + fPurchaseEB_Add.cs + + + Form + + + fPurchaseEBList.cs + + + Form + + + fPurchaseEB_Ipgo.cs + + + Form + + + rPurchaseEB.cs + Form @@ -326,12 +356,27 @@ True + + fPurchaseEB.cs + fPurchaseCR.cs + + fPurchaseEB_Add.cs + + + fPurchaseEBList.cs + + + fPurchaseEB_Ipgo.cs + + + rPurchaseEB.cs + fPurchaseNR_Ipgo.cs diff --git a/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs index 67dc956..4590a34 100644 --- a/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs @@ -134,8 +134,6 @@ this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); this.cmbManager = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); - this.cmbAdmin = new System.Windows.Forms.ToolStripComboBox(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.btSearch = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); @@ -143,13 +141,13 @@ 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.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.btViewDel = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); - this.엑셀에서열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); @@ -180,6 +178,7 @@ // this.tam.BackupDataSetBeforeUpdate = true; this.tam.EETGW_PurchaseCRTableAdapter = null; + this.tam.EETGW_PurchaseEBTableAdapter = null; this.tam.PurchaseTableAdapter = this.ta; this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; // @@ -630,8 +629,6 @@ this.tbRequest, this.toolStripLabel6, this.cmbManager, - this.toolStripLabel7, - this.cmbAdmin, this.toolStripSeparator4, this.btSearch, this.toolStripSeparator5, @@ -749,18 +746,6 @@ this.cmbManager.Size = new System.Drawing.Size(75, 37); this.cmbManager.Text = "65"; // - // toolStripLabel7 - // - this.toolStripLabel7.Name = "toolStripLabel7"; - this.toolStripLabel7.Size = new System.Drawing.Size(55, 34); - this.toolStripLabel7.Text = "구매승인"; - // - // cmbAdmin - // - this.cmbAdmin.Name = "cmbAdmin"; - this.cmbAdmin.Size = new System.Drawing.Size(75, 37); - this.cmbAdmin.Text = "66"; - // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; @@ -814,6 +799,13 @@ this.이번달자료ToolStripMenuItem.Text = "이번달 자료"; this.이번달자료ToolStripMenuItem.Click += new System.EventHandler(this.이번달자료ToolStripMenuItem_Click); // + // 엑셀에서열기ToolStripMenuItem + // + this.엑셀에서열기ToolStripMenuItem.Name = "엑셀에서열기ToolStripMenuItem"; + this.엑셀에서열기ToolStripMenuItem.Size = new System.Drawing.Size(213, 22); + this.엑셀에서열기ToolStripMenuItem.Text = "Excel 파일로 저장 후 열기"; + this.엑셀에서열기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서열기ToolStripMenuItem_Click); + // // toolStripButton2 // this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; @@ -859,7 +851,7 @@ this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 4; this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); - this.fpSpread1.SetViewportLeftColumn(0, 0, 10); + this.fpSpread1.SetViewportLeftColumn(0, 0, 9); // // label1 // @@ -885,20 +877,13 @@ this.label2.Text = "--"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // - // 엑셀에서열기ToolStripMenuItem - // - this.엑셀에서열기ToolStripMenuItem.Name = "엑셀에서열기ToolStripMenuItem"; - this.엑셀에서열기ToolStripMenuItem.Size = new System.Drawing.Size(213, 22); - this.엑셀에서열기ToolStripMenuItem.Text = "Excel 파일로 저장 후 열기"; - this.엑셀에서열기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서열기ToolStripMenuItem_Click); - // // fpSpread1_Sheet1 // this.fpSpread1_Sheet1.Reset(); this.fpSpread1_Sheet1.SheetName = "Sheet1"; // Formulas and custom names must be loaded with R1C1 reference style this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; - this.fpSpread1_Sheet1.ColumnCount = 39; + this.fpSpread1_Sheet1.ColumnCount = 38; this.fpSpread1_Sheet1.ActiveColumnIndex = -1; this.fpSpread1_Sheet1.ActiveRowIndex = -1; this.fpSpread1_Sheet1.AutoGenerateColumns = false; @@ -939,8 +924,7 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).Value = "PO#"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 35).Value = "비고\r\n(담당자)"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 36).Value = "구매담당"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "구매승인"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 38).Value = "삭제됨"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "삭제됨"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1"; @@ -1212,17 +1196,11 @@ this.fpSpread1_Sheet1.Columns.Get(36).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(36).Label = "구매담당"; this.fpSpread1_Sheet1.Columns.Get(36).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(37).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType24; - this.fpSpread1_Sheet1.Columns.Get(37).DataField = "purchase_admin"; - this.fpSpread1_Sheet1.Columns.Get(37).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(37).Label = "구매승인"; - this.fpSpread1_Sheet1.Columns.Get(37).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(38).CellType = checkBoxCellType3; - this.fpSpread1_Sheet1.Columns.Get(38).DataField = "isdel"; - this.fpSpread1_Sheet1.Columns.Get(38).Label = "삭제됨"; - this.fpSpread1_Sheet1.Columns.Get(38).Tag = "isdel"; - this.fpSpread1_Sheet1.Columns.Get(38).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(37).CellType = checkBoxCellType3; + this.fpSpread1_Sheet1.Columns.Get(37).DataField = "isdel"; + this.fpSpread1_Sheet1.Columns.Get(37).Label = "삭제됨"; + this.fpSpread1_Sheet1.Columns.Get(37).Tag = "isdel"; + this.fpSpread1_Sheet1.Columns.Get(37).Width = 51F; this.fpSpread1_Sheet1.DataAutoCellTypes = false; this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.fpSpread1_Sheet1.DataSource = this.bs; @@ -1241,7 +1219,7 @@ this.Controls.Add(this.bn); this.DoubleBuffered = true; this.Name = "fPurchaseNR"; - this.Text = "NR구매 신청"; + this.Text = "일반구매 신청"; this.Load += new System.EventHandler(this.@__Load); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); @@ -1340,9 +1318,7 @@ private System.Windows.Forms.ToolStripButton toolStripButton5; private System.Windows.Forms.Label label2; private System.Windows.Forms.ToolStripLabel toolStripLabel6; - private System.Windows.Forms.ToolStripLabel toolStripLabel7; private System.Windows.Forms.ToolStripComboBox cmbManager; - private System.Windows.Forms.ToolStripComboBox cmbAdmin; private System.Windows.Forms.ToolStripMenuItem 엑셀에서열기ToolStripMenuItem; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } diff --git a/SubProject/FEQ0000/Purchase/fPurchaseNR.cs b/SubProject/FEQ0000/Purchase/fPurchaseNR.cs index ed348fc..96e865c 100644 --- a/SubProject/FEQ0000/Purchase/fPurchaseNR.cs +++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.cs @@ -129,21 +129,21 @@ namespace FEQ0000 var lat_adm = tauser.GetByAdmin(FCOMMON.info.Login.gcode); cmbManager.Items.Clear(); - cmbAdmin.Items.Clear(); + //cmbAdmin.Items.Clear(); cmbManager.Items.Add("-- 전체 --"); - cmbAdmin.Items.Add("-- 전체 --"); + //cmbAdmin.Items.Add("-- 전체 --"); foreach (dsPurchase.Purchase_ManagerlistRow dr in lst_man) { cmbManager.Items.Add(dr.username); } - foreach (dsPurchase.Purchase_ManagerlistRow dr in lat_adm) - { - cmbAdmin.Items.Add(dr.username); - } + //foreach (dsPurchase.Purchase_ManagerlistRow dr in lat_adm) + //{ + // cmbAdmin.Items.Add(dr.username); + //} } this.cmbManager.SelectedIndex = 0; - this.cmbAdmin.SelectedIndex = 0; + //this.cmbAdmin.SelectedIndex = 0; //일반사용자의경우에는 상태를 변경하지 못한다. @@ -228,10 +228,10 @@ namespace FEQ0000 { cmd.CommandText += $" and purchase_manager like '%{cmbManager.Text.Replace("'", "''")}%'"; } - if (cmbAdmin.SelectedIndex != 0 && cmbAdmin.Text.isEmpty() == false) - { - cmd.CommandText += $" and purchase_admin like '%{cmbAdmin.Text.Replace("'", "''")}%'"; - } + //if (cmbAdmin.SelectedIndex != 0 && cmbAdmin.Text.isEmpty() == false) + //{ + // cmd.CommandText += $" and purchase_admin like '%{cmbAdmin.Text.Replace("'", "''")}%'"; + //} if (cmbState.SelectedIndex != 0) { @@ -1123,7 +1123,7 @@ namespace FEQ0000 private void 엑셀에서가져오기ToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new fPurchase_excelimport(false); + var f = new fPurchase_excelimport( fPurchase_excelimport.eImporttype.NR); f.Show(); } diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs index 40b6383..fc2c670 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs @@ -55,7 +55,6 @@ System.Windows.Forms.Label label13; System.Windows.Forms.Label label14; System.Windows.Forms.Label label15; - System.Windows.Forms.Label label16; System.Windows.Forms.Label label17; System.Windows.Forms.Label label9; System.Windows.Forms.Label label18; @@ -85,6 +84,7 @@ this.chkExp = new System.Windows.Forms.CheckBox(); this.btSaveAdd = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.tbStorage = new System.Windows.Forms.ComboBox(); this.cmbRemark = new System.Windows.Forms.ComboBox(); this.cmbCurrency = new System.Windows.Forms.ComboBox(); this.tbQtyReal = new System.Windows.Forms.TextBox(); @@ -100,7 +100,6 @@ this.tbCostCenter = new System.Windows.Forms.ComboBox(); this.tbLineCode = new System.Windows.Forms.ComboBox(); this.tbManager = new System.Windows.Forms.ComboBox(); - this.tbAdmin = new System.Windows.Forms.ComboBox(); this.btEQModel = new System.Windows.Forms.Button(); this.btEQManu = new System.Windows.Forms.Button(); this.btProcess = new System.Windows.Forms.Button(); @@ -117,7 +116,6 @@ this.dsPurchase = new FEQ0000.dsPurchase(); this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); - this.tbStorage = new System.Windows.Forms.ComboBox(); processLabel = new System.Windows.Forms.Label(); receiveLabel = new System.Windows.Forms.Label(); scLabel = new System.Windows.Forms.Label(); @@ -143,7 +141,6 @@ label13 = new System.Windows.Forms.Label(); label14 = new System.Windows.Forms.Label(); label15 = new System.Windows.Forms.Label(); - label16 = new System.Windows.Forms.Label(); label17 = new System.Windows.Forms.Label(); label9 = new System.Windows.Forms.Label(); label18 = new System.Windows.Forms.Label(); @@ -397,9 +394,9 @@ label14.Location = new System.Drawing.Point(4, 497); label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label14.Name = "label14"; - label14.Size = new System.Drawing.Size(84, 20); + label14.Size = new System.Drawing.Size(84, 40); label14.TabIndex = 36; - label14.Text = "담당자비고"; + label14.Text = "구매담당자\r\n검토결과"; this.toolTip1.SetToolTip(label14, resources.GetString("label14.ToolTip")); // // label15 @@ -412,16 +409,6 @@ label15.TabIndex = 14; label15.Text = "실 구매 수량"; // - // label16 - // - label16.AutoSize = true; - label16.Location = new System.Drawing.Point(10, 218); - label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label16.Name = "label16"; - label16.Size = new System.Drawing.Size(99, 20); - label16.TabIndex = 44; - label16.Text = "구매승인자명"; - // // label17 // label17.AutoSize = true; @@ -625,6 +612,8 @@ // // cmbState // + this.cmbState.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbState.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.cmbState.FormattingEnabled = true; this.cmbState.Location = new System.Drawing.Point(327, 48); @@ -782,8 +771,23 @@ this.groupBox1.Text = "필수입력"; this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter); // + // tbStorage + // + this.tbStorage.FormattingEnabled = true; + this.tbStorage.ImeMode = System.Windows.Forms.ImeMode.Alpha; + this.tbStorage.Items.AddRange(new object[] { + "NR", + "SPR"}); + this.tbStorage.Location = new System.Drawing.Point(345, 233); + this.tbStorage.Margin = new System.Windows.Forms.Padding(4); + this.tbStorage.Name = "tbStorage"; + this.tbStorage.Size = new System.Drawing.Size(129, 28); + this.tbStorage.TabIndex = 52; + // // cmbRemark // + this.cmbRemark.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbRemark.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbRemark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbRemark.FormattingEnabled = true; this.cmbRemark.Location = new System.Drawing.Point(94, 368); @@ -794,6 +798,8 @@ // // cmbCurrency // + this.cmbCurrency.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbCurrency.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbCurrency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbCurrency.FormattingEnabled = true; this.cmbCurrency.Items.AddRange(new object[] { @@ -908,8 +914,6 @@ this.groupBox2.Controls.Add(this.tbCostCenter); this.groupBox2.Controls.Add(this.tbLineCode); this.groupBox2.Controls.Add(this.tbManager); - this.groupBox2.Controls.Add(this.tbAdmin); - this.groupBox2.Controls.Add(label16); this.groupBox2.Controls.Add(label17); this.groupBox2.Controls.Add(this.btEQModel); this.groupBox2.Controls.Add(this.dtExpDate); @@ -951,6 +955,8 @@ // // tbCostCenter // + this.tbCostCenter.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.tbCostCenter.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.tbCostCenter.FormattingEnabled = true; this.tbCostCenter.ImeMode = System.Windows.Forms.ImeMode.Alpha; this.tbCostCenter.Location = new System.Drawing.Point(112, 120); @@ -959,9 +965,12 @@ this.tbCostCenter.Size = new System.Drawing.Size(286, 28); this.tbCostCenter.TabIndex = 49; this.tbCostCenter.Text = "68"; + this.tbCostCenter.SelectedIndexChanged += new System.EventHandler(this.tbCostCenter_SelectedIndexChanged); // // tbLineCode // + this.tbLineCode.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.tbLineCode.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.tbLineCode.FormattingEnabled = true; this.tbLineCode.Location = new System.Drawing.Point(112, 151); this.tbLineCode.Margin = new System.Windows.Forms.Padding(4); @@ -972,6 +981,8 @@ // // tbManager // + this.tbManager.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.tbManager.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.tbManager.FormattingEnabled = true; this.tbManager.ImeMode = System.Windows.Forms.ImeMode.Hangul; this.tbManager.Location = new System.Drawing.Point(112, 182); @@ -981,17 +992,6 @@ this.tbManager.TabIndex = 47; this.tbManager.Text = "65"; // - // tbAdmin - // - this.tbAdmin.FormattingEnabled = true; - this.tbAdmin.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbAdmin.Location = new System.Drawing.Point(112, 214); - this.tbAdmin.Margin = new System.Windows.Forms.Padding(4); - this.tbAdmin.Name = "tbAdmin"; - this.tbAdmin.Size = new System.Drawing.Size(286, 28); - this.tbAdmin.TabIndex = 46; - this.tbAdmin.Text = "66"; - // // btEQModel // this.btEQModel.Location = new System.Drawing.Point(112, 90); @@ -1127,19 +1127,6 @@ // this.purchaseTableAdapter.ClearBeforeFill = true; // - // tbStorage - // - this.tbStorage.FormattingEnabled = true; - this.tbStorage.ImeMode = System.Windows.Forms.ImeMode.Alpha; - this.tbStorage.Items.AddRange(new object[] { - "NR", - "SPR"}); - this.tbStorage.Location = new System.Drawing.Point(345, 233); - this.tbStorage.Margin = new System.Windows.Forms.Padding(4); - this.tbStorage.Name = "tbStorage"; - this.tbStorage.Size = new System.Drawing.Size(129, 28); - this.tbStorage.TabIndex = 52; - // // fPurchase_Add // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); @@ -1224,7 +1211,6 @@ private System.Windows.Forms.Button btEQModel; private System.Windows.Forms.TextBox tbBigoChk; private System.Windows.Forms.TextBox tbQtyReal; - private System.Windows.Forms.ComboBox tbAdmin; private System.Windows.Forms.ComboBox tbCostCenter; private System.Windows.Forms.ComboBox tbLineCode; private System.Windows.Forms.ComboBox tbManager; diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs index 528d67c..af7ee11 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs @@ -91,11 +91,11 @@ namespace FEQ0000 this.tbManager.ValueMember = "Value"; this.tbManager.DataSource = LstMan; - //구매-승인 - var LstAdm = FCOMMON.DBM.getCodeTable("66"); - this.tbAdmin.DisplayMember = "Value"; - this.tbAdmin.ValueMember = "Value"; - this.tbAdmin.DataSource = LstAdm; + ////구매-승인 + //var LstAdm = FCOMMON.DBM.getCodeTable("66"); + //this.tbAdmin.DisplayMember = "Value"; + //this.tbAdmin.ValueMember = "Value"; + //this.tbAdmin.DataSource = LstAdm; //통화 var LstCur = FCOMMON.DBM.getCodeTable("69"); @@ -116,7 +116,7 @@ namespace FEQ0000 { if (cmbRemark.SelectedIndex > 0) { - tbBigo.Text = cmbRemark.Text.Trim() + tbBigo.Text.Trim(); + tbBigo.Text = cmbRemark.Text.Replace(@"\n",Environment.NewLine) + tbBigo.Text.Trim(); } }; cmbRemark.SelectedIndex = 0; @@ -253,7 +253,7 @@ namespace FEQ0000 chk2.Checked = dr.chk2; tbManager.Text = dr.purchase_manager; - tbAdmin.Text = dr.purchase_admin; + // tbAdmin.Text = dr.purchase_admin; tbSC.Text = dr.sc; tbPO.Text = dr.po; @@ -852,7 +852,7 @@ namespace FEQ0000 dr.linecode = tbLineCode.Text; dr.purchase_manager = tbManager.Text; - dr.purchase_admin = tbAdmin.Text; + // dr.purchase_admin = tbAdmin.Text; if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull(); else dr.supplyidx = int.Parse(tbSupplyIndex.Text); @@ -1295,5 +1295,17 @@ namespace FEQ0000 bt.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1; } } + + private void tbCostCenter_SelectedIndexChanged(object sender, EventArgs e) + { + if (tbCostCenter.SelectedIndex < 0) return; + //선택된 개체의 Svalue 값이 있따면 그것을 라인코드에 넣는다. + var selvalue = tbCostCenter.SelectedItem as DataRowView; + var svalue = selvalue["SValue"]; + if(svalue != null) { + if(tbLineCode.Text.isEmpty()) tbLineCode.Text = svalue.ToString(); + } + + } } } diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx index f286013..09f9f13 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx @@ -218,9 +218,6 @@ False - - False - False diff --git a/SubProject/FEQ0000/Purchase/fPurchase_excelimport.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase_excelimport.Designer.cs index e65e171..f061a3f 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_excelimport.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_excelimport.Designer.cs @@ -133,14 +133,15 @@ this.columnHeader15 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader17 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader18 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.전체선택ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.모두해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.선택반전ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bsCR = new System.Windows.Forms.BindingSource(this.components); this.taCR = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter(); - this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.taEB = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter(); stateLabel = new System.Windows.Forms.Label(); label15 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.bsNR)).BeginInit(); @@ -1185,6 +1186,16 @@ this.columnHeader18.Text = "LineCode"; this.columnHeader18.Width = 72; // + // columnHeader19 + // + this.columnHeader19.Text = "구매담당"; + this.columnHeader19.Width = 72; + // + // columnHeader20 + // + this.columnHeader20.Text = "구매승인"; + this.columnHeader20.Width = 72; + // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -1224,15 +1235,9 @@ // this.taCR.ClearBeforeFill = true; // - // columnHeader19 + // taEB // - this.columnHeader19.Text = "구매담당"; - this.columnHeader19.Width = 72; - // - // columnHeader20 - // - this.columnHeader20.Text = "구매승인"; - this.columnHeader20.Width = 72; + this.taEB.ClearBeforeFill = true; // // fPurchase_excelimport // @@ -1399,5 +1404,6 @@ private System.Windows.Forms.Label label27; private System.Windows.Forms.ColumnHeader columnHeader19; private System.Windows.Forms.ColumnHeader columnHeader20; + private dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter taEB; } } \ No newline at end of file diff --git a/SubProject/FEQ0000/Purchase/fPurchase_excelimport.cs b/SubProject/FEQ0000/Purchase/fPurchase_excelimport.cs index 810f31f..cbbafec 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_excelimport.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_excelimport.cs @@ -13,17 +13,24 @@ namespace FEQ0000 public partial class fPurchase_excelimport : Form { BindingSource bsModel; - bool crmode = false; - public fPurchase_excelimport(bool cr) + eImporttype crmode; + + public enum eImporttype + { + NR, + CR, + EB + } + public fPurchase_excelimport(eImporttype cr) { InitializeComponent(); Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; this.FormClosed += __Closed; crmode = cr; - this.Text = $"구매내역 가져오기({(crmode ? "CR" : "NR")})"; - - if (cr == true) + this.Text = $"구매내역 가져오기({crmode})"; + + if (cr == eImporttype.CR) { cbProcess.Enabled = false; cbManuProc.Enabled = false; @@ -77,8 +84,10 @@ namespace FEQ0000 loadsetting(this); - if (crmode) + if (crmode == eImporttype.CR) textBox1.Text = FCOMMON.Setting.system.Xml.get_Data(this.Name, "FILE_CR"); + else if (crmode == eImporttype.EB) + textBox1.Text = FCOMMON.Setting.system.Xml.get_Data(this.Name, "FILE_EB"); else textBox1.Text = FCOMMON.Setting.system.Xml.get_Data(this.Name, "FILE_NR"); @@ -112,8 +121,7 @@ namespace FEQ0000 if (typestr.Contains("UpDownEdit")) { var nud = ctrls.Parent as NumericUpDown; - var section = "input_" + this.Name; - if (crmode) section += "_CR"; + var section = "input_" + this.Name + $"_{crmode}"; var value = FCOMMON.Setting.system.Xml.get_Data(section, "nud_" + nud.Name, "0"); var n = decimal.Parse(value); if (n >= nud.Minimum) nud.Value = decimal.Parse(value); @@ -135,8 +143,7 @@ namespace FEQ0000 if (typestr.Contains("UpDownEdit")) { var nud = ctrls.Parent as NumericUpDown; - var section = "input_" + this.Name; - if (crmode) section += "_CR"; + var section = "input_" + this.Name + $"{crmode}"; FCOMMON.Setting.system.Xml.set_Data(section, "nud_" + nud.Name, nud.Value.ToString()); } } @@ -217,7 +224,7 @@ namespace FEQ0000 var itemCount = 0; foreach (ListViewItem lv in this.listView1.Items) { - if (crmode) + if (crmode == eImporttype.CR) { var dr = lv.Tag as dsPurchase.EETGW_PurchaseCRRow; if (lv.Checked == false) dr.AcceptChanges(); @@ -237,9 +244,29 @@ namespace FEQ0000 itemAmt += dr.pumamt; } } - else + else if (crmode == eImporttype.NR) { - var dr = lv.Tag as dsPurchase.PurchaseRow; + var dr = lv.Tag as dsPurchase.EETGW_PurchaseEBRow; + if (lv.Checked == false) dr.AcceptChanges(); + else + { + itemCount += 1; + // dr.request = userNo; + dr.asset = cbEQModel.Text; + dr.dept = cbEQManu.Text; + dr.manuproc = cbManuProc.Text; + dr.process = cbProcess.Text.Trim(); + dr.state = cmbState.Text.Trim(); + // dr.pdate = dtPdate.Value.ToShortDateString(); + dr.project = tbProject.Text.Trim(); + dr.AcceptChanges(); + dr.SetAdded(); + itemAmt += dr.pumamt; + } + } + else if (crmode == eImporttype.EB) + { + var dr = lv.Tag as dsPurchase.EETGW_PurchaseEBRow; if (lv.Checked == false) dr.AcceptChanges(); else { @@ -261,14 +288,16 @@ namespace FEQ0000 } //part 목록을 조회해서 NR에 등록해줘야 함 - var dlg2 = FCOMMON.Util.MsgQ($"해당 파트리스트를 ({(crmode ? "CR":"NR")})구매 목록에 등록 하시겠습니까?\n" + + var dlg2 = FCOMMON.Util.MsgQ($"해당 파트리스트를 ({crmode})구매 목록에 등록 하시겠습니까?\n" + itemCount.ToString() + "건 " + itemAmt.ToString("N0") + "원"); if (dlg2 != System.Windows.Forms.DialogResult.Yes) return; - if (crmode) + if (crmode == eImporttype.CR) taCR.Update(this.dsPRJ.EETGW_PurchaseCR); - else + else if (crmode == eImporttype.NR) taNR.Update(this.dsPRJ.Purchase); + else if (crmode == eImporttype.EB) + taEB.Update(this.dsPRJ.EETGW_PurchaseEB); dsPRJ.AcceptChanges(); FCOMMON.Util.MsgI("Save OK"); @@ -277,7 +306,7 @@ namespace FEQ0000 bool checkCombo() { - if (crmode == false && cbProcess.Text.isEmpty() == true) + if (crmode != eImporttype.CR && cbProcess.Text.isEmpty() == true) { FCOMMON.Util.MsgE("프로세스를 선택하세요."); cbProcess.Focus(); @@ -293,7 +322,7 @@ namespace FEQ0000 return false; } } - if (crmode == false && this.cbProcess.Text.isEmpty() == true) + if (crmode != eImporttype.CR && this.cbProcess.Text.isEmpty() == true) { { @@ -306,7 +335,7 @@ namespace FEQ0000 return false; } } - if (crmode == false && cbManuProc.Text.isEmpty() == true) + if (crmode != eImporttype.CR && cbManuProc.Text.isEmpty() == true) { { @@ -319,7 +348,7 @@ namespace FEQ0000 return false; } } - if (crmode == false && this.cbEQManu.Text.isEmpty() == true) + if (crmode != eImporttype.CR && this.cbEQManu.Text.isEmpty() == true) { { @@ -352,7 +381,7 @@ namespace FEQ0000 return; } - if(nudPdate.Value <1 || nudSid.Value < 1 || nudPumName.Value < 1) + if (nudPdate.Value < 1 || nudSid.Value < 1 || nudPumName.Value < 1) { Util.MsgE($"요청일/SID/품명은 반드시 설정되어야 합니다"); return; @@ -612,7 +641,7 @@ namespace FEQ0000 newitem.SubItems.Add(구매승인); //데이터도 추가를 해준다 - if (crmode) + if (crmode == eImporttype.CR) { var newdr = this.dsPRJ.EETGW_PurchaseCR.NewEETGW_PurchaseCRRow(); newdr.wuid = FCOMMON.info.Login.no; @@ -642,7 +671,7 @@ namespace FEQ0000 newitem.Tag = newdr; this.dsPRJ.EETGW_PurchaseCR.AddEETGW_PurchaseCRRow(newdr); } - else + else if(crmode == eImporttype.NR) { var newdr = this.dsPRJ.Purchase.NewPurchaseRow(); newdr.wuid = FCOMMON.info.Login.no; @@ -672,6 +701,36 @@ namespace FEQ0000 newitem.Tag = newdr; this.dsPRJ.Purchase.AddPurchaseRow(newdr); } + else if (crmode == eImporttype.EB) + { + var newdr = this.dsPRJ.EETGW_PurchaseEB.NewEETGW_PurchaseEBRow(); + newdr.wuid = FCOMMON.info.Login.no; + newdr.wdate = DateTime.Now; + newdr.gcode = FCOMMON.info.Login.gcode; + newdr.sc = SC; + newdr.orderno = CRCF; + newdr.sid = SID; + newdr.pumname = 품명; + newdr.pumscale = 규격; + newdr.pumqty = d_qty; + newdr.pumprice = d_price; + newdr.pumamt = d_amt; + newdr.supply = v_공급처; + newdr.supplyidx = v_공급처코드; + newdr.po = PO; + newdr.bigo = 비고; + newdr.indate = 입고일; + newdr.pdate = 요청일; + newdr.request = 요청인; + newdr.receive = 수령인; + newdr.import = true; + newdr.costcenter = CostCode; + newdr.linecode = LIneCode; + newdr.purchase_manager = 구매담당; + newdr.purchase_admin = 구매승인; + newitem.Tag = newdr; + this.dsPRJ.EETGW_PurchaseEB.AddEETGW_PurchaseEBRow(newdr); + } sumamt += d_amt; } diff --git a/SubProject/FEQ0000/Purchase/fPurchase_excelimport.resx b/SubProject/FEQ0000/Purchase/fPurchase_excelimport.resx index ef701d8..bc62859 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_excelimport.resx +++ b/SubProject/FEQ0000/Purchase/fPurchase_excelimport.resx @@ -136,7 +136,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + vQAADr0BR/uQrQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA @@ -147,7 +147,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + vQAADr0BR/uQrQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC @@ -156,7 +156,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + vQAADr0BR/uQrQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f oAc0QjgAAAAASUVORK5CYII= @@ -165,7 +165,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + vQAADr0BR/uQrQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG @@ -176,35 +176,35 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKNSURBVDhPzZHdT1JxGMdPW1t32Xq5aK4/oP/BrZtuuvSq - tbXZRXO2aSu7cEuLrHTzIo2laCDpMSGV2AQREVTIEARaypsKEi/ncM7hAJ6DjTRG4xucaK3/wO/223Px - fD6/59ke4mQllUo1peO7i0zIdsRsr4D9agHrM4H1GMBtzv7kwm4nwzBNdfz/UBRFstH1UiZohRBeA79l - RmRNg7BlAjHbBA435yB8fo+EebTCxwLGuvYnNE0vs0EH8kEbtpdJLEwOQUeqoJ1ZAKkxQUUaoVWr4FD3 - Im8dhmCRIxdYDUhyMpkcZHc2kPcvwa4bxYZ3B7NOEdMOEWqbgBHzAQYNOfTpeBjcIiLWaaQ/vkDB0A8q - 4J4k6L1ghvHpseNdRblchtFziCm7CJVVwLlLV9BwsREv57Lo0WSqlZcYLuAEo+2GX9leJkJ2bSVDxXB8 - fCw1dc4Cxix5yE15NFxoxNnzl/F4msMjNYMn1Vpjamw+FsCXoTYQkXDolyAIKBaLKJVKWPMXqivz6Ndx - eKpl0DWZxgMVjTZFCu9sOYmpsTUnoB2oELTXJvDJXRQKBakRS3+HcolDN0lVp6bQPpbA3Tdx9ExR2NoX - JabGcmEfEor7JSIRDb/NbOqRrV7hgE1CFEX4ozzI5RS6xqN4OBbByHwCnlBGEgWeBe9ZBKVohUspc0mX - 2Ntyu+iVceQdamSqG+X2/WyWo5K5XC7+92Wz2Tjjd7Hcghypqmwd6GRBEKekD2rxfbIYNiaGy9/m+sCb - XoG3qcA5NGDtGnCrJGjDa9DKdlhkdyomxXOvXXbtdF39F7O844yxv/WmTtYyM/+shTf33vphkd0+0j9p - Luo7m9c1HTc6P9y7frWOn4gQxG/mLxeelTqaEAAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKOSURBVDhPzZHdT1JxGMdPW1t32Xq5aK4/oP/BrZtuuvSq + tbXZRXO2dCu7cEuNrHR1kcZSMpD0mIdMYhNERFDAQhBoKW++RbycwzmHA3gONtIYjW9worX+A7/bb8/F + 8/n8nmd7iKOVVCrVlI5vzbMR2wG7sQTuixVcwAzOZwS/Nv2Tj3rdLMs21fH/Q9M0ye2ulDJhG8SoA8K6 + BTsOClHrOGL2ceyvzUD89BbxeVVFiIVMde1PGIZZ5MIu5MN2bCySmJsYgp7UQDc9B5IyQ0OaoNNq4NL2 + IW8bhmhVIhdaDslyMpkc5DZXkQ8uwKl/hVX/Jt67JUy5JGjtIkYsexg05tCvF2D0StixTSH94TEKxgHQ + Ie8EwWyHM2zAgE3/MsrlMky+fUw6JWhsIk6du4CGs414MpNFD5WpVkFm+JAbrK4bQfXtMhF2UJUMHcPh + 4aHc1LsLGLXmoTTn0XCmESdPn8f9KR73tCx6q7XG1Nh8LITPQ20gtiORX6IoolgsolQqwREsVFcWMKDn + 8UDHomsijTsaBm2qFN7YczJTY2tOkHpaIRi/XRSSWygUCnIjlv4O9QKPbpKuTk2hfTSBmy/j6Jmksf5V + kpkay0cDSIx0lIjEbvR1Zs2AbPUKe1wSkiQhuCuAXEyha2wXd0d3MDKbgC+SkUVR4CD45kGrWuFRKzzy + JbbXvR5maQx5lxaZ6ka5r0Euy9PJXC4X//uy2WycDXo4fk6JVFW2PevkQBDH5A9qCaxYjavjw+VvM/0Q + zM8h2DXgXRQ4JwV+mQRjfAFG3Y4FxY2KWfXI71RcOl5X/8Wi7DhhGmi9qle0TM8+bBEsfdd+WBXXDwy9 + zUVDZ/NHquNK57tbly/W8SMRgvgNvFcXjELNnMMAAAAASUVORK5CYII= iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKRSURBVDhPvZJfSFNhGMa/6I8EXXgRESFJEmTSRUGsqIRA - kLqKLiIoKTIy0VIDCaPNOWNrcy43mW45Nzsej9ZmbjjLOSe46bacFEMHEwWXaFddyXYzJj2d7+tgBRFd - 9cDHgYfv9z7v+36H/HfxPA+Hw4Genh50dXVVkHA4DHpmZmYwPT2Nqakp+P1+jI+Pw+v1wu12w+VyYWho - CP39/exuLpfDxsYGjEZjgszOzmJrawvZbPavJ51Ow263f9nc3MTS0hL0en1Kp9PVkFAoxIz19XVEo1Gs - ra2BeqlUCpOTk1hZWcHY2Bi7Mzw8jEQiwToS4TJpKkICgQAikQhtWRYMBjEyMiKjsCAIMjqGzWaTUbiz - s1Mmemx+tVpdLOGE+Hw+LCwssB2srq6yHdBkCieTye3kgYEBxONxmg6lUrlPwn/I4/Egk8lgYmKCJY+O - jrJk2q7BYJDV8xdxr+8Uent70dzcDAn7KafTKY/FYlheXgaFabLoYXFxEfTpHvClUHlv4Lq1GE1NTd8k - 7HdxHEc3DavVinqhFHX8WVRzp1FpPwm5+xqc8yY0uq6gvOMgCMgOCfuzavkz8HzqxtuPZga+njfCGGgE - F21DtVCOkud5ue0i4lzHXoqyWCx003Rm3BXnpfALfz10vlqo31ehxXsHre/uwxp6hopXF3CokWRZAfFZ - 5PRrMpka2tvbP2u12oabtuN4EzNC+GAAF2mDI6wVi9TAEmpFlXAJR+QkWfCI7GUFzGazXPwt2XPNzc1h - cHAQVy1FuGwqQFnHAZzX5+NW3zl0B1tQyZejsC4/e/QhyWPwr9JoNFCpVFAoFA2Sta0i5e7Mba4MJx7v - R4mS7JHsf1fhE/L18NOdIEqyS7JEEfIdCNfnk0idLcIAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKRSURBVDhPvZJfSFNhGMa/6I8EXXgRUSBGEqTRRUGsqIRA + kLqKLiIoKTIy0UwlCaPpnDHbnMtNplvOzY7Ho7WZG85ymxPcdFtOCtHBZAOXaFddibsZk57O93Wwgoiu + euDjwMP3e5/3fb9D/rt4nofNZkNvby+6u7vLSCgUAj0zMzOYnp7G1NQUfD4fJiYm4Ha74XQ64XA4MDw8 + jIGBAXY3m81ifX0der0+RmZnZ7G1tYVMJvPXs7m5CavV+mVjYwPLy8vQarUpjUZTRYLBIDPW1tYQiUSw + uroK6qVSKUxOTiKZTGJ8fJzdGRkZQSwWYx2JcIk0FSF+vx/hcJi2LAsEAhgdHZVRWBAEGR3DYrHIKNzV + 1SUTPTa/SqUqlHBCPB4PFhcX2Q5WVlbYDmgyhePx+Hby4OAgFhYWaDoUCsU+Cf8hl8uFdDoNr9fLksfG + xlgybVen08lq+Yu4138KfX19aG5uhoT9lN1ul0ejUSQSCVCYJoselpaWQJ/uAV8MpfsGrpsL0djY+E3C + fhfHcXTTMJvNqBWK8ZA/i0ruNMqtJyF3XoN93oAGxxWUdh4EAdkhYX9WNX8Grk89ePvRyMDX83ro/Q3g + Iu2oFEpR9Dwnu11EnOvYS1Emk4lums6Mu+K8FH7hq4XGUw3V+wq0uO+g9d19mIPPUPbqAg49IhlWQHwW + Of0aDIa6jo6Oz2q1uu6mpQhvonoIH3Tgwu2whdRikSqYgq2oEC7hiJzE8+rJXlbAaDTKxd+SPdfc3ByG + hoZw1VSAy4Y8lHQewHltLm71n0NPoAXlfCnya3IzR2tIDoN/VVtbG5RKJZqamuoka1sFit3p21wJTjze + j+MKskey/12Hn5Cv+U93gijILskSRch3BGDnjjO19O0AAAAASUVORK5CYII= @@ -219,4 +219,7 @@ 530, 17 + + 608, 17 + \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs index 8e68f60..2fdee22 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs @@ -150,8 +150,8 @@ this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.label1 = new System.Windows.Forms.Label(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.label2 = new System.Windows.Forms.Label(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); @@ -181,6 +181,7 @@ // this.tam.BackupDataSetBeforeUpdate = true; this.tam.EETGW_PurchaseCRTableAdapter = this.ta; + this.tam.EETGW_PurchaseEBTableAdapter = null; this.tam.PurchaseTableAdapter = null; this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; // @@ -635,6 +636,7 @@ // // toolStrip1 // + this.toolStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmDate, @@ -896,18 +898,6 @@ this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 7; // - // label2 - // - this.label2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label2.Location = new System.Drawing.Point(0, 606); - this.label2.Name = "label2"; - this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); - this.label2.Size = new System.Drawing.Size(1226, 23); - this.label2.TabIndex = 8; - this.label2.Text = "--"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // // fpSpread1_Sheet1 // this.fpSpread1_Sheet1.Reset(); @@ -1233,6 +1223,18 @@ this.fpSpread1_Sheet1.ShowRowSelector = true; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label2.Location = new System.Drawing.Point(0, 606); + this.label2.Name = "label2"; + this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label2.Size = new System.Drawing.Size(1226, 23); + this.label2.TabIndex = 8; + this.label2.Text = "--"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // fPurchaseCR // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs index 2ba4788..df2285a 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs @@ -992,7 +992,7 @@ namespace FEQ0000 private void 엑셀에서가져오기ToolStripMenuItem_Click(object sender, EventArgs e) { - var f = new fPurchase_excelimport(true); + var f = new fPurchase_excelimport( fPurchase_excelimport.eImporttype.CR); f.Show(); } diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs new file mode 100644 index 0000000..7c56ecb --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs @@ -0,0 +1,1334 @@ +namespace FEQ0000 +{ + partial class fPurchaseEB + { + /// + /// 필수 디자이너 변수입니다. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 사용 중인 모든 리소스를 정리합니다. + /// + /// 관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region 구성 요소 디자이너에서 생성한 코드 + + /// + /// 디자이너 지원에 필요한 메서드입니다. + /// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseEB)); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType45 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType46 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType47 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType48 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager(); + this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.btAdd = new System.Windows.Forms.ToolStripButton(); + this.btCopy = new System.Windows.Forms.ToolStripButton(); + this.btEdit = new System.Windows.Forms.ToolStripButton(); + this.btDel = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); + this.btSave = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.lbSum = new System.Windows.Forms.ToolStripLabel(); + this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton(); + this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton(); + this.입고품목메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.엑셀에서가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.견적서폴더열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); + this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); + this.입고ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.추가ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.sC검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.cRCF검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.cmDate = new System.Windows.Forms.ToolStripComboBox(); + this.dtSD = new System.Windows.Forms.ToolStripTextBox(); + this.lbEnd = new System.Windows.Forms.ToolStripLabel(); + this.dtED = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.cmbState = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); + this.cmbManager = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); + this.cmbAdmin = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.btSearch = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); + 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.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.btViewDel = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + this.cm1.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "EETGW_PurchaseEB"; + this.bs.DataSource = this.dsPurchase; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = true; + this.tam.EETGW_PurchaseCRTableAdapter = null; + this.tam.EETGW_PurchaseEBTableAdapter = this.ta; + this.tam.PurchaseTableAdapter = null; + this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.btAdd, + this.btCopy, + this.btEdit, + this.btDel, + this.toolStripButton4, + this.btSave, + this.toolStripSeparator1, + this.lbSum, + this.toolStripLabel5, + this.toolStripLabel2, + this.tbFind, + this.btFind, + this.toolStripSeparator6, + this.toolStripButton6, + this.toolStripButton1, + this.toolStripButton7}); + this.bn.Location = new System.Drawing.Point(0, 667); + this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn.Name = "bn"; + this.bn.PositionItem = this.bindingNavigatorPositionItem; + this.bn.Size = new System.Drawing.Size(1334, 26); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 23); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 23); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 23); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 26); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 26); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 23); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 23); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 26); + // + // btAdd + // + this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); + this.btAdd.Name = "btAdd"; + this.btAdd.RightToLeftAutoMirrorImage = true; + this.btAdd.Size = new System.Drawing.Size(91, 23); + this.btAdd.Text = "구매입력(&A)"; + this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // btCopy + // + this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image"))); + this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btCopy.Name = "btCopy"; + this.btCopy.Size = new System.Drawing.Size(67, 23); + this.btCopy.Text = "복사(&C)"; + this.btCopy.Click += new System.EventHandler(this.toolStripButton1_Click_2); + // + // btEdit + // + this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); + this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btEdit.Name = "btEdit"; + this.btEdit.Size = new System.Drawing.Size(65, 23); + this.btEdit.Text = "편집(&E)"; + this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // btDel + // + this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); + this.btDel.Name = "btDel"; + this.btDel.RightToLeftAutoMirrorImage = true; + this.btDel.Size = new System.Drawing.Size(68, 23); + this.btDel.Text = "삭제(&D)"; + this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); + // + // toolStripButton4 + // + this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); + this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton4.Name = "toolStripButton4"; + this.toolStripButton4.Size = new System.Drawing.Size(51, 23); + this.toolStripButton4.Text = "입고"; + this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click_1); + // + // btSave + // + this.btSave.Image = global::FEQ0000.Properties.Resources.action_save; + this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(66, 23); + this.btSave.Text = "저장(&S)"; + this.btSave.Click += new System.EventHandler(this.btSave_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26); + // + // lbSum + // + this.lbSum.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.lbSum.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbSum.Name = "lbSum"; + this.lbSum.Size = new System.Drawing.Size(22, 23); + this.lbSum.Text = "0"; + // + // toolStripLabel5 + // + this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripLabel5.Name = "toolStripLabel5"; + this.toolStripLabel5.Size = new System.Drawing.Size(31, 23); + this.toolStripLabel5.Text = "합계"; + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(31, 23); + this.toolStripLabel2.Text = "검색"; + this.toolStripLabel2.Click += new System.EventHandler(this.toolStripLabel2_Click); + // + // tbFind + // + this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Name = "tbFind"; + this.tbFind.Size = new System.Drawing.Size(100, 26); + this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); + // + // btFind + // + this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); + this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btFind.Name = "btFind"; + this.btFind.Size = new System.Drawing.Size(23, 23); + this.btFind.Text = "toolStripButton2"; + this.btFind.Click += new System.EventHandler(this.btFind_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(6, 26); + // + // toolStripButton6 + // + this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); + this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton6.Name = "toolStripButton6"; + this.toolStripButton6.Size = new System.Drawing.Size(92, 23); + this.toolStripButton6.Text = "ClipCopy(&V)"; + this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); + // + // toolStripButton1 + // + this.toolStripButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.집계표ToolStripMenuItem, + this.구매승인양식ToolStripMenuItem}); + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(72, 23); + this.toolStripButton1.Text = "보고서"; + // + // 집계표ToolStripMenuItem + // + this.집계표ToolStripMenuItem.Name = "집계표ToolStripMenuItem"; + this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.집계표ToolStripMenuItem.Text = "집계표"; + this.집계표ToolStripMenuItem.Click += new System.EventHandler(this.집계표ToolStripMenuItem_Click); + // + // 구매승인양식ToolStripMenuItem + // + this.구매승인양식ToolStripMenuItem.Name = "구매승인양식ToolStripMenuItem"; + this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.구매승인양식ToolStripMenuItem.Text = "구매승인 양식"; + this.구매승인양식ToolStripMenuItem.Click += new System.EventHandler(this.구매승인양식ToolStripMenuItem_Click); + // + // toolStripButton7 + // + this.toolStripButton7.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.입고품목메일전송ToolStripMenuItem, + this.엑셀에서가져오기ToolStripMenuItem, + this.견적서폴더열기ToolStripMenuItem}); + this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image"))); + this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton7.Name = "toolStripButton7"; + this.toolStripButton7.Size = new System.Drawing.Size(60, 23); + this.toolStripButton7.Text = "기능"; + // + // 입고품목메일전송ToolStripMenuItem + // + this.입고품목메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("입고품목메일전송ToolStripMenuItem.Image"))); + this.입고품목메일전송ToolStripMenuItem.Name = "입고품목메일전송ToolStripMenuItem"; + this.입고품목메일전송ToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.입고품목메일전송ToolStripMenuItem.Text = "입고 품목 메일 전송"; + 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(182, 22); + this.엑셀에서가져오기ToolStripMenuItem.Text = "엑셀에서 가져오기"; + 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(182, 22); + this.견적서폴더열기ToolStripMenuItem.Text = "견적서 폴더 열기"; + this.견적서폴더열기ToolStripMenuItem.Click += new System.EventHandler(this.견적서폴더열기ToolStripMenuItem_Click); + // + // cm1 + // + this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.columnSizeToolStripMenuItem, + this.toolStripMenuItem3, + this.exportDataToolStripMenuItem, + this.toolStripMenuItem4, + this.입고ToolStripMenuItem, + this.추가ToolStripMenuItem, + this.makeRepeatToolStripMenuItem, + this.편집ToolStripMenuItem1, + this.삭제ToolStripMenuItem, + this.toolStripMenuItem1, + this.sC검색ToolStripMenuItem, + this.cRCF검색ToolStripMenuItem}); + this.cm1.Name = "contextMenuStrip1"; + this.cm1.Size = new System.Drawing.Size(314, 400); + // + // columnSizeToolStripMenuItem + // + this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.autoToolStripMenuItem, + this.resetToolStripMenuItem, + this.saveToolStripMenuItem, + this.loadToolStripMenuItem}); + this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.columnSizeToolStripMenuItem.Text = "Column Size"; + // + // autoToolStripMenuItem + // + this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); + this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; + this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.autoToolStripMenuItem.Text = "Auto"; + this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); + // + // resetToolStripMenuItem + // + this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); + this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; + this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.resetToolStripMenuItem.Text = "Reset"; + this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.saveToolStripMenuItem.Text = "Save"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // loadToolStripMenuItem + // + this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); + this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; + this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.loadToolStripMenuItem.Text = "Load"; + this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(310, 6); + // + // exportDataToolStripMenuItem + // + this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem"; + this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)"; + this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click); + // + // toolStripMenuItem4 + // + this.toolStripMenuItem4.Name = "toolStripMenuItem4"; + this.toolStripMenuItem4.Size = new System.Drawing.Size(310, 6); + // + // 입고ToolStripMenuItem + // + this.입고ToolStripMenuItem.Name = "입고ToolStripMenuItem"; + this.입고ToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.입고ToolStripMenuItem.Text = "입고"; + this.입고ToolStripMenuItem.Click += new System.EventHandler(this.입고ToolStripMenuItem_Click); + // + // 추가ToolStripMenuItem + // + this.추가ToolStripMenuItem.Name = "추가ToolStripMenuItem"; + this.추가ToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.추가ToolStripMenuItem.Text = "추가"; + this.추가ToolStripMenuItem.Click += new System.EventHandler(this.추가ToolStripMenuItem_Click); + // + // makeRepeatToolStripMenuItem + // + this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem"; + this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.makeRepeatToolStripMenuItem.Text = "복사"; + this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click); + // + // 편집ToolStripMenuItem1 + // + this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1"; + this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(313, 42); + this.편집ToolStripMenuItem1.Text = "편집"; + this.편집ToolStripMenuItem1.Click += new System.EventHandler(this.편집ToolStripMenuItem1_Click); + // + // 삭제ToolStripMenuItem + // + this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; + this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.삭제ToolStripMenuItem.Text = "삭제"; + this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(310, 6); + // + // sC검색ToolStripMenuItem + // + this.sC검색ToolStripMenuItem.Name = "sC검색ToolStripMenuItem"; + this.sC검색ToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.sC검색ToolStripMenuItem.Text = "S/C 검색"; + this.sC검색ToolStripMenuItem.Click += new System.EventHandler(this.sC검색ToolStripMenuItem_Click); + // + // cRCF검색ToolStripMenuItem + // + this.cRCF검색ToolStripMenuItem.Name = "cRCF검색ToolStripMenuItem"; + this.cRCF검색ToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.cRCF검색ToolStripMenuItem.Text = "CR/CF 검색"; + this.cRCF검색ToolStripMenuItem.Click += new System.EventHandler(this.cRCF검색ToolStripMenuItem_Click); + // + // toolStrip1 + // + this.toolStrip1.BackColor = System.Drawing.Color.SkyBlue; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cmDate, + this.dtSD, + this.lbEnd, + this.dtED, + this.toolStripLabel4, + this.cmbSort, + this.toolStripSeparator2, + this.toolStripLabel1, + this.cmbState, + this.toolStripSeparator3, + this.toolStripLabel3, + this.tbRequest, + this.toolStripLabel6, + this.cmbManager, + this.toolStripLabel7, + this.cmbAdmin, + this.toolStripSeparator4, + this.btSearch, + this.toolStripSeparator5, + this.toolStripDropDownButton1, + this.toolStripButton2, + this.btViewDel, + this.toolStripButton3}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1334, 37); + this.toolStrip1.TabIndex = 3; + this.toolStrip1.Text = "toolStrip1"; + // + // cmDate + // + this.cmDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmDate.Items.AddRange(new object[] { + "등록일", + "입고일", + "입고예정일"}); + this.cmDate.Name = "cmDate"; + this.cmDate.Size = new System.Drawing.Size(75, 37); + // + // dtSD + // + this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dtSD.Name = "dtSD"; + this.dtSD.Size = new System.Drawing.Size(75, 37); + this.dtSD.Text = "1982-11-23"; + this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.dtSD.DoubleClick += new System.EventHandler(this.dtSD_DoubleClick); + // + // lbEnd + // + this.lbEnd.Name = "lbEnd"; + this.lbEnd.Size = new System.Drawing.Size(15, 34); + this.lbEnd.Text = "~"; + this.lbEnd.Click += new System.EventHandler(this.lbEnd_Click); + // + // dtED + // + this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dtED.Name = "dtED"; + this.dtED.Size = new System.Drawing.Size(75, 37); + this.dtED.Text = "1982-11-23"; + this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.dtED.DoubleClick += new System.EventHandler(this.dtSD_DoubleClick); + // + // toolStripLabel4 + // + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel4.Text = "정렬"; + // + // cmbSort + // + this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbSort.Items.AddRange(new object[] { + "등록일", + "완료일", + "S/C", + "SID+등록일"}); + this.cmbSort.Name = "cmbSort"; + this.cmbSort.Size = new System.Drawing.Size(90, 37); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37); + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel1.Text = "상태"; + // + // cmbState + // + this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbState.Name = "cmbState"; + this.cmbState.Size = new System.Drawing.Size(90, 37); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 37); + // + // toolStripLabel3 + // + this.toolStripLabel3.Name = "toolStripLabel3"; + this.toolStripLabel3.Size = new System.Drawing.Size(43, 34); + this.toolStripLabel3.Text = "사용자"; + this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); + // + // tbRequest + // + this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbRequest.Name = "tbRequest"; + this.tbRequest.Size = new System.Drawing.Size(70, 37); + this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); + // + // toolStripLabel6 + // + this.toolStripLabel6.Name = "toolStripLabel6"; + this.toolStripLabel6.Size = new System.Drawing.Size(55, 34); + this.toolStripLabel6.Text = "구매담당"; + // + // cmbManager + // + this.cmbManager.Name = "cmbManager"; + this.cmbManager.Size = new System.Drawing.Size(75, 37); + this.cmbManager.Text = "65"; + // + // toolStripLabel7 + // + this.toolStripLabel7.Name = "toolStripLabel7"; + this.toolStripLabel7.Size = new System.Drawing.Size(55, 34); + this.toolStripLabel7.Text = "구매승인"; + // + // cmbAdmin + // + this.cmbAdmin.Name = "cmbAdmin"; + this.cmbAdmin.Size = new System.Drawing.Size(75, 37); + this.cmbAdmin.Text = "66"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 37); + // + // btSearch + // + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSearch.Name = "btSearch"; + this.btSearch.Size = new System.Drawing.Size(80, 34); + this.btSearch.Text = "조회(&R)"; + this.btSearch.Click += new System.EventHandler(this.btSearch_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37); + // + // toolStripDropDownButton1 + // + this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.금일입고품목ToolStripMenuItem, + this.내가등록한자료ToolStripMenuItem, + this.이번달자료ToolStripMenuItem, + this.엑셀에서열기ToolStripMenuItem}); + this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); + this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; + this.toolStripDropDownButton1.Size = new System.Drawing.Size(81, 34); + this.toolStripDropDownButton1.Text = "Quick"; + // + // 금일입고품목ToolStripMenuItem + // + this.금일입고품목ToolStripMenuItem.Name = "금일입고품목ToolStripMenuItem"; + this.금일입고품목ToolStripMenuItem.Size = new System.Drawing.Size(213, 22); + this.금일입고품목ToolStripMenuItem.Text = "금일 입고 품목"; + this.금일입고품목ToolStripMenuItem.Click += new System.EventHandler(this.금일입고품목ToolStripMenuItem_Click); + // + // 내가등록한자료ToolStripMenuItem + // + this.내가등록한자료ToolStripMenuItem.Name = "내가등록한자료ToolStripMenuItem"; + this.내가등록한자료ToolStripMenuItem.Size = new System.Drawing.Size(213, 22); + this.내가등록한자료ToolStripMenuItem.Text = "내가 등록한 자료"; + this.내가등록한자료ToolStripMenuItem.Click += new System.EventHandler(this.내가등록한자료ToolStripMenuItem_Click); + // + // 이번달자료ToolStripMenuItem + // + this.이번달자료ToolStripMenuItem.Name = "이번달자료ToolStripMenuItem"; + this.이번달자료ToolStripMenuItem.Size = new System.Drawing.Size(213, 22); + this.이번달자료ToolStripMenuItem.Text = "이번달 자료"; + this.이번달자료ToolStripMenuItem.Click += new System.EventHandler(this.이번달자료ToolStripMenuItem_Click); + // + // 엑셀에서열기ToolStripMenuItem + // + this.엑셀에서열기ToolStripMenuItem.Name = "엑셀에서열기ToolStripMenuItem"; + this.엑셀에서열기ToolStripMenuItem.Size = new System.Drawing.Size(213, 22); + this.엑셀에서열기ToolStripMenuItem.Text = "Excel 파일로 저장 후 열기"; + this.엑셀에서열기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서열기ToolStripMenuItem_Click); + // + // toolStripButton2 + // + this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(65, 34); + this.toolStripButton2.Text = "닫기"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); + // + // btViewDel + // + this.btViewDel.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.btViewDel.CheckOnClick = true; + this.btViewDel.Image = ((System.Drawing.Image)(resources.GetObject("btViewDel.Image"))); + this.btViewDel.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btViewDel.Name = "btViewDel"; + this.btViewDel.Size = new System.Drawing.Size(89, 34); + this.btViewDel.Text = "삭제표시"; + this.btViewDel.Click += new System.EventHandler(this.btViewDel_Click); + // + // toolStripButton3 + // + this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); + this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton3.Name = "toolStripButton3"; + this.toolStripButton3.Size = new System.Drawing.Size(77, 34); + this.toolStripButton3.Text = "설명서"; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click_1); + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.ContextMenuStrip = this.cm1; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.EditModeReplace = true; + this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.fpSpread1.Location = new System.Drawing.Point(0, 37); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.fpSpread1_Sheet1}); + this.fpSpread1.Size = new System.Drawing.Size(1334, 584); + this.fpSpread1.StatusBarVisible = true; + this.fpSpread1.TabIndex = 4; + this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); + this.fpSpread1.SetViewportLeftColumn(0, 0, 10); + // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 39; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "요청\r\n검사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "구매\r\n검사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "구매신청일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "보관소"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "Cost Center"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "LineCode"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "SC#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "SCR/CF"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "수령"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "SID#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "품명"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "규격"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "장비\r\n제조사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "제조\r\n공정"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "장비\r\n모델"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "수량\r\n(요청)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "수량\r\n(구매)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "단위"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "단가\r\n(해외)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "통화"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "단가"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "합계금액"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "공급업체"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "프로젝트"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 29).Value = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 30).Value = "비고(구매사유)\r\n(요청자)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "입고예정"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "입고일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "입고수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).Value = "PO#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 35).Value = "비고\r\n(담당자)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 36).Value = "구매담당"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "구매승인"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 38).Value = "삭제됨"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType4; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1"; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "요청\r\n검사"; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 31F; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType5; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2"; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "구매\r\n검사"; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 35F; + this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType25; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "구매신청일"; + this.fpSpread1_Sheet1.Columns.Get(2).Tag = "pdate"; + this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType26; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state"; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "상태"; + this.fpSpread1_Sheet1.Columns.Get(3).Tag = "state"; + this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType27; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place"; + this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "보관소"; + this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType28; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "공정"; + this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType29; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "requestName"; + this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "요청"; + this.fpSpread1_Sheet1.Columns.Get(6).Tag = "requestName"; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType30; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "costcenter"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "Cost Center"; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType31; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "linecode"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "LineCode"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType32; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "sc"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "SC#"; + this.fpSpread1_Sheet1.Columns.Get(9).Tag = "sc"; + this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType33; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "orderno"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "SCR/CF"; + this.fpSpread1_Sheet1.Columns.Get(10).Tag = "crcf"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType34; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "receiveName"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "수령"; + this.fpSpread1_Sheet1.Columns.Get(11).Tag = "receiveName"; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(12).AllowAutoSort = true; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType35; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "sid"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "SID#"; + this.fpSpread1_Sheet1.Columns.Get(12).Tag = "sid"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType36; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumname"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "품명"; + this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumname"; + this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType10.DecimalPlaces = 0; + numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType10.MaximumValue = 2147483647D; + numberCellType10.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType10; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumidx"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "*"; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType37; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumscale"; + this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "규격"; + this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumscale"; + this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType38; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "dept"; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "장비\r\n제조사"; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType38; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "manuproc"; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "제조\r\n공정"; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType38; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "asset"; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "장비\r\n모델"; + this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F; + numberCellType11.DecimalPlaces = 0; + numberCellType11.NegativeRed = true; + numberCellType11.NullDisplay = "--"; + numberCellType11.Separator = ","; + numberCellType11.ShowSeparator = true; + numberCellType11.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType11; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumqtyReq"; + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "수량\r\n(요청)"; + this.fpSpread1_Sheet1.Columns.Get(19).Tag = "pumqty"; + this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F; + numberCellType12.DecimalPlaces = 0; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType12; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumqty"; + this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).Label = "수량\r\n(구매)"; + this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).Width = 55F; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType39; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumunit"; + this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(21).Label = "단위"; + this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F; + numberCellType13.DecimalPlaces = 2; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType13; + this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumpriceD"; + this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(22).Label = "단가\r\n(해외)"; + this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType40; + this.fpSpread1_Sheet1.Columns.Get(23).DataField = "currency"; + this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(23).Label = "통화"; + this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(23).Width = 33F; + numberCellType14.DecimalPlaces = 0; + numberCellType14.MaximumValue = 9999999999999.99D; + numberCellType14.MinimumValue = -9999999999999.99D; + numberCellType14.NegativeRed = true; + numberCellType14.NullDisplay = "--"; + numberCellType14.Separator = ","; + numberCellType14.ShowSeparator = true; + numberCellType14.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = numberCellType14; + this.fpSpread1_Sheet1.Columns.Get(24).DataField = "pumprice"; + this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(24).Label = "단가"; + this.fpSpread1_Sheet1.Columns.Get(24).Tag = "pumprice"; + this.fpSpread1_Sheet1.Columns.Get(24).Width = 51F; + numberCellType15.DecimalPlaces = 0; + numberCellType15.MaximumValue = 9999999999999.99D; + numberCellType15.MinimumValue = -9999999999999.99D; + numberCellType15.NegativeRed = true; + numberCellType15.NullDisplay = "--"; + numberCellType15.Separator = ","; + numberCellType15.ShowSeparator = true; + numberCellType15.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType15; + this.fpSpread1_Sheet1.Columns.Get(25).DataField = "pumamt"; + this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(25).Label = "합계금액"; + this.fpSpread1_Sheet1.Columns.Get(25).Tag = "pumamt"; + this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(26).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType41; + this.fpSpread1_Sheet1.Columns.Get(26).DataField = "supply"; + this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(26).Label = "공급업체"; + this.fpSpread1_Sheet1.Columns.Get(26).Tag = "supply"; + this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(27).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType16.DecimalPlaces = 0; + numberCellType16.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType16.MaximumValue = 2147483647D; + numberCellType16.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType16; + this.fpSpread1_Sheet1.Columns.Get(27).DataField = "supplyidx"; + this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(27).Label = "*"; + this.fpSpread1_Sheet1.Columns.Get(27).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(28).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType42; + this.fpSpread1_Sheet1.Columns.Get(28).DataField = "project"; + this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(28).Label = "프로젝트"; + this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(29).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType17.DecimalPlaces = 0; + numberCellType17.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType17.MaximumValue = 2147483647D; + numberCellType17.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType17; + this.fpSpread1_Sheet1.Columns.Get(29).DataField = "projectidx"; + this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(29).Label = "*"; + this.fpSpread1_Sheet1.Columns.Get(29).Tag = "projectidx"; + this.fpSpread1_Sheet1.Columns.Get(29).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F; + textCellType43.WordWrap = true; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType43; + this.fpSpread1_Sheet1.Columns.Get(30).DataField = "bigo"; + this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(30).Label = "비고(구매사유)\r\n(요청자)"; + this.fpSpread1_Sheet1.Columns.Get(30).Tag = "bigo"; + this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(30).Width = 96F; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType44; + this.fpSpread1_Sheet1.Columns.Get(31).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(31).Label = "입고예정"; + this.fpSpread1_Sheet1.Columns.Get(31).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType45; + this.fpSpread1_Sheet1.Columns.Get(32).DataField = "indate"; + this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(32).Label = "입고일"; + this.fpSpread1_Sheet1.Columns.Get(32).Tag = "indate"; + this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F; + numberCellType18.DecimalPlaces = 0; + numberCellType18.NegativeRed = true; + numberCellType18.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(33).CellType = numberCellType18; + this.fpSpread1_Sheet1.Columns.Get(33).DataField = "inqty"; + this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(33).Label = "입고수량"; + this.fpSpread1_Sheet1.Columns.Get(33).Tag = "inqty"; + this.fpSpread1_Sheet1.Columns.Get(33).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(33).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(34).CellType = textCellType46; + this.fpSpread1_Sheet1.Columns.Get(34).DataField = "po"; + this.fpSpread1_Sheet1.Columns.Get(34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(34).Label = "PO#"; + this.fpSpread1_Sheet1.Columns.Get(34).Tag = "po"; + this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F; + textCellType47.WordWrap = true; + this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType47; + this.fpSpread1_Sheet1.Columns.Get(35).DataField = "chkremark"; + this.fpSpread1_Sheet1.Columns.Get(35).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(35).Label = "비고\r\n(담당자)"; + this.fpSpread1_Sheet1.Columns.Get(35).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(36).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType48; + this.fpSpread1_Sheet1.Columns.Get(36).DataField = "purchase_manager"; + this.fpSpread1_Sheet1.Columns.Get(36).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(36).Label = "구매담당"; + this.fpSpread1_Sheet1.Columns.Get(36).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(37).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType48; + this.fpSpread1_Sheet1.Columns.Get(37).DataField = "purchase_admin"; + this.fpSpread1_Sheet1.Columns.Get(37).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(37).Label = "구매승인"; + this.fpSpread1_Sheet1.Columns.Get(37).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(38).CellType = checkBoxCellType6; + this.fpSpread1_Sheet1.Columns.Get(38).DataField = "isdel"; + this.fpSpread1_Sheet1.Columns.Get(38).Label = "삭제됨"; + this.fpSpread1_Sheet1.Columns.Get(38).Tag = "isdel"; + this.fpSpread1_Sheet1.Columns.Get(38).Width = 51F; + this.fpSpread1_Sheet1.DataAutoCellTypes = false; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label1.Location = new System.Drawing.Point(0, 644); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label1.Size = new System.Drawing.Size(1334, 23); + this.label1.TabIndex = 6; + this.label1.Text = "--"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label2.Location = new System.Drawing.Point(0, 621); + this.label2.Name = "label2"; + this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label2.Size = new System.Drawing.Size(1334, 23); + this.label2.TabIndex = 7; + this.label2.Text = "--"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // fPurchaseEB + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1334, 693); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.DoubleBuffered = true; + this.Name = "fPurchaseEB"; + this.Text = "전자실구매 신청"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + this.cm1.ResumeLayout(false); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsPurchase dsPurchase; + private System.Windows.Forms.BindingSource bs; + private dsPurchaseTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton btAdd; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton btDel; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripTextBox dtSD; + private System.Windows.Forms.ToolStripLabel lbEnd; + private System.Windows.Forms.ToolStripTextBox dtED; + private System.Windows.Forms.ToolStripButton btSearch; + private System.Windows.Forms.ContextMenuStrip cm1; + private System.Windows.Forms.ToolStripLabel toolStripLabel3; + private System.Windows.Forms.ToolStripTextBox tbRequest; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripLabel toolStripLabel5; + private System.Windows.Forms.ToolStripLabel lbSum; + private System.Windows.Forms.ToolStripButton btSave; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripComboBox cmbState; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripTextBox tbFind; + private System.Windows.Forms.ToolStripButton btFind; + private FarPoint.Win.Spread.FpSpread fpSpread1; + private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; + private System.Windows.Forms.ToolStripButton btEdit; + private System.Windows.Forms.ToolStripMenuItem exportDataToolStripMenuItem; + private System.Windows.Forms.ToolStripComboBox cmDate; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1; + private System.Windows.Forms.ToolStripMenuItem 금일입고품목ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 내가등록한자료ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 이번달자료ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton btViewDel; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4; + private System.Windows.Forms.ToolStripButton btCopy; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripDropDownButton toolStripButton1; + private System.Windows.Forms.ToolStripMenuItem 집계표ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem makeRepeatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem 삭제ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 추가ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripLabel toolStripLabel4; + private System.Windows.Forms.ToolStripComboBox cmbSort; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem sC검색ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem cRCF검색ToolStripMenuItem; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ToolStripMenuItem 구매승인양식ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton6; + private System.Windows.Forms.ToolStripDropDownButton toolStripButton7; + private System.Windows.Forms.ToolStripMenuItem 입고품목메일전송ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 엑셀에서가져오기ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 견적서폴더열기ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton3; + private System.Windows.Forms.ToolStripButton toolStripButton4; + private System.Windows.Forms.ToolStripMenuItem 입고ToolStripMenuItem; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.ToolStripLabel toolStripLabel6; + private System.Windows.Forms.ToolStripLabel toolStripLabel7; + private System.Windows.Forms.ToolStripComboBox cmbManager; + private System.Windows.Forms.ToolStripComboBox cmbAdmin; + private System.Windows.Forms.ToolStripMenuItem 엑셀에서열기ToolStripMenuItem; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + private dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter ta; + } +} diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs new file mode 100644 index 0000000..7001792 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs @@ -0,0 +1,1309 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using util = FCOMMON.Util; + +using NetOffice; +using Outlook = NetOffice.OutlookApi; +using NetOffice.OutlookApi.Enums; +using FEQ0000.Purchase; +using FCOMMON; +using NetOffice.OfficeApi; + +namespace FEQ0000 +{ + public partial class fPurchaseEB : FCOMMON.fBase + { + string fn_fpcolsize = ""; + + public fPurchaseEB() + { + InitializeComponent(); + Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; + Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; + + fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); + this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow; + this.FormClosing += FPurchase_FormClosing; + this.FormClosed += __Closed; + dtSD.KeyDown += dtSD_KeyDown; + dtED.KeyDown += dtSD_KeyDown; + //this.dv1.CellFormatting += dv1_CellFormatting; + } + + private void FPurchase_FormClosing(object sender, FormClosingEventArgs e) + { + if (dsPurchase.HasChanges()) + { + var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다"); + if (dlg != DialogResult.Yes) + { + e.Cancel = true; + return; + } + } + } + + void dtSD_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode != Keys.Enter) return; + var tb = sender as ToolStripTextBox; + var input = tb.Text.Trim(); + if (input == "") tb.Text = DateTime.Now.ToShortDateString(); + else + { + string dt = string.Empty; + if (!util.MakeDateString(input, out dt)) + { + FCOMMON.Util.MsgE("입력값이 올바르지 않습니다."); + tb.SelectAll(); + tb.Focus(); + return; + } + else + { + tb.Text = dt; + } + } + if (tb == dtSD) + { + dtED.Focus(); + dtED.SelectAll(); + } + else + { + btSearch.PerformClick(); + tb.SelectAll(); + } + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["gcode"] = FCOMMON.info.Login.gcode; + e.Row["pdate"] = DateTime.Now.ToShortDateString(); + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["pumunit"] = "EA"; + e.Row["state"] = "---"; + e.Row["pumqty"] = 0; + e.Row["pumqtyreq"] = 0; + e.Row["pumprice"] = 0; + e.Row["pumamt"] = 0; + e.Row["request"] = FCOMMON.info.Login.nameK; + e.Row["receive"] = "";// FCOMMON.info.Login.nameK; + } + + private void __Load(object sender, EventArgs e) + { + this.cmDate.SelectedIndex = 0; + this.tbRequest.Text = string.Empty; //양진원 FCOMMON.info.Login.nameK; + this.cmbSort.SelectedIndex = 0; + this.dtSD.Text = DateTime.Now.AddDays(-30).ToShortDateString(); + this.dtED.Text = DateTime.Now.AddDays(10).ToShortDateString(); + + + //state list + var stList = FCOMMON.DBM.getCodeList("04"); + this.cmbState.Items.Clear(); + cmbState.Items.Add("-- 전체 --"); + foreach (var item in stList) + cmbState.Items.Add(item.Value); + cmbState.Items.Add("<=Received"); + this.cmbState.SelectedIndex = 0; //all기본 - 양진원 + //this.cmbCr.SelectedIndex = 1; + + //구매담당자목록 + using (var tauser = new dsPurchaseTableAdapters.Purchase_ManagerlistTableAdapter()) + { + var lst_man = tauser.GetByManager(FCOMMON.info.Login.gcode); + var lat_adm = tauser.GetByAdmin(FCOMMON.info.Login.gcode); + + cmbManager.Items.Clear(); + cmbAdmin.Items.Clear(); + cmbManager.Items.Add("-- 전체 --"); + cmbAdmin.Items.Add("-- 전체 --"); + + foreach (dsPurchase.Purchase_ManagerlistRow dr in lst_man) + { + cmbManager.Items.Add(dr.username); + } + foreach (dsPurchase.Purchase_ManagerlistRow dr in lat_adm) + { + cmbAdmin.Items.Add(dr.username); + } + } + this.cmbManager.SelectedIndex = 0; + this.cmbAdmin.SelectedIndex = 0; + + + //일반사용자의경우에는 상태를 변경하지 못한다. + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); + if (curLevel >= 5) + { + btSave.Visible = true; + 엑셀에서가져오기ToolStripMenuItem.Visible = true; + + } + else + { + 엑셀에서가져오기ToolStripMenuItem.Visible = false; + btSave.Visible = false; + btViewDel.Visible = false; + fpSpread1.EditMode = false; + fpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row; + fpSpread1.EditModePermanent = false; + fpSpread1.EditModeReplace = false; + + foreach (FarPoint.Win.Spread.Column col in fpSpread1.ActiveSheet.Columns) + col.Locked = true; + } + + refreshData(); + + //열표시여부를 설정 + var adv = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.purchase_adv); + if (adv == false) + { + var hidecols = new string[] { "receivename", "receive", "asset", "dept", "manuproc", "process", "cr", "orderno", "manuproc", "project", "projectidx", "edate", "po" }; + foreach (FarPoint.Win.Spread.Column col in fpSpread1_Sheet1.Columns) + { + if (hidecols.Contains(col.DataField.ToLower())) col.Visible = false; + } + } + } + + + private void refreshData() + { + + try + { + string state = "%"; + if (cmbState.SelectedIndex > 0) state = cmbState.Text.Split(',')[0]; + + string request = "%"; + if (tbRequest.Text.Trim() != "") + request = "%" + tbRequest.Text.Trim() + "%";// tbRequest.Text.Substring(1, tbRequest.Text.IndexOf("]") - 1); + + + string dateField = "pdate"; + if (cmDate.SelectedIndex == 1) dateField = "indate"; + else if (cmDate.SelectedIndex == 2) dateField = "expdate"; + + + System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter(); + System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand(); + cmd.CommandText = " select *,dbo.getusername(request) as requestName,dbo.getusername(receive) as receiveName" + + " from EETGW_PurchaseEB " + + " where gcode='" + FCOMMON.info.Login.gcode + "' and isnull(" + dateField + ",'') between @sd and @ed "; + + + + if (btViewDel.Checked == false) + cmd.CommandText += " and isnull(isdel,0) = 0"; + + + if (tbRequest.Text.Trim() != "") + { + cmd.CommandText += " and (isnull(dbo.getusername(request),'') like @req or isnull(dbo.getusername(receive),'') like @req)"; + } + + if (cmbManager.SelectedIndex != 0 && cmbManager.Text.isEmpty() == false) + { + cmd.CommandText += $" and purchase_manager like '%{cmbManager.Text.Replace("'", "''")}%'"; + } + if (cmbAdmin.SelectedIndex != 0 && cmbAdmin.Text.isEmpty() == false) + { + cmd.CommandText += $" and purchase_admin like '%{cmbAdmin.Text.Replace("'", "''")}%'"; + } + + if (cmbState.SelectedIndex != 0) + { + if (cmbState.Text.ToUpper() == "<=RECEIVED") + { + cmd.CommandText += " and isnull([state],'') in ('','---','Approving','PR','PO')"; + } + else + { + cmd.CommandText += " and isnull([state],'') like @st"; + } + } + // else cmd.CommandText += " and (state < '04' or state > '07')"; + + + if (cmbSort.SelectedIndex == 1) + { + dateField = "edate"; + cmd.CommandText += " ORDER BY " + dateField + " DESC, idx DESC"; + } + else if (cmbSort.SelectedIndex == 2) + { + dateField = "sc"; + cmd.CommandText += " ORDER BY " + dateField + " DESC, idx DESC"; + } + else if (cmbSort.SelectedIndex == 3) + { + cmd.CommandText += " ORDER BY state , (case sid when '' then '0' when '신규' then '0' when '신규품목' then '0' else '1' end) desc, pdate desc, idx DESC"; + } + else + { + cmd.CommandText += " ORDER BY " + dateField + " DESC, idx DESC"; + } + + + cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@sd", dtSD.Text)); + cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ed", dtED.Text)); + cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@req", request)); + cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@st", state)); + cmd.Connection = this.ta.Connection; + da.SelectCommand = cmd; + + //read adata + this.dsPurchase.Purchase.Clear(); + da.Fill(this.dsPurchase.Purchase); + this.dsPurchase.AcceptChanges(); + showSummary(); + FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + catch (System.Exception ex) + { + System.Windows.Forms.MessageBox.Show(ex.Message); + } + + FormattingData(); + } + void FormattingData() + { + //삭제컬럼인덱스 + this.fpSpread1.SuspendLayout(); + var delindex = this.fpSpread1.ActiveSheet.Columns["isdel"].Index; + var statindex = this.fpSpread1.ActiveSheet.Columns["state"].Index; + var crcfindex = this.fpSpread1.ActiveSheet.Columns["crcf"].Index; + var prjindex = this.fpSpread1.ActiveSheet.Columns["projectidx"].Index; + + + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + { + var state = this.fpSpread1.ActiveSheet.GetValue(i, statindex); + string stateStr = string.Empty; + if (state != null) stateStr = state.ToString(); + + var value = this.fpSpread1.ActiveSheet.GetValue(i, delindex); + var crcf = this.fpSpread1.ActiveSheet.GetValue(i, crcfindex); + + var str_crcf = string.Empty; + if (crcf != null) str_crcf = crcf.ToString(); + + + if (value != null && (Boolean)value) + { + this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.Red; + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.White; + } + else + { + //crcf 에 따라서 배경색 변경 + if (str_crcf != "") + this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.FromArgb(50, Color.PowderBlue); + else + this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White; + + + switch (stateStr.ToLower()) + { + case "cancled": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Red; + break; + case "rejected": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Tomato; + break; + case "spr": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Magenta; + break; + case "---": + case "----": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Blue; + break; + case "received": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Gray; + break; + case "hold": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.HotPink; + break; + default: + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Black; + break; + } + } + + //프로젝트가 걸린데이터는 글자를 bold체로 변경한다. + var prjdata = this.fpSpread1.ActiveSheet.GetValue(i, prjindex); + if (prjdata != null) + { + var pidx = (int)this.fpSpread1.ActiveSheet.GetValue(i, prjindex); + if (pidx == -1) //프로젝트가 없다 + { + this.fpSpread1.ActiveSheet.Rows[i].Font = fBase; + } + else + { + this.fpSpread1.ActiveSheet.Rows[i].Font = fBold; + } + } + else this.fpSpread1.ActiveSheet.Rows[i].Font = fBold; + + + } + this.fpSpread1.ResumeLayout(); + } + + Font fBase = new Font("맑은 고딕", 9); + Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold); + + private void saveData(Boolean prompt) + { + this.Validate(); + this.bs.EndEdit(); + + try + { + var cnt = this.tam.UpdateAll(this.dsPurchase); + if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt)); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("저장 실패\n" + ex.Message); + } + + + } + void showSummary() + { + decimal sum = 0; + var list = this.dsPurchase.EETGW_PurchaseEB.Select(this.bs.Filter, "") as dsPurchase.EETGW_PurchaseEBRow[]; + sum = list.Sum(t => t.pumamt); + //foreach (dsPurchase.PurchaseRow dr in this.dsPurchase.Purchase.Rows) + //if (!dr.IspumamtNull()) sum += dr.pumamt; + lbSum.Text = sum.ToString("N0"); + } + + private void btSearch_Click(object sender, EventArgs e) + { + refreshData(); + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + func_add(); + } + + private void tbRequest_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + btSearch.PerformClick(); + } + + private void btSave_Click(object sender, EventArgs e) + { + saveData(true); + } + + + private void lbEnd_Click(object sender, EventArgs e) + { + //end date + var list = FCOMMON.DBM.getGroupList("pdate", "EETGW_purchaseEB", "pdate >= '" + dtSD.Text + "'", true); + FCM0000.fLovOneItem f = new FCM0000.fLovOneItem(list); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + dtED.Text = f.Title; + btSearch.PerformClick(); + } + } + + private void toolStripLabel3_Click(object sender, EventArgs e) + { + //사용자목록처리 + if (tbRequest.Text.Trim() == "") + { + tbRequest.Text = FCOMMON.info.Login.nameK; + } + else + { + tbRequest.Text = string.Empty; + } + + refreshData(); + } + + private bool getAdminInput + { + get + { + return FCOMMON.Util.getBit( + FCOMMON.info.Login.gpermission, + (int)FCOMMON.eGroupPermission.purchase_adv); + } + } + + private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) + { + func_delete(); + } + void func_add() + { + var newdr = this.dsPurchase.EETGW_PurchaseEB.NewEETGW_PurchaseEBRow(); + + if (FCOMMON.info.Login.no == "dev") + newdr.request = "395552";//string.Format("[{0}] {1}", "395552", "김치균"); + else + newdr.request = FCOMMON.info.Login.no; + + var t1 = DBM.getCodeList("65"); + var t2 = DBM.getCodeList("66"); + if (t1.Count == 1) + newdr.purchase_manager = t1.First().Value; + if (t2.Count == 1) + newdr.purchase_admin = t2.First().Value; + + repeat: + + bool repeat = false; + DialogResult dlg; + + var f = new fPurchaseEB_Add(newdr); + dlg = f.ShowDialog(); + repeat = f.repeatAdd; + + + if (dlg == System.Windows.Forms.DialogResult.OK) + { + //존재하지 않는 sid 는 추가를 해준다. + var newidx = AddItemInfoGetIndex(newdr); + if (newidx != -1) + { + newdr.pumidx = newidx; + newdr.EndEdit(); + } + + this.dsPurchase.EETGW_PurchaseEB.AddEETGW_PurchaseEBRow(newdr); + + int cnt = this.ta.Update(newdr); + if (cnt == 1) + { + if (repeat) + { + FCOMMON.Util.MsgI("저장 완료\n\n연속 저장 모드이므로 직전에 입력된 자료가 자동으로 설정 됩니다."); + + } + else FCOMMON.Util.MsgI("저장 완료"); + } + else + { + FCOMMON.Util.MsgE("저장 실패\n\n다시 시도하시고 증상이 반복되면 chikyun.kim@amkor.co.kr 로 문의 주십시요"); + } + + + newdr.AcceptChanges(); + if (repeat) + { + var newdro = this.dsPurchase.EETGW_PurchaseEB.NewEETGW_PurchaseEBRow(); + FCOMMON.Util.CopyData(newdr, newdro); + newdro.idx = -1; + newdro.wdate = DateTime.Now; + newdr = newdro; //change + goto repeat; + } + else refreshData(); //181210 + } + else newdr.Delete(); + + + + } + void func_delete() + { + var drv = bs.Current as DataRowView; + if (drv == null) return; + + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow;//.PurchaseRow; + if (dr.sc != "") + { + if (curLevel < 5) + { + FCOMMON.Util.MsgE("일반 사용자는 SC값이 있는 자료를 삭제할 수 없습니다."); + return; + } + } + + if (dr.request != FCOMMON.info.Login.no) + { + if (curLevel < 5) + { + FCOMMON.Util.MsgE("일반 사용자는 타인의 자료를 삭제할 수 없습니다."); + return; + } + } + + if (curLevel < 5) + { + var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + } + else + { + var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?\n저장 버튼을 눌러야 최종 삭제 됩니다"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + } + + bs.RemoveCurrent(); + + //일반사용자는 데이터를 바로 삭제한다. + if (curLevel < 5) + { + try + { + int cnt = ta.Update(this.dsPurchase); + if (cnt != 1) + FCOMMON.Util.MsgE(cnt.ToString() + "건의 자료가 삭제되었습니다."); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("delete error\n" + ex.Message); + } + } + } + + private int AddItemInfoGetIndex(dsPurchase.EETGW_PurchaseEBRow newdr) + { + //이 시드가 아이템목록에 없다면 추가 하고 idx를 조회한 후 설정해준다. + if (newdr.sid == "신규") return -1; + int retval = -1; + var sid = newdr.sid; + var iteminfo = FCOMMON.DBM.getItemInfo(sid); + if (iteminfo.idx < 0) + { + FCOMMON.DBM.sItemInfo newitem = new FCOMMON.DBM.sItemInfo(); + newitem.sid = newdr.sid; + newitem.name = newdr.pumname; + newitem.price = newdr.pumprice.ToString(); + newitem.model = newdr.pumscale; + newitem.unit = newdr.pumunit; + newitem.scale = 1f; + newitem.supply = newdr.supply; + newitem.supplyidx = newdr.supplyidx; + retval = FCOMMON.DBM.addItemInfo(newitem); + } + return retval; + } + + private void copyDataToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void btFind_Click(object sender, EventArgs e) + { + var search = tbFind.Text.Trim(); + search = search.Replace("*", "x"); + if (tbFind.Text != search) tbFind.Text = search; + try + { + if (search.isEmpty()) + { + this.bs.Filter = ""; + tbFind.BackColor = Color.White; + } + else + { + search = search.Replace("'", "''"); + string filter = "supply like ? or sid like ? or process like ? or orderno like ? or sc like ? or pumname like ? or pumscale like ? or project like ?"; + filter = filter.Replace("?", "'%" + search + "%'"); + this.bs.Filter = filter; + tbFind.BackColor = Color.Lime; + } + tbFind.SelectAll(); + tbFind.Focus(); + showSummary(); + } + catch (Exception ex) + { + this.tbFind.BackColor = Color.Tomato; + FCOMMON.Util.MsgE(ex.Message); + } + } + + private void tbFind_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) btFind.PerformClick(); + } + + private void editDataToolStripMenuItem_Click(object sender, EventArgs e) + { + Func_Edit(); + } + void Func_Edit() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var newdr = drv.Row as dsPurchase.EETGW_PurchaseEBRow;//.PurchaseRow; + + bool repeat = false; + DialogResult dlg; + + var f = new fPurchaseEB_Add(newdr); + dlg = f.ShowDialog(); + repeat = f.repeatAdd; + + if (dlg == System.Windows.Forms.DialogResult.OK) + { + //존재하지 않는 sid 는 추가를 해준다. + var newidx = AddItemInfoGetIndex(newdr); + if (newidx != -1) + { + newdr.pumidx = newidx; + newdr.EndEdit(); + } + if (newdr.RowState != DataRowState.Unchanged) + { + this.ta.Update(newdr); + newdr.AcceptChanges(); + } + } + else newdr.RejectChanges(); + + } + + private void autoToolStripMenuItem_Click(object sender, EventArgs e) + { + FCOMMON.Util.FPColSizeAuto(this.fpSpread1); + //this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; + + //for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + // this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); + //dv1.AutoResizeColumns(); + } + + private void resetToolStripMenuItem_Click(object sender, EventArgs e) + { + foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) + { + col.Width = 100; + } + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + { + FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize); + } + + private void loadToolStripMenuItem_Click(object sender, EventArgs e) + { + FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + private void toolStripButton2_Click(object sender, EventArgs e) + { + Func_Edit(); + } + + + + private void exportDataToolStripMenuItem_Click(object sender, EventArgs e) + { + SaveFileDialog sd = new SaveFileDialog(); + sd.Filter = "excel|*.xls"; + sd.FileName = "nrplist.xls"; + if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + fpSpread1.SaveExcel(sd.FileName, + FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + | FarPoint.Excel.ExcelSaveFlags.NoFormulas + | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); + var a = FCOMMON.Util.MsgQ("다음 파일이 생성 되었습니다.\n\n" + sd.FileName + "\n파일을 확인 할까요?"); + if (a == DialogResult.Yes) + { + FCOMMON.Util.RunExplorer(sd.FileName); + } + } + + } + + private void 내가등록한자료ToolStripMenuItem_Click(object sender, EventArgs e) + { + cmDate.SelectedIndex = 0; + dtSD.Text = DateTime.Now.AddMonths(-1).ToShortDateString(); + dtED.Text = DateTime.Now.ToShortDateString(); + cmbState.SelectedIndex = 0; + tbRequest.Text = FCOMMON.info.Login.nameK; + refreshData(); + } + + private void 금일입고품목ToolStripMenuItem_Click(object sender, EventArgs e) + { + cmDate.SelectedIndex = 1; //입고일 + dtSD.Text = DateTime.Now.ToShortDateString(); //당일 + dtED.Text = DateTime.Now.ToShortDateString(); + tbRequest.Text = string.Empty; + refreshData(); + } + + private void 이번달자료ToolStripMenuItem_Click(object sender, EventArgs e) + { + dtSD.Text = DateTime.Now.ToString("yyyy-MM") + "-01"; + dtED.Text = DateTime.Now.ToShortDateString(); + tbRequest.Text = string.Empty; + refreshData(); + } + + private void btViewDel_Click(object sender, EventArgs e) + { + refreshData(); + } + + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + void func_copy() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + + //현재 데이터를 입력하여 신규 추가를 한다. + var newdr = this.dsPurchase.EETGW_PurchaseEB.NewEETGW_PurchaseEBRow(); + FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); + newdr.orderno = string.Empty; //CR값 복사 안하게 210823 + newdr.pdate = DateTime.Now.ToShortDateString(); + newdr.wdate = DateTime.Now; + newdr.wuid = FCOMMON.info.Login.no; + newdr.state = "---"; + if (newdr.sid.Length != 9 && newdr.sid.StartsWith("10") == false) + newdr.sid = string.Empty; + + newdr.bigo = string.Empty; + newdr.bigo2 = string.Empty; + + newdr.request = FCOMMON.info.Login.no; + newdr.receive = "";// FCOMMON.info.Login.nameK; + newdr.sc = string.Empty; + newdr.po = string.Empty; + newdr.indate = string.Empty; + newdr.edate = string.Empty; + newdr.pumqty = 0; //실구매수량은 제거 + newdr.idx = -1; + newdr.EndEdit(); + + repeat: + + bool repeat = false; + DialogResult dlg; + + var f = new fPurchaseEB_Add(newdr); + dlg = f.ShowDialog(); + repeat = f.repeatAdd; + + + if (dlg == System.Windows.Forms.DialogResult.OK) + { + //존재하지 않는 sid 는 추가를 해준다. + var newidx = AddItemInfoGetIndex(newdr); + if (newidx != -1) + { + newdr.pumidx = newidx; + newdr.EndEdit(); + } + + this.dsPurchase.EETGW_PurchaseEB.AddEETGW_PurchaseEBRow(newdr); + this.ta.Update(newdr); + newdr.AcceptChanges(); + + if (repeat) + { + var newdro = this.dsPurchase.EETGW_PurchaseEB.NewEETGW_PurchaseEBRow(); + FCOMMON.Util.CopyData(newdr, newdro); + newdro.idx = -1; + newdro.wdate = DateTime.Now; + newdr = newdro; //change + goto repeat; + } + } + else newdr.Delete(); + } + + private void toolStripButton1_Click_2(object sender, EventArgs e) + { + func_copy(); + } + + private void 집계표ToolStripMenuItem_Click(object sender, EventArgs e) + { + var f = new Purchase.rPurchaseEB(); + f.MdiParent = this.MdiParent; + f.Show(); + } + + private void makeRepeatToolStripMenuItem_Click(object sender, EventArgs e) + { + func_copy(); + } + + private void 편집ToolStripMenuItem1_Click(object sender, EventArgs e) + { + Func_Edit(); + } + + private void 삭제ToolStripMenuItem_Click(object sender, EventArgs e) + { + func_delete(); + } + + private void 추가ToolStripMenuItem_Click(object sender, EventArgs e) + { + func_add(); + } + + private void toolStripButton2_Click_1(object sender, EventArgs e) + { + this.Close(); + } + + private void sC검색ToolStripMenuItem_Click(object sender, EventArgs e) + { + //sc + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var newdr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + if (newdr.sc.Trim() == "") + { + FCOMMON.Util.MsgE("SC값이 없습니다"); + return; + } + tbFind.Text = newdr.sc; + btFind.PerformClick(); + } + + private void cRCF검색ToolStripMenuItem_Click(object sender, EventArgs e) + { + //crcf + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var newdr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + if (newdr.orderno.Trim() == "") + { + FCOMMON.Util.MsgE("CR/CF값이 없습니다"); + return; + } + tbFind.Text = newdr.orderno; + btFind.PerformClick(); + } + + private void toolStripLabel2_Click(object sender, EventArgs e) + { + if (tbFind.Text != "") + { + tbFind.Text = ""; + btFind.PerformClick(); + } + + } + + + private void bs_CurrentChanged(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) + { + this.label1.Text = "데이터가 선택되지 않았습니다"; + return; + } + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + if (dr.project.isEmpty()) + this.label1.Text = $"비고:{dr.bigo.Replace("\r", "").Replace("\n", "")}"; + else + this.label1.Text = $"프로젝트:{dr.project},비고:{dr.bigo.Replace("\r", "").Replace("\n", "")}"; + + if (dr.IschkremarkNull() == false && dr.chkremark.Length > 0) + { + this.label2.Text = $"구매담당비고:{dr.chkremark}"; + this.label2.Visible = true; + } + else this.label2.Visible = false; + } + + private void toolStripButton4_Click(object sender, EventArgs e) + { + + } + + string getmaxstr(string src, int len = 30) + { + if (src.Length > len) return src.Substring(0, len) + "..."; + else return src; + } + + List ChangeMailAddress(List userid) + { + var db = new DataClasses1DataContext(); + + List retval = new List(); + foreach (var id in userid) + { + UInt32 userno; + if (UInt32.TryParse(id, out userno) == true) + { + var user = db.Users.Where(t => t.id == id).FirstOrDefault(); + if (user != null) + { + var data = string.Format("{0}<{1}>", user.name, user.email); + if (retval.Contains(data) == false) + retval.Add(data); + } + } + else + { + if (retval.Contains(id) == false) + retval.Add(id); + } + } + return retval; + } + + private void 구매승인양식ToolStripMenuItem_Click(object sender, EventArgs e) + { + //구매승인양식 + var f = new fPurchaseEBList(this.dsPurchase.Purchase); + f.Show(); + + } + + private void toolStripButton6_Click(object sender, EventArgs e) + { + //선택된 줄의 데이터를 생성하낟. + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + string buffer = string.Format("{0}_{1}", dr.pumname.Replace("_", "-"), dr.pumscale.Replace("_", "-"), dr.dept.Replace("_", "-"), dr.manuproc.Replace("_", "-"), dr.asset.Replace("_", "-")); + Clipboard.SetText(buffer); + //FCOMMON.Util.MsgI("다음 데이터가 클립보드에 저장됨\n\n" + buffer); 190131 + } + + private void dtSD_DoubleClick(object sender, EventArgs e) + { + var tb = sender as ToolStripTextBox; + var text = tb.Text.Trim(); + var dt = DateTime.Parse(text); + var f = new FCOMMON.fSelectDay(dt); + if (f.ShowDialog() == DialogResult.OK) + { + tb.Text = f.dtPick.SelectionStart.ToShortDateString(); + + var sd = DateTime.Parse(this.dtSD.Text); + var ed = DateTime.Parse(this.dtED.Text); + if (ed < sd) this.dtED.Text = sd.ToShortDateString(); + } + } + + private void 견적서폴더열기ToolStripMenuItem_Click(object sender, EventArgs e) + { + + var datapath = FCOMMON.DBM.getCodeSvalue("55", "02"); + if (datapath.isEmpty()) + { + FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요"); + return; + } + string path = System.IO.Path.Combine(datapath, DateTime.Now.Year.ToString("0000") + "년");// "\\\\k4fs3201n\\ee1t$\\1. 장비기술1파트\\24_Project & Overhaul 예산 사용 실적\\구매 견적서\\" + DateTime.Now.Year.ToString("0000") + "년"; + if (System.IO.Directory.Exists(path) == false) + FCOMMON.Util.RunExplorer(datapath); + else + FCOMMON.Util.RunExplorer(path); + } + + private void 엑셀에서가져오기ToolStripMenuItem_Click(object sender, EventArgs e) + { + var f = new fPurchase_excelimport(fPurchase_excelimport.eImporttype.EB); + f.Show(); + } + + private void 입고품목메일전송ToolStripMenuItem_Click(object sender, EventArgs e) + { + + var db = new DataClasses1DataContext(); + var dr = db.MailForm.Where(t => t.cate == "PC").FirstOrDefault(); + + //현재표시데이터중에 수신자목록을 가져온다 + var drows = (dsPurchase.EETGW_PurchaseEBRow[])(this.dsPurchase.EETGW_PurchaseEB.Select(this.bs.Filter, this.bs.Sort)); + var grp_req = drows.Where(t => t.request.isEmpty() == false).GroupBy(t => t.request).Select(t => t.FirstOrDefault().request).ToList(); + var grp_rec = drows.Where(t => t.receive.isEmpty() == false).GroupBy(t => t.receive).Select(t => t.FirstOrDefault().receive).ToList(); + + var f = new Purchase.fMailForm("PC"); + if (f.ShowDialog() != DialogResult.OK) return; + + var form_subject = f.tbSubject.Text.Trim(); + var form_body = f.htmlEditor1.Html; + var form_to = f.tbTo.Text.Trim(); + var form_cc = f.tbCC.Text.Trim(); + var form_bcc = f.tbBcc.Text.Trim(); + + List tolist = new List(); //최종받는사람 + List cclist = new List(); + List bcclist = new List(); + + //받는사람 + if (form_to.Contains("{요청}") == true) tolist.AddRange(grp_req); + if (form_to.Contains("{수령}") == true) tolist.AddRange(grp_rec); + form_to = form_to.Replace("{요청}", ""); + form_to = form_to.Replace("{수령}", ""); + tolist.AddRange(form_to.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)); + tolist = ChangeMailAddress(tolist); + + //참조 + if (form_cc.Contains("{요청}") == true) cclist.AddRange(grp_req); + if (form_cc.Contains("{수령}") == true) cclist.AddRange(grp_rec); + form_cc = form_cc.Replace("{요청}", ""); + form_cc = form_cc.Replace("{수령}", ""); + cclist.AddRange(form_cc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)); + cclist = ChangeMailAddress(cclist); + + //숨은참조 + if (form_bcc.Contains("{요청}") == true) bcclist.AddRange(grp_req); + if (form_bcc.Contains("{수령}") == true) bcclist.AddRange(grp_rec); + form_bcc = form_bcc.Replace("{요청}", ""); + form_bcc = form_bcc.Replace("{수령}", ""); + bcclist.AddRange(form_bcc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)); + bcclist = ChangeMailAddress(bcclist); + + var datestr = DateTime.Now.ToShortDateString(); + if (dtSD.Text == dtED.Text) datestr = dtSD.Text; + else datestr = dtSD.Text + "~" + dtED.Text; + form_subject = form_subject.Replace("{DATE}", datestr); + + try + { + Outlook.Application outlookApplication = new Outlook.Application(); + var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem; + newMail.Display(); + newMail.Subject = form_subject; // this.tbSubject.Text.Trim(); // dr.title; + newMail.To = string.Join(";", tolist.ToArray()); + newMail.CC = string.Join(";", cclist.ToArray()); + newMail.BCC = string.Join(";", bcclist.ToArray()); + if (f.chkAttach.Checked) + { + var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls"); + if (fi.Directory.Exists == false) fi.Directory.Create(); + + ///save file + fpSpread1.SaveExcel(fi.FullName, + FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + | FarPoint.Excel.ExcelSaveFlags.NoFormulas + | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); + + newMail.Attachments.Add(fi.FullName); + } + if (f.chkList.Checked) + { + //목록을 본문에 추가한다 + System.Text.StringBuilder sb = new StringBuilder(); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + + var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index; + var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index; + var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index; + + var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index; + var col_SID = fpSpread1_Sheet1.Columns["sid"].Index; + var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index; + var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index; + var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index; + var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index; + var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index; + var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index; + var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index; + + + for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++) + { + var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value; + var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value; + var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value; + + var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value; + var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value; + var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value; + var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value; + var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value; + var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value; + var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value; + var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value; + var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value; + + var s신청 = String.Empty; + var s요청 = String.Empty; + var sCRCF = String.Empty; + var s수령 = String.Empty; + var sSID = String.Empty; + var s품명 = String.Empty; + var s규격 = String.Empty; + var s수량 = "0"; + var s단가 = "0"; + var s금액 = "0"; + var s입고 = String.Empty; + var s공급 = String.Empty; + var s비고 = String.Empty; + + if (v신청 != null) s신청 = v신청.ToString(); + if (v요청 != null) s요청 = v요청.ToString(); + if (vCRCF != null) sCRCF = vCRCF.ToString(); + if (v수령 != null) s수령 = v수령.ToString(); + if (vSID != null) sSID = vSID.ToString(); + if (v품명 != null) s품명 = v품명.ToString(); + if (v규격 != null) s규격 = v규격.ToString(); + if (v수량 != null) s수량 = v수량.ToString(); + if (v단가 != null) s단가 = v단가.ToString(); + if (v금액 != null) s금액 = v금액.ToString(); + if (v공급 != null) s공급 = v공급.ToString(); + + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine(""); + + sb.AppendLine(""); + } + sb.AppendLine(""); + sb.AppendLine("
신청요청CR/CF수령SID품명규격수량단가금액공급
" + getmaxstr(s신청) + "" + getmaxstr(s요청) + "" + getmaxstr(sCRCF) + "" + getmaxstr(s수령) + "" + getmaxstr(sSID) + "" + getmaxstr(s품명) + "" + getmaxstr(s규격) + "" + int.Parse(s수량).ToString("N0") + "" + int.Parse(s단가).ToString("N0") + "" + int.Parse(s금액).ToString("N0") + "" + getmaxstr(s공급) + "
"); + form_body += sb.ToString(); + } + + //newMail.BodyFormat = OlBodyFormat.olFormatHTML; + form_body = form_body.Replace("{DATE}", datestr); + newMail.HTMLBody = form_body + newMail.HTMLBody; // + } + catch (Exception ex) + { + util.MsgE("전송실패\n\n" + ex.Message + "\n\n" + + "아웃룩의 설정이 정상인지 확인하세요"); + } + } + + private void toolStripButton3_Click_1(object sender, EventArgs e) + { + var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf"); + if (System.IO.File.Exists(fn)) + { + FCOMMON.Util.RunExplorer(fn); + } + else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)"); + } + + private void fpSpread1_EditModeOff(object sender, EventArgs e) + { + if (fpSpread1_Sheet1.Columns["pumqty"].Index == fpSpread1_Sheet1.ActiveColumnIndex) + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + dr.pumamt = dr.pumqty * dr.pumprice; + dr.EndEdit(); + } + else if (fpSpread1_Sheet1.Columns["pumprice"].Index == fpSpread1_Sheet1.ActiveColumnIndex) + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + dr.pumamt = dr.pumqty * dr.pumprice; + dr.EndEdit(); + } + } + + private void toolStripButton4_Click_1(object sender, EventArgs e) + { + func_ipgo(); + } + void func_ipgo() + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.EETGW_PurchaseEBRow; + + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); + if (curLevel < 5) //일반사용자 입고 여부 + { + if (dr.state != "PO") + { + FCOMMON.Util.MsgE("PO 상태의 자료만 입고처리가 가능 합니다"); + return; + } + if (dr.request != FCOMMON.info.Login.no) + { + FCOMMON.Util.MsgE("타인의 자료는 입고 처리할 수 없습니다"); + return; + } + } + var f = new FEQ0000.Purchase.fPurchaseEB_Ipgo(dr.idx, string.Empty); + if (f.ShowDialog() == DialogResult.OK) + { + refreshData(); + } + } + + private void 입고ToolStripMenuItem_Click(object sender, EventArgs e) + { + func_ipgo(); + } + + + private void 엑셀에서열기ToolStripMenuItem_Click(object sender, EventArgs e) + { + var fn = DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls"; + fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "temp", fn); + var fi = new System.IO.FileInfo(fn); + if (fi.Directory.Exists == false) fi.Directory.Create(); + + fpSpread1.SaveExcel(fi.FullName, + FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + | FarPoint.Excel.ExcelSaveFlags.NoFormulas + | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders + ); + + FCOMMON.Util.RunExplorer(fi.FullName); + } + } +} diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx new file mode 100644 index 0000000..c0f0591 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 131, 17 + + + 195, 17 + + + 667, 17 + + + 268, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ + Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ + /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA + zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ + IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E + rkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFDSURBVDhPlZK9SgNREIXzOpY+gEXQIg+QkMLOTuwsLNRU + ViKIja0SbMRCBQsLUxgQArERf1ARCaLBCErUIoWJjnyzTna4Ccs6cLLkzpzvnr17M5KiMknFQPXyQfbO + m6rNkxtZ3q9LqVyR2bVdVSKEJsbr53dpvnVUrx/RE61W2zI5v6EQqz9rVCwAYLj2+KP6VyL+bJ825LPz + pWYzpknUB7CLARgIE6HK/bfO0F86aklhZiWC8ENEA9D0iUKAKRHgE5kZHdz2VPTyUwsxYHHrWN+TIQAe + 6M07F10VvVx+OgZwsgaYO3wZAHhz+ayr5zMAwGAAn8gDMA8F8Fmu7p4Uwh3wibx5vd5TNVptyeaKMQAD + p4o4HJ9oGAD42EQhBoTlE9kFYleEmZQjo+M6q5fJF4thIt4XEZudMfc/Y1i6mrpEfgGL0hchHI3KDgAA + AABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEvSURBVDhPpZI/S0JRGIed+i6Nbk0t0iCuSkuDi1MfIKfm + +gAOQktTQkMggYtRkwgidKmgyQwMCgqz0CivvvK8cK7neG4KdeHhHs45v+c9/xLyz08Ft713OQ+6SqXV + kfLlnXJw1lSK5VrERqGkMB4JCCLpvQ7lZfDlQJ+B4EnwI9nTkbYdAZMbjxOPq4eJPH1MvXC2sD8XsOzP + 0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w + 9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF + KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1 + qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO + b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY + hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1 + 9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon + GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvFu4ULMSFIiZW0JCci5EF4hU + OsZHZoEYslIgFMs6LUioQIsBZHCoKwo1ZVBqaR1DsFIrjiBoZwWDURNGsWvnGSNQoSsg/bBWqodtkhB/ + I7XLZvTW5/Z9n+ef/xv2f1TTZPgZa10j+bN4ouZe2UbF7a83SoyFE0WDuQ25AwNbhCMrH4RW30ZBNbCa + LTWOm/M3MOq8DePiLTx4YoXeeglf6tjqiv7FY6U9846vtHZWSPkPue1kjuH3Xow5R9Frv4xKawMkv5AY + nLuG7D62P69X83FpzyN/zz0fJBcXwJHbckLq5svT5PZT5mp6fHEcrdMqCKaOo9h8HF0zPVDf7USGOuXY + kW6Huu2GG8bfaGjGvGA3memMqontwQA5KZEZ7ddxfvYi+FMi5E8IccLSBJ1VhwzlAVuxZib+MDm9MfLw + BRS3fBgwB1DZPYsD5WOyYODE3RKb6Y9RiCwnUbApCyfF0NkNEBlKkdSSwCxUztxvM7rwoyWAKv0KZMNe + tAwtI14wbAsGykzF68POn1BhqUcrpcSVuUGcNbVi/7ef/lDYMcvNIB/+dWVyFRK9CyXfL0GoWcJ3192I + 410NBANFQ9zApGcKV+eGoLqjBOv0fn+idF/jiJj8UFV9ITKTNFOdN92o0btR1O4Er82BlkEXdrEv0MEA + tz/b1nmnHZ93sp4kyxPEJnFezEs+v/7vbK6fPniISKm+T5299hii7mVwmhdQol6CqMuO3Vldr7+QqUmT + pHYwhbaqw1HrR48q1ng8mm78Bmv5BaCTU4mkchMlNSziiNKJrLo5yAxusCvHEZXe/vqIqK3d9rK8TOsV + CNbXmmVYNejg7+/F86xDoOMTiX2CEaquz4HCVgfIzTvwzvyK6HQ5HclsZgQDr0QixhqfT7/QnsOzgX64 + pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L + fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+ + brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX + EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl + 7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR + BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT + Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz + tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV + iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i + DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA + AAAASUVORK5CYII= + + + + + R0lGODlhEAAQAIQfAPr8/VVritvj7IqsyElVa+Ps9MvT2rvc/aPQ/KrU/Or0/nmYspzN/LbZ/FJgeXiQ + q0NLXHWPrJnA1sDf/CkxQ9RSXD5FVa/X/H2fudPn8HyjwMPg/WV/nG+Or////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsKDBgwQ9KFzIsKHCDBIkDJg4AMOCBQ84cHCg + UAKAjyBDAjDA0cMAABsmHDjQoMGFBAkQCCCg8OQElS0vAKhQAYECmh40AJjw4EGEiQkUKPAJQSEGACtz + wkSAgIGAph4WFDhg9OgAqgysWlDYoUDOl2DDFhjrgYOBAgUEyJ0roIABCgofBNjrwAEBAhAgWLBAoaTD + wwoRKl5cMCAAOw== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAALnSURBVDhPhZJZT1NBGIa5kt+AXnhvFCEYNEJEsSiI + BhVRCRJLaUsFBQlLMGExpUZWAyKQqCEQjTcaorIJBaGFQhuKEUEUKJQ9obQs3U45PeV1zim0mpB48cxc + zHzPzPfO+ADw4RUo+FfK1fKYCvU6wU6gOCrZWUPFlA9R0aWq8ZDcgepQScsBtmYPboh6MtBvNFPGdauD + MVkdMFm8GM0sFH6tmFHweQGiF9O2EEmL7z+C6BKVwWynmaE5Gpp5JzQLTqjnnFDpt6GYduDLhBUOJ9D6 + 246Cj/MQPp+2n0lr5SSc4HLpoH3Lto2RRQbfFp1kdmKYk2xDqXOga8JGBC6MrDDQLNOQtS8g/FHvO05w + u/L87M2KuB1xXSySa2+gtrMJxc2VCC/yxzlCpOw0IqTBqGqt4lqxUE6sbtgQUagkd3ILPnwda0Pb1GvU + qrM5yd2aS8h+m4j0pngI669CUC9A6+gq2sYtaPmxhU2S0wXpALUn8I0tz2DUk314MyZFmeIBJ+HXRZPi + a5C8TEG/zsq10jNlh5zksGGlcaF40C1gh6gSJZXZkAStToV6TS6edmeBiMGviYN2zgYtCZYNuH/GnYmJ + CCKkfwnCCovok3mHkVgdiZGZIcj6UiFtz0T8Mx6aFJ/wfckJLQl2SE9jkGAw0wh/vCsIyjkoDso5hPTG + BNypi0JC1UVOktmeiJzmFHITHtj1kQUGw+wTE8wkyLB8lUewRCCb/BCU7YfrZTykvUpC/4QcMnkeUt8n + QVh3C1oi0JC/oSYCinYhJFfhbeFs/gC1sklhdInhUE4u42GDBCJSKK6PR1bjfc8ai22bQXBGr1cQmqeg + Fk1ewf+wkhYCU+RewanMXpt+zbaz3+b9IL/SdUzYafEIgu51zxq2HGa9kXLNrtkxa7BDt8uaheZgk7dQ + 5HQH43Lt7Gwe4Xf89AhOpMrTAkRd3YFiuSlA3EV5EHVRxwn+ok43Qo6No4KOHn9BRzIAnz/8M/0zf/tL + eAAAAABJRU5ErkJggg== + + + + + R0lGODlhEAAQAIQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/np + ofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlwA/CBxIsKDBgwY9KFSIUKAHBgw0RIiwsKKHDw89YNiY + oQIAAAJCCriYcSOGDCgzBAiQYSTGDQM4AjBAEwGCCRRIftypoKcDBwcS5MQIYIBRBQ0aPCBAwIKDoR4A + cFiZdKmFAgUOQAWwIKnSpgUkSOgA1UCCqmAlVKgAoWyCBQsSOLhwoAMECBfK2tw7oa9fqBYDL2yIMCAA + Ow== + + + + 440, 17 + + + + R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ + 4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg + wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO + GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE + pRQTK6YYEAA7 + + + + + R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R + PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg + oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX + dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 + + + + + R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh + e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw + QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK + HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC + un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= + + + + + R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 + 69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ + IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj + SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG + vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== + + + + 334, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei + QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG + A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF + GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG + cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E + dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEcSURBVDhPpZG9SkNBEIXvW+gLiI8gpEon+ADa2liEVAHL + NHY+goWdhYViYxGEdOksUtlIQAiIIQwkIDaC4XjPycx613CJPx8My87sN7N7b1HHYvEBwtVTv4OyDU/V + xFM/pyrb/YlWL61HksuYnQHvI9igo60fWUXVCjH1e4Mqrn5NnA+7WjPZyptMu8DrFax/COvtw273FCRr + kBHypJw8OQKeD4C3u2Ww2XVDx9SAcJMmx1TKFMe7wNMOMNpSbkUO5MZbX9q5/LipXK0csMi3iphK+aH4 + o8xnlLJi3IJdbKvsSg4L/MrpG8SVSzGitkGSyfQYdtNMV6YkkU3sEna+obyrS3TQ/y/lIGqEYgSRGChT + wdMZXkp4+r8UxSdk1wcO0mb/TQAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR + DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il + zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij + KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY + UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADuSURBVDhPY6AK+E8mgGqHGPB5/rz/X6ZP//+pq/P/5+pq + CM7N/f85Ofn/58jI/58DA/9HmknCMYYBIM1/X736//vBg/9/nj79//Py5f8/z50DGwzDJ4K8/28sc8Vu + AMhmkGawjbGxEFuhNoOxjw/cgARrGUwDQE4G2YqiOTQUxYDZriZ4DAD69+umTTg1EzYA5HSQX9E1YzEA + axiAnA4KSGwa0Q0IMZbAYgDQVlBAvgZ6BRfu1pfFbcBLU9P/95WV/9+Qlv5/ko8PjnewscExyOk4DSAG + 4DSAGEBVAzBigRgAMwCGyTIAHTAwMDAAABYIANCNo26UAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFX8g27Cm4gIYjVN + 6KyMrM6qs4Kik+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBNH2LZ4xj + f+pyEvfNLBgTiZxxhHNR30m6gjLUX95ZoVhtR/RSc3qeTIUzF40CqbZxLoNrghZccok+YTWPpHBdEC8W + WqJ8dQPXBYHbdylBGTwT3DitsWi2xApnNfNEjGeCsWWD97AOwjNBvBzkNv/qCw6LEhSBeW8GgfnYBYEl + Z9fFXAmKsOTsupgrQRGWnF0XcyUowpKz62KuBPuxxHrzG5iNXdAJSlAWJSiLEpTlh6BsZldu2OrJI//G + in1/Z5R0BQ8rX1LZvWux5FaZX5rcLrO9zl7Uc5KuYGix9LxOm8KSk+zctvilkBXNnSTf8dEy53UuGEiR + ICRx+ajp/4P4AVFv2EBO04nGBWUJpIvxWO7qNU8b7OD+k62RBot29lqKxsyK9wR1koikrx8Cc/sf4Syt + QNocKTzG5/sG4hiki22pPhYAAAAASUVORK5CYII= + + + + 515, 17 + + + 65 + + \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.Designer.cs new file mode 100644 index 0000000..f3df174 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.Designer.cs @@ -0,0 +1,377 @@ + +namespace FEQ0000 +{ + partial class fPurchaseEBList + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNRList)); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.bs1 = new System.Windows.Forms.BindingSource(this.components); + this.ds1 = new FEQ0000.dsPurchase(); + this.ta1 = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ds1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); + this.bindingNavigator1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.IncludeAll; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.Location = new System.Drawing.Point(0, 0); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.fpSpread1_Sheet1}); + this.fpSpread1.Size = new System.Drawing.Size(1114, 595); + this.fpSpread1.TabIndex = 7; + // + // bs1 + // + this.bs1.DataMember = "Purchase"; + this.bs1.DataSource = this.ds1; + this.bs1.Sort = "sc,request,sid,pumname"; + // + // ds1 + // + this.ds1.DataSetName = "dsPurchase"; + this.ds1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // ta1 + // + this.ta1.ClearBeforeFill = true; + // + // bindingNavigator1 + // + this.bindingNavigator1.AddNewItem = null; + this.bindingNavigator1.BindingSource = this.bs1; + this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem; + this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem; + this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorDeleteItem, + this.toolStripButton1}); + this.bindingNavigator1.Location = new System.Drawing.Point(0, 595); + this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bindingNavigator1.Name = "bindingNavigator1"; + this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem; + this.bindingNavigator1.Size = new System.Drawing.Size(1114, 25); + this.bindingNavigator1.TabIndex = 9; + this.bindingNavigator1.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorDeleteItem + // + this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); + this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; + this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorDeleteItem.Text = "삭제"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // toolStripButton1 + // + this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(83, 22); + this.toolStripButton1.Text = "Save Excel"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 12; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "순번"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "청구자"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Shopping Cart#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "자재번호"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "규격"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "단위"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단가"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "합계금액"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "공급업체"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 34F; + numberCellType5.DecimalPlaces = 0; + numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType5.MaximumValue = 2147483647D; + numberCellType5.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "순번"; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "requestName"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "청구자"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 108F; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "sc"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "Shopping Cart#"; + this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 112F; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid"; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "자재번호"; + this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 98F; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "pumname"; + this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명"; + this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 151F; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "pumscale"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "규격"; + this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 104F; + numberCellType6.DecimalPlaces = 0; + numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType6.MaximumValue = 2147483647D; + numberCellType6.MinimumValue = -2147483648D; + numberCellType6.NegativeRed = true; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "pumqty"; + this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "수량"; + this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 91F; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "pumunit"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "단위"; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 126F; + numberCellType7.DecimalPlaces = 0; + numberCellType7.MaximumValue = 999999999999999D; + numberCellType7.MinimumValue = -999999999999999D; + numberCellType7.NegativeRed = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumprice"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 75F; + numberCellType8.DecimalPlaces = 0; + numberCellType8.MaximumValue = 999999999999999D; + numberCellType8.MinimumValue = -999999999999999D; + numberCellType8.NegativeRed = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType8; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumamt"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "합계금액"; + this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 75F; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "supply"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "공급업체"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 126F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "bigo2"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(11).Tag = "bigo"; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 133F; + this.fpSpread1_Sheet1.DataAutoCellTypes = false; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs1; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // + // fPurchaseNRList + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1114, 620); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.bindingNavigator1); + this.Name = "fPurchaseNRList"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "NR파트 구매승인 양식"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.Load += new System.EventHandler(this.fEBoardReport_Load); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ds1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); + this.bindingNavigator1.ResumeLayout(false); + this.bindingNavigator1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private FarPoint.Win.Spread.FpSpread fpSpread1; + private dsPurchaseTableAdapters.PurchaseTableAdapter ta1; + private dsPurchase ds1; + private System.Windows.Forms.BindingSource bs1; + private System.Windows.Forms.BindingNavigator bindingNavigator1; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + } +} \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.cs new file mode 100644 index 0000000..d970eaf --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.cs @@ -0,0 +1,86 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FEQ0000 +{ + public partial class fPurchaseEBList : Form + { + public fPurchaseEBList(dsPurchase.PurchaseDataTable dt) + { + InitializeComponent(); + Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; + Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; + + this.ds1.Purchase.Merge(dt); + this.ds1.AcceptChanges(); + } + + private void fEBoardReport_Load(object sender, EventArgs e) + { + //기본엑셀파일을 가져온다 + this.Show(); + this.bs1.Sort = "sc,sid,pumname"; + this.bs1.Filter = "sc <> ''"; + Application.DoEvents(); + + //파일불러오기 + LoadExcel(); + + //순번맥기기 + var sumamt = ds1.Purchase.Where(t=>t.sc != "").Sum(t => t.pumamt); + for (int r = 0; r < this.fpSpread1.ActiveSheet.RowCount; r++) + { + fpSpread1.ActiveSheet.Cells[r, 0].Value = r + 1; + + } + + //마지막 한줄 추가하고 합계 + fpSpread1.ActiveSheet.AddUnboundRows(fpSpread1.ActiveSheet.RowCount, 1); + fpSpread1.ActiveSheet.Cells[$"J{fpSpread1.ActiveSheet.RowCount}"].Value = sumamt; + fpSpread1.ActiveSheet.Cells[$"B{fpSpread1.ActiveSheet.RowCount}"].Value = "Total"; + fpSpread1.ActiveSheet.Cells[$"A{fpSpread1.ActiveSheet.RowCount}:L{fpSpread1.ActiveSheet.RowCount}"].BackColor = Color.FromArgb(220, 220, 220); + + } + + void LoadExcel() + { + //파일불러오기 + //var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "EBoardReport.xlsx"); + //this.fpSpread1.OpenExcel(fi.FullName); + } + + private void btRefresh_Click(object sender, EventArgs e) + { + this.ds1.RejectChanges(); + this.fpSpread1.Invalidate(); + } + + private void btSave_Click(object sender, EventArgs e) + { + + } + + private void panel1_MouseDoubleClick(object sender, MouseEventArgs e) + { + LoadExcel(); + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + //파일저장 + var sd = new SaveFileDialog(); + sd.Filter = "excel|*.xls"; + if (sd.ShowDialog() == DialogResult.OK) + { + this.fpSpread1.SaveExcel(sd.FileName, FarPoint.Excel.ExcelSaveFlags.SaveBothCustomRowAndColumnHeaders); + } + } + } +} diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.resx b/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.resx new file mode 100644 index 0000000..e86ed04 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEBList.resx @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 681, 17 + + + 302, 17 + + + 231, 17 + + + 231, 17 + + + 169, 17 + + + 525, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.Designer.cs new file mode 100644 index 0000000..8d0d3a1 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.Designer.cs @@ -0,0 +1,1235 @@ +namespace FEQ0000 +{ + partial class fPurchaseEB_Add + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label processLabel; + System.Windows.Forms.Label receiveLabel; + System.Windows.Forms.Label scLabel; + System.Windows.Forms.Label sidLabel; + System.Windows.Forms.Label pumscaleLabel; + System.Windows.Forms.Label pumqtyLabel; + System.Windows.Forms.Label pumpriceLabel; + System.Windows.Forms.Label pumamtLabel; + System.Windows.Forms.Label assetLabel; + System.Windows.Forms.Label poLabel; + System.Windows.Forms.Label deptLabel; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_Add)); + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label label5; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label7; + System.Windows.Forms.Label label8; + System.Windows.Forms.Label label10; + System.Windows.Forms.Label label11; + System.Windows.Forms.Label label12; + System.Windows.Forms.Label label13; + System.Windows.Forms.Label label14; + System.Windows.Forms.Label label15; + System.Windows.Forms.Label label16; + System.Windows.Forms.Label label17; + System.Windows.Forms.Label label9; + System.Windows.Forms.Label label18; + this.tbSC = new System.Windows.Forms.TextBox(); + this.tbSID = new System.Windows.Forms.TextBox(); + this.tbPumName = new System.Windows.Forms.TextBox(); + this.tbPumModel = new System.Windows.Forms.TextBox(); + this.tbPumUnit = new System.Windows.Forms.TextBox(); + this.tbQtyReq = new System.Windows.Forms.TextBox(); + this.tbPumPrice = new System.Windows.Forms.TextBox(); + this.tbPumAmt = new System.Windows.Forms.TextBox(); + this.tbSupply = new System.Windows.Forms.TextBox(); + this.tbSupplyIndex = new System.Windows.Forms.TextBox(); + this.tbProject = new System.Windows.Forms.TextBox(); + this.tbProjectIndex = new System.Windows.Forms.TextBox(); + this.tbPO = new System.Windows.Forms.TextBox(); + this.tbBigo = new System.Windows.Forms.TextBox(); + this.dtPdate = new System.Windows.Forms.DateTimePicker(); + this.btSave = new System.Windows.Forms.Button(); + this.cmbState = new System.Windows.Forms.ComboBox(); + this.cmbRequest = new System.Windows.Forms.ComboBox(); + this.cmbReceive = new System.Windows.Forms.ComboBox(); + this.tbPumIDX = new System.Windows.Forms.TextBox(); + this.dtInDate = new System.Windows.Forms.DateTimePicker(); + this.chkInDate = new System.Windows.Forms.CheckBox(); + this.dtExpDate = new System.Windows.Forms.DateTimePicker(); + this.chkExp = new System.Windows.Forms.CheckBox(); + this.btSaveAdd = new System.Windows.Forms.Button(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.cmbRemark = new System.Windows.Forms.ComboBox(); + this.cmbCurrency = new System.Windows.Forms.ComboBox(); + this.tbQtyReal = new System.Windows.Forms.TextBox(); + this.tbBigoChk = new System.Windows.Forms.TextBox(); + this.chk2 = new System.Windows.Forms.CheckBox(); + this.chk1 = new System.Windows.Forms.CheckBox(); + this.btSIDChk = new System.Windows.Forms.Button(); + this.tbPumPriceD = new System.Windows.Forms.TextBox(); + this.button3 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.tbCostCenter = new System.Windows.Forms.ComboBox(); + this.tbLineCode = new System.Windows.Forms.ComboBox(); + this.tbManager = new System.Windows.Forms.ComboBox(); + this.tbAdmin = new System.Windows.Forms.ComboBox(); + this.btEQModel = new System.Windows.Forms.Button(); + this.btEQManu = new System.Windows.Forms.Button(); + this.btProcess = new System.Windows.Forms.Button(); + this.btManuProc = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.tbInQty = new System.Windows.Forms.TextBox(); + this.button6 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.tbOrderNo = new System.Windows.Forms.TextBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + this.tbStorage = new System.Windows.Forms.ComboBox(); + processLabel = new System.Windows.Forms.Label(); + receiveLabel = new System.Windows.Forms.Label(); + scLabel = new System.Windows.Forms.Label(); + sidLabel = new System.Windows.Forms.Label(); + pumscaleLabel = new System.Windows.Forms.Label(); + pumqtyLabel = new System.Windows.Forms.Label(); + pumpriceLabel = new System.Windows.Forms.Label(); + pumamtLabel = new System.Windows.Forms.Label(); + assetLabel = new System.Windows.Forms.Label(); + poLabel = new System.Windows.Forms.Label(); + deptLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label7 = new System.Windows.Forms.Label(); + label8 = new System.Windows.Forms.Label(); + label10 = new System.Windows.Forms.Label(); + label11 = new System.Windows.Forms.Label(); + label12 = new System.Windows.Forms.Label(); + label13 = new System.Windows.Forms.Label(); + label14 = new System.Windows.Forms.Label(); + label15 = new System.Windows.Forms.Label(); + label16 = new System.Windows.Forms.Label(); + label17 = new System.Windows.Forms.Label(); + label9 = new System.Windows.Forms.Label(); + label18 = new System.Windows.Forms.Label(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).BeginInit(); + this.SuspendLayout(); + // + // processLabel + // + processLabel.AutoSize = true; + processLabel.Location = new System.Drawing.Point(66, 402); + processLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + processLabel.Name = "processLabel"; + processLabel.Size = new System.Drawing.Size(39, 20); + processLabel.TabIndex = 8; + processLabel.Text = "공정"; + processLabel.Click += new System.EventHandler(this.processLabel_Click); + // + // receiveLabel + // + receiveLabel.AutoSize = true; + receiveLabel.Location = new System.Drawing.Point(51, 338); + receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + receiveLabel.Name = "receiveLabel"; + receiveLabel.Size = new System.Drawing.Size(54, 20); + receiveLabel.TabIndex = 4; + receiveLabel.Text = "수령인"; + // + // scLabel + // + scLabel.AutoSize = true; + scLabel.Location = new System.Drawing.Point(78, 434); + scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + scLabel.Name = "scLabel"; + scLabel.Size = new System.Drawing.Size(27, 20); + scLabel.TabIndex = 10; + scLabel.Text = "SC"; + // + // sidLabel + // + sidLabel.AutoSize = true; + sidLabel.Location = new System.Drawing.Point(54, 271); + sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + sidLabel.Name = "sidLabel"; + sidLabel.Size = new System.Drawing.Size(32, 20); + sidLabel.TabIndex = 25; + sidLabel.Text = "SID"; + // + // pumscaleLabel + // + pumscaleLabel.AutoSize = true; + pumscaleLabel.Location = new System.Drawing.Point(11, 112); + pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumscaleLabel.Name = "pumscaleLabel"; + pumscaleLabel.Size = new System.Drawing.Size(75, 20); + pumscaleLabel.TabIndex = 9; + pumscaleLabel.Text = "모델/규격"; + // + // pumqtyLabel + // + pumqtyLabel.AutoSize = true; + pumqtyLabel.Location = new System.Drawing.Point(17, 144); + pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumqtyLabel.Name = "pumqtyLabel"; + pumqtyLabel.Size = new System.Drawing.Size(69, 20); + pumqtyLabel.TabIndex = 12; + pumqtyLabel.Text = "요청수량"; + // + // pumpriceLabel + // + pumpriceLabel.AutoSize = true; + pumpriceLabel.Location = new System.Drawing.Point(7, 176); + pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumpriceLabel.Name = "pumpriceLabel"; + pumpriceLabel.Size = new System.Drawing.Size(79, 20); + pumpriceLabel.TabIndex = 16; + pumpriceLabel.Text = "단가(국내)"; + // + // pumamtLabel + // + pumamtLabel.AutoSize = true; + pumamtLabel.Location = new System.Drawing.Point(47, 237); + pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumamtLabel.Name = "pumamtLabel"; + pumamtLabel.Size = new System.Drawing.Size(39, 20); + pumamtLabel.TabIndex = 21; + pumamtLabel.Text = "합계"; + // + // assetLabel + // + assetLabel.AutoSize = true; + assetLabel.Location = new System.Drawing.Point(36, 94); + assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + assetLabel.Name = "assetLabel"; + assetLabel.Size = new System.Drawing.Size(69, 20); + assetLabel.TabIndex = 20; + assetLabel.Text = "장비모델"; + // + // poLabel + // + poLabel.AutoSize = true; + poLabel.Location = new System.Drawing.Point(75, 466); + poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + poLabel.Name = "poLabel"; + poLabel.Size = new System.Drawing.Size(30, 20); + poLabel.TabIndex = 12; + poLabel.Text = "PO"; + // + // deptLabel + // + deptLabel.AutoSize = true; + deptLabel.Location = new System.Drawing.Point(4, 368); + deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + deptLabel.Name = "deptLabel"; + deptLabel.Size = new System.Drawing.Size(84, 40); + deptLabel.TabIndex = 34; + deptLabel.Text = "요청자비고\r\n(구매사유)"; + this.toolTip1.SetToolTip(deptLabel, resources.GetString("deptLabel.ToolTip")); + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(32, 21); + label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(54, 20); + label1.TabIndex = 0; + label1.Text = "입력일"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(21, 59); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(84, 20); + label2.TabIndex = 18; + label2.Text = "장비제조사"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(36, 28); + label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(69, 20); + label4.TabIndex = 16; + label4.Text = "제조공정"; + // + // label5 + // + label5.AutoSize = true; + label5.ForeColor = System.Drawing.Color.Red; + label5.Location = new System.Drawing.Point(72, -5); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(59, 20); + label5.TabIndex = 14; + label5.Text = "SCR/CF"; + label5.Visible = false; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(47, 52); + label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(39, 20); + label3.TabIndex = 2; + label3.Text = "요청"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(280, 51); + label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(39, 20); + label6.TabIndex = 4; + label6.Text = "상태"; + // + // label7 + // + label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + label7.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label7.Location = new System.Drawing.Point(11, 661); + label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label7.Name = "label7"; + label7.Padding = new System.Windows.Forms.Padding(5); + label7.Size = new System.Drawing.Size(910, 103); + label7.TabIndex = 1; + label7.Text = resources.GetString("label7.Text"); + // + // label8 + // + label8.AutoSize = true; + label8.ForeColor = System.Drawing.Color.Blue; + label8.Location = new System.Drawing.Point(7, 206); + label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label8.Name = "label8"; + label8.Size = new System.Drawing.Size(79, 20); + label8.TabIndex = 18; + label8.Text = "단가(해외)"; + // + // label10 + // + label10.AutoSize = true; + label10.Location = new System.Drawing.Point(287, 237); + label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label10.Name = "label10"; + label10.Size = new System.Drawing.Size(54, 20); + label10.TabIndex = 23; + label10.Text = "보관소"; + // + // label11 + // + label11.AutoSize = true; + label11.Location = new System.Drawing.Point(36, 370); + label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label11.Name = "label11"; + label11.Size = new System.Drawing.Size(69, 20); + label11.TabIndex = 6; + label11.Text = "입고수량"; + // + // label12 + // + label12.AutoSize = true; + label12.Location = new System.Drawing.Point(68, 155); + label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label12.Name = "label12"; + label12.Size = new System.Drawing.Size(37, 20); + label12.TabIndex = 24; + label12.Text = "Line"; + // + // label13 + // + label13.AutoSize = true; + label13.Location = new System.Drawing.Point(16, 124); + label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label13.Name = "label13"; + label13.Size = new System.Drawing.Size(89, 20); + label13.TabIndex = 22; + label13.Text = "Cost Center"; + // + // label14 + // + label14.AutoSize = true; + label14.Location = new System.Drawing.Point(4, 497); + label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label14.Name = "label14"; + label14.Size = new System.Drawing.Size(84, 20); + label14.TabIndex = 36; + label14.Text = "담당자비고"; + this.toolTip1.SetToolTip(label14, resources.GetString("label14.ToolTip")); + // + // label15 + // + label15.AutoSize = true; + label15.Location = new System.Drawing.Point(237, 144); + label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label15.Name = "label15"; + label15.Size = new System.Drawing.Size(94, 20); + label15.TabIndex = 14; + label15.Text = "실 구매 수량"; + // + // label16 + // + label16.AutoSize = true; + label16.Location = new System.Drawing.Point(10, 218); + label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label16.Name = "label16"; + label16.Size = new System.Drawing.Size(99, 20); + label16.TabIndex = 44; + label16.Text = "구매승인자명"; + // + // label17 + // + label17.AutoSize = true; + label17.Location = new System.Drawing.Point(10, 185); + label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label17.Name = "label17"; + label17.Size = new System.Drawing.Size(99, 20); + label17.TabIndex = 42; + label17.Text = "구매담당자명"; + // + // label9 + // + label9.AutoSize = true; + label9.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label9.ForeColor = System.Drawing.Color.Blue; + label9.Location = new System.Drawing.Point(371, 200); + label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new System.Drawing.Size(99, 30); + label9.TabIndex = 20; + label9.Text = "해외물품은\r\n좌측 단가를 입력"; + // + // label18 + // + label18.AutoSize = true; + label18.Location = new System.Drawing.Point(277, 177); + label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label18.Name = "label18"; + label18.Size = new System.Drawing.Size(20, 20); + label18.TabIndex = 51; + label18.Text = "\\"; + // + // tbSC + // + this.tbSC.Location = new System.Drawing.Point(112, 430); + this.tbSC.Margin = new System.Windows.Forms.Padding(4); + this.tbSC.Name = "tbSC"; + this.tbSC.Size = new System.Drawing.Size(286, 27); + this.tbSC.TabIndex = 11; + this.tbSC.TextChanged += new System.EventHandler(this.tbSC_TextChanged); + // + // tbSID + // + this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.tbSID.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbSID.Location = new System.Drawing.Point(93, 264); + this.tbSID.Margin = new System.Windows.Forms.Padding(4); + this.tbSID.Name = "tbSID"; + this.tbSID.Size = new System.Drawing.Size(179, 34); + this.tbSID.TabIndex = 26; + // + // tbPumName + // + this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPumName.Location = new System.Drawing.Point(93, 79); + this.tbPumName.Margin = new System.Windows.Forms.Padding(4); + this.tbPumName.Name = "tbPumName"; + this.tbPumName.Size = new System.Drawing.Size(311, 27); + this.tbPumName.TabIndex = 7; + this.tbPumName.Click += new System.EventHandler(this.tbPumName_Click); + this.tbPumName.TextChanged += new System.EventHandler(this.tbPumName_TextChanged); + // + // tbPumModel + // + this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha; + this.tbPumModel.Location = new System.Drawing.Point(93, 109); + this.tbPumModel.Margin = new System.Windows.Forms.Padding(4); + this.tbPumModel.Name = "tbPumModel"; + this.tbPumModel.Size = new System.Drawing.Size(311, 27); + this.tbPumModel.TabIndex = 10; + // + // tbPumUnit + // + this.tbPumUnit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); + this.tbPumUnit.Location = new System.Drawing.Point(410, 109); + this.tbPumUnit.Margin = new System.Windows.Forms.Padding(4); + this.tbPumUnit.Name = "tbPumUnit"; + this.tbPumUnit.Size = new System.Drawing.Size(64, 27); + this.tbPumUnit.TabIndex = 11; + this.tbPumUnit.TabStop = false; + this.tbPumUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbPumUnit, "단위"); + // + // tbQtyReq + // + this.tbQtyReq.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbQtyReq.Location = new System.Drawing.Point(93, 140); + this.tbQtyReq.Margin = new System.Windows.Forms.Padding(4); + this.tbQtyReq.Name = "tbQtyReq"; + this.tbQtyReq.Size = new System.Drawing.Size(135, 27); + this.tbQtyReq.TabIndex = 13; + this.tbQtyReq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbQtyReq.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); + // + // tbPumPrice + // + this.tbPumPrice.Location = new System.Drawing.Point(93, 172); + this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4); + this.tbPumPrice.Name = "tbPumPrice"; + this.tbPumPrice.Size = new System.Drawing.Size(178, 27); + this.tbPumPrice.TabIndex = 17; + this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); + // + // tbPumAmt + // + this.tbPumAmt.Location = new System.Drawing.Point(93, 234); + this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4); + this.tbPumAmt.Name = "tbPumAmt"; + this.tbPumAmt.ReadOnly = true; + this.tbPumAmt.Size = new System.Drawing.Size(179, 27); + this.tbPumAmt.TabIndex = 22; + this.tbPumAmt.TabStop = false; + this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // tbSupply + // + this.tbSupply.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbSupply.Location = new System.Drawing.Point(93, 302); + this.tbSupply.Margin = new System.Windows.Forms.Padding(4); + this.tbSupply.Name = "tbSupply"; + this.tbSupply.Size = new System.Drawing.Size(311, 27); + this.tbSupply.TabIndex = 29; + // + // tbSupplyIndex + // + this.tbSupplyIndex.Location = new System.Drawing.Point(411, 302); + this.tbSupplyIndex.Margin = new System.Windows.Forms.Padding(4); + this.tbSupplyIndex.Name = "tbSupplyIndex"; + this.tbSupplyIndex.ReadOnly = true; + this.tbSupplyIndex.Size = new System.Drawing.Size(64, 27); + this.tbSupplyIndex.TabIndex = 30; + this.tbSupplyIndex.TabStop = false; + this.tbSupplyIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbSupplyIndex, "Database ID"); + // + // tbProject + // + this.tbProject.BackColor = System.Drawing.SystemColors.Window; + this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbProject.Location = new System.Drawing.Point(93, 332); + this.tbProject.Margin = new System.Windows.Forms.Padding(4); + this.tbProject.Name = "tbProject"; + this.tbProject.Size = new System.Drawing.Size(311, 27); + this.tbProject.TabIndex = 32; + this.toolTip1.SetToolTip(this.tbProject, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); + // + // tbProjectIndex + // + this.tbProjectIndex.Location = new System.Drawing.Point(410, 332); + this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4); + this.tbProjectIndex.Name = "tbProjectIndex"; + this.tbProjectIndex.ReadOnly = true; + this.tbProjectIndex.Size = new System.Drawing.Size(64, 27); + this.tbProjectIndex.TabIndex = 33; + this.tbProjectIndex.TabStop = false; + this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID"); + // + // tbPO + // + this.tbPO.Location = new System.Drawing.Point(112, 462); + this.tbPO.Margin = new System.Windows.Forms.Padding(4); + this.tbPO.Name = "tbPO"; + this.tbPO.Size = new System.Drawing.Size(286, 27); + this.tbPO.TabIndex = 13; + // + // tbBigo + // + this.tbBigo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbBigo.Location = new System.Drawing.Point(93, 400); + this.tbBigo.Margin = new System.Windows.Forms.Padding(4); + this.tbBigo.MaxLength = 500; + this.tbBigo.Multiline = true; + this.tbBigo.Name = "tbBigo"; + this.tbBigo.Size = new System.Drawing.Size(381, 91); + this.tbBigo.TabIndex = 35; + this.tbBigo.TabStop = false; + this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip")); + // + // dtPdate + // + this.dtPdate.Location = new System.Drawing.Point(93, 18); + this.dtPdate.Margin = new System.Windows.Forms.Padding(4); + this.dtPdate.Name = "dtPdate"; + this.dtPdate.Size = new System.Drawing.Size(381, 27); + this.dtPdate.TabIndex = 1; + // + // btSave + // + this.btSave.Location = new System.Drawing.Point(11, 770); + this.btSave.Margin = new System.Windows.Forms.Padding(4); + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(490, 43); + this.btSave.TabIndex = 2; + this.btSave.Text = "저장(&S)"; + this.btSave.UseVisualStyleBackColor = true; + this.btSave.Click += new System.EventHandler(this.button1_Click); + // + // cmbState + // + this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbState.FormattingEnabled = true; + this.cmbState.Location = new System.Drawing.Point(327, 48); + this.cmbState.Margin = new System.Windows.Forms.Padding(4); + this.cmbState.Name = "cmbState"; + this.cmbState.Size = new System.Drawing.Size(148, 28); + this.cmbState.TabIndex = 5; + this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); + // + // cmbRequest + // + this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbRequest.FormattingEnabled = true; + this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbRequest.Location = new System.Drawing.Point(93, 48); + this.cmbRequest.Margin = new System.Windows.Forms.Padding(4); + this.cmbRequest.Name = "cmbRequest"; + this.cmbRequest.Size = new System.Drawing.Size(179, 28); + this.cmbRequest.TabIndex = 3; + // + // cmbReceive + // + this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbReceive.FormattingEnabled = true; + this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbReceive.Location = new System.Drawing.Point(112, 332); + this.cmbReceive.Margin = new System.Windows.Forms.Padding(4); + this.cmbReceive.Name = "cmbReceive"; + this.cmbReceive.Size = new System.Drawing.Size(286, 28); + this.cmbReceive.TabIndex = 5; + // + // tbPumIDX + // + this.tbPumIDX.Location = new System.Drawing.Point(410, 79); + this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4); + this.tbPumIDX.Name = "tbPumIDX"; + this.tbPumIDX.ReadOnly = true; + this.tbPumIDX.Size = new System.Drawing.Size(64, 27); + this.tbPumIDX.TabIndex = 8; + this.tbPumIDX.TabStop = false; + this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID"); + // + // dtInDate + // + this.dtInDate.Location = new System.Drawing.Point(112, 297); + this.dtInDate.Margin = new System.Windows.Forms.Padding(4); + this.dtInDate.Name = "dtInDate"; + this.dtInDate.Size = new System.Drawing.Size(286, 27); + this.dtInDate.TabIndex = 3; + this.dtInDate.TabStop = false; + // + // chkInDate + // + this.chkInDate.AutoSize = true; + this.chkInDate.Location = new System.Drawing.Point(32, 299); + this.chkInDate.Margin = new System.Windows.Forms.Padding(4); + this.chkInDate.Name = "chkInDate"; + this.chkInDate.Size = new System.Drawing.Size(73, 24); + this.chkInDate.TabIndex = 2; + this.chkInDate.TabStop = false; + this.chkInDate.Text = "입고일"; + this.chkInDate.UseVisualStyleBackColor = true; + this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged); + // + // dtExpDate + // + this.dtExpDate.Location = new System.Drawing.Point(112, 265); + this.dtExpDate.Margin = new System.Windows.Forms.Padding(4); + this.dtExpDate.Name = "dtExpDate"; + this.dtExpDate.Size = new System.Drawing.Size(286, 27); + this.dtExpDate.TabIndex = 1; + this.dtExpDate.TabStop = false; + // + // chkExp + // + this.chkExp.AutoSize = true; + this.chkExp.Location = new System.Drawing.Point(32, 269); + this.chkExp.Margin = new System.Windows.Forms.Padding(4); + this.chkExp.Name = "chkExp"; + this.chkExp.Size = new System.Drawing.Size(73, 24); + this.chkExp.TabIndex = 0; + this.chkExp.TabStop = false; + this.chkExp.Text = "예상일"; + this.chkExp.UseVisualStyleBackColor = true; + this.chkExp.CheckedChanged += new System.EventHandler(this.chkExp_CheckedChanged); + // + // btSaveAdd + // + this.btSaveAdd.Location = new System.Drawing.Point(511, 770); + this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4); + this.btSaveAdd.Name = "btSaveAdd"; + this.btSaveAdd.Size = new System.Drawing.Size(410, 43); + this.btSaveAdd.TabIndex = 3; + this.btSaveAdd.Text = "저장 및 추가(&A)"; + this.btSaveAdd.UseVisualStyleBackColor = true; + this.btSaveAdd.Click += new System.EventHandler(this.button2_Click); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.tbStorage); + this.groupBox1.Controls.Add(label18); + this.groupBox1.Controls.Add(this.cmbRemark); + this.groupBox1.Controls.Add(this.cmbCurrency); + this.groupBox1.Controls.Add(this.tbQtyReal); + this.groupBox1.Controls.Add(label15); + this.groupBox1.Controls.Add(this.tbBigoChk); + this.groupBox1.Controls.Add(label14); + this.groupBox1.Controls.Add(this.chk2); + this.groupBox1.Controls.Add(this.chk1); + this.groupBox1.Controls.Add(this.btSIDChk); + this.groupBox1.Controls.Add(label10); + this.groupBox1.Controls.Add(label9); + this.groupBox1.Controls.Add(this.tbPumPriceD); + this.groupBox1.Controls.Add(label8); + this.groupBox1.Controls.Add(this.button3); + this.groupBox1.Controls.Add(this.button2); + this.groupBox1.Controls.Add(this.button1); + this.groupBox1.Controls.Add(label6); + this.groupBox1.Controls.Add(label3); + this.groupBox1.Controls.Add(this.dtPdate); + this.groupBox1.Controls.Add(this.tbPumAmt); + this.groupBox1.Controls.Add(this.tbBigo); + this.groupBox1.Controls.Add(deptLabel); + this.groupBox1.Controls.Add(this.tbSupplyIndex); + this.groupBox1.Controls.Add(pumamtLabel); + this.groupBox1.Controls.Add(this.tbPumIDX); + this.groupBox1.Controls.Add(this.cmbState); + this.groupBox1.Controls.Add(this.tbSID); + this.groupBox1.Controls.Add(this.tbQtyReq); + this.groupBox1.Controls.Add(pumqtyLabel); + this.groupBox1.Controls.Add(sidLabel); + this.groupBox1.Controls.Add(this.tbProject); + this.groupBox1.Controls.Add(this.tbProjectIndex); + this.groupBox1.Controls.Add(this.tbPumPrice); + this.groupBox1.Controls.Add(this.tbSupply); + this.groupBox1.Controls.Add(pumpriceLabel); + this.groupBox1.Controls.Add(label1); + this.groupBox1.Controls.Add(this.tbPumName); + this.groupBox1.Controls.Add(this.cmbRequest); + this.groupBox1.Controls.Add(pumscaleLabel); + this.groupBox1.Controls.Add(this.tbPumUnit); + this.groupBox1.Controls.Add(this.tbPumModel); + this.groupBox1.Location = new System.Drawing.Point(11, 6); + this.groupBox1.Margin = new System.Windows.Forms.Padding(4); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Padding = new System.Windows.Forms.Padding(4); + this.groupBox1.Size = new System.Drawing.Size(490, 651); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "필수입력"; + this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter); + // + // cmbRemark + // + this.cmbRemark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbRemark.FormattingEnabled = true; + this.cmbRemark.Location = new System.Drawing.Point(94, 368); + this.cmbRemark.Margin = new System.Windows.Forms.Padding(4); + this.cmbRemark.Name = "cmbRemark"; + this.cmbRemark.Size = new System.Drawing.Size(380, 28); + this.cmbRemark.TabIndex = 50; + // + // cmbCurrency + // + this.cmbCurrency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCurrency.FormattingEnabled = true; + this.cmbCurrency.Items.AddRange(new object[] { + "USD"}); + this.cmbCurrency.Location = new System.Drawing.Point(274, 202); + this.cmbCurrency.Margin = new System.Windows.Forms.Padding(4); + this.cmbCurrency.Name = "cmbCurrency"; + this.cmbCurrency.Size = new System.Drawing.Size(89, 28); + this.cmbCurrency.TabIndex = 50; + // + // tbQtyReal + // + this.tbQtyReal.Location = new System.Drawing.Point(339, 140); + this.tbQtyReal.Margin = new System.Windows.Forms.Padding(4); + this.tbQtyReal.Name = "tbQtyReal"; + this.tbQtyReal.Size = new System.Drawing.Size(135, 27); + this.tbQtyReal.TabIndex = 15; + this.tbQtyReal.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbQtyReal.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); + // + // tbBigoChk + // + this.tbBigoChk.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbBigoChk.Location = new System.Drawing.Point(93, 493); + this.tbBigoChk.Margin = new System.Windows.Forms.Padding(4); + this.tbBigoChk.MaxLength = 500; + this.tbBigoChk.Multiline = true; + this.tbBigoChk.Name = "tbBigoChk"; + this.tbBigoChk.Size = new System.Drawing.Size(381, 91); + this.tbBigoChk.TabIndex = 37; + this.tbBigoChk.TabStop = false; + this.toolTip1.SetToolTip(this.tbBigoChk, resources.GetString("tbBigoChk.ToolTip")); + // + // chk2 + // + this.chk2.AutoSize = true; + this.chk2.Enabled = false; + this.chk2.Location = new System.Drawing.Point(201, 588); + this.chk2.Name = "chk2"; + this.chk2.Size = new System.Drawing.Size(133, 24); + this.chk2.TabIndex = 39; + this.chk2.Text = "구매담당자확인"; + this.chk2.UseVisualStyleBackColor = true; + // + // chk1 + // + this.chk1.AutoSize = true; + this.chk1.Enabled = false; + this.chk1.Location = new System.Drawing.Point(94, 588); + this.chk1.Name = "chk1"; + this.chk1.Size = new System.Drawing.Size(103, 24); + this.chk1.TabIndex = 38; + this.chk1.Text = "요청자확인"; + this.chk1.UseVisualStyleBackColor = true; + // + // btSIDChk + // + this.btSIDChk.BackColor = System.Drawing.Color.Gray; + this.btSIDChk.Location = new System.Drawing.Point(279, 264); + this.btSIDChk.Name = "btSIDChk"; + this.btSIDChk.Size = new System.Drawing.Size(196, 34); + this.btSIDChk.TabIndex = 27; + this.btSIDChk.Text = "SID 검사(SPR/NR)"; + this.btSIDChk.UseVisualStyleBackColor = false; + this.btSIDChk.Click += new System.EventHandler(this.btSIDChk_Click); + // + // tbPumPriceD + // + this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue; + this.tbPumPriceD.Location = new System.Drawing.Point(94, 203); + this.tbPumPriceD.Margin = new System.Windows.Forms.Padding(4); + this.tbPumPriceD.Name = "tbPumPriceD"; + this.tbPumPriceD.Size = new System.Drawing.Size(178, 27); + this.tbPumPriceD.TabIndex = 19; + this.tbPumPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.tbPumPriceD.TextChanged += new System.EventHandler(this.tbDolloerPrice_TextChanged); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(6, 332); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(80, 27); + this.button3.TabIndex = 31; + this.button3.Text = "프로젝트"; + this.toolTip1.SetToolTip(this.button3, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(6, 302); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(80, 27); + this.button2.TabIndex = 28; + this.button2.Text = "공급처"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click_1); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(6, 79); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(80, 27); + this.button1.TabIndex = 6; + this.button1.Text = "통합검색"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // groupBox2 + // + this.groupBox2.BackColor = System.Drawing.Color.Gainsboro; + this.groupBox2.Controls.Add(this.tbCostCenter); + this.groupBox2.Controls.Add(this.tbLineCode); + this.groupBox2.Controls.Add(this.tbManager); + this.groupBox2.Controls.Add(this.tbAdmin); + this.groupBox2.Controls.Add(label16); + this.groupBox2.Controls.Add(label17); + this.groupBox2.Controls.Add(this.btEQModel); + this.groupBox2.Controls.Add(this.dtExpDate); + this.groupBox2.Controls.Add(processLabel); + this.groupBox2.Controls.Add(this.btEQManu); + this.groupBox2.Controls.Add(this.btProcess); + this.groupBox2.Controls.Add(this.btManuProc); + this.groupBox2.Controls.Add(this.cmbReceive); + this.groupBox2.Controls.Add(receiveLabel); + this.groupBox2.Controls.Add(label12); + this.groupBox2.Controls.Add(scLabel); + this.groupBox2.Controls.Add(this.tbSC); + this.groupBox2.Controls.Add(label13); + this.groupBox2.Controls.Add(poLabel); + this.groupBox2.Controls.Add(this.button7); + this.groupBox2.Controls.Add(this.tbInQty); + this.groupBox2.Controls.Add(this.button6); + this.groupBox2.Controls.Add(this.tbPO); + this.groupBox2.Controls.Add(this.button5); + this.groupBox2.Controls.Add(label11); + this.groupBox2.Controls.Add(this.button4); + this.groupBox2.Controls.Add(this.dtInDate); + this.groupBox2.Controls.Add(this.tbOrderNo); + this.groupBox2.Controls.Add(this.chkInDate); + this.groupBox2.Controls.Add(label5); + this.groupBox2.Controls.Add(this.chkExp); + this.groupBox2.Controls.Add(label4); + this.groupBox2.Controls.Add(label2); + this.groupBox2.Controls.Add(this.pictureBox1); + this.groupBox2.Controls.Add(assetLabel); + this.groupBox2.Location = new System.Drawing.Point(512, 7); + this.groupBox2.Margin = new System.Windows.Forms.Padding(4); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Padding = new System.Windows.Forms.Padding(4); + this.groupBox2.Size = new System.Drawing.Size(409, 650); + this.groupBox2.TabIndex = 0; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "추가정보"; + // + // tbCostCenter + // + this.tbCostCenter.FormattingEnabled = true; + this.tbCostCenter.ImeMode = System.Windows.Forms.ImeMode.Alpha; + this.tbCostCenter.Location = new System.Drawing.Point(112, 120); + this.tbCostCenter.Margin = new System.Windows.Forms.Padding(4); + this.tbCostCenter.Name = "tbCostCenter"; + this.tbCostCenter.Size = new System.Drawing.Size(286, 28); + this.tbCostCenter.TabIndex = 49; + this.tbCostCenter.Text = "68"; + // + // tbLineCode + // + this.tbLineCode.FormattingEnabled = true; + this.tbLineCode.Location = new System.Drawing.Point(112, 151); + this.tbLineCode.Margin = new System.Windows.Forms.Padding(4); + this.tbLineCode.Name = "tbLineCode"; + this.tbLineCode.Size = new System.Drawing.Size(286, 28); + this.tbLineCode.TabIndex = 48; + this.tbLineCode.Text = "67"; + // + // tbManager + // + this.tbManager.FormattingEnabled = true; + this.tbManager.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbManager.Location = new System.Drawing.Point(112, 182); + this.tbManager.Margin = new System.Windows.Forms.Padding(4); + this.tbManager.Name = "tbManager"; + this.tbManager.Size = new System.Drawing.Size(286, 28); + this.tbManager.TabIndex = 47; + this.tbManager.Text = "65"; + // + // tbAdmin + // + this.tbAdmin.FormattingEnabled = true; + this.tbAdmin.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbAdmin.Location = new System.Drawing.Point(112, 214); + this.tbAdmin.Margin = new System.Windows.Forms.Padding(4); + this.tbAdmin.Name = "tbAdmin"; + this.tbAdmin.Size = new System.Drawing.Size(286, 28); + this.tbAdmin.TabIndex = 46; + this.tbAdmin.Text = "66"; + // + // btEQModel + // + this.btEQModel.Location = new System.Drawing.Point(112, 90); + this.btEQModel.Name = "btEQModel"; + this.btEQModel.Size = new System.Drawing.Size(286, 28); + this.btEQModel.TabIndex = 21; + this.btEQModel.Tag = "07"; + this.btEQModel.Text = "공용코드 07"; + this.btEQModel.UseVisualStyleBackColor = true; + this.btEQModel.Click += new System.EventHandler(this.button8_Click_1); + // + // btEQManu + // + this.btEQManu.Location = new System.Drawing.Point(112, 56); + this.btEQManu.Name = "btEQManu"; + this.btEQManu.Size = new System.Drawing.Size(286, 28); + this.btEQManu.TabIndex = 19; + this.btEQManu.Tag = "06"; + this.btEQManu.Text = "공용코드 06"; + this.btEQManu.UseVisualStyleBackColor = true; + this.btEQManu.Click += new System.EventHandler(this.btProcess_Click); + // + // btProcess + // + this.btProcess.Location = new System.Drawing.Point(112, 397); + this.btProcess.Name = "btProcess"; + this.btProcess.Size = new System.Drawing.Size(286, 28); + this.btProcess.TabIndex = 9; + this.btProcess.Tag = "09"; + this.btProcess.Text = "공용코드 09"; + this.toolTip1.SetToolTip(this.btProcess, "공용코드(09)"); + this.btProcess.UseVisualStyleBackColor = true; + this.btProcess.Click += new System.EventHandler(this.btProcess_Click); + // + // btManuProc + // + this.btManuProc.Location = new System.Drawing.Point(112, 23); + this.btManuProc.Name = "btManuProc"; + this.btManuProc.Size = new System.Drawing.Size(286, 28); + this.btManuProc.TabIndex = 17; + this.btManuProc.Tag = "08"; + this.btManuProc.Text = "공용코드 08"; + this.btManuProc.UseVisualStyleBackColor = true; + this.btManuProc.Click += new System.EventHandler(this.btProcess_Click); + // + // button7 + // + this.button7.Location = new System.Drawing.Point(4, 615); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(93, 27); + this.button7.TabIndex = 29; + this.button7.Text = "견적서폴더"; + this.button7.UseVisualStyleBackColor = true; + this.button7.Click += new System.EventHandler(this.button7_Click); + // + // tbInQty + // + this.tbInQty.Location = new System.Drawing.Point(112, 365); + this.tbInQty.Margin = new System.Windows.Forms.Padding(4); + this.tbInQty.Name = "tbInQty"; + this.tbInQty.Size = new System.Drawing.Size(286, 27); + this.tbInQty.TabIndex = 7; + this.tbInQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // button6 + // + this.button6.Location = new System.Drawing.Point(4, 583); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(93, 27); + this.button6.TabIndex = 28; + this.button6.Text = "그림선택"; + this.button6.UseVisualStyleBackColor = true; + this.button6.Click += new System.EventHandler(this.button6_Click); + // + // button5 + // + this.button5.Location = new System.Drawing.Point(4, 551); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(93, 27); + this.button5.TabIndex = 27; + this.button5.Text = "촬영"; + this.button5.UseVisualStyleBackColor = true; + this.button5.Click += new System.EventHandler(this.button5_Click); + // + // button4 + // + this.button4.Location = new System.Drawing.Point(4, 519); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(93, 27); + this.button4.TabIndex = 26; + this.button4.Text = "붙여넣기"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // tbOrderNo + // + this.tbOrderNo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbOrderNo.ForeColor = System.Drawing.Color.Red; + this.tbOrderNo.Location = new System.Drawing.Point(138, -9); + this.tbOrderNo.Margin = new System.Windows.Forms.Padding(4); + this.tbOrderNo.Name = "tbOrderNo"; + this.tbOrderNo.Size = new System.Drawing.Size(286, 27); + this.tbOrderNo.TabIndex = 15; + this.tbOrderNo.Visible = false; + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Gray; + this.pictureBox1.Location = new System.Drawing.Point(104, 519); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(286, 123); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 17; + this.pictureBox1.TabStop = false; + this.pictureBox1.Tag = "A"; + // + // timer1 + // + this.timer1.Interval = 250; + this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // purchaseBindingSource + // + this.purchaseBindingSource.DataMember = "Purchase"; + this.purchaseBindingSource.DataSource = this.dsPurchase; + // + // purchaseTableAdapter + // + this.purchaseTableAdapter.ClearBeforeFill = true; + // + // tbStorage + // + this.tbStorage.FormattingEnabled = true; + this.tbStorage.ImeMode = System.Windows.Forms.ImeMode.Alpha; + this.tbStorage.Items.AddRange(new object[] { + "NR", + "SPR"}); + this.tbStorage.Location = new System.Drawing.Point(345, 233); + this.tbStorage.Margin = new System.Windows.Forms.Padding(4); + this.tbStorage.Name = "tbStorage"; + this.tbStorage.Size = new System.Drawing.Size(129, 28); + this.tbStorage.TabIndex = 52; + // + // fPurchase_Add + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(929, 821); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.btSaveAdd); + this.Controls.Add(this.btSave); + this.Controls.Add(label7); + this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fPurchase_Add"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Purchase ADD/EDIT"; + this.Load += new System.EventHandler(this.@__Load); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TextBox tbSC; + private System.Windows.Forms.TextBox tbSID; + private System.Windows.Forms.TextBox tbPumName; + private System.Windows.Forms.TextBox tbPumModel; + private System.Windows.Forms.TextBox tbPumUnit; + private System.Windows.Forms.TextBox tbQtyReq; + private System.Windows.Forms.TextBox tbPumPrice; + private System.Windows.Forms.TextBox tbPumAmt; + private System.Windows.Forms.TextBox tbSupply; + private System.Windows.Forms.TextBox tbSupplyIndex; + private System.Windows.Forms.TextBox tbProject; + private System.Windows.Forms.TextBox tbProjectIndex; + private System.Windows.Forms.TextBox tbPO; + private System.Windows.Forms.TextBox tbBigo; + private System.Windows.Forms.DateTimePicker dtPdate; + private System.Windows.Forms.Button btSave; + private System.Windows.Forms.ComboBox cmbState; + private System.Windows.Forms.ComboBox cmbRequest; + private System.Windows.Forms.ComboBox cmbReceive; + private System.Windows.Forms.TextBox tbPumIDX; + private System.Windows.Forms.DateTimePicker dtInDate; + private System.Windows.Forms.CheckBox chkInDate; + private System.Windows.Forms.DateTimePicker dtExpDate; + private System.Windows.Forms.CheckBox chkExp; + private System.Windows.Forms.Button btSaveAdd; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.GroupBox groupBox2; + public System.Windows.Forms.PictureBox pictureBox1; + private dsPurchase dsPurchase; + private System.Windows.Forms.BindingSource purchaseBindingSource; + private dsPurchaseTableAdapters.PurchaseTableAdapter purchaseTableAdapter; + private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.TextBox tbOrderNo; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.TextBox tbPumPriceD; + private System.Windows.Forms.TextBox tbInQty; + private System.Windows.Forms.Button btSIDChk; + private System.Windows.Forms.Timer timer1; + private System.Windows.Forms.CheckBox chk2; + private System.Windows.Forms.CheckBox chk1; + private System.Windows.Forms.Button btProcess; + private System.Windows.Forms.Button btManuProc; + private System.Windows.Forms.Button btEQManu; + private System.Windows.Forms.Button btEQModel; + private System.Windows.Forms.TextBox tbBigoChk; + private System.Windows.Forms.TextBox tbQtyReal; + private System.Windows.Forms.ComboBox tbAdmin; + private System.Windows.Forms.ComboBox tbCostCenter; + private System.Windows.Forms.ComboBox tbLineCode; + private System.Windows.Forms.ComboBox tbManager; + private System.Windows.Forms.ComboBox cmbCurrency; + private System.Windows.Forms.ComboBox cmbRemark; + private System.Windows.Forms.ComboBox tbStorage; + } +} \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.cs new file mode 100644 index 0000000..56e4bbd --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.cs @@ -0,0 +1,1299 @@ +using FarPoint.Excel.EntityClassLibrary.DrawingEx; +using FCM0000.Mail; +using FCOMMON; +using FEQ0000.Purchase; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FEQ0000 +{ + public partial class fPurchaseEB_Add : Form + { + BindingSource bsManu; + BindingSource bsModel; + dsPurchase.EETGW_PurchaseEBRow dr; + public Boolean repeatAdd = false; + Boolean binit = false; + string sidchk1 = string.Empty; + string dbchk1 = string.Empty; + + public fPurchaseEB_Add(dsPurchase.EETGW_PurchaseEBRow dr_) + { + InitializeComponent(); + Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; + Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; + + + + bsManu = new BindingSource(); + bsModel = new BindingSource(); + this.dr = dr_; + this.KeyPreview = true; + this.StartPosition = FormStartPosition.CenterScreen; + this.KeyDown += (s1, e1) => + { + if (e1.KeyCode == Keys.Escape) this.Close(); + }; + this.tbPumName.Leave += tbPumName_Leave; + this.tbSupply.Leave += tbSupply_Leave; + this.tbProject.Leave += tbProject_Leave; + + foreach (Control ctl in groupBox1.Controls) + { + if (ctl.GetType() == typeof(TextBox) || ctl.GetType() == typeof(ComboBox)) + { + ctl.KeyDown += ctl_KeyDown; + } + } + + //필수로 + if(FCOMMON.info.Login.gcode == "K4PM") + { + tbCostCenter.BackColor = Color.FromArgb(255, 255, 192); + tbLineCode.BackColor = Color.FromArgb(255, 255, 192); + tbManager.BackColor = Color.FromArgb(255, 255, 192); + } + } + + Boolean advInput = false; + private void __Load(object sender, EventArgs e) + { + advInput = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.purchase_adv); + tbPumName.ImeMode = ImeMode.Alpha; + + //상태 + var stateList = FCOMMON.DBM.getCodeTable("04"); + this.cmbState.DisplayMember = "Value"; + this.cmbState.ValueMember = "Value"; + this.cmbState.DataSource = stateList; + + //costcenter + var LstCost = FCOMMON.DBM.getCodeTable("68"); + this.tbCostCenter.DisplayMember = "Value"; + this.tbCostCenter.ValueMember = "Value"; + this.tbCostCenter.DataSource = LstCost; + + //line + var LstLine = FCOMMON.DBM.getCodeTable("67"); + this.tbLineCode.DisplayMember = "Value"; + this.tbLineCode.ValueMember = "Value"; + this.tbLineCode.DataSource = LstLine; + + //구매-담당 + var LstMan = FCOMMON.DBM.getCodeTable("65"); + this.tbManager.DisplayMember = "Value"; + this.tbManager.ValueMember = "Value"; + this.tbManager.DataSource = LstMan; + + //구매-승인 + var LstAdm = FCOMMON.DBM.getCodeTable("66"); + this.tbAdmin.DisplayMember = "Value"; + this.tbAdmin.ValueMember = "Value"; + this.tbAdmin.DataSource = LstAdm; + + //통화 + var LstCur = FCOMMON.DBM.getCodeTable("69"); + this.cmbCurrency.DisplayMember = "Value"; + this.cmbCurrency.ValueMember = "Value"; + this.cmbCurrency.DataSource = LstCur; + + + //구매자비고 + var LstRemark = FCOMMON.DBM.getCodeList("70"); + this.cmbRemark.Items.Clear(); + this.cmbRemark.Items.Add("-- 선택 안함 --"); + foreach (var item in LstRemark) + { + cmbRemark.Items.Add(item.Value); + } + this.cmbRemark.SelectedIndexChanged += (s1, e1) => + { + if (cmbRemark.SelectedIndex > 0) + { + tbBigo.Text = cmbRemark.Text.Trim() + tbBigo.Text.Trim(); + } + }; + cmbRemark.SelectedIndex = 0; + + + //담당자목록 + var userList = FCOMMON.DBM.getUserList(); //.getGroupList("name", "Users", "[level] > 0 and [level] < 10"); + foreach (var user in userList) + { + this.cmbReceive.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value)); + this.cmbRequest.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value)); + } + + dtPdate.Value = DateTime.Parse(dr.pdate); + if (dr.IsindateNull() || dr.indate.isEmpty()) + { + this.chkInDate.Checked = false; + } + else + { + this.chkInDate.Checked = true; + dtInDate.Value = DateTime.Parse(dr.indate); + } + + if (dr.IsedateNull() || dr.edate.isEmpty()) + { + this.chkExp.Checked = false; + } + else + { + this.chkExp.Checked = true; + dtExpDate.Value = DateTime.Parse(dr.edate); + } + + ///입력된 데이터를 적용한다. + if (cmbRequest.Items.Count > 0) + { + for (int i = 0; i < cmbRequest.Items.Count; i++) + { + if (cmbRequest.Items[i].ToString().StartsWith("[" + dr.request + "]")) + { + cmbRequest.SelectedIndex = i; + break; + } + } + } + else cmbRequest.Text = dr.request; + + if (cmbReceive.Items.Count > 0) + { + for (int i = 0; i < cmbReceive.Items.Count; i++) + { + if (cmbReceive.Items[i].ToString().StartsWith("[" + dr.receive + "]")) + { + cmbReceive.SelectedIndex = i; + break; + } + } + } + else cmbReceive.Text = dr.receive; + + + + tbSID.Text = dr.sid; + tbSID.Tag = tbSID.Text; + + //230728 + if (dr.IscostcenterNull() == false) + tbCostCenter.Text = dr.costcenter; + else tbCostCenter.Text = string.Empty; + if (dr.IslinecodeNull() == false) + tbLineCode.Text = dr.linecode; + else tbLineCode.Text = string.Empty; + + if (dr.IsmanuprocNull() == false) + btManuProc.Text = dr.manuproc; + else + btManuProc.Text = string.Empty; + + //if (dr.manuproc == "") btManuProc.SelectedIndex = -1; + //else btManuProc.Text = dr.manuproc; //190106 + if (dr.IsdeptNull() == false) + btEQManu.Text = dr.dept; + else + btEQManu.Text = string.Empty; + + if (btEQManu.Text.isEmpty()) + { + if (dr.asset != "") FCOMMON.Util.MsgE( + string.Format("장비 모델 명({0})이 있지만 해당 제조사가 없으므로 모델명이 제거 됩니다. 모델을 다시 지정 하세요", dr.asset)); + btEQModel.Text = string.Empty; + } + else btEQModel.Text = dr.asset; //제조모델명 + + cmbCurrency.Text = dr.currency; + tbPumName.Text = dr.pumname; + tbPumName.Tag = tbPumName.Text; + + tbPumModel.Text = dr.pumscale; + + if (dr.IspumqtyNull()) tbQtyReal.Text = "0"; //230817 + else tbQtyReal.Text = dr.pumqty.ToString(); + + if (dr.IspumqtyReqNull()) tbQtyReq.Text = "0"; //230817 + else tbQtyReq.Text = dr.pumqtyReq.ToString(); + + if (dr.IspumidxNull()) tbPumIDX.Text = "-1"; + else tbPumIDX.Text = dr.pumidx.ToString(); + tbPumPrice.Text = dr.pumprice.ToString(); + tbPumPriceD.Text = dr.pumpriceD.ToString(); + tbPumAmt.Text = dr.pumamt.ToString("N0"); //천단위 구분기호 추가 181222 + tbPumUnit.Text = dr.pumunit; + + tbSupply.Text = dr.supply; + tbSupply.Tag = tbSupply.Text; + tbSupplyIndex.Text = dr.supplyidx.ToString(); + + tbProject.Text = dr.project; + tbProject.Tag = tbProject.Text; + tbProjectIndex.Text = dr.projectidx.ToString(); + + cmbState.Text = dr.state; + + if (dr.IsprocessNull() == false) btProcess.Text = dr.process; + else btProcess.Text = string.Empty; + if (btProcess.Text.isEmpty()) + { + //181203 - 이 사용자가 마지막으로 사용한 공정값을 사용한다. + var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc"); + if (lastprocess != "") btProcess.Text = lastprocess; + + } + chk1.Checked = dr.chk1; + chk2.Checked = dr.chk2; + + tbManager.Text = dr.purchase_manager; + tbAdmin.Text = dr.purchase_admin; + + tbSC.Text = dr.sc; + tbPO.Text = dr.po; + tbOrderNo.Text = dr.orderno; + tbBigo.Text = dr.bigo; + if (dr.IschkremarkNull()) tbBigoChk.Text = string.Empty; + else tbBigoChk.Text = dr.chkremark; + + dtInDate.Text = dr.indate; + dtExpDate.Text = dr.edate; + if (dr.IsinqtyNull() == false) + tbInQty.Text = dr.inqty.ToString(); + //else tbInQty.Text = "0"; + + //chkInDate.Checked = !dr.IsindateNull(); + //chkExp.Checked = !dr.IsedateNull(); + + this.dtExpDate.Enabled = chkExp.Checked; + this.dtInDate.Enabled = chkInDate.Checked; + + //일반사용자의경우에는 상태를 변경하지 못한다. + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); + if (curLevel < 5) + { + if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Added) + cmbReceive.Enabled = false; + + cmbState.Enabled = false; + if (cmbRequest.Text != "") cmbRequest.Enabled = false; + + //데이터가 편집 상태인데 요청자가 내가 아닌경우에도 편집 불가 + Boolean enb = true; + if (dr.RowState == DataRowState.Unchanged && dr.request != FCOMMON.info.Login.no) + enb = false; + if (tbSC.Text.Trim() != "") enb = false; + + if (enb == false) //일반 사용자는 쇼핑, 카드 잇으면 수정 불가 + { + btSave.Enabled = false; + btSaveAdd.Enabled = false; + groupBox1.Enabled = false; + groupBox2.Enabled = false; + } + tbBigoChk.Enabled = false; + tbQtyReal.Enabled = false; + } + else + { + tbBigoChk.Enabled = true; + tbQtyReal.Enabled = true; + } + + if (advInput == false) + { + this.Width = 528; + // this.linkLabel7.Enabled = false; + this.tbProject.Enabled = false; + this.tbProjectIndex.Enabled = false; + } + this.Show(); + Application.DoEvents(); + tbPumName.Focus(); + + //이미지를 불러온다. + if (dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Deleted && dr.RowState != DataRowState.Added) + { + if (dr.IspumidxNull() == false && dr.pumidx != -1) + { + var img = FCOMMON.DBM.GetImageData("Items", "image", dr.pumidx); + if (img != null) + { + this.pictureBox1.Image = img; + } + } + } + binit = true; + + + if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Added) + { + sidchk1 = string.Empty; + dbchk1 = string.Empty; + + //복사된 자료는 isd가 잇으면 sid가 잇다면 자동 처리해준다. + if (tbSID.Text.StartsWith("10") && tbSID.TextLength == 9) + { + //sidchk1 = tbSID.Text; + dbchk1 = tbPumName.Text.Trim(); + } + } + else + { + sidchk1 = tbSID.Text.Trim(); + dbchk1 = tbPumName.Text.Trim(); + } + + timer1.Start(); + + } + + string sidTrim(string sid) + { + return sid.Replace(" ", "").Replace("-", "").Replace("_", "").Trim(); + } + + void ctl_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + Control ctl = sender as Control; + string nm = ctl.Name.ToLower(); + string search = ctl.Text.Trim(); + + Console.WriteLine("inner keydown " + nm + ":" + search); + + switch (nm) + { + case "cmbrequest": + //요청자가 마지막으로 입력한 자료의 process 를 찾아서 기입해준다. + var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc"); + if (lastprocess != "") btProcess.Text = lastprocess; + tbSID.Focus(); + break; + case "tbpumname": + Lov_Item(search, false); + break; + case "tbproject": + Lov_Project(search, false); + break; + case "tbsupply": + Lov_Supply(search, false); + break; + default: + SendKeys.Send("{TAB}"); + break; + } + } + } + private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + Lov_Item("", true); + } + + void Lov_Item(string search, Boolean allowAll) + { + if (search == "" && allowAll == false) + { + dbchk1 = string.Empty; + sidchk1 = string.Empty; + FCOMMON.Util.MsgE("품명은 필수 값 입니다"); + tbPumName.Focus(); + return; + } + else if (search.ToLower() != tbPumName.Tag.ToString().ToLower() || tbPumIDX.Text == "-1" || tbPumIDX.Text == "") //값이 바뀌엇다면 검색을 해준다. + { + var f = new FCM0000.fLovItem(search); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + dbchk1 = f.itemName; + sidchk1 = string.Empty; + + //인덱스값이 다르면 모델 및 가격을 업데이트 한다. + tbPumName.Text = f.itemName; + tbPumName.Tag = f.itemName; + + this.tbPumIDX.Text = f.item.ToString(); + this.tbPumModel.Text = f.itemmodel; + this.tbPumPrice.Text = f.itemprice.ToString(); + this.tbPumPriceD.Text = f.itempriceD.ToString(); + this.tbSID.Text = f.SID; + this.tbSID.Tag = f.SID; + this.tbPumUnit.Text = f.itemUnit; //181214 + this.tbStorage.Text = f.Storage; + this.tbPumModel.Enabled = this.tbPumModel.Text.isEmpty(); + + this.tbPumUnit.Enabled = false; + if (tbSID.Text != "") tbSID.Enabled = false; + else tbSID.Enabled = true; + + //제품을 찾앗다면 suppy 등을 업데이트 해준다. + var pcInfo = FCOMMON.DBM.getLastPurchaseInfo(f.item); + if (pcInfo.idx != -1) + { + tbSupply.Text = pcInfo.supply; + tbSupplyIndex.Text = pcInfo.supplyidx.ToString(); + if (pcInfo.project != "" && tbProject.Text == "") + tbProject.Text = pcInfo.project; + } + else + { + tbSupply.Text = f.itemSupply; + tbSupplyIndex.Text = f.itemSupplyidx.ToString(); + } + + //display image + var image = FCOMMON.DBM.GetImageData("Items", "image", int.Parse(tbPumIDX.Text)); + var oimage = this.pictureBox1.Image; + this.pictureBox1.Image = image; + if (oimage != null) oimage.Dispose(); + } + } + if (tbPumModel.Enabled) tbPumModel.Focus(); + else this.tbQtyReq.Focus(); + } + void Lov_Project(string search, Boolean allowAll) + { + if (search != "" || allowAll == true) + { + var f = new FCM0000.fLovProject(search); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + this.tbProject.Text = f.Title; + this.tbProject.Tag = f.Title; + this.tbProjectIndex.Text = f.Index.ToString(); + btSave.Focus(); + } + else + { + tbProject.SelectAll(); + tbProject.Focus(); + } + } + else this.btSave.Focus(); + } + void Lov_Supply(string search, Boolean allowAll) + { + if (search != "" || allowAll == true) + { + FCM0000.fLovSupply f = new FCM0000.fLovSupply(search); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + tbSupply.Text = f.Title; + tbSupply.Tag = f.Title; + tbSupplyIndex.Text = f.Index.ToString(); + if (advInput) + this.tbProject.Focus(); + else + this.tbBigo.Focus(); + } + else + { + tbSupply.Focus(); + tbSupply.SelectAll(); + } + } + else + { + if (advInput) + this.tbProject.Focus(); + else + this.tbBigo.Focus(); + } + } + private bool saveData() + { + this.Validate(); + + tbSID.Text = sidTrim(tbSID.Text); + + if (dbchk1.isEmpty()) + { + Util.MsgE("품목 검사가 진행되지 않았습니다\n품명을 입력한 후 엔터를 누르거나 [품명] 버튼을 눌러서 검색을 수행한 후 다시 시도하세요"); + tbPumName.Focus(); + Lov_Item(tbPumName.Text, true); + return false; + } + + //시드검사한 자료와 현재 입력된 시드가 다르면 검사를 다시 하게 한다 + if (this.tbPumName.Text.Trim().Equals(this.dbchk1) == false) + { + Util.MsgE("품명검사 자료가 변경되었습니다. 다시 검사 하세요"); + Lov_Item("", true); + dbchk1 = string.Empty; + return false; + } + + + if (tbSID.Text.Equals("신규") || tbSID.Text.isEmpty()) + { + //FCOMMON.Util.MsgI($"신규 SID로 인해 SID 검사를 진행하지 않습니다"); + } + else + { + if (string.IsNullOrWhiteSpace(this.sidchk1)) + { + FCOMMON.Util.MsgE("SID검사가 필요합니다.\n상단의 검사 버튼을 눌러 SPR/NR 재고 여부를 확인 하세요"); + btSIDChk.Focus(); + return false; + } + + //시드검사한 자료와 현재 입력된 시드가 다르면 검사를 다시 하게 한다 + if (this.tbSID.Text.Trim().Equals(this.sidchk1) == false) + { + Util.MsgE("SID검사 자료가 변경되었습니다. 다시 검사 하세요"); + sidchk1 = string.Empty; + return false; + } + } + + + if (FCOMMON.info.Login.gcode == "K4PM") + { + if(tbCostCenter.Text.isEmpty()) + { + FCOMMON.Util.MsgE("CostCenter 를 입력하세요"); + tbCostCenter.Focus(); + return false; + } + if (tbLineCode.Text.isEmpty()) + { + FCOMMON.Util.MsgE("LineCode 를 입력하세요"); + tbLineCode.Focus(); + return false; + } + if (tbManager.Text.isEmpty()) + { + FCOMMON.Util.MsgE("구매담당자 를 입력하세요"); + tbManager.Focus(); + return false; + } + } + + + //if (cbProcess.Text.Trim() == "") + //{ + // FCOMMON.Util.MsgE("추가정보내의 [공정]을 선택하세요."); + // cbProcess.Focus(); + // return false; + //} + + if (tbPumName.Text.isEmpty()) + { + FCOMMON.Util.MsgE("품명이 없습니다."); + tbPumName.Focus(); + return false; + } + + //if (tbPumModel.Text == "") + //{ + // FCOMMON.Util.MsgE("제품 규격을 입력하세요."); + // tbPumModel.Focus(); + // return false; + //} + + if (tbQtyReq.Text == "") + { + FCOMMON.Util.MsgE("수량(요청)을 입력하세요."); + tbQtyReq.Focus(); + return false; + } + + //실수량은 구매담당자만 입력한다 + if (tbBigoChk.Enabled && (cmbState.Text == "PO" || cmbState.Text == "PR")) + { + var qtycnv = int.TryParse(tbQtyReal.Text, out int qtyreq); + if (qtycnv == false || qtyreq < 1) + { + FCOMMON.Util.MsgE("수량(실 구매)을 입력하세요."); + tbQtyReal.Focus(); + return false; + } + } + + if (advInput == true) + { + if (tbOrderNo.Text.isEmpty() == false && tbProjectIndex.Text != "-1") + { + FCOMMON.Util.MsgI("구매경고\n" + + "프로젝트가 할당 되어있으며 CR/CF값이 입력되어있습니다.\n" + + "CR/CF 구매의 경우 프로젝트 파트리스트를 통해서 구매 신청 하세요\n" + + "이 화면은 NR구매요청 입니다"); + } + + if (tbProject.Text == "") + { + //프로젝트명에 입력이 안되있다 + if (tbProjectIndex.Text != "-1") this.tbProjectIndex.Text = "-1"; + } + else + { + //프로젝트에 뭔가를 입력했다 + if (tbProjectIndex.Text == "-1") + { + FCOMMON.Util.MsgE("프로젝트가 선택되지 않았습니다. 직접입력은 허용되지 않습니다.\n" + + "프로젝트 명을 입력하고 Enter 키를 눌러서 관련 프로젝트를 선택하세요\n" + + "프로젝트가 없는 경우에는 비고란에 해당 내용을 기입하세요"); + tbProject.Focus(); + tbProject.SelectAll(); + return false; + } + } + } + + if (tbStorage.Text.Equals("SPR")) + { + if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes) + return false; + } + + if (chkInDate.Checked) + { + if (int.TryParse(tbInQty.Text.Replace(",", ""), out int qty) == false) + { + if (FCOMMON.Util.MsgQ("입고 정보가 설정되어 있지만 입고 수량값이 없습니다") != DialogResult.Yes) + { + tbInQty.Focus(); + tbInQty.SelectAll(); + return false; + } + } + } + + var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); + if (overtime.TotalSeconds > 0 && FCOMMON.info.Login.gcode != "K4PM") + { + if (advInput == true && this.btProcess.Text.Trim() == "") + { + if (FCOMMON.info.Login.level >= 5) + { + var dlg = FCOMMON.Util.MsgQ("[공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n"); + if (dlg != System.Windows.Forms.DialogResult.Yes) + { + btProcess.Focus(); + return false; + } + } + else + { + FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n"); + + btProcess.Focus(); + return false; + } + } + if (advInput == true && btManuProc.Text.Trim() == "") + { + if (FCOMMON.info.Login.level >= 5) + { + var dlg = FCOMMON.Util.MsgQ("[제조공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n"); + if (dlg != System.Windows.Forms.DialogResult.Yes) + { + btManuProc.Focus(); + return false; + } + } + else + { + FCOMMON.Util.MsgE("[제조공정]을 선택하세요\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n"); + + btManuProc.Focus(); + return false; + } + } + if (advInput == true && this.btEQManu.Text.Trim() == "") + { + if (FCOMMON.info.Login.level >= 5) + { + var dlg = FCOMMON.Util.MsgQ("[장비제조사]를 입력하지 않고 진행 하시겠습니까?\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n"); + if (dlg != System.Windows.Forms.DialogResult.Yes) + { + btEQManu.Focus(); + return false; + } + } + else + { + FCOMMON.Util.MsgE("[장비제조사]를 선택하세요.\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n"); + btEQManu.Focus(); + return false; + } + } + + } + + //프로젝트명이 업다면 사유가 반드시 입력되어ㅑㅇ 하낟. + if (tbProject.Text.isEmpty() && tbBigo.Text.isEmpty()) + { + Util.MsgE("구매자 비고(=구매사유)를 입력하세요\n프로젝트가 없다면 사유가 입력되어야 합니다"); + tbBigo.Focus(); + return false; + } + + //if (dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Added) + //{ + // if (dr.sc != tbSC.Text.Trim() && tbSC.Text != "") + // { + // //dtPdate.Value = DateTime.Now; + // this.cmbState.SelectedValue = "Approving"; + // //if (dr.state == "00") dr.state = "01"; //approv 변경 + // } + //} + + //품목정보에 없는 데이터이므로 자료를 추가한다. + if (tbPumIDX.Text == "-1") + { + var newidx = FCOMMON.DBM.addItem(tbPumName.Text, tbSID.Text, tbPumModel.Text.Trim(), decimal.Parse(tbPumPrice.Text), tbSupply.Text.Trim(), int.Parse(tbSupplyIndex.Text), null); + if (newidx > 0) tbPumIDX.Text = newidx.ToString(); + } + else if (tbSID.Text != "" && tbSID.Text != tbSID.Tag.ToString()) + { + //SID가 변경되었으므로 업데이트 해주낟. + FCOMMON.DBM.UpdateItemSID(int.Parse(tbPumIDX.Text), tbSID.Text); + } + + //수령을 했는데. 현재 상태가 04 미만이면 04(수령)으로 변경 한다. + if (chkInDate.Checked) + { + var curState = this.cmbState.Text.Trim(); + if (curState.ToLower() == "po" || curState.ToLower() == "pr" || + curState.ToLower() == "approving") + { + this.cmbState.SelectedValue = "Received"; + } + + } + + //단가가없는경우 생성한다. + if (decimal.TryParse(tbPumPrice.Text, out decimal vprice) == false) + { + if (decimal.TryParse(tbPumPriceD.Text, out decimal vpriced) == true) + { + applyDollerToWon(); + } + } + + if (int.TryParse(tbQtyReq.Text, out int vqtyreq) == false) + tbQtyReq.Text = "0"; + if (int.TryParse(tbQtyReal.Text, out int vqtyreal) == false) + tbQtyReal.Text = "0"; + if (decimal.TryParse(tbPumPrice.Text, out decimal vpumprice) == false) + tbPumPrice.Text = "0"; + + //요청 구매 수량이 다를경우 비고 입력이 필요함 + if (vqtyreal > 0 && vqtyreq > 0 && vqtyreq != vqtyreal) + { + if (tbBigoChk.Text.isEmpty()) + { + Util.MsgE("구매 요청/실 수량이 서로 다릅니다\n구매자 비고에 해당 사유를 입력하세요"); + tbBigoChk.Focus(); + return false; + } + } + + dr.pumqty = vqtyreal;// int.Parse(tbPumQty.Text); + dr.pumqtyReq = vqtyreq;// int.Parse(tbpumqtyReq.Text); + dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text); + dr.currency = cmbCurrency.Text.Trim(); + + if (decimal.TryParse(tbPumPriceD.Text, out decimal priced)) + { + dr.pumpriceD = priced; + } + else dr.SetpumpriceDNull(); + + if (vqtyreal > 0) dr.pumamt = dr.pumqty * dr.pumprice; + else dr.pumamt = dr.pumqtyReq * dr.pumprice; + + if (tbPumIDX.Text == "" || tbPumIDX.Text == "-1") dr.SetpumidxNull(); + else dr.pumidx = int.Parse(tbPumIDX.Text); + dr.sid = tbSID.Text.Trim(); + + if (chkExp.Checked) dr.edate = this.dtExpDate.Value.ToShortDateString(); + else dr.SetedateNull(); + if (chkInDate.Checked) dr.indate = this.dtInDate.Value.ToShortDateString(); + else dr.SetindateNull(); + dr.pdate = this.dtPdate.Value.ToShortDateString(); + + dr.gcode = FCOMMON.info.Login.gcode; + if (cmbRequest.Text.IndexOf("]") != -1) + dr.request = cmbRequest.Text.Substring(1, cmbRequest.Text.IndexOf("]") - 1); + else + dr.request = cmbRequest.Text.Trim(); + + dr.sid = tbSID.Text; + + dr.asset = btEQModel.Text; + dr.dept = btEQManu.Text; + dr.manuproc = btManuProc.Text; + + dr.pumname = tbPumName.Text; + dr.pumname = dr.pumname.Replace("*", "x"); //181031 + + dr.pumscale = tbPumModel.Text; + dr.pumscale = dr.pumscale.Replace("*", "x"); //181031 + dr.pumunit = tbPumUnit.Text; + + dr.supply = tbSupply.Text; + dr.place = tbStorage.Text; + dr.costcenter = tbCostCenter.Text; + dr.linecode = tbLineCode.Text; + + dr.purchase_manager = tbManager.Text; + dr.purchase_admin = tbAdmin.Text; + + if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull(); + else dr.supplyidx = int.Parse(tbSupplyIndex.Text); + + dr.project = tbProject.Text; + if (tbProjectIndex.Text == "") dr.SetprojectidxNull(); + else dr.projectidx = int.Parse(tbProjectIndex.Text); + + dr.state = cmbState.Text.Trim(); + + if (cmbReceive.Text.IndexOf("]") != -1) + dr.receive = cmbReceive.Text.Substring(1, cmbReceive.Text.IndexOf("]") - 1); + else + dr.receive = cmbReceive.Text.Trim(); + + dr.process = btProcess.Text; + dr.sc = tbSC.Text; + dr.po = tbPO.Text; + dr.orderno = tbOrderNo.Text; + dr.bigo = tbBigo.Text; + dr.chkremark = tbBigoChk.Text; + + if (chkInDate.Checked) + dr.inqty = int.Parse(tbInQty.Text.Replace(",", "")); + else dr.SetinqtyNull(); + + //품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교) + //품정보가 없다면 그대로 생성을 해준다. + if (tbPumIDX.Text == "" || tbPumIDX.Text == "-1") + { + + //아이템을 추가해야하낟. + byte[] pic = null; + if (this.pictureBox1.Image != null && this.pictureBox1.Tag.ToString() == "U") + { + //이미지를 변경해줘야 한다. + pic = FCOMMON.DBM.getImagByteArray(this.pictureBox1.Image); + } + var newidx = FCOMMON.DBM.addItem(dr.pumname, dr.sid, dr.pumscale, dr.pumprice, dr.supply, dr.supplyidx, pic); + if (newidx != -1) + { + dr.pumidx = newidx; + Console.WriteLine("new pumidx set = " + dr.pumidx.ToString()); + } + } + else + { + //아이템을 추가해야한다(변경된 이름은 + if (this.pictureBox1.Image != null && this.pictureBox1.Tag.ToString() == "U") + { + //이미지를 변경해줘야 한다. + FCOMMON.DBM.setImageData(this.pictureBox1.Image, "Items", "image", dr.pumidx); + } + } + + dr.EndEdit(); + + return true; + } + + private void button1_Click(object sender, EventArgs e) + { + if (!saveData()) return; + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + private void chkInDate_CheckedChanged(object sender, EventArgs e) + { + this.dtInDate.Enabled = chkInDate.Checked; + } + + private void chkExp_CheckedChanged(object sender, EventArgs e) + { + this.dtExpDate.Enabled = chkExp.Checked; + } + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + //string code = ""; + //if (cmbState.SelectedIndex < 0) label3.Text = "--"; + //else + //{ + // //var value = cmbState.DataSource as BindingSource; + // //var list = value.DataSource as Dictionary; + // //var item = list.Values + // if (cmbState.Text.StartsWith("[") == false) return; + // code = cmbState.Text.ToString().Substring(1, 2); + // var desc = FCOMMON.DBM.getCodeSavlue("04", code); + // label3.Text = desc; + + //} + //switch (code) + //{ + // case "01": + // label3.BackColor = Color.LightBlue; + // break; + // case "02": + // label3.BackColor = Color.SkyBlue; + // break; + // case "03": + // label3.BackColor = Color.Yellow; + // break; + // case "04": + // label3.BackColor = Color.Green; + // break; + // case "06": + // case "05": + // label3.BackColor = Color.Red; + // break; + // case "07": + // label3.BackColor = Color.Magenta; + // break; + // default: + // label3.BackColor = Color.LightGray; + // break; + //} + + } + + private void button2_Click(object sender, EventArgs e) + { + if (!saveData()) return; + this.repeatAdd = true; + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + private void tbPumQty_TextChanged(object sender, EventArgs e) + { + var b1 = int.TryParse(tbQtyReal.Text, out int qtyreal); + var b2 = int.TryParse(tbQtyReq.Text, out int qtyreq); + var b3 = double.TryParse(tbPumPrice.Text, out double price); + double amt = 0; + + //실구매수량이 잇으면 그걸로한다 + if (qtyreal > 0) amt = qtyreal * price; + else amt = qtyreq * price; + + tbPumAmt.Text = amt.ToString("N0"); + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + + } + + private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + + } + + + + + private void linkLabel6_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + + } + + private void linkLabel7_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + + } + + void tbProject_Leave(object sender, EventArgs e) + { + //커서를 빠져나갈떄 사용자가 이름만 변경했다면 선택 idx를 제거해준다. + var tb = sender as TextBox; + if (tb.Text == "") tbProjectIndex.Text = "-1"; + else if (tb.Text != tb.Tag.ToString()) tbProjectIndex.Text = "-1"; + } + + void tbSupply_Leave(object sender, EventArgs e) + { + //커서를 빠져나갈떄 사용자가 이름만 변경했다면 선택 idx를 제거해준다.\ + var tb = sender as TextBox; + if (tb.Text == "") tbSupplyIndex.Text = "-1"; + else if (tb.Text != tb.Tag.ToString()) tbSupplyIndex.Text = "-1"; + } + + void tbPumName_Leave(object sender, EventArgs e) + { + //커서를 빠져나갈떄 사용자가 이름만 변경했다면 선택 idx를 제거해준다. + var tb = sender as TextBox; + if (tb.Text == "") tbPumIDX.Text = "-1"; + else if (tb.Text != tb.Tag.ToString()) tbPumIDX.Text = "-1"; + if (tbPumIDX.Text == "-1") + { + tbPumModel.Enabled = true; + tbPumUnit.Enabled = true; + } + } + + private void tbPumName_Click(object sender, EventArgs e) + { + //Lov_Item("", true); + } + + private void tbPumName_TextChanged(object sender, EventArgs e) + { + + } + + private void button1_Click_1(object sender, EventArgs e) + { + Lov_Item(tbPumName.Text, true); + } + + private void button2_Click_1(object sender, EventArgs e) + { + //lov 공급처 + Lov_Supply("", true); + } + + private void button3_Click(object sender, EventArgs e) + { + //lov 프로젝트 + Lov_Project("", true); + } + + private void button4_Click(object sender, EventArgs e) + { + if (!Clipboard.ContainsImage()) + { + FCOMMON.Util.MsgE("이미지를 먼저 클립보드에 복사 하세요."); + return; + } + + var image = Clipboard.GetImage(); + var oimage = this.pictureBox1.Image; + this.pictureBox1.Image = image; + this.pictureBox1.Tag = "U"; + if (oimage != null) oimage.Dispose(); + } + + private void button5_Click(object sender, EventArgs e) + { + //FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex); + //if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + //{ + // var bmp = f.bmp.Clone(); + // Application.DoEvents(); + // var oimag = this.pictureBox1.Image; + // this.pictureBox1.Image = (Image)bmp; + // if (oimag != null) oimag.Dispose(); + //} + } + + private void button6_Click(object sender, EventArgs e) + { + OpenFileDialog od = new OpenFileDialog(); + if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; + var image = Image.FromFile(od.FileName); + var oimage = this.pictureBox1.Image; + this.pictureBox1.Image = image; + this.pictureBox1.SizeMode = PictureBoxSizeMode.Zoom; + this.pictureBox1.Tag = "U"; + if (oimage != null) oimage.Dispose(); + } + + private void button7_Click(object sender, EventArgs e) + { + var datapath = FCOMMON.DBM.getCodeSvalue("55", "02"); + if (datapath.isEmpty()) + { + FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요"); + return; + } + string path = System.IO.Path.Combine(datapath, DateTime.Now.Year.ToString("0000") + "년");// "\\\\k4fs3201n\\ee1t$\\1. 장비기술1파트\\24_Project & Overhaul 예산 사용 실적\\구매 견적서\\" + DateTime.Now.Year.ToString("0000") + "년"; + if (System.IO.Directory.Exists(path) == false) + FCOMMON.Util.RunExplorer(datapath); + else + FCOMMON.Util.RunExplorer(path); + } + + private void tbDolloerPrice_TextChanged(object sender, EventArgs e) + { + //단가에 금액이 없는경우에는 환율을 곱해준다. + //if ( decimal.TryParse(tbPumPrice.Text, out decimal result) == false || result == 0) + if (binit) + { + if (decimal.TryParse(tbPumPriceD.Text, out decimal priced) == true) + { + applyDollerToWon(); + } + else + { + //달러입력값도 이상하니 처리 못함 + tbPumPrice.Text = "0"; + } + } + + } + void applyDollerToWon() + { + if (decimal.TryParse(tbPumPriceD.Text, out decimal priced)) + { + var price = FCOMMON.info.dollertowon * (double)priced; + tbPumPrice.Text = (Math.Ceiling(price)).ToString(); + } + else tbPumPrice.Text = "0"; + } + + private void btSIDChk_Click(object sender, EventArgs e) + { + var sid = tbSID.Text.Trim(); + + if (sid.Equals("신규") || sid.isEmpty()) + { + Util.MsgI($"신규SID는 검사를 진행하지 않습니다"); + return; + } + + + if (sid.Length != 9) + { + FCOMMON.Util.MsgE("검색 할 SID를 입력하세요"); + tbSID.Focus(); + tbSID.SelectAll(); + return; + } + + var dt = Amkor.RestfulService.SPMSIDSearch(sid); + if (dt.Complete) + { + var f = new fSIDListSelect(sid, dt.Result); + if (f.ShowDialog() == DialogResult.OK) + { + dr.chk1 = true; + this.sidchk1 = sid; + } + else + { + Util.MsgE("목록표시 창에서 '확인' 버튼을 눌러야 SID검색이 완료됩니다."); + } + } + else + { + Util.MsgI("SPM/NR 에서 검색된 정보가 없습니다\n저장이 가능 합니다"); + this.sidchk1 = sid; + } + + } + + private void timer1_Tick(object sender, EventArgs e) + { + if (tbSID.TextLength != 9) + { + if (tbSID.Text.Equals("신규") || tbSID.Text.isEmpty()) + { + btSIDChk.BackColor = Color.Gray; + } + else + { + if (btSIDChk.BackColor == Color.Gray) + btSIDChk.BackColor = Color.Tomato; + else + btSIDChk.BackColor = Color.Gray; + } + } + else + { + if (string.IsNullOrWhiteSpace(sidchk1)) + { + if (btSIDChk.BackColor == Color.Lime) + btSIDChk.BackColor = Color.White; + else + btSIDChk.BackColor = Color.Lime; + } + else btSIDChk.BackColor = SystemColors.Control; + } + + } + + private void processLabel_Click(object sender, EventArgs e) + { + //var f = new FCM0000.fCode("09"); + //var dlg = f.ShowDialog(); + //if (dlg == DialogResult.OK) + //{ + // //장비기술공정 + // var dt = FCOMMON.DBM.getCodeTable("09"); + // this.cbProcess.DataSource = dt; + // cbProcess.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1; + //} + } + + private void groupBox1_Enter(object sender, EventArgs e) + { + + } + + private void btProcess_Click(object sender, EventArgs e) + { + var bt = sender as Button; + var guun = bt.Tag.ToString(); + var f = new FCM0000.fCode(guun); + var dlg = f.ShowDialog(); + if (dlg == DialogResult.OK) + { + //장비기술공정; + bt.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1; + } + } + + private void tbSC_TextChanged(object sender, EventArgs e) + { + + } + + + + private void cbEQModel_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void cbEQManu_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void button8_Click_1(object sender, EventArgs e) + { + if (btEQManu.Text.isEmpty()) + { + Util.MsgE("장비 제조사가 선택되지 않았습니다"); + btEQManu.Focus(); + return; + } + + string filter = "svalue='" + btEQManu.Text.Replace("'", "''") + "'"; + + var bt = sender as Button; + var guun = bt.Tag.ToString(); + var f = new FCM0000.fCode(guun, filter); + var dlg = f.ShowDialog(); + if (dlg == DialogResult.OK) + { + //장비기술공정; + bt.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1; + } + } + } +} diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.resx b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.resx new file mode 100644 index 0000000..f286013 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Add.resx @@ -0,0 +1,262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 490, 17 + + + * 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) +* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) +* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등) +* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) +* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 프로젝트 명 (관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 부품..) +공용 공구 / 상세한 사유 작성 (공용으로 보관하여 함께 쓰는 공구들..전동 드릴 등…) +공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들.. 방청제, WIRE, CONNECTOR, PIN 등 ) +공정 정비 파트 / 상세한 사유 작성 (주,보조 공정에서 사용되는 부품..Overhaul 및 개선 지원 부품, FEEDER WHEEL, , 장비 교체 파트 등) +개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRENCH, DRIVER, DRILL, TAP 등..) +기타 물품 / 상세한 사유 작성 (상기항목에 포함되지 않는 것들…관리 및 정리에 사용되는 물품 등..) + + + + False + + + False + + + False + + + False + + + False + + + False + + + * 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) +* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) +* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등) +* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) +* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + + False + + + False + + + False + + + False + + + False + + + * 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) +* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) +* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등) +* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) +* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + + * 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) +* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) +* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등) +* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) +* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + + 587, 17 + + + 17, 17 + + + 131, 17 + + + 313, 17 + + + 58 + + \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.Designer.cs new file mode 100644 index 0000000..9bed00a --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.Designer.cs @@ -0,0 +1,794 @@ + +namespace FEQ0000.Purchase +{ + partial class fPurchaseEB_Ipgo + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.Label label17; + System.Windows.Forms.Label label12; + System.Windows.Forms.Label label11; + System.Windows.Forms.Label label5; + System.Windows.Forms.Label label9; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label assetLabel; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label label16; + System.Windows.Forms.Label label20; + System.Windows.Forms.Label label8; + System.Windows.Forms.Label receiveLabel; + System.Windows.Forms.Label label13; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label10; + System.Windows.Forms.Label label15; + System.Windows.Forms.Label label14; + System.Windows.Forms.Label label7; + this.panel1 = new System.Windows.Forms.Panel(); + this.tbPrjStatus = new System.Windows.Forms.TextBox(); + this.tbPrjIdx = new System.Windows.Forms.TextBox(); + this.tbPrjSerial = new System.Windows.Forms.TextBox(); + this.tbPrjModel = new System.Windows.Forms.TextBox(); + this.tbPrjProcess = new System.Windows.Forms.TextBox(); + this.tbProjOrderNo = new System.Windows.Forms.TextBox(); + this.tbPrjMemo = new System.Windows.Forms.TextBox(); + this.tbPrjAsset = new System.Windows.Forms.TextBox(); + this.arLabel2 = new System.Windows.Forms.Label(); + this.tbPrjName = new System.Windows.Forms.TextBox(); + this.tbIdx = new System.Windows.Forms.TextBox(); + this.panel2 = new System.Windows.Forms.Panel(); + this.tbRemarkO = new System.Windows.Forms.TextBox(); + this.tbAmt = new System.Windows.Forms.TextBox(); + this.tbPriceO = new System.Windows.Forms.TextBox(); + this.tbQty = new System.Windows.Forms.TextBox(); + this.tbUnit = new System.Windows.Forms.TextBox(); + this.tbModel = new System.Windows.Forms.TextBox(); + this.arLabel1 = new System.Windows.Forms.Label(); + this.tbPumname = new System.Windows.Forms.TextBox(); + this.textBox16 = new System.Windows.Forms.TextBox(); + this.tbPO = new System.Windows.Forms.TextBox(); + this.panel3 = new System.Windows.Forms.Panel(); + this.tbInPrice = new System.Windows.Forms.TextBox(); + this.cmbReceive = new System.Windows.Forms.ComboBox(); + this.tbInRemark = new System.Windows.Forms.TextBox(); + this.tbInQty = new System.Windows.Forms.TextBox(); + this.chkInDate = new System.Windows.Forms.CheckBox(); + this.dtInDate = new System.Windows.Forms.DateTimePicker(); + this.btOK = new System.Windows.Forms.Button(); + this.arLabel3 = new System.Windows.Forms.Label(); + this.tbSID = new System.Windows.Forms.TextBox(); + this.tbSCRCF = new System.Windows.Forms.TextBox(); + this.tbSC = new System.Windows.Forms.TextBox(); + label17 = new System.Windows.Forms.Label(); + label12 = new System.Windows.Forms.Label(); + label11 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label9 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + assetLabel = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + nameLabel = new System.Windows.Forms.Label(); + label16 = new System.Windows.Forms.Label(); + label20 = new System.Windows.Forms.Label(); + label8 = new System.Windows.Forms.Label(); + receiveLabel = new System.Windows.Forms.Label(); + label13 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label10 = new System.Windows.Forms.Label(); + label15 = new System.Windows.Forms.Label(); + label14 = new System.Windows.Forms.Label(); + label7 = new System.Windows.Forms.Label(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.panel3.SuspendLayout(); + this.SuspendLayout(); + // + // label17 + // + label17.AutoSize = true; + label17.Location = new System.Drawing.Point(300, 148); + label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label17.Name = "label17"; + label17.Size = new System.Drawing.Size(68, 12); + label17.TabIndex = 97; + label17.Text = "Project No."; + // + // label12 + // + label12.AutoSize = true; + label12.Location = new System.Drawing.Point(56, 148); + label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label12.Name = "label12"; + label12.Size = new System.Drawing.Size(29, 12); + label12.TabIndex = 96; + label12.Text = "공정"; + // + // label11 + // + label11.AutoSize = true; + label11.Location = new System.Drawing.Point(325, 125); + label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label11.Name = "label11"; + label11.Size = new System.Drawing.Size(43, 12); + label11.TabIndex = 94; + label11.Text = "Serial#"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(39, 125); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(46, 12); + label5.TabIndex = 92; + label5.Text = "Model#"; + // + // label9 + // + label9.AutoSize = true; + label9.Location = new System.Drawing.Point(27, 101); + label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new System.Drawing.Size(58, 12); + label9.TabIndex = 12; + label9.Text = "SCR/CF#"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(56, 78); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(29, 12); + label4.TabIndex = 6; + label4.Text = "비고"; + // + // assetLabel + // + assetLabel.AutoSize = true; + assetLabel.Location = new System.Drawing.Point(24, 56); + assetLabel.Name = "assetLabel"; + assetLabel.Size = new System.Drawing.Size(61, 12); + assetLabel.TabIndex = 2; + assetLabel.Text = "Asset No."; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(382, 78); + label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(24, 12); + label3.TabIndex = 8; + label3.Text = "IDX"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(377, 56); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(29, 12); + label2.TabIndex = 4; + label2.Text = "상태"; + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(32, 34); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(53, 12); + nameLabel.TabIndex = 0; + nameLabel.Text = "프로젝트"; + // + // label16 + // + label16.AutoSize = true; + label16.Location = new System.Drawing.Point(40, 62); + label16.Name = "label16"; + label16.Size = new System.Drawing.Size(59, 12); + label16.TabIndex = 2; + label16.Text = "모델/단위"; + // + // label20 + // + label20.AutoSize = true; + label20.Location = new System.Drawing.Point(70, 33); + label20.Name = "label20"; + label20.Size = new System.Drawing.Size(29, 12); + label20.TabIndex = 0; + label20.Text = "품명"; + // + // label8 + // + label8.AutoSize = true; + label8.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label8.Location = new System.Drawing.Point(13, 148); + label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label8.Name = "label8"; + label8.Size = new System.Drawing.Size(92, 28); + label8.TabIndex = 107; + label8.Text = "입고수량"; + // + // receiveLabel + // + receiveLabel.AutoSize = true; + receiveLabel.Location = new System.Drawing.Point(14, 38); + receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + receiveLabel.Name = "receiveLabel"; + receiveLabel.Size = new System.Drawing.Size(41, 12); + receiveLabel.TabIndex = 111; + receiveLabel.Text = "수령인"; + // + // label13 + // + label13.AutoSize = true; + label13.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label13.Location = new System.Drawing.Point(53, 186); + label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label13.Name = "label13"; + label13.Size = new System.Drawing.Size(52, 28); + label13.TabIndex = 113; + label13.Text = "단가"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(69, 126); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(29, 12); + label6.TabIndex = 97; + label6.Text = "비고"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(9, 97); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(89, 12); + label1.TabIndex = 98; + label1.Text = "수량/단가/금액"; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.Gainsboro; + this.panel1.Controls.Add(this.tbPrjStatus); + this.panel1.Controls.Add(label17); + this.panel1.Controls.Add(this.tbPrjIdx); + this.panel1.Controls.Add(label12); + this.panel1.Controls.Add(label11); + this.panel1.Controls.Add(this.tbPrjSerial); + this.panel1.Controls.Add(label5); + this.panel1.Controls.Add(this.tbPrjModel); + this.panel1.Controls.Add(this.tbPrjProcess); + this.panel1.Controls.Add(label9); + this.panel1.Controls.Add(this.tbProjOrderNo); + this.panel1.Controls.Add(this.tbPrjMemo); + this.panel1.Controls.Add(label4); + this.panel1.Controls.Add(this.tbPrjAsset); + this.panel1.Controls.Add(this.arLabel2); + this.panel1.Controls.Add(assetLabel); + this.panel1.Controls.Add(label3); + this.panel1.Controls.Add(this.tbPrjName); + this.panel1.Controls.Add(label2); + this.panel1.Controls.Add(nameLabel); + this.panel1.Controls.Add(this.tbIdx); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(582, 171); + this.panel1.TabIndex = 87; + // + // tbPrjStatus + // + this.tbPrjStatus.Location = new System.Drawing.Point(413, 52); + this.tbPrjStatus.Name = "tbPrjStatus"; + this.tbPrjStatus.ReadOnly = true; + this.tbPrjStatus.Size = new System.Drawing.Size(161, 21); + this.tbPrjStatus.TabIndex = 99; + this.tbPrjStatus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrjIdx + // + this.tbPrjIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPrjIdx.Location = new System.Drawing.Point(376, 144); + this.tbPrjIdx.Name = "tbPrjIdx"; + this.tbPrjIdx.ReadOnly = true; + this.tbPrjIdx.Size = new System.Drawing.Size(198, 21); + this.tbPrjIdx.TabIndex = 98; + this.tbPrjIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrjSerial + // + this.tbPrjSerial.Location = new System.Drawing.Point(376, 121); + this.tbPrjSerial.Name = "tbPrjSerial"; + this.tbPrjSerial.ReadOnly = true; + this.tbPrjSerial.Size = new System.Drawing.Size(198, 21); + this.tbPrjSerial.TabIndex = 95; + this.tbPrjSerial.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrjModel + // + this.tbPrjModel.Location = new System.Drawing.Point(93, 121); + this.tbPrjModel.Name = "tbPrjModel"; + this.tbPrjModel.ReadOnly = true; + this.tbPrjModel.Size = new System.Drawing.Size(190, 21); + this.tbPrjModel.TabIndex = 93; + this.tbPrjModel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrjProcess + // + this.tbPrjProcess.Font = new System.Drawing.Font("굴림", 9F); + this.tbPrjProcess.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPrjProcess.Location = new System.Drawing.Point(93, 144); + this.tbPrjProcess.Name = "tbPrjProcess"; + this.tbPrjProcess.ReadOnly = true; + this.tbPrjProcess.Size = new System.Drawing.Size(190, 21); + this.tbPrjProcess.TabIndex = 90; + // + // tbProjOrderNo + // + this.tbProjOrderNo.Location = new System.Drawing.Point(93, 98); + this.tbProjOrderNo.Name = "tbProjOrderNo"; + this.tbProjOrderNo.ReadOnly = true; + this.tbProjOrderNo.Size = new System.Drawing.Size(481, 21); + this.tbProjOrderNo.TabIndex = 13; + this.tbProjOrderNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrjMemo + // + this.tbPrjMemo.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPrjMemo.Location = new System.Drawing.Point(93, 74); + this.tbPrjMemo.Name = "tbPrjMemo"; + this.tbPrjMemo.ReadOnly = true; + this.tbPrjMemo.Size = new System.Drawing.Size(252, 21); + this.tbPrjMemo.TabIndex = 7; + // + // tbPrjAsset + // + this.tbPrjAsset.Location = new System.Drawing.Point(93, 52); + this.tbPrjAsset.Name = "tbPrjAsset"; + this.tbPrjAsset.ReadOnly = true; + this.tbPrjAsset.Size = new System.Drawing.Size(252, 21); + this.tbPrjAsset.TabIndex = 3; + // + // arLabel2 + // + this.arLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel2.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel2.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel2.ForeColor = System.Drawing.Color.Black; + this.arLabel2.Location = new System.Drawing.Point(0, 0); + this.arLabel2.Name = "arLabel2"; + this.arLabel2.Size = new System.Drawing.Size(582, 23); + this.arLabel2.TabIndex = 86; + this.arLabel2.Text = "프로젝트"; + this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tbPrjName + // + this.tbPrjName.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPrjName.Location = new System.Drawing.Point(93, 30); + this.tbPrjName.Name = "tbPrjName"; + this.tbPrjName.ReadOnly = true; + this.tbPrjName.Size = new System.Drawing.Size(481, 21); + this.tbPrjName.TabIndex = 1; + // + // tbIdx + // + this.tbIdx.Location = new System.Drawing.Point(413, 74); + this.tbIdx.Name = "tbIdx"; + this.tbIdx.ReadOnly = true; + this.tbIdx.Size = new System.Drawing.Size(161, 21); + this.tbIdx.TabIndex = 9; + this.tbIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.Gainsboro; + this.panel2.Controls.Add(this.tbSCRCF); + this.panel2.Controls.Add(this.tbSC); + this.panel2.Controls.Add(label10); + this.panel2.Controls.Add(label15); + this.panel2.Controls.Add(this.tbSID); + this.panel2.Controls.Add(this.tbRemarkO); + this.panel2.Controls.Add(this.tbAmt); + this.panel2.Controls.Add(this.tbPriceO); + this.panel2.Controls.Add(this.tbQty); + this.panel2.Controls.Add(label6); + this.panel2.Controls.Add(label1); + this.panel2.Controls.Add(this.tbUnit); + this.panel2.Controls.Add(this.tbModel); + this.panel2.Controls.Add(this.arLabel1); + this.panel2.Controls.Add(label16); + this.panel2.Controls.Add(this.tbPumname); + this.panel2.Controls.Add(label20); + this.panel2.Controls.Add(this.textBox16); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(0, 171); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(582, 192); + this.panel2.TabIndex = 88; + // + // tbRemarkO + // + this.tbRemarkO.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbRemarkO.Location = new System.Drawing.Point(104, 123); + this.tbRemarkO.Name = "tbRemarkO"; + this.tbRemarkO.ReadOnly = true; + this.tbRemarkO.Size = new System.Drawing.Size(466, 21); + this.tbRemarkO.TabIndex = 102; + // + // tbAmt + // + this.tbAmt.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbAmt.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbAmt.Location = new System.Drawing.Point(370, 86); + this.tbAmt.Name = "tbAmt"; + this.tbAmt.ReadOnly = true; + this.tbAmt.Size = new System.Drawing.Size(200, 34); + this.tbAmt.TabIndex = 101; + this.tbAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // tbPriceO + // + this.tbPriceO.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbPriceO.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPriceO.Location = new System.Drawing.Point(237, 86); + this.tbPriceO.Name = "tbPriceO"; + this.tbPriceO.ReadOnly = true; + this.tbPriceO.Size = new System.Drawing.Size(129, 34); + this.tbPriceO.TabIndex = 100; + this.tbPriceO.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // tbQty + // + this.tbQty.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbQty.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbQty.Location = new System.Drawing.Point(104, 86); + this.tbQty.Name = "tbQty"; + this.tbQty.ReadOnly = true; + this.tbQty.Size = new System.Drawing.Size(127, 34); + this.tbQty.TabIndex = 99; + // + // tbUnit + // + this.tbUnit.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); + this.tbUnit.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbUnit.Location = new System.Drawing.Point(302, 53); + this.tbUnit.Name = "tbUnit"; + this.tbUnit.ReadOnly = true; + this.tbUnit.Size = new System.Drawing.Size(127, 30); + this.tbUnit.TabIndex = 7; + // + // tbModel + // + this.tbModel.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); + this.tbModel.Location = new System.Drawing.Point(104, 53); + this.tbModel.Name = "tbModel"; + this.tbModel.ReadOnly = true; + this.tbModel.Size = new System.Drawing.Size(192, 30); + this.tbModel.TabIndex = 3; + // + // arLabel1 + // + this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel1.ForeColor = System.Drawing.Color.Black; + this.arLabel1.Location = new System.Drawing.Point(0, 0); + this.arLabel1.Name = "arLabel1"; + this.arLabel1.Size = new System.Drawing.Size(582, 23); + this.arLabel1.TabIndex = 86; + this.arLabel1.Text = "품목정보"; + this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tbPumname + // + this.tbPumname.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPumname.Location = new System.Drawing.Point(104, 29); + this.tbPumname.Name = "tbPumname"; + this.tbPumname.ReadOnly = true; + this.tbPumname.Size = new System.Drawing.Size(325, 21); + this.tbPumname.TabIndex = 1; + // + // textBox16 + // + this.textBox16.Location = new System.Drawing.Point(433, 29); + this.textBox16.Name = "textBox16"; + this.textBox16.ReadOnly = true; + this.textBox16.Size = new System.Drawing.Size(137, 21); + this.textBox16.TabIndex = 9; + this.textBox16.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPO + // + this.tbPO.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbPO.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPO.Location = new System.Drawing.Point(110, 298); + this.tbPO.Name = "tbPO"; + this.tbPO.Size = new System.Drawing.Size(320, 38); + this.tbPO.TabIndex = 104; + // + // panel3 + // + this.panel3.BackColor = System.Drawing.Color.Gainsboro; + this.panel3.Controls.Add(label14); + this.panel3.Controls.Add(label7); + this.panel3.Controls.Add(this.tbInPrice); + this.panel3.Controls.Add(label13); + this.panel3.Controls.Add(receiveLabel); + this.panel3.Controls.Add(this.tbPO); + this.panel3.Controls.Add(this.cmbReceive); + this.panel3.Controls.Add(this.tbInRemark); + this.panel3.Controls.Add(this.tbInQty); + this.panel3.Controls.Add(label8); + this.panel3.Controls.Add(this.chkInDate); + this.panel3.Controls.Add(this.dtInDate); + this.panel3.Controls.Add(this.btOK); + this.panel3.Controls.Add(this.arLabel3); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(0, 363); + this.panel3.Name = "panel3"; + this.panel3.Padding = new System.Windows.Forms.Padding(0, 0, 10, 10); + this.panel3.Size = new System.Drawing.Size(582, 351); + this.panel3.TabIndex = 89; + // + // tbInPrice + // + this.tbInPrice.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbInPrice.Location = new System.Drawing.Point(110, 183); + this.tbInPrice.Margin = new System.Windows.Forms.Padding(4); + this.tbInPrice.Name = "tbInPrice"; + this.tbInPrice.Size = new System.Drawing.Size(319, 34); + this.tbInPrice.TabIndex = 114; + this.tbInPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // cmbReceive + // + this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbReceive.Enabled = false; + this.cmbReceive.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cmbReceive.FormattingEnabled = true; + this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbReceive.Location = new System.Drawing.Point(14, 59); + this.cmbReceive.Margin = new System.Windows.Forms.Padding(4); + this.cmbReceive.Name = "cmbReceive"; + this.cmbReceive.Size = new System.Drawing.Size(415, 45); + this.cmbReceive.TabIndex = 112; + // + // tbInRemark + // + this.tbInRemark.Enabled = false; + this.tbInRemark.Location = new System.Drawing.Point(110, 221); + this.tbInRemark.Margin = new System.Windows.Forms.Padding(4); + this.tbInRemark.Multiline = true; + this.tbInRemark.Name = "tbInRemark"; + this.tbInRemark.Size = new System.Drawing.Size(319, 70); + this.tbInRemark.TabIndex = 110; + // + // tbInQty + // + this.tbInQty.Enabled = false; + this.tbInQty.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbInQty.Location = new System.Drawing.Point(110, 145); + this.tbInQty.Margin = new System.Windows.Forms.Padding(4); + this.tbInQty.Name = "tbInQty"; + this.tbInQty.Size = new System.Drawing.Size(319, 34); + this.tbInQty.TabIndex = 108; + // + // chkInDate + // + this.chkInDate.AutoSize = true; + this.chkInDate.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.chkInDate.Location = new System.Drawing.Point(14, 111); + this.chkInDate.Margin = new System.Windows.Forms.Padding(4); + this.chkInDate.Name = "chkInDate"; + this.chkInDate.Size = new System.Drawing.Size(91, 32); + this.chkInDate.TabIndex = 103; + this.chkInDate.TabStop = false; + this.chkInDate.Text = "입고일"; + this.chkInDate.UseVisualStyleBackColor = true; + this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged); + // + // dtInDate + // + this.dtInDate.Enabled = false; + this.dtInDate.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.dtInDate.Location = new System.Drawing.Point(110, 110); + this.dtInDate.Margin = new System.Windows.Forms.Padding(4); + this.dtInDate.Name = "dtInDate"; + this.dtInDate.Size = new System.Drawing.Size(319, 34); + this.dtInDate.TabIndex = 104; + this.dtInDate.TabStop = false; + // + // btOK + // + this.btOK.Dock = System.Windows.Forms.DockStyle.Right; + this.btOK.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.btOK.Location = new System.Drawing.Point(433, 23); + this.btOK.Name = "btOK"; + this.btOK.Size = new System.Drawing.Size(139, 318); + this.btOK.TabIndex = 102; + this.btOK.Text = "등록"; + this.btOK.UseVisualStyleBackColor = true; + this.btOK.Click += new System.EventHandler(this.btOK_Click); + // + // arLabel3 + // + this.arLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel3.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel3.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel3.ForeColor = System.Drawing.Color.Black; + this.arLabel3.Location = new System.Drawing.Point(0, 0); + this.arLabel3.Name = "arLabel3"; + this.arLabel3.Size = new System.Drawing.Size(572, 23); + this.arLabel3.TabIndex = 86; + this.arLabel3.Text = "입고정보"; + this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tbSID + // + this.tbSID.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbSID.Location = new System.Drawing.Point(433, 53); + this.tbSID.Name = "tbSID"; + this.tbSID.ReadOnly = true; + this.tbSID.Size = new System.Drawing.Size(137, 30); + this.tbSID.TabIndex = 108; + this.tbSID.Text = "000000000"; + this.tbSID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbSCRCF + // + this.tbSCRCF.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbSCRCF.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbSCRCF.Location = new System.Drawing.Point(338, 147); + this.tbSCRCF.Name = "tbSCRCF"; + this.tbSCRCF.ReadOnly = true; + this.tbSCRCF.Size = new System.Drawing.Size(232, 38); + this.tbSCRCF.TabIndex = 112; + // + // tbSC + // + this.tbSC.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbSC.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbSC.Location = new System.Drawing.Point(104, 147); + this.tbSC.Name = "tbSC"; + this.tbSC.ReadOnly = true; + this.tbSC.Size = new System.Drawing.Size(232, 38); + this.tbSC.TabIndex = 111; + // + // label10 + // + label10.AutoSize = true; + label10.Location = new System.Drawing.Point(40, 171); + label10.Name = "label10"; + label10.Size = new System.Drawing.Size(58, 12); + label10.TabIndex = 109; + label10.Text = "SCR/CF#"; + // + // label15 + // + label15.AutoSize = true; + label15.Location = new System.Drawing.Point(76, 152); + label15.Name = "label15"; + label15.Size = new System.Drawing.Size(22, 12); + label15.TabIndex = 110; + label15.Text = "SC"; + // + // label14 + // + label14.AutoSize = true; + label14.Font = new System.Drawing.Font("맑은 고딕", 15F); + label14.Location = new System.Drawing.Point(67, 303); + label14.Name = "label14"; + label14.Size = new System.Drawing.Size(38, 28); + label14.TabIndex = 115; + label14.Text = "PO"; + // + // label7 + // + label7.AutoSize = true; + label7.Font = new System.Drawing.Font("맑은 고딕", 15F); + label7.Location = new System.Drawing.Point(53, 221); + label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label7.Name = "label7"; + label7.Size = new System.Drawing.Size(52, 28); + label7.TabIndex = 116; + label7.Text = "비고"; + // + // fPurchaseNR_Ipgo + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(582, 714); + this.Controls.Add(this.panel3); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fPurchaseNR_Ipgo"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "NR 품목 입고"; + this.Load += new System.EventHandler(this.fPurchaseCR_Ipgo_Load); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox tbPrjIdx; + private System.Windows.Forms.TextBox tbPrjSerial; + private System.Windows.Forms.TextBox tbPrjModel; + private System.Windows.Forms.TextBox tbPrjProcess; + private System.Windows.Forms.TextBox tbProjOrderNo; + private System.Windows.Forms.TextBox tbPrjMemo; + private System.Windows.Forms.TextBox tbPrjAsset; + private System.Windows.Forms.Label arLabel2; + private System.Windows.Forms.TextBox tbPrjName; + private System.Windows.Forms.TextBox tbIdx; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.TextBox tbUnit; + private System.Windows.Forms.TextBox tbModel; + private System.Windows.Forms.Label arLabel1; + private System.Windows.Forms.TextBox tbPumname; + private System.Windows.Forms.TextBox textBox16; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Label arLabel3; + private System.Windows.Forms.Button btOK; + private System.Windows.Forms.TextBox tbInRemark; + private System.Windows.Forms.TextBox tbInQty; + private System.Windows.Forms.CheckBox chkInDate; + private System.Windows.Forms.DateTimePicker dtInDate; + private System.Windows.Forms.TextBox tbPrjStatus; + private System.Windows.Forms.ComboBox cmbReceive; + private System.Windows.Forms.TextBox tbInPrice; + private System.Windows.Forms.TextBox tbPO; + private System.Windows.Forms.TextBox tbRemarkO; + private System.Windows.Forms.TextBox tbAmt; + private System.Windows.Forms.TextBox tbPriceO; + private System.Windows.Forms.TextBox tbQty; + private System.Windows.Forms.TextBox tbSID; + private System.Windows.Forms.TextBox tbSCRCF; + private System.Windows.Forms.TextBox tbSC; + } +} \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.cs new file mode 100644 index 0000000..8d2d0be --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.cs @@ -0,0 +1,182 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FEQ0000.Purchase +{ + public partial class fPurchaseEB_Ipgo : Form + { + int idx = -1; + string po = string.Empty; + public fPurchaseEB_Ipgo(int purchaseIdx,string po_) + { + InitializeComponent(); + this.po = po_; + this.idx = purchaseIdx; + this.KeyPreview = true; + this.KeyDown += (s1, e1) => { + if (e1.KeyCode == Keys.Escape) this.Close(); + }; + } + + string prestatus = "PO"; + private void fPurchaseCR_Ipgo_Load(object sender, EventArgs e) + { + //담당자목록 + var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter(); + var dt = ta.GetByIdx(this.idx); + if (dt == null || dt.Any() == false) + { + FCOMMON.Util.MsgE("정보를 확인할 수 없습니다"); + this.btOK.Enabled = false; + return; + } + var dr = dt.First(); + prestatus = dr.state; + + tbPumname.Text = dr.pumname; + textBox16.Text = dr.pumidx.ToString(); + tbModel.Text = dr.pumscale; + tbUnit.Text = dr.pumunit; + tbQty.Text = dr.pumqty.ToString(); + tbPriceO.Text = dr.pumprice.ToString(); + tbInPrice.Text = dr.pumprice.ToString(); + tbAmt.Text = (dr.pumqty * dr.pumprice).ToString(); + tbRemarkO.Text = dr.bigo; + tbPO.Text = dr.po; + if (string.IsNullOrEmpty(tbPO.Text)) tbPO.Text = this.po; + tbSC.Text = dr.sc; + tbSCRCF.Text = dr.orderno; + tbSID.Text = dr.sid; + + //프로젝트정보 찾는다 + var tap = new DSPrjTableAdapters.ProjectsTableAdapter(); + var dtp = tap.GetData(dr.projectidx); + DSPrj.ProjectsRow drp; + if (dtp == null || dtp.Any() == false) + { + drp = dtp.NewProjectsRow(); + } + else + { + //프로젝트정보표시 + drp = dtp.First(); + } + tbPrjName.Text = drp.name; + tbPrjAsset.Text = drp.asset; + tbPrjStatus.Text = drp.status; + tbPrjMemo.Text = drp.memo; + tbProjOrderNo.Text = drp.orderno; + tbPrjModel.Text = drp.model; + tbPrjSerial.Text = drp.serial; + tbPrjProcess.Text = drp.process; + tbPrjIdx.Text = drp.idx.ToString(); + + + var userList = FCOMMON.DBM.getUserList(); //.getGroupList("name", "Users", "[level] > 0 and [level] < 10"); + foreach (var user in userList) + { + this.cmbReceive.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value)); + // this.cmbRequest.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value)); + } + + + //기존에 설정된 정보가 있다면 그것을 쓴다 + if (dr.receive.isEmpty() == false) + { + cmbReceive.Text = $"[{dr.receive}] {dr.receiveName}"; + if (DateTime.TryParse(dr.indate, out DateTime dtin)) + { + dtInDate.Value = dtin; + } + else dtInDate.Value = DateTime.Now; + chkInDate.Checked = true; + if (dr.IsinqtyNull()) tbInQty.Text = string.Empty; + else tbInQty.Text = dr.inqty.ToString(); + tbInRemark.Text = dr.inremark; + } + else + { + //설정정보가 없다면 비활성화해준다 + cmbReceive.Text = $"[{dr.request}] {dr.requestName}";//FCOMMON.DBM.GetcurrentUserNoName(); + dtInDate.Value = DateTime.Now; + chkInDate.Checked = false; + tbInQty.Text = dr.pumqty.ToString(); + chkInDate_CheckedChanged(null, null); + } + + + } + + private void btOK_Click(object sender, EventArgs e) + { + if (chkInDate.Checked && cmbReceive.SelectedIndex < 0) + { + FCOMMON.Util.MsgE("수령인을 선택하세요"); + cmbReceive.Focus(); + return; + } + var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter (); + var dr = ta.GetByIdx(this.idx).First(); + if (chkInDate.Checked == false) + { + dr.indate = string.Empty; + dr.receive = string.Empty; + // dr.receiveName = string.Empty; + dr.inqty = 0; + dr.inremark = string.Empty; + if (prestatus == "Received") dr.state = "---"; + else dr.state = prestatus; + } + else + { + dr.indate = dtInDate.Value.ToShortDateString(); + dr.receive = cmbReceive.Text.Substring(1, cmbReceive.Text.IndexOf("]") - 1); + // dr.receiveName = cmbReceive.Text.Substring(cmbReceive.Text.IndexOf("]") + 1).Trim(); + if (int.TryParse(tbInQty.Text, out int qty) == false) + { + FCOMMON.Util.MsgE("수량을 확인하세요"); + tbInQty.Text = tbQty.Text.Trim(); + tbInQty.Focus(); + tbInQty.SelectAll(); + return; + } + else + { + if (qty > int.Parse(tbQty.Text)) + { + if (FCOMMON.Util.MsgQ("입고수량이 주문수량보다 많습니다 입력 할까요?") != DialogResult.Yes) + return; + } + dr.inqty = qty; + } + dr.state = "Received"; + dr.inremark = tbInRemark.Text.Trim(); + } + dr.windate = DateTime.Now; + dr.winuid = FCOMMON.info.Login.no; + dr.po = this.tbPO.Text.Trim(); + dr.EndEdit(); + var cnt = ta.Update(dr); + DialogResult = DialogResult.OK; + } + + private void chkInDate_CheckedChanged(object sender, EventArgs e) + { + dtInDate.Enabled = chkInDate.Checked; + cmbReceive.Enabled = chkInDate.Checked; + tbInQty.Enabled = chkInDate.Checked; + tbInRemark.Enabled = chkInDate.Checked; + //if (chkInDate.Checked == false) + // cmbReceive.SelectedIndex = -1; + //else cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName(); + + } + } +} diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.resx b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.resx new file mode 100644 index 0000000..ae79cfe --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_Ipgo.resx @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.Designer.cs b/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.Designer.cs new file mode 100644 index 0000000..925a527 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.Designer.cs @@ -0,0 +1,183 @@ +namespace FEQ0000.Purchase +{ + partial class rPurchaseEB + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rPurchaseNR)); + this.rpv1 = new Microsoft.Reporting.WinForms.ReportViewer(); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.dtSD = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.dtED = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.cmbReport = new System.Windows.Forms.ToolStripComboBox(); + this.btSearch = new System.Windows.Forms.ToolStripButton(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + this.toolStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // rpv1 + // + this.rpv1.Dock = System.Windows.Forms.DockStyle.Fill; + reportDataSource1.Name = "DataSet1"; + reportDataSource1.Value = null; + this.rpv1.LocalReport.DataSources.Add(reportDataSource1); + this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_Purchase.rdlc"; + this.rpv1.Location = new System.Drawing.Point(0, 25); + this.rpv1.Name = "rpv1"; + this.rpv1.ServerReport.BearerToken = null; + this.rpv1.Size = new System.Drawing.Size(723, 492); + this.rpv1.TabIndex = 0; + this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.FullPage; + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // toolStrip1 + // + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripLabel1, + this.dtSD, + this.toolStripLabel4, + this.toolStripLabel2, + this.dtED, + this.toolStripLabel3, + this.cmbReport, + this.btSearch}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(723, 25); + this.toolStrip1.TabIndex = 4; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(32, 22); + this.toolStripLabel1.Text = "Start"; + // + // dtSD + // + this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.dtSD.Name = "dtSD"; + this.dtSD.Size = new System.Drawing.Size(100, 25); + this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // toolStripLabel4 + // + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); + this.toolStripLabel4.Text = "~"; + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(27, 22); + this.toolStripLabel2.Text = "End"; + // + // dtED + // + this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.dtED.Name = "dtED"; + this.dtED.Size = new System.Drawing.Size(100, 25); + this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // toolStripLabel3 + // + this.toolStripLabel3.Name = "toolStripLabel3"; + this.toolStripLabel3.Size = new System.Drawing.Size(42, 22); + this.toolStripLabel3.Text = "Report"; + // + // cmbReport + // + this.cmbReport.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbReport.Items.AddRange(new object[] { + "User - Month", + "Process - Month", + "Project - Month"}); + this.cmbReport.Name = "cmbReport"; + this.cmbReport.Size = new System.Drawing.Size(121, 25); + // + // btSearch + // + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSearch.Name = "btSearch"; + this.btSearch.Size = new System.Drawing.Size(81, 22); + this.btSearch.Text = "Refresh(&R)"; + this.btSearch.Click += new System.EventHandler(this.btSearch_Click); + // + // rPurchaseNR + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(723, 517); + this.Controls.Add(this.rpv1); + this.Controls.Add(this.toolStrip1); + this.Name = "rPurchaseNR"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "NR 구매 집계표"; + this.Load += new System.EventHandler(this.rPurchase_Load); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private Microsoft.Reporting.WinForms.ReportViewer rpv1; + private dsPurchase dsPurchase; + private dsPurchaseTableAdapters.PurchaseTableAdapter ta; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripTextBox dtSD; + private System.Windows.Forms.ToolStripLabel toolStripLabel4; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripTextBox dtED; + private System.Windows.Forms.ToolStripButton btSearch; + private System.Windows.Forms.ToolStripLabel toolStripLabel3; + private System.Windows.Forms.ToolStripComboBox cmbReport; + + } +} \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.cs b/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.cs new file mode 100644 index 0000000..0016611 --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.cs @@ -0,0 +1,83 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FEQ0000.Purchase +{ + public partial class rPurchaseEB : Form + { + public rPurchaseEB() + { + InitializeComponent(); + Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; + Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; + } + + private void rPurchase_Load(object sender, EventArgs e) + { + this.dtSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01"; + this.dtED.Text = DateTime.Now.Year.ToString("0000") + "-12-31"; + + this.rpv1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual; + this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.FullPage; + //this.rpv1.DisplayMode = Microsoft.Reporting.WinForms.DisplayMode.PrintLayout; + this.cmbReport.SelectedIndex = 0; + + //refreshData(); + } + + private void btSearch_Click(object sender, EventArgs e) + { + refreshData(); + } + void refreshData() + { + this.ta.FillByDateExceptCR(this.dsPurchase.Purchase, dtSD.Text, dtED.Text,FCOMMON.info.Login.gcode); + + //Set DataSource + Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource(); + DsEQ.Name = "DataSet1"; + DsEQ.Value = this.dsPurchase.Purchase; + + switch (this.cmbReport.SelectedIndex) + { + case 0: //사용자 - 월 + this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_Purchase.rdlc"; + break; + case 1: //공정 - 월 + this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_PurchasePrc.rdlc"; + break; + case 2: //프로젝트 - 월 + //비고를 짤라서 처리해야한다. + foreach(dsPurchase.PurchaseRow dr in dsPurchase.Purchase) + { + if (dr.IsbigoNull()) dr.bigo = string.Empty; + else + { + dr.bigo = dr.bigo.Split('/')[0].Trim(); + } + if(dr.projectidx == -1) + { + dr.state = "비 프로젝트"; + } + else + { + dr.state = "프로젝트"; + } + if (dr.bigo.isEmpty()) dr.bigo = "(없음)"; + } + dsPurchase.Purchase.AcceptChanges(); + this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_PurchasePrj.rdlc"; + break; + } + this.rpv1.LocalReport.DataSources.Clear(); + this.rpv1.LocalReport.DataSources.Add(DsEQ); + this.rpv1.RefreshReport(); + } + } +} diff --git a/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.resx b/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.resx new file mode 100644 index 0000000..a53502f --- /dev/null +++ b/SubProject/FEQ0000/PurchaseEB/rPurchaseEB.resx @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 131, 17 + + + 193, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei + QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG + A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF + GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG + cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E + dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= + + + \ No newline at end of file diff --git a/SubProject/FEQ0000/dsPurchase.Designer.cs b/SubProject/FEQ0000/dsPurchase.Designer.cs index afef808..4d38b25 100644 --- a/SubProject/FEQ0000/dsPurchase.Designer.cs +++ b/SubProject/FEQ0000/dsPurchase.Designer.cs @@ -32,6 +32,8 @@ namespace FEQ0000 { private Purchase_ManagerlistDataTable tablePurchase_Managerlist; + private EETGW_PurchaseEBDataTable tableEETGW_PurchaseEB; + private PurchaseCheckDataTable tablePurchaseCheck; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; @@ -78,6 +80,9 @@ namespace FEQ0000 { if ((ds.Tables["Purchase_Managerlist"] != null)) { base.Tables.Add(new Purchase_ManagerlistDataTable(ds.Tables["Purchase_Managerlist"])); } + if ((ds.Tables["EETGW_PurchaseEB"] != null)) { + base.Tables.Add(new EETGW_PurchaseEBDataTable(ds.Tables["EETGW_PurchaseEB"])); + } if ((ds.Tables["PurchaseCheck"] != null)) { base.Tables.Add(new PurchaseCheckDataTable(ds.Tables["PurchaseCheck"])); } @@ -140,6 +145,16 @@ namespace FEQ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_PurchaseEBDataTable EETGW_PurchaseEB { + get { + return this.tableEETGW_PurchaseEB; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -230,6 +245,9 @@ namespace FEQ0000 { if ((ds.Tables["Purchase_Managerlist"] != null)) { base.Tables.Add(new Purchase_ManagerlistDataTable(ds.Tables["Purchase_Managerlist"])); } + if ((ds.Tables["EETGW_PurchaseEB"] != null)) { + base.Tables.Add(new EETGW_PurchaseEBDataTable(ds.Tables["EETGW_PurchaseEB"])); + } if ((ds.Tables["PurchaseCheck"] != null)) { base.Tables.Add(new PurchaseCheckDataTable(ds.Tables["PurchaseCheck"])); } @@ -290,6 +308,12 @@ namespace FEQ0000 { this.tablePurchase_Managerlist.InitVars(); } } + this.tableEETGW_PurchaseEB = ((EETGW_PurchaseEBDataTable)(base.Tables["EETGW_PurchaseEB"])); + if ((initTable == true)) { + if ((this.tableEETGW_PurchaseEB != null)) { + this.tableEETGW_PurchaseEB.InitVars(); + } + } this.tablePurchaseCheck = ((PurchaseCheckDataTable)(base.Tables["PurchaseCheck"])); if ((initTable == true)) { if ((this.tablePurchaseCheck != null)) { @@ -314,6 +338,8 @@ namespace FEQ0000 { base.Tables.Add(this.tableIpkolist); this.tablePurchase_Managerlist = new Purchase_ManagerlistDataTable(); base.Tables.Add(this.tablePurchase_Managerlist); + this.tableEETGW_PurchaseEB = new EETGW_PurchaseEBDataTable(false); + base.Tables.Add(this.tableEETGW_PurchaseEB); this.tablePurchaseCheck = new PurchaseCheckDataTable(); base.Tables.Add(this.tablePurchaseCheck); } @@ -342,6 +368,12 @@ namespace FEQ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private bool ShouldSerializeEETGW_PurchaseEB() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializePurchaseCheck() { @@ -408,6 +440,7 @@ namespace FEQ0000 { private void InitExpressions() { this.Purchase.bigo2Column.Expression = "iif(project = \'\', bigo , iif( bigo = \'\', project, project + \'/\' + bigo ))"; this.EETGW_PurchaseCR.bigo2Column.Expression = "iif(project = \'\', bigo , iif( bigo = \'\', project, project + \'/\' + bigo ))"; + this.EETGW_PurchaseEB.bigo2Column.Expression = "iif(project = \'\', bigo , iif( bigo = \'\', project, project + \'/\' + bigo ))"; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] @@ -422,6 +455,9 @@ namespace FEQ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void Purchase_ManagerlistRowChangeEventHandler(object sender, Purchase_ManagerlistRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public delegate void EETGW_PurchaseEBRowChangeEventHandler(object sender, EETGW_PurchaseEBRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void PurchaseCheckRowChangeEventHandler(object sender, PurchaseCheckRowChangeEvent e); @@ -3663,6 +3699,1165 @@ namespace FEQ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_PurchaseEBDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columnpdate; + + private global::System.Data.DataColumn columnstate; + + private global::System.Data.DataColumn columnprocess; + + private global::System.Data.DataColumn columnreceive; + + private global::System.Data.DataColumn columnsc; + + private global::System.Data.DataColumn columnrequest; + + private global::System.Data.DataColumn columnsid; + + private global::System.Data.DataColumn columnpumname; + + private global::System.Data.DataColumn columnpumscale; + + private global::System.Data.DataColumn columnpumunit; + + private global::System.Data.DataColumn columnpumqty; + + private global::System.Data.DataColumn columnpumprice; + + private global::System.Data.DataColumn columnpumamt; + + private global::System.Data.DataColumn columnsupply; + + private global::System.Data.DataColumn columnsupplyidx; + + private global::System.Data.DataColumn columnproject; + + private global::System.Data.DataColumn columnprojectidx; + + private global::System.Data.DataColumn columnasset; + + private global::System.Data.DataColumn columnedate; + + private global::System.Data.DataColumn columnindate; + + private global::System.Data.DataColumn columnpo; + + private global::System.Data.DataColumn columndept; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + private global::System.Data.DataColumn columnimport; + + private global::System.Data.DataColumn columnpumidx; + + private global::System.Data.DataColumn columnisdel; + + private global::System.Data.DataColumn columnbigo; + + private global::System.Data.DataColumn columnmanuproc; + + private global::System.Data.DataColumn columnorderno; + + private global::System.Data.DataColumn columngcode; + + private global::System.Data.DataColumn columnreceiveName; + + private global::System.Data.DataColumn columnrequestName; + + private global::System.Data.DataColumn columnplace; + + private global::System.Data.DataColumn columninqty; + + private global::System.Data.DataColumn columnbigo2; + + private global::System.Data.DataColumn columnpumpriceD; + + private global::System.Data.DataColumn columninremark; + + private global::System.Data.DataColumn columnwinuid; + + private global::System.Data.DataColumn columnwindate; + + private global::System.Data.DataColumn columnchk1; + + private global::System.Data.DataColumn columnchk2; + + private global::System.Data.DataColumn columncostcenter; + + private global::System.Data.DataColumn columnlinecode; + + private global::System.Data.DataColumn columnpumqtyReq; + + private global::System.Data.DataColumn columnchkremark; + + private global::System.Data.DataColumn columnpurchase_manager; + + private global::System.Data.DataColumn columnpurchase_admin; + + private global::System.Data.DataColumn columncurrency; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBDataTable() : + this(false) { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBDataTable(bool initExpressions) { + this.TableName = "EETGW_PurchaseEB"; + this.BeginInit(); + this.InitClass(); + if ((initExpressions == true)) { + this.InitExpressions(); + } + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal EETGW_PurchaseEBDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected EETGW_PurchaseEBDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pdateColumn { + get { + return this.columnpdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn stateColumn { + get { + return this.columnstate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn processColumn { + get { + return this.columnprocess; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn receiveColumn { + get { + return this.columnreceive; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn scColumn { + get { + return this.columnsc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn requestColumn { + get { + return this.columnrequest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn sidColumn { + get { + return this.columnsid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumnameColumn { + get { + return this.columnpumname; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumscaleColumn { + get { + return this.columnpumscale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumunitColumn { + get { + return this.columnpumunit; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumqtyColumn { + get { + return this.columnpumqty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumpriceColumn { + get { + return this.columnpumprice; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumamtColumn { + get { + return this.columnpumamt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn supplyColumn { + get { + return this.columnsupply; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn supplyidxColumn { + get { + return this.columnsupplyidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn projectColumn { + get { + return this.columnproject; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn projectidxColumn { + get { + return this.columnprojectidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn assetColumn { + get { + return this.columnasset; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn edateColumn { + get { + return this.columnedate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn indateColumn { + get { + return this.columnindate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn poColumn { + get { + return this.columnpo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn deptColumn { + get { + return this.columndept; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn importColumn { + get { + return this.columnimport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumidxColumn { + get { + return this.columnpumidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn isdelColumn { + get { + return this.columnisdel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn bigoColumn { + get { + return this.columnbigo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn manuprocColumn { + get { + return this.columnmanuproc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn ordernoColumn { + get { + return this.columnorderno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn receiveNameColumn { + get { + return this.columnreceiveName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn requestNameColumn { + get { + return this.columnrequestName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn placeColumn { + get { + return this.columnplace; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn inqtyColumn { + get { + return this.columninqty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn bigo2Column { + get { + return this.columnbigo2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumpriceDColumn { + get { + return this.columnpumpriceD; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn inremarkColumn { + get { + return this.columninremark; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn winuidColumn { + get { + return this.columnwinuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn windateColumn { + get { + return this.columnwindate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn chk1Column { + get { + return this.columnchk1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn chk2Column { + get { + return this.columnchk2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn costcenterColumn { + get { + return this.columncostcenter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn linecodeColumn { + get { + return this.columnlinecode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn pumqtyReqColumn { + get { + return this.columnpumqtyReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn chkremarkColumn { + get { + return this.columnchkremark; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn purchase_managerColumn { + get { + return this.columnpurchase_manager; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn purchase_adminColumn { + get { + return this.columnpurchase_admin; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn currencyColumn { + get { + return this.columncurrency; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRow this[int index] { + get { + return ((EETGW_PurchaseEBRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_PurchaseEBRowChangeEventHandler EETGW_PurchaseEBRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_PurchaseEBRowChangeEventHandler EETGW_PurchaseEBRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_PurchaseEBRowChangeEventHandler EETGW_PurchaseEBRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_PurchaseEBRowChangeEventHandler EETGW_PurchaseEBRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void AddEETGW_PurchaseEBRow(EETGW_PurchaseEBRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRow AddEETGW_PurchaseEBRow( + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + string pumscale, + string pumunit, + int pumqty, + decimal pumprice, + decimal pumamt, + string supply, + int supplyidx, + string project, + int projectidx, + string asset, + string edate, + string indate, + string po, + string dept, + string wuid, + System.DateTime wdate, + bool import, + int pumidx, + bool isdel, + string bigo, + string manuproc, + string orderno, + string gcode, + string receiveName, + string requestName, + string place, + int inqty, + string bigo2, + decimal pumpriceD, + string inremark, + string winuid, + System.DateTime windate, + bool chk1, + bool chk2, + string costcenter, + string linecode, + int pumqtyReq, + string chkremark, + string purchase_manager, + string purchase_admin, + string currency) { + EETGW_PurchaseEBRow rowEETGW_PurchaseEBRow = ((EETGW_PurchaseEBRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + pdate, + state, + process, + receive, + sc, + request, + sid, + pumname, + pumscale, + pumunit, + pumqty, + pumprice, + pumamt, + supply, + supplyidx, + project, + projectidx, + asset, + edate, + indate, + po, + dept, + wuid, + wdate, + import, + pumidx, + isdel, + bigo, + manuproc, + orderno, + gcode, + receiveName, + requestName, + place, + inqty, + bigo2, + pumpriceD, + inremark, + winuid, + windate, + chk1, + chk2, + costcenter, + linecode, + pumqtyReq, + chkremark, + purchase_manager, + purchase_admin, + currency}; + rowEETGW_PurchaseEBRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_PurchaseEBRow); + return rowEETGW_PurchaseEBRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRow AddEETGW_PurchaseEBRow( + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + string pumscale, + string pumunit, + int pumqty, + decimal pumprice, + decimal pumamt, + string supply, + int supplyidx, + string project, + int projectidx, + string asset, + string edate, + string indate, + string po, + string dept, + string wuid, + System.DateTime wdate, + bool import, + int pumidx, + bool isdel, + string bigo, + string manuproc, + string orderno, + string gcode, + string receiveName, + string requestName, + string place, + int inqty, + decimal pumpriceD, + string inremark, + string winuid, + System.DateTime windate, + bool chk1, + bool chk2, + string costcenter, + string linecode, + int pumqtyReq, + string chkremark, + string purchase_manager, + string purchase_admin, + string currency) { + EETGW_PurchaseEBRow rowEETGW_PurchaseEBRow = ((EETGW_PurchaseEBRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + pdate, + state, + process, + receive, + sc, + request, + sid, + pumname, + pumscale, + pumunit, + pumqty, + pumprice, + pumamt, + supply, + supplyidx, + project, + projectidx, + asset, + edate, + indate, + po, + dept, + wuid, + wdate, + import, + pumidx, + isdel, + bigo, + manuproc, + orderno, + gcode, + receiveName, + requestName, + place, + inqty, + null, + pumpriceD, + inremark, + winuid, + windate, + chk1, + chk2, + costcenter, + linecode, + pumqtyReq, + chkremark, + purchase_manager, + purchase_admin, + currency}; + rowEETGW_PurchaseEBRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_PurchaseEBRow); + return rowEETGW_PurchaseEBRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRow FindByidx(int idx) { + return ((EETGW_PurchaseEBRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_PurchaseEBDataTable cln = ((EETGW_PurchaseEBDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_PurchaseEBDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columnpdate = base.Columns["pdate"]; + this.columnstate = base.Columns["state"]; + this.columnprocess = base.Columns["process"]; + this.columnreceive = base.Columns["receive"]; + this.columnsc = base.Columns["sc"]; + this.columnrequest = base.Columns["request"]; + this.columnsid = base.Columns["sid"]; + this.columnpumname = base.Columns["pumname"]; + this.columnpumscale = base.Columns["pumscale"]; + this.columnpumunit = base.Columns["pumunit"]; + this.columnpumqty = base.Columns["pumqty"]; + this.columnpumprice = base.Columns["pumprice"]; + this.columnpumamt = base.Columns["pumamt"]; + this.columnsupply = base.Columns["supply"]; + this.columnsupplyidx = base.Columns["supplyidx"]; + this.columnproject = base.Columns["project"]; + this.columnprojectidx = base.Columns["projectidx"]; + this.columnasset = base.Columns["asset"]; + this.columnedate = base.Columns["edate"]; + this.columnindate = base.Columns["indate"]; + this.columnpo = base.Columns["po"]; + this.columndept = base.Columns["dept"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + this.columnimport = base.Columns["import"]; + this.columnpumidx = base.Columns["pumidx"]; + this.columnisdel = base.Columns["isdel"]; + this.columnbigo = base.Columns["bigo"]; + this.columnmanuproc = base.Columns["manuproc"]; + this.columnorderno = base.Columns["orderno"]; + this.columngcode = base.Columns["gcode"]; + this.columnreceiveName = base.Columns["receiveName"]; + this.columnrequestName = base.Columns["requestName"]; + this.columnplace = base.Columns["place"]; + this.columninqty = base.Columns["inqty"]; + this.columnbigo2 = base.Columns["bigo2"]; + this.columnpumpriceD = base.Columns["pumpriceD"]; + this.columninremark = base.Columns["inremark"]; + this.columnwinuid = base.Columns["winuid"]; + this.columnwindate = base.Columns["windate"]; + this.columnchk1 = base.Columns["chk1"]; + this.columnchk2 = base.Columns["chk2"]; + this.columncostcenter = base.Columns["costcenter"]; + this.columnlinecode = base.Columns["linecode"]; + this.columnpumqtyReq = base.Columns["pumqtyReq"]; + this.columnchkremark = base.Columns["chkremark"]; + this.columnpurchase_manager = base.Columns["purchase_manager"]; + this.columnpurchase_admin = base.Columns["purchase_admin"]; + this.columncurrency = base.Columns["currency"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpdate); + this.columnstate = new global::System.Data.DataColumn("state", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstate); + this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnprocess); + this.columnreceive = new global::System.Data.DataColumn("receive", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnreceive); + this.columnsc = new global::System.Data.DataColumn("sc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsc); + this.columnrequest = new global::System.Data.DataColumn("request", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrequest); + this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsid); + this.columnpumname = new global::System.Data.DataColumn("pumname", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumname); + this.columnpumscale = new global::System.Data.DataColumn("pumscale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumscale); + this.columnpumunit = new global::System.Data.DataColumn("pumunit", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumunit); + this.columnpumqty = new global::System.Data.DataColumn("pumqty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumqty); + this.columnpumprice = new global::System.Data.DataColumn("pumprice", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumprice); + this.columnpumamt = new global::System.Data.DataColumn("pumamt", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumamt); + this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsupply); + this.columnsupplyidx = new global::System.Data.DataColumn("supplyidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsupplyidx); + this.columnproject = new global::System.Data.DataColumn("project", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnproject); + this.columnprojectidx = new global::System.Data.DataColumn("projectidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnprojectidx); + this.columnasset = new global::System.Data.DataColumn("asset", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnasset); + this.columnedate = new global::System.Data.DataColumn("edate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnedate); + this.columnindate = new global::System.Data.DataColumn("indate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnindate); + this.columnpo = new global::System.Data.DataColumn("po", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpo); + this.columndept = new global::System.Data.DataColumn("dept", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndept); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwuid); + this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwdate); + this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnimport); + this.columnpumidx = new global::System.Data.DataColumn("pumidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumidx); + this.columnisdel = new global::System.Data.DataColumn("isdel", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisdel); + this.columnbigo = new global::System.Data.DataColumn("bigo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnbigo); + this.columnmanuproc = new global::System.Data.DataColumn("manuproc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmanuproc); + this.columnorderno = new global::System.Data.DataColumn("orderno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnorderno); + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + this.columnreceiveName = new global::System.Data.DataColumn("receiveName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnreceiveName); + this.columnrequestName = new global::System.Data.DataColumn("requestName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrequestName); + this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnplace); + this.columninqty = new global::System.Data.DataColumn("inqty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninqty); + this.columnbigo2 = new global::System.Data.DataColumn("bigo2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnbigo2); + this.columnpumpriceD = new global::System.Data.DataColumn("pumpriceD", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumpriceD); + this.columninremark = new global::System.Data.DataColumn("inremark", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninremark); + this.columnwinuid = new global::System.Data.DataColumn("winuid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwinuid); + this.columnwindate = new global::System.Data.DataColumn("windate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwindate); + this.columnchk1 = new global::System.Data.DataColumn("chk1", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnchk1); + this.columnchk2 = new global::System.Data.DataColumn("chk2", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnchk2); + this.columncostcenter = new global::System.Data.DataColumn("costcenter", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncostcenter); + this.columnlinecode = new global::System.Data.DataColumn("linecode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlinecode); + this.columnpumqtyReq = new global::System.Data.DataColumn("pumqtyReq", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumqtyReq); + this.columnchkremark = new global::System.Data.DataColumn("chkremark", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnchkremark); + this.columnpurchase_manager = new global::System.Data.DataColumn("purchase_manager", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpurchase_manager); + this.columnpurchase_admin = new global::System.Data.DataColumn("purchase_admin", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpurchase_admin); + this.columncurrency = new global::System.Data.DataColumn("currency", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncurrency); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columnpdate.MaxLength = 10; + this.columnstate.MaxLength = 30; + this.columnprocess.MaxLength = 30; + this.columnreceive.MaxLength = 50; + this.columnsc.MaxLength = 30; + this.columnrequest.MaxLength = 50; + this.columnsid.MaxLength = 50; + this.columnpumname.MaxLength = 2147483647; + this.columnpumscale.MaxLength = 200; + this.columnpumunit.MaxLength = 50; + this.columnsupply.MaxLength = 200; + this.columnproject.MaxLength = 2147483647; + this.columnasset.MaxLength = 50; + this.columnedate.MaxLength = 10; + this.columnindate.MaxLength = 10; + this.columnpo.MaxLength = 50; + this.columndept.MaxLength = 500; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + this.columnbigo.MaxLength = 500; + this.columnmanuproc.MaxLength = 50; + this.columnorderno.MaxLength = 50; + this.columngcode.AllowDBNull = false; + this.columngcode.MaxLength = 10; + this.columnreceiveName.ReadOnly = true; + this.columnreceiveName.MaxLength = 200; + this.columnrequestName.ReadOnly = true; + this.columnrequestName.MaxLength = 200; + this.columnplace.MaxLength = 20; + this.columnbigo2.ReadOnly = true; + this.columninremark.MaxLength = 500; + this.columnwinuid.MaxLength = 20; + this.columncostcenter.MaxLength = 20; + this.columnlinecode.MaxLength = 20; + this.columnchkremark.MaxLength = 500; + this.columnpurchase_manager.MaxLength = 50; + this.columnpurchase_admin.MaxLength = 50; + this.columncurrency.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRow NewEETGW_PurchaseEBRow() { + return ((EETGW_PurchaseEBRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_PurchaseEBRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_PurchaseEBRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitExpressions() { + this.bigo2Column.Expression = "iif(project = \'\', bigo , iif( bigo = \'\', project, project + \'/\' + bigo ))"; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_PurchaseEBRowChanged != null)) { + this.EETGW_PurchaseEBRowChanged(this, new EETGW_PurchaseEBRowChangeEvent(((EETGW_PurchaseEBRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_PurchaseEBRowChanging != null)) { + this.EETGW_PurchaseEBRowChanging(this, new EETGW_PurchaseEBRowChangeEvent(((EETGW_PurchaseEBRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_PurchaseEBRowDeleted != null)) { + this.EETGW_PurchaseEBRowDeleted(this, new EETGW_PurchaseEBRowChangeEvent(((EETGW_PurchaseEBRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_PurchaseEBRowDeleting != null)) { + this.EETGW_PurchaseEBRowDeleting(this, new EETGW_PurchaseEBRowChangeEvent(((EETGW_PurchaseEBRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void RemoveEETGW_PurchaseEBRow(EETGW_PurchaseEBRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPurchase ds = new dsPurchase(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "EETGW_PurchaseEBDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents the strongly named DataTable class. /// @@ -7594,6 +8789,1353 @@ namespace FEQ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_PurchaseEBRow : global::System.Data.DataRow { + + private EETGW_PurchaseEBDataTable tableEETGW_PurchaseEB; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal EETGW_PurchaseEBRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_PurchaseEB = ((EETGW_PurchaseEBDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_PurchaseEB.idxColumn])); + } + set { + this[this.tableEETGW_PurchaseEB.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string pdate { + get { + if (this.IspdateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.pdateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string state { + get { + if (this.IsstateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.stateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.stateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string process { + get { + if (this.IsprocessNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.processColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.processColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string receive { + get { + if (this.IsreceiveNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.receiveColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.receiveColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string sc { + get { + if (this.IsscNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.scColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.scColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string request { + get { + if (this.IsrequestNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.requestColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.requestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string sid { + get { + if (this.IssidNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.sidColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.sidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string pumname { + get { + if (this.IspumnameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.pumnameColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumnameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string pumscale { + get { + if (this.IspumscaleNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.pumscaleColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumscaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string pumunit { + get { + if (this.IspumunitNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.pumunitColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumunitColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int pumqty { + get { + if (this.IspumqtyNull()) { + return 0; + } + else { + return ((int)(this[this.tableEETGW_PurchaseEB.pumqtyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumqtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public decimal pumprice { + get { + if (this.IspumpriceNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableEETGW_PurchaseEB.pumpriceColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumpriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public decimal pumamt { + get { + if (this.IspumamtNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableEETGW_PurchaseEB.pumamtColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumamtColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string supply { + get { + if (this.IssupplyNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.supplyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.supplyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int supplyidx { + get { + if (this.IssupplyidxNull()) { + return -1; + } + else { + return ((int)(this[this.tableEETGW_PurchaseEB.supplyidxColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.supplyidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string project { + get { + if (this.IsprojectNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.projectColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int projectidx { + get { + if (this.IsprojectidxNull()) { + return -1; + } + else { + return ((int)(this[this.tableEETGW_PurchaseEB.projectidxColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.projectidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string asset { + get { + if (this.IsassetNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.assetColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.assetColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string edate { + get { + if (this.IsedateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.edateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.edateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string indate { + get { + if (this.IsindateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.indateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.indateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string po { + get { + if (this.IspoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.poColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.poColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string dept { + get { + if (this.IsdeptNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.deptColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.deptColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_PurchaseEB.wuidColumn])); + } + set { + this[this.tableEETGW_PurchaseEB.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_PurchaseEB.wdateColumn])); + } + set { + this[this.tableEETGW_PurchaseEB.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool import { + get { + try { + return ((bool)(this[this.tableEETGW_PurchaseEB.importColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.importColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int pumidx { + get { + if (this.IspumidxNull()) { + return -1; + } + else { + return ((int)(this[this.tableEETGW_PurchaseEB.pumidxColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool isdel { + get { + try { + return ((bool)(this[this.tableEETGW_PurchaseEB.isdelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'isdel\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.isdelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string bigo { + get { + if (this.IsbigoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.bigoColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.bigoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string manuproc { + get { + if (this.IsmanuprocNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.manuprocColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.manuprocColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string orderno { + get { + if (this.IsordernoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.ordernoColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.ordernoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tableEETGW_PurchaseEB.gcodeColumn])); + } + set { + this[this.tableEETGW_PurchaseEB.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string receiveName { + get { + if (this.IsreceiveNameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.receiveNameColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.receiveNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string requestName { + get { + if (this.IsrequestNameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.requestNameColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.requestNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string place { + get { + if (this.IsplaceNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.placeColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.placeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int inqty { + get { + if (this.IsinqtyNull()) { + return 0; + } + else { + return ((int)(this[this.tableEETGW_PurchaseEB.inqtyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.inqtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string bigo2 { + get { + if (this.Isbigo2Null()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.bigo2Column])); + } + } + set { + this[this.tableEETGW_PurchaseEB.bigo2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public decimal pumpriceD { + get { + if (this.IspumpriceDNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableEETGW_PurchaseEB.pumpriceDColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumpriceDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string inremark { + get { + if (this.IsinremarkNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.inremarkColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.inremarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string winuid { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseEB.winuidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'winuid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.winuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public System.DateTime windate { + get { + try { + return ((global::System.DateTime)(this[this.tableEETGW_PurchaseEB.windateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'windate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.windateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool chk1 { + get { + if (this.Ischk1Null()) { + return false; + } + else { + return ((bool)(this[this.tableEETGW_PurchaseEB.chk1Column])); + } + } + set { + this[this.tableEETGW_PurchaseEB.chk1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool chk2 { + get { + if (this.Ischk2Null()) { + return false; + } + else { + return ((bool)(this[this.tableEETGW_PurchaseEB.chk2Column])); + } + } + set { + this[this.tableEETGW_PurchaseEB.chk2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string costcenter { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseEB.costcenterColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'costcenter\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.costcenterColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string linecode { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseEB.linecodeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.linecodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int pumqtyReq { + get { + if (this.IspumqtyReqNull()) { + return 0; + } + else { + return ((int)(this[this.tableEETGW_PurchaseEB.pumqtyReqColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.pumqtyReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string chkremark { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseEB.chkremarkColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseEB\' 테이블의 \'chkremark\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseEB.chkremarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string purchase_manager { + get { + if (this.Ispurchase_managerNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.purchase_managerColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.purchase_managerColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string purchase_admin { + get { + if (this.Ispurchase_adminNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.purchase_adminColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.purchase_adminColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string currency { + get { + if (this.IscurrencyNull()) { + return "USD"; + } + else { + return ((string)(this[this.tableEETGW_PurchaseEB.currencyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseEB.currencyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpdateNull() { + this[this.tableEETGW_PurchaseEB.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsstateNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.stateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetstateNull() { + this[this.tableEETGW_PurchaseEB.stateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsprocessNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.processColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetprocessNull() { + this[this.tableEETGW_PurchaseEB.processColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsreceiveNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.receiveColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetreceiveNull() { + this[this.tableEETGW_PurchaseEB.receiveColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsscNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.scColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetscNull() { + this[this.tableEETGW_PurchaseEB.scColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsrequestNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.requestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetrequestNull() { + this[this.tableEETGW_PurchaseEB.requestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IssidNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.sidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetsidNull() { + this[this.tableEETGW_PurchaseEB.sidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumnameNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumnameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumnameNull() { + this[this.tableEETGW_PurchaseEB.pumnameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumscaleNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumscaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumscaleNull() { + this[this.tableEETGW_PurchaseEB.pumscaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumunitNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumunitColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumunitNull() { + this[this.tableEETGW_PurchaseEB.pumunitColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumqtyNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumqtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumqtyNull() { + this[this.tableEETGW_PurchaseEB.pumqtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumpriceNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumpriceColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumpriceNull() { + this[this.tableEETGW_PurchaseEB.pumpriceColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumamtNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumamtColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumamtNull() { + this[this.tableEETGW_PurchaseEB.pumamtColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IssupplyNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.supplyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetsupplyNull() { + this[this.tableEETGW_PurchaseEB.supplyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IssupplyidxNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.supplyidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetsupplyidxNull() { + this[this.tableEETGW_PurchaseEB.supplyidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetprojectNull() { + this[this.tableEETGW_PurchaseEB.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsprojectidxNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.projectidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetprojectidxNull() { + this[this.tableEETGW_PurchaseEB.projectidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsassetNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.assetColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetassetNull() { + this[this.tableEETGW_PurchaseEB.assetColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsedateNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.edateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetedateNull() { + this[this.tableEETGW_PurchaseEB.edateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsindateNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.indateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetindateNull() { + this[this.tableEETGW_PurchaseEB.indateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspoNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.poColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpoNull() { + this[this.tableEETGW_PurchaseEB.poColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsdeptNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.deptColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetdeptNull() { + this[this.tableEETGW_PurchaseEB.deptColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsimportNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.importColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetimportNull() { + this[this.tableEETGW_PurchaseEB.importColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumidxNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumidxNull() { + this[this.tableEETGW_PurchaseEB.pumidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsisdelNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.isdelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetisdelNull() { + this[this.tableEETGW_PurchaseEB.isdelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsbigoNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.bigoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetbigoNull() { + this[this.tableEETGW_PurchaseEB.bigoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsmanuprocNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.manuprocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetmanuprocNull() { + this[this.tableEETGW_PurchaseEB.manuprocColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsordernoNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.ordernoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetordernoNull() { + this[this.tableEETGW_PurchaseEB.ordernoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsreceiveNameNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.receiveNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetreceiveNameNull() { + this[this.tableEETGW_PurchaseEB.receiveNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsrequestNameNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.requestNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetrequestNameNull() { + this[this.tableEETGW_PurchaseEB.requestNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsplaceNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.placeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetplaceNull() { + this[this.tableEETGW_PurchaseEB.placeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsinqtyNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.inqtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetinqtyNull() { + this[this.tableEETGW_PurchaseEB.inqtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool Isbigo2Null() { + return this.IsNull(this.tableEETGW_PurchaseEB.bigo2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void Setbigo2Null() { + this[this.tableEETGW_PurchaseEB.bigo2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumpriceDNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumpriceDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumpriceDNull() { + this[this.tableEETGW_PurchaseEB.pumpriceDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsinremarkNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.inremarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetinremarkNull() { + this[this.tableEETGW_PurchaseEB.inremarkColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IswinuidNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.winuidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetwinuidNull() { + this[this.tableEETGW_PurchaseEB.winuidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IswindateNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.windateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetwindateNull() { + this[this.tableEETGW_PurchaseEB.windateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool Ischk1Null() { + return this.IsNull(this.tableEETGW_PurchaseEB.chk1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void Setchk1Null() { + this[this.tableEETGW_PurchaseEB.chk1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool Ischk2Null() { + return this.IsNull(this.tableEETGW_PurchaseEB.chk2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void Setchk2Null() { + this[this.tableEETGW_PurchaseEB.chk2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IscostcenterNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.costcenterColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetcostcenterNull() { + this[this.tableEETGW_PurchaseEB.costcenterColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IslinecodeNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.linecodeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetlinecodeNull() { + this[this.tableEETGW_PurchaseEB.linecodeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IspumqtyReqNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.pumqtyReqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetpumqtyReqNull() { + this[this.tableEETGW_PurchaseEB.pumqtyReqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IschkremarkNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.chkremarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetchkremarkNull() { + this[this.tableEETGW_PurchaseEB.chkremarkColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool Ispurchase_managerNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.purchase_managerColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void Setpurchase_managerNull() { + this[this.tableEETGW_PurchaseEB.purchase_managerColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool Ispurchase_adminNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.purchase_adminColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void Setpurchase_adminNull() { + this[this.tableEETGW_PurchaseEB.purchase_adminColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IscurrencyNull() { + return this.IsNull(this.tableEETGW_PurchaseEB.currencyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetcurrencyNull() { + this[this.tableEETGW_PurchaseEB.currencyColumn] = global::System.Convert.DBNull; + } + } + /// ///Represents strongly named DataRow class. /// @@ -8215,6 +10757,40 @@ namespace FEQ0000 { } } + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public class EETGW_PurchaseEBRowChangeEvent : global::System.EventArgs { + + private EETGW_PurchaseEBRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRowChangeEvent(EETGW_PurchaseEBRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + /// ///Row event argument class /// @@ -13862,6 +16438,2493 @@ GROUP BY purchase_admin"; } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class EETGW_PurchaseEBTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_PurchaseEBTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_PurchaseEB"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("pdate", "pdate"); + tableMapping.ColumnMappings.Add("state", "state"); + tableMapping.ColumnMappings.Add("process", "process"); + tableMapping.ColumnMappings.Add("receive", "receive"); + tableMapping.ColumnMappings.Add("sc", "sc"); + tableMapping.ColumnMappings.Add("request", "request"); + tableMapping.ColumnMappings.Add("sid", "sid"); + tableMapping.ColumnMappings.Add("pumname", "pumname"); + tableMapping.ColumnMappings.Add("pumscale", "pumscale"); + tableMapping.ColumnMappings.Add("pumunit", "pumunit"); + tableMapping.ColumnMappings.Add("pumqty", "pumqty"); + tableMapping.ColumnMappings.Add("pumprice", "pumprice"); + tableMapping.ColumnMappings.Add("pumamt", "pumamt"); + tableMapping.ColumnMappings.Add("supply", "supply"); + tableMapping.ColumnMappings.Add("supplyidx", "supplyidx"); + tableMapping.ColumnMappings.Add("project", "project"); + tableMapping.ColumnMappings.Add("projectidx", "projectidx"); + tableMapping.ColumnMappings.Add("asset", "asset"); + tableMapping.ColumnMappings.Add("edate", "edate"); + tableMapping.ColumnMappings.Add("indate", "indate"); + tableMapping.ColumnMappings.Add("po", "po"); + tableMapping.ColumnMappings.Add("dept", "dept"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + tableMapping.ColumnMappings.Add("import", "import"); + tableMapping.ColumnMappings.Add("pumidx", "pumidx"); + tableMapping.ColumnMappings.Add("isdel", "isdel"); + tableMapping.ColumnMappings.Add("bigo", "bigo"); + tableMapping.ColumnMappings.Add("manuproc", "manuproc"); + tableMapping.ColumnMappings.Add("orderno", "orderno"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); + tableMapping.ColumnMappings.Add("receiveName", "receiveName"); + tableMapping.ColumnMappings.Add("requestName", "requestName"); + tableMapping.ColumnMappings.Add("place", "place"); + tableMapping.ColumnMappings.Add("inqty", "inqty"); + tableMapping.ColumnMappings.Add("pumpriceD", "pumpriceD"); + tableMapping.ColumnMappings.Add("inremark", "inremark"); + tableMapping.ColumnMappings.Add("winuid", "winuid"); + tableMapping.ColumnMappings.Add("windate", "windate"); + tableMapping.ColumnMappings.Add("chk1", "chk1"); + tableMapping.ColumnMappings.Add("chk2", "chk2"); + tableMapping.ColumnMappings.Add("costcenter", "costcenter"); + tableMapping.ColumnMappings.Add("linecode", "linecode"); + tableMapping.ColumnMappings.Add("pumqtyReq", "pumqtyReq"); + tableMapping.ColumnMappings.Add("chkremark", "chkremark"); + tableMapping.ColumnMappings.Add("purchase_manager", "purchase_manager"); + tableMapping.ColumnMappings.Add("purchase_admin", "purchase_admin"); + tableMapping.ColumnMappings.Add("currency", "currency"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [EETGW_PurchaseEB] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate" + + " = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = " + + "1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1" + + " AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receiv" + + "e = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_s" + + "c = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND " + + "[request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND" + + " [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumna" + + "me] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND " + + "[pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit " + + "= 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pum" + + "qty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pu" + + "mprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@" + + "IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((" + + "@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND (" + + "(@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supp" + + "lyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] " + + "= @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset" + + "] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] =" + + " @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] =" + + " @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_" + + "po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AN" + + "D ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import" + + " = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumid" + + "x = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isde" + + "l = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = " + + "1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 A" + + "ND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_order" + + "no = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] =" + + " @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Or" + + "iginal_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Origi" + + "nal_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD]" + + " = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR (" + + "[inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL)" + + " OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NU" + + "LL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NUL" + + "L) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR (" + + "[chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL)" + + " OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linec" + + "ode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_pumqtyReq = 1 " + + "AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_c" + + "hkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) AN" + + "D ((@IsNull_purchase_manager = 1 AND [purchase_manager] IS NULL) OR ([purchase_m" + + "anager] = @Original_purchase_manager)) AND ((@IsNull_purchase_admin = 1 AND [pur" + + "chase_admin] IS NULL) OR ([purchase_admin] = @Original_purchase_admin)) AND ((@I" + + "sNull_currency = 1 AND [currency] IS NULL) OR ([currency] = @Original_currency))" + + ")"; + 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, 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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", 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_pumname", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", 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.VarChar, 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_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_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", 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_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.Bit, 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_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bigo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bigo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manuproc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manuproc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, 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_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumpriceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumpriceD", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_winuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_windate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costcenter", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_linecode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqtyReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqtyReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkremark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkremark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_purchase_manager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_manager", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_purchase_manager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_manager", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_purchase_admin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_admin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_purchase_admin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_admin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_currency", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "currency", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_currency", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "currency", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [EETGW_PurchaseEB] ([pdate], [state], [process], [receive], [sc], [re" + + "quest], [sid], [pumname], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt]," + + " [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po" + + "], [dept], [wuid], [wdate], [import], [pumidx], [isdel], [bigo], [manuproc], [or" + + "derno], [gcode], [place], [inqty], [pumpriceD], [inremark], [winuid], [windate]," + + " [chk1], [chk2], [costcenter], [linecode], [pumqtyReq], [chkremark], [purchase_m" + + "anager], [purchase_admin], [currency]) VALUES (@pdate, @state, @process, @receiv" + + "e, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @puma" + + "mt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @d" + + "ept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode" + + ", @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costc" + + "enter, @linecode, @pumqtyReq, @chkremark, @purchase_manager, @purchase_admin, @c" + + "urrency);\r\nSELECT idx, pdate, state, process, receive, dbo.getUserName(receive) " + + "AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumna" + + "me, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, pro" + + "jectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, big" + + "o, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate," + + " chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager, purch" + + "ase_admin, currency FROM EETGW_PurchaseEB WHERE (idx = SCOPE_IDENTITY()) ORDER B" + + "Y pdate DESC, idx DESC"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", 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("@pumname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.VarChar, 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("@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("@project", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", 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, 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("@import", global::System.Data.SqlDbType.Bit, 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("@pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bigo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", 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("@place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumqtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqtyReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkremark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@purchase_manager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_manager", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@purchase_admin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_admin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@currency", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "currency", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_PurchaseEB] SET [pdate] = @pdate, [state] = @state, [process] = @pr" + + "ocess, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pu" + + "mname] = @pumname, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pum" + + "qty, [pumprice] = @pumprice, [pumamt] = @pumamt, [supply] = @supply, [supplyidx]" + + " = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asse" + + "t, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [wuid] = @w" + + "uid, [wdate] = @wdate, [import] = @import, [pumidx] = @pumidx, [isdel] = @isdel," + + " [bigo] = @bigo, [manuproc] = @manuproc, [orderno] = @orderno, [gcode] = @gcode," + + " [place] = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD, [inremark] = @inr" + + "emark, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2," + + " [costcenter] = @costcenter, [linecode] = @linecode, [pumqtyReq] = @pumqtyReq, [" + + "chkremark] = @chkremark, [purchase_manager] = @purchase_manager, [purchase_admin" + + "] = @purchase_admin, [currency] = @currency WHERE (([idx] = @Original_idx) AND (" + + "(@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@I" + + "sNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNu" + + "ll_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((" + + "@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) A" + + "ND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_re" + + "quest = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNu" + + "ll_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname " + + "= 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pum" + + "scale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@I" + + "sNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND" + + " ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AN" + + "D ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pump" + + "rice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_p" + + "umamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_" + + "supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = " + + "@Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR " + + "([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NU" + + "LL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL)" + + " OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) " + + "OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po" + + "] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Orig" + + "inal_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((" + + "@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND (" + + "(@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND " + + "((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@" + + "IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_" + + "manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND (" + + "(@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) " + + "AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR " + + "([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([i" + + "nqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) O" + + "R ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark]" + + " IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [wi" + + "nuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [" + + "windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND" + + " [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2]" + + " IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costce" + + "nter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode " + + "= 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_" + + "pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) A" + + "ND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_" + + "chkremark)) AND ((@IsNull_purchase_manager = 1 AND [purchase_manager] IS NULL) O" + + "R ([purchase_manager] = @Original_purchase_manager)) AND ((@IsNull_purchase_admi" + + "n = 1 AND [purchase_admin] IS NULL) OR ([purchase_admin] = @Original_purchase_ad" + + "min)) AND ((@IsNull_currency = 1 AND [currency] IS NULL) OR ([currency] = @Origi" + + "nal_currency)));\r\nSELECT idx, pdate, state, process, receive, dbo.getUserName(re" + + "ceive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid" + + ", pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, proje" + + "ct, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isd" + + "el, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, w" + + "indate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager" + + ", purchase_admin, currency FROM EETGW_PurchaseEB WHERE (idx = @idx) ORDER BY pda" + + "te DESC, idx DESC"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", 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("@pumname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.VarChar, 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("@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("@project", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", 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, 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("@import", global::System.Data.SqlDbType.Bit, 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("@pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bigo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", 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("@place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumqtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqtyReq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkremark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@purchase_manager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_manager", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@purchase_admin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_admin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@currency", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "currency", 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, 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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", 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_pumname", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", 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.VarChar, 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_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_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", 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_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.Bit, 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_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bigo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bigo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manuproc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manuproc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, 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_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumpriceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumpriceD", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_winuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_windate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costcenter", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_linecode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqtyReq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqtyReq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqtyReq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkremark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkremark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_purchase_manager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_manager", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_purchase_manager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_manager", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_purchase_admin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_admin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_purchase_admin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "purchase_admin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_currency", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "currency", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_currency", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "currency", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FEQ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, + pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, + winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager, purchase_admin, currency +FROM EETGW_PurchaseEB +WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) +ORDER BY pdate DESC, idx DESC"; + 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[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT COUNT(*) AS Expr1\r\nFROM EETGW_PurchaseEB\r\nWHERE (import = 1) AND (pd" + + "ate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gcode = @gcode)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].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[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "DELETE FROM EETGW_PurchaseEB\r\nWHERE (import = 1) AND (pdate BETWEEN @sd AND @ed)" + + " AND (wuid = @userid) AND (gcode = @gcode)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2].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.Original, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = @"SELECT asset, bigo, chk1, chk2, chkremark, costcenter, currency, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, manuproc, orderno, pdate, place, po, process, project, + projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumqtyReq, pumscale, pumunit, purchase_admin, purchase_manager, receive, dbo.getUserName(receive) + AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, windate, winuid, wuid +FROM EETGW_PurchaseEB +WHERE (idx = @idx)"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, + pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid, inremark, + winuid, windate, chk1, chk2, pumqtyReq, chkremark, costcenter, linecode, purchase_manager, purchase_admin, currency +FROM EETGW_PurchaseEB +WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (state IN ('PO', 'Received')) +ORDER BY pdate DESC, idx DESC"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(dsPurchase.EETGW_PurchaseEBDataTable dataTable, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual dsPurchase.EETGW_PurchaseEBDataTable GetData(string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + dsPurchase.EETGW_PurchaseEBDataTable dataTable = new dsPurchase.EETGW_PurchaseEBDataTable(true); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] + public virtual int FillByIdx(dsPurchase.EETGW_PurchaseEBDataTable dataTable, int idx) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual dsPurchase.EETGW_PurchaseEBDataTable GetByIdx(int idx) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); + dsPurchase.EETGW_PurchaseEBDataTable dataTable = new dsPurchase.EETGW_PurchaseEBDataTable(true); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] + public virtual int FillDate(dsPurchase.EETGW_PurchaseEBDataTable dataTable, string sd, string ed, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed)); + } + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(gcode)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual dsPurchase.EETGW_PurchaseEBDataTable GetDate(string sd, string ed, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed)); + } + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(gcode)); + } + dsPurchase.EETGW_PurchaseEBDataTable dataTable = new dsPurchase.EETGW_PurchaseEBDataTable(true); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPurchase.EETGW_PurchaseEBDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPurchase dataSet) { + return this.Adapter.Update(dataSet, "EETGW_PurchaseEB"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + int Original_idx, + string Original_pdate, + string Original_state, + string Original_process, + string Original_receive, + string Original_sc, + string Original_request, + string Original_sid, + string Original_pumname, + string Original_pumscale, + string Original_pumunit, + global::System.Nullable Original_pumqty, + global::System.Nullable Original_pumprice, + global::System.Nullable Original_pumamt, + string Original_supply, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_projectidx, + string Original_asset, + string Original_edate, + string Original_indate, + string Original_po, + string Original_dept, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_import, + global::System.Nullable Original_pumidx, + global::System.Nullable Original_isdel, + string Original_bigo, + string Original_manuproc, + string Original_orderno, + string Original_gcode, + string Original_place, + global::System.Nullable Original_inqty, + global::System.Nullable Original_pumpriceD, + string Original_inremark, + string Original_winuid, + global::System.Nullable Original_windate, + global::System.Nullable Original_chk1, + global::System.Nullable Original_chk2, + string Original_costcenter, + string Original_linecode, + global::System.Nullable Original_pumqtyReq, + string Original_chkremark, + string Original_purchase_manager, + string Original_purchase_admin, + string Original_currency) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_pdate == 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_pdate)); + } + if ((Original_state == 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_state)); + } + if ((Original_process == 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_process)); + } + if ((Original_receive == 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_receive)); + } + if ((Original_sc == 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_sc)); + } + if ((Original_request == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_request)); + } + if ((Original_sid == 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_sid)); + } + if ((Original_pumname == null)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_pumname)); + } + if ((Original_pumscale == 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_pumscale)); + } + if ((Original_pumunit == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_pumunit)); + } + if ((Original_pumqty.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((int)(Original_pumqty.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((Original_pumprice.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((decimal)(Original_pumprice.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Original_pumamt.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((decimal)(Original_pumamt.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((Original_supply == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_supply)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + if ((Original_projectidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((int)(Original_projectidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_asset == 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_asset)); + } + if ((Original_edate == null)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_edate)); + } + if ((Original_indate == 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_indate)); + } + if ((Original_po == null)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_po)); + } + if ((Original_dept == null)) { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_dept)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[44].Value = ((System.DateTime)(Original_wdate)); + if ((Original_import.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[46].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; + } + if ((Original_pumidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[48].Value = ((int)(Original_pumidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_isdel.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[50].Value = ((bool)(Original_isdel.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((Original_bigo == null)) { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_bigo)); + } + if ((Original_manuproc == null)) { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_manuproc)); + } + if ((Original_orderno == null)) { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[56].Value = ((string)(Original_orderno)); + } + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.DeleteCommand.Parameters[57].Value = ((string)(Original_gcode)); + } + if ((Original_place == null)) { + this.Adapter.DeleteCommand.Parameters[58].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[59].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[58].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[59].Value = ((string)(Original_place)); + } + if ((Original_inqty.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[60].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[61].Value = ((int)(Original_inqty.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[60].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[61].Value = global::System.DBNull.Value; + } + if ((Original_pumpriceD.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[62].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[63].Value = ((decimal)(Original_pumpriceD.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[62].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[63].Value = global::System.DBNull.Value; + } + if ((Original_inremark == null)) { + this.Adapter.DeleteCommand.Parameters[64].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[65].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[64].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[65].Value = ((string)(Original_inremark)); + } + if ((Original_winuid == null)) { + this.Adapter.DeleteCommand.Parameters[66].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[67].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[66].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[67].Value = ((string)(Original_winuid)); + } + if ((Original_windate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[68].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[69].Value = ((System.DateTime)(Original_windate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[68].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[69].Value = global::System.DBNull.Value; + } + if ((Original_chk1.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[70].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[71].Value = ((bool)(Original_chk1.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[70].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[71].Value = global::System.DBNull.Value; + } + if ((Original_chk2.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[72].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[73].Value = ((bool)(Original_chk2.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[72].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[73].Value = global::System.DBNull.Value; + } + if ((Original_costcenter == null)) { + this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[75].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[75].Value = ((string)(Original_costcenter)); + } + if ((Original_linecode == null)) { + this.Adapter.DeleteCommand.Parameters[76].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[77].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[76].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[77].Value = ((string)(Original_linecode)); + } + if ((Original_pumqtyReq.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[78].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[79].Value = ((int)(Original_pumqtyReq.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[78].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[79].Value = global::System.DBNull.Value; + } + if ((Original_chkremark == null)) { + this.Adapter.DeleteCommand.Parameters[80].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[81].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[80].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[81].Value = ((string)(Original_chkremark)); + } + if ((Original_purchase_manager == null)) { + this.Adapter.DeleteCommand.Parameters[82].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[83].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[82].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[83].Value = ((string)(Original_purchase_manager)); + } + if ((Original_purchase_admin == null)) { + this.Adapter.DeleteCommand.Parameters[84].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[85].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[84].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[85].Value = ((string)(Original_purchase_admin)); + } + if ((Original_currency == null)) { + this.Adapter.DeleteCommand.Parameters[86].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[87].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[86].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[87].Value = ((string)(Original_currency)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + string pumscale, + string pumunit, + global::System.Nullable pumqty, + global::System.Nullable pumprice, + global::System.Nullable pumamt, + string supply, + global::System.Nullable supplyidx, + string project, + global::System.Nullable projectidx, + string asset, + string edate, + string indate, + string po, + string dept, + string wuid, + System.DateTime wdate, + global::System.Nullable import, + global::System.Nullable pumidx, + global::System.Nullable isdel, + string bigo, + string manuproc, + string orderno, + string gcode, + string place, + global::System.Nullable inqty, + global::System.Nullable pumpriceD, + string inremark, + string winuid, + global::System.Nullable windate, + global::System.Nullable chk1, + global::System.Nullable chk2, + string costcenter, + string linecode, + global::System.Nullable pumqtyReq, + string chkremark, + string purchase_manager, + string purchase_admin, + string currency) { + if ((pdate == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(pdate)); + } + if ((state == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(state)); + } + if ((process == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(process)); + } + if ((receive == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(receive)); + } + if ((sc == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(sc)); + } + if ((request == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(request)); + } + if ((sid == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(sid)); + } + if ((pumname == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(pumname)); + } + if ((pumscale == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(pumscale)); + } + if ((pumunit == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(pumunit)); + } + if ((pumqty.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[10].Value = ((int)(pumqty.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((pumprice.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(pumprice.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((pumamt.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(pumamt.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((supply == null)) { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(supply)); + } + if ((supplyidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[14].Value = ((int)(supplyidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((project == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(project)); + } + if ((projectidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[16].Value = ((int)(projectidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((asset == null)) { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(asset)); + } + if ((edate == null)) { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(edate)); + } + if ((indate == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(indate)); + } + if ((po == null)) { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = ((string)(po)); + } + if ((dept == null)) { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = ((string)(dept)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[23].Value = ((System.DateTime)(wdate)); + if ((import.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[24].Value = ((bool)(import.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((pumidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[25].Value = ((int)(pumidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((isdel.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[26].Value = ((bool)(isdel.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((bigo == null)) { + this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[27].Value = ((string)(bigo)); + } + if ((manuproc == null)) { + this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[28].Value = ((string)(manuproc)); + } + if ((orderno == null)) { + this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[29].Value = ((string)(orderno)); + } + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.InsertCommand.Parameters[30].Value = ((string)(gcode)); + } + if ((place == null)) { + this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[31].Value = ((string)(place)); + } + if ((inqty.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[32].Value = ((int)(inqty.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((pumpriceD.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[33].Value = ((decimal)(pumpriceD.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value; + } + if ((inremark == null)) { + this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[34].Value = ((string)(inremark)); + } + if ((winuid == null)) { + this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[35].Value = ((string)(winuid)); + } + if ((windate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[36].Value = ((System.DateTime)(windate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((chk1.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[37].Value = ((bool)(chk1.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((chk2.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[38].Value = ((bool)(chk2.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value; + } + if ((costcenter == null)) { + this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[39].Value = ((string)(costcenter)); + } + if ((linecode == null)) { + this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[40].Value = ((string)(linecode)); + } + if ((pumqtyReq.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[41].Value = ((int)(pumqtyReq.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value; + } + if ((chkremark == null)) { + this.Adapter.InsertCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[42].Value = ((string)(chkremark)); + } + if ((purchase_manager == null)) { + this.Adapter.InsertCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[43].Value = ((string)(purchase_manager)); + } + if ((purchase_admin == null)) { + this.Adapter.InsertCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[44].Value = ((string)(purchase_admin)); + } + if ((currency == null)) { + this.Adapter.InsertCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[45].Value = ((string)(currency)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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 pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + string pumscale, + string pumunit, + global::System.Nullable pumqty, + global::System.Nullable pumprice, + global::System.Nullable pumamt, + string supply, + global::System.Nullable supplyidx, + string project, + global::System.Nullable projectidx, + string asset, + string edate, + string indate, + string po, + string dept, + string wuid, + System.DateTime wdate, + global::System.Nullable import, + global::System.Nullable pumidx, + global::System.Nullable isdel, + string bigo, + string manuproc, + string orderno, + string gcode, + string place, + global::System.Nullable inqty, + global::System.Nullable pumpriceD, + string inremark, + string winuid, + global::System.Nullable windate, + global::System.Nullable chk1, + global::System.Nullable chk2, + string costcenter, + string linecode, + global::System.Nullable pumqtyReq, + string chkremark, + string purchase_manager, + string purchase_admin, + string currency, + int Original_idx, + string Original_pdate, + string Original_state, + string Original_process, + string Original_receive, + string Original_sc, + string Original_request, + string Original_sid, + string Original_pumname, + string Original_pumscale, + string Original_pumunit, + global::System.Nullable Original_pumqty, + global::System.Nullable Original_pumprice, + global::System.Nullable Original_pumamt, + string Original_supply, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_projectidx, + string Original_asset, + string Original_edate, + string Original_indate, + string Original_po, + string Original_dept, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_import, + global::System.Nullable Original_pumidx, + global::System.Nullable Original_isdel, + string Original_bigo, + string Original_manuproc, + string Original_orderno, + string Original_gcode, + string Original_place, + global::System.Nullable Original_inqty, + global::System.Nullable Original_pumpriceD, + string Original_inremark, + string Original_winuid, + global::System.Nullable Original_windate, + global::System.Nullable Original_chk1, + global::System.Nullable Original_chk2, + string Original_costcenter, + string Original_linecode, + global::System.Nullable Original_pumqtyReq, + string Original_chkremark, + string Original_purchase_manager, + string Original_purchase_admin, + string Original_currency, + int idx) { + if ((pdate == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(pdate)); + } + if ((state == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(state)); + } + if ((process == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(process)); + } + if ((receive == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(receive)); + } + if ((sc == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(sc)); + } + if ((request == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(request)); + } + if ((sid == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(sid)); + } + if ((pumname == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(pumname)); + } + if ((pumscale == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(pumscale)); + } + if ((pumunit == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(pumunit)); + } + if ((pumqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(pumqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((pumprice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(pumprice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((pumamt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(pumamt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((supply == null)) { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(supply)); + } + if ((supplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(supplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((project == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(project)); + } + if ((projectidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(projectidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((asset == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(asset)); + } + if ((edate == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(edate)); + } + if ((indate == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(indate)); + } + if ((po == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(po)); + } + if ((dept == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(dept)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(wdate)); + if ((import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((bool)(import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((pumidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(pumidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((isdel.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[26].Value = ((bool)(isdel.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((bigo == null)) { + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(bigo)); + } + if ((manuproc == null)) { + this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(manuproc)); + } + if ((orderno == null)) { + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(orderno)); + } + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(gcode)); + } + if ((place == null)) { + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(place)); + } + if ((inqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(inqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((pumpriceD.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(pumpriceD.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + if ((inremark == null)) { + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(inremark)); + } + if ((winuid == null)) { + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(winuid)); + } + if ((windate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(windate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((chk1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((bool)(chk1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((chk2.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(chk2.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + if ((costcenter == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(costcenter)); + } + if ((linecode == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(linecode)); + } + if ((pumqtyReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(pumqtyReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + if ((chkremark == null)) { + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(chkremark)); + } + if ((purchase_manager == null)) { + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(purchase_manager)); + } + if ((purchase_admin == null)) { + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(purchase_admin)); + } + if ((currency == null)) { + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(currency)); + } + this.Adapter.UpdateCommand.Parameters[46].Value = ((int)(Original_idx)); + if ((Original_pdate == null)) { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_pdate)); + } + if ((Original_state == null)) { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_state)); + } + if ((Original_process == 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_process)); + } + if ((Original_receive == 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_receive)); + } + if ((Original_sc == null)) { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_sc)); + } + if ((Original_request == 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_request)); + } + if ((Original_sid == null)) { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_sid)); + } + if ((Original_pumname == null)) { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_pumname)); + } + if ((Original_pumscale == null)) { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_pumscale)); + } + if ((Original_pumunit == null)) { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_pumunit)); + } + if ((Original_pumqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(Original_pumqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; + } + if ((Original_pumprice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[70].Value = ((decimal)(Original_pumprice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; + } + if ((Original_pumamt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(Original_pumamt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; + } + if ((Original_supply == null)) { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Original_supply)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[76].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; + } + if ((Original_projectidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[78].Value = ((int)(Original_projectidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; + } + if ((Original_asset == null)) { + this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_asset)); + } + if ((Original_edate == null)) { + this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Original_edate)); + } + if ((Original_indate == null)) { + this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[84].Value = ((string)(Original_indate)); + } + if ((Original_po == null)) { + this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[86].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[86].Value = ((string)(Original_po)); + } + if ((Original_dept == null)) { + this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[88].Value = ((string)(Original_dept)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[90].Value = ((System.DateTime)(Original_wdate)); + if ((Original_import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[92].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[92].Value = global::System.DBNull.Value; + } + if ((Original_pumidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[94].Value = ((int)(Original_pumidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value; + } + if ((Original_isdel.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[96].Value = ((bool)(Original_isdel.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[96].Value = global::System.DBNull.Value; + } + if ((Original_bigo == null)) { + this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(Original_bigo)); + } + if ((Original_manuproc == null)) { + this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[100].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[100].Value = ((string)(Original_manuproc)); + } + if ((Original_orderno == null)) { + this.Adapter.UpdateCommand.Parameters[101].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[102].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[101].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[102].Value = ((string)(Original_orderno)); + } + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[103].Value = ((string)(Original_gcode)); + } + if ((Original_place == null)) { + this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[105].Value = ((string)(Original_place)); + } + if ((Original_inqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[107].Value = ((int)(Original_inqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[107].Value = global::System.DBNull.Value; + } + if ((Original_pumpriceD.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[109].Value = ((decimal)(Original_pumpriceD.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[109].Value = global::System.DBNull.Value; + } + if ((Original_inremark == null)) { + this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[111].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_inremark)); + } + if ((Original_winuid == null)) { + this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[113].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[113].Value = ((string)(Original_winuid)); + } + if ((Original_windate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[115].Value = ((System.DateTime)(Original_windate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[115].Value = global::System.DBNull.Value; + } + if ((Original_chk1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[117].Value = ((bool)(Original_chk1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[117].Value = global::System.DBNull.Value; + } + if ((Original_chk2.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[119].Value = ((bool)(Original_chk2.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[119].Value = global::System.DBNull.Value; + } + if ((Original_costcenter == null)) { + this.Adapter.UpdateCommand.Parameters[120].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[121].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[120].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[121].Value = ((string)(Original_costcenter)); + } + if ((Original_linecode == null)) { + this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[123].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[123].Value = ((string)(Original_linecode)); + } + if ((Original_pumqtyReq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[124].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[125].Value = ((int)(Original_pumqtyReq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[124].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[125].Value = global::System.DBNull.Value; + } + if ((Original_chkremark == null)) { + this.Adapter.UpdateCommand.Parameters[126].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[127].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[126].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[127].Value = ((string)(Original_chkremark)); + } + if ((Original_purchase_manager == null)) { + this.Adapter.UpdateCommand.Parameters[128].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[129].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[128].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[129].Value = ((string)(Original_purchase_manager)); + } + if ((Original_purchase_admin == null)) { + this.Adapter.UpdateCommand.Parameters[130].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[131].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[130].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[131].Value = ((string)(Original_purchase_admin)); + } + if ((Original_currency == null)) { + this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[133].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[133].Value = ((string)(Original_currency)); + } + this.Adapter.UpdateCommand.Parameters[134].Value = ((int)(idx)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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 pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + string pumscale, + string pumunit, + global::System.Nullable pumqty, + global::System.Nullable pumprice, + global::System.Nullable pumamt, + string supply, + global::System.Nullable supplyidx, + string project, + global::System.Nullable projectidx, + string asset, + string edate, + string indate, + string po, + string dept, + string wuid, + System.DateTime wdate, + global::System.Nullable import, + global::System.Nullable pumidx, + global::System.Nullable isdel, + string bigo, + string manuproc, + string orderno, + string gcode, + string place, + global::System.Nullable inqty, + global::System.Nullable pumpriceD, + string inremark, + string winuid, + global::System.Nullable windate, + global::System.Nullable chk1, + global::System.Nullable chk2, + string costcenter, + string linecode, + global::System.Nullable pumqtyReq, + string chkremark, + string purchase_manager, + string purchase_admin, + string currency, + int Original_idx, + string Original_pdate, + string Original_state, + string Original_process, + string Original_receive, + string Original_sc, + string Original_request, + string Original_sid, + string Original_pumname, + string Original_pumscale, + string Original_pumunit, + global::System.Nullable Original_pumqty, + global::System.Nullable Original_pumprice, + global::System.Nullable Original_pumamt, + string Original_supply, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_projectidx, + string Original_asset, + string Original_edate, + string Original_indate, + string Original_po, + string Original_dept, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_import, + global::System.Nullable Original_pumidx, + global::System.Nullable Original_isdel, + string Original_bigo, + string Original_manuproc, + string Original_orderno, + string Original_gcode, + string Original_place, + global::System.Nullable Original_inqty, + global::System.Nullable Original_pumpriceD, + string Original_inremark, + string Original_winuid, + global::System.Nullable Original_windate, + global::System.Nullable Original_chk1, + global::System.Nullable Original_chk2, + string Original_costcenter, + string Original_linecode, + global::System.Nullable Original_pumqtyReq, + string Original_chkremark, + string Original_purchase_manager, + string Original_purchase_admin, + string Original_currency) { + return this.Update(pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager, purchase_admin, currency, Original_idx, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumname, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_edate, Original_indate, Original_po, Original_dept, Original_wuid, Original_wdate, Original_import, Original_pumidx, Original_isdel, Original_bigo, Original_manuproc, Original_orderno, Original_gcode, Original_place, Original_inqty, Original_pumpriceD, Original_inremark, Original_winuid, Original_windate, Original_chk1, Original_chk2, Original_costcenter, Original_linecode, Original_pumqtyReq, Original_chkremark, Original_purchase_manager, Original_purchase_admin, Original_currency, Original_idx); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual global::System.Nullable CoutImport(string sd, string ed, string userid, string gcode) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((sd == null)) { + command.Parameters[0].Value = global::System.DBNull.Value; + } + else { + command.Parameters[0].Value = ((string)(sd)); + } + if ((ed == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(ed)); + } + if ((userid == null)) { + throw new global::System.ArgumentNullException("userid"); + } + else { + command.Parameters[2].Value = ((string)(userid)); + } + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + command.Parameters[3].Value = ((string)(gcode)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return new global::System.Nullable(); + } + else { + return new global::System.Nullable(((int)(returnValue))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int DeleteImport(string sd, string ed, string userid, string gcode) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((sd == null)) { + command.Parameters[0].Value = global::System.DBNull.Value; + } + else { + command.Parameters[0].Value = ((string)(sd)); + } + if ((ed == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(ed)); + } + if ((userid == null)) { + throw new global::System.ArgumentNullException("userid"); + } + else { + command.Parameters[2].Value = ((string)(userid)); + } + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + command.Parameters[3].Value = ((string)(gcode)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -13878,6 +18941,8 @@ GROUP BY purchase_admin"; private EETGW_PurchaseCRTableAdapter _eETGW_PurchaseCRTableAdapter; + private EETGW_PurchaseEBTableAdapter _eETGW_PurchaseEBTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -13921,6 +18986,20 @@ GROUP BY purchase_admin"; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EETGW_PurchaseEBTableAdapter EETGW_PurchaseEBTableAdapter { + get { + return this._eETGW_PurchaseEBTableAdapter; + } + set { + this._eETGW_PurchaseEBTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -13948,6 +19027,10 @@ GROUP BY purchase_admin"; && (this._eETGW_PurchaseCRTableAdapter.Connection != null))) { return this._eETGW_PurchaseCRTableAdapter.Connection; } + if (((this._eETGW_PurchaseEBTableAdapter != null) + && (this._eETGW_PurchaseEBTableAdapter.Connection != null))) { + return this._eETGW_PurchaseEBTableAdapter.Connection; + } return null; } set { @@ -13967,6 +19050,9 @@ GROUP BY purchase_admin"; if ((this._eETGW_PurchaseCRTableAdapter != null)) { count = (count + 1); } + if ((this._eETGW_PurchaseEBTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -13996,6 +19082,15 @@ GROUP BY purchase_admin"; allChangedRows.AddRange(updatedRows); } } + if ((this._eETGW_PurchaseEBTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_PurchaseEB.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_PurchaseEBTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -14022,6 +19117,14 @@ GROUP BY purchase_admin"; allAddedRows.AddRange(addedRows); } } + if ((this._eETGW_PurchaseEBTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_PurchaseEB.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_PurchaseEBTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -14032,6 +19135,14 @@ GROUP BY purchase_admin"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private int UpdateDeletedRows(dsPurchase dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._eETGW_PurchaseEBTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_PurchaseEB.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_PurchaseEBTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._eETGW_PurchaseCRTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -14095,6 +19206,10 @@ GROUP BY purchase_admin"; && (this.MatchTableAdapterConnection(this._eETGW_PurchaseCRTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._eETGW_PurchaseEBTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_PurchaseEBTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + @@ -14144,6 +19259,15 @@ GROUP BY purchase_admin"; adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_PurchaseCRTableAdapter.Adapter); } } + if ((this._eETGW_PurchaseEBTableAdapter != null)) { + revertConnections.Add(this._eETGW_PurchaseEBTableAdapter, this._eETGW_PurchaseEBTableAdapter.Connection); + this._eETGW_PurchaseEBTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_PurchaseEBTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_PurchaseEBTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_PurchaseEBTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_PurchaseEBTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -14210,6 +19334,10 @@ GROUP BY purchase_admin"; this._eETGW_PurchaseCRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_PurchaseCRTableAdapter])); this._eETGW_PurchaseCRTableAdapter.Transaction = null; } + if ((this._eETGW_PurchaseEBTableAdapter != null)) { + this._eETGW_PurchaseEBTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_PurchaseEBTableAdapter])); + this._eETGW_PurchaseEBTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/SubProject/FEQ0000/dsPurchase.xsd b/SubProject/FEQ0000/dsPurchase.xsd index c97aeb2..7683bb2 100644 --- a/SubProject/FEQ0000/dsPurchase.xsd +++ b/SubProject/FEQ0000/dsPurchase.xsd @@ -991,6 +991,436 @@ GROUP BY purchase_admin + + + + + + DELETE FROM [EETGW_PurchaseEB] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) AND ((@IsNull_purchase_manager = 1 AND [purchase_manager] IS NULL) OR ([purchase_manager] = @Original_purchase_manager)) AND ((@IsNull_purchase_admin = 1 AND [purchase_admin] IS NULL) OR ([purchase_admin] = @Original_purchase_admin)) AND ((@IsNull_currency = 1 AND [currency] IS NULL) OR ([currency] = @Original_currency))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_PurchaseEB] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po], [dept], [wuid], [wdate], [import], [pumidx], [isdel], [bigo], [manuproc], [orderno], [gcode], [place], [inqty], [pumpriceD], [inremark], [winuid], [windate], [chk1], [chk2], [costcenter], [linecode], [pumqtyReq], [chkremark], [purchase_manager], [purchase_admin], [currency]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode, @pumqtyReq, @chkremark, @purchase_manager, @purchase_admin, @currency); +SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager, purchase_admin, currency FROM EETGW_PurchaseEB WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, + pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, + winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager, purchase_admin, currency +FROM EETGW_PurchaseEB +WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) +ORDER BY pdate DESC, idx DESC + + + + + + + + UPDATE [EETGW_PurchaseEB] SET [pdate] = @pdate, [state] = @state, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] = @pumname, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumprice] = @pumprice, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [wuid] = @wuid, [wdate] = @wdate, [import] = @import, [pumidx] = @pumidx, [isdel] = @isdel, [bigo] = @bigo, [manuproc] = @manuproc, [orderno] = @orderno, [gcode] = @gcode, [place] = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD, [inremark] = @inremark, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2, [costcenter] = @costcenter, [linecode] = @linecode, [pumqtyReq] = @pumqtyReq, [chkremark] = @chkremark, [purchase_manager] = @purchase_manager, [purchase_admin] = @purchase_admin, [currency] = @currency WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) AND ((@IsNull_purchase_manager = 1 AND [purchase_manager] IS NULL) OR ([purchase_manager] = @Original_purchase_manager)) AND ((@IsNull_purchase_admin = 1 AND [purchase_admin] IS NULL) OR ([purchase_admin] = @Original_purchase_admin)) AND ((@IsNull_currency = 1 AND [currency] IS NULL) OR ([currency] = @Original_currency))); +SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark, purchase_manager, purchase_admin, currency FROM EETGW_PurchaseEB WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT COUNT(*) AS Expr1 +FROM EETGW_PurchaseEB +WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gcode = @gcode) + + + + + + + + + + + + + DELETE FROM [Purchase] WHERE import = 1 + + + + + + DELETE FROM EETGW_PurchaseEB +WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gcode = @gcode) + + + + + + + + + + + + + SELECT asset, bigo, chk1, chk2, chkremark, costcenter, currency, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, manuproc, orderno, pdate, place, po, process, project, + projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumqtyReq, pumscale, pumunit, purchase_admin, purchase_manager, receive, dbo.getUserName(receive) + AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, windate, winuid, wuid +FROM EETGW_PurchaseEB +WHERE (idx = @idx) + + + + + + + + + + SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, + pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid, inremark, + winuid, windate, chk1, chk2, pumqtyReq, chkremark, costcenter, linecode, purchase_manager, purchase_admin, currency +FROM EETGW_PurchaseEB +WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (state IN ('PO', 'Received')) +ORDER BY pdate DESC, idx DESC + + + + + + + + + + @@ -1510,14 +1940,14 @@ GROUP BY purchase_admin - + - + @@ -1618,7 +2048,7 @@ GROUP BY purchase_admin - + @@ -1718,7 +2148,7 @@ GROUP BY purchase_admin - + @@ -1731,6 +2161,260 @@ GROUP BY purchase_admin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1754,5 +2438,9 @@ GROUP BY purchase_admin + + + + \ No newline at end of file diff --git a/SubProject/FEQ0000/fItemin.Designer.cs b/SubProject/FEQ0000/fItemin.Designer.cs index 95c11b5..a41e75c 100644 --- a/SubProject/FEQ0000/fItemin.Designer.cs +++ b/SubProject/FEQ0000/fItemin.Designer.cs @@ -31,16 +31,16 @@ namespace FEQ0000 { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItemin)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); this.button1 = new System.Windows.Forms.Button(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); @@ -57,77 +57,8 @@ namespace FEQ0000 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); this.tbman = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); - this.tbadm = new System.Windows.Forms.ToolStripComboBox(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.ipkolistDataGridView = new System.Windows.Forms.DataGridView(); - this.bn = new System.Windows.Forms.BindingNavigator(this.components); - this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); - this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.tbFind = new System.Windows.Forms.ToolStripTextBox(); - this.btFind = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); - this.lbSum = new System.Windows.Forms.ToolStripLabel(); - this.panel2 = new System.Windows.Forms.Panel(); - this.panel3 = new System.Windows.Forms.Panel(); - this.label3 = new System.Windows.Forms.Label(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tabPage1 = new System.Windows.Forms.TabPage(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.dv2 = new System.Windows.Forms.DataGridView(); - this.dataGridViewButtonColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.orderno = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.toolStripButton8 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton10 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButton11 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton12 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); - this.tbFind2 = new System.Windows.Forms.ToolStripTextBox(); - this.btFind2 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton15 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); - this.toolStrip2 = new System.Windows.Forms.ToolStrip(); - this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); - this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); - this.tbindate = new System.Windows.Forms.ToolStripTextBox(); - this.btRefreshIn = new System.Windows.Forms.ToolStripButton(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.dsPurchase = new FEQ0000.dsPurchase(); - this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bs2 = new System.Windows.Forms.BindingSource(this.components); - this.dsPurchase1 = new FEQ0000.dsPurchase(); - this.ta = new FEQ0000.dsPurchaseTableAdapters.IpkolistTableAdapter(); - this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager(); - this.textBox1 = new System.Windows.Forms.TextBox(); this.dvc_in = new System.Windows.Forms.DataGridViewButtonColumn(); this.dvc_manager = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dvc_admin = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -144,9 +75,80 @@ namespace FEQ0000 this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); + this.lbSum1 = new System.Windows.Forms.ToolStripLabel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.panel3 = new System.Windows.Forms.Panel(); + this.label3 = new System.Windows.Forms.Label(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.dv2 = new System.Windows.Forms.DataGridView(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewButtonColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.orderno = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bs2 = new System.Windows.Forms.BindingSource(this.components); + this.dsPurchase1 = new FEQ0000.dsPurchase(); + this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripButton8 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton10 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton11 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton12 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind2 = new System.Windows.Forms.ToolStripTextBox(); + this.btFind2 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton15 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); + this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); + this.lbSum2 = new System.Windows.Forms.ToolStripLabel(); + this.toolStrip2 = new System.Windows.Forms.ToolStrip(); + this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.tbindate = new System.Windows.Forms.ToolStripTextBox(); + this.btRefreshIn = new System.Windows.Forms.ToolStripButton(); + this.ta = new FEQ0000.dsPurchaseTableAdapters.IpkolistTableAdapter(); + this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager(); + this.button2 = new System.Windows.Forms.Button(); this.statusStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ipkolistDataGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); this.panel2.SuspendLayout(); @@ -155,20 +157,18 @@ namespace FEQ0000 this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dv2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); this.bindingNavigator1.SuspendLayout(); this.toolStrip2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).BeginInit(); this.SuspendLayout(); // // button1 // - this.button1.Dock = System.Windows.Forms.DockStyle.Right; + this.button1.Dock = System.Windows.Forms.DockStyle.Left; this.button1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.button1.Location = new System.Drawing.Point(1160, 0); + this.button1.Location = new System.Drawing.Point(0, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(122, 51); this.button1.TabIndex = 0; @@ -244,9 +244,9 @@ namespace FEQ0000 this.tbSearch.Dock = System.Windows.Forms.DockStyle.Bottom; this.tbSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 19F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.tbSearch.ImeMode = System.Windows.Forms.ImeMode.Alpha; - this.tbSearch.Location = new System.Drawing.Point(0, 22); + this.tbSearch.Location = new System.Drawing.Point(122, 22); this.tbSearch.Name = "tbSearch"; - this.tbSearch.Size = new System.Drawing.Size(1160, 29); + this.tbSearch.Size = new System.Drawing.Size(1065, 29); this.tbSearch.TabIndex = 2; this.tbSearch.Text = "4520286819#00020#109007296#1#EA#K115232311329759#001"; this.tbSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -261,8 +261,6 @@ namespace FEQ0000 this.toolStripSeparator2, this.toolStripLabel6, this.tbman, - this.toolStripLabel7, - this.tbadm, this.toolStripButton3}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; @@ -307,19 +305,6 @@ namespace FEQ0000 this.tbman.Name = "tbman"; this.tbman.Size = new System.Drawing.Size(150, 47); // - // toolStripLabel7 - // - this.toolStripLabel7.Name = "toolStripLabel7"; - this.toolStripLabel7.Size = new System.Drawing.Size(55, 44); - this.toolStripLabel7.Text = "구매승인"; - this.toolStripLabel7.Click += new System.EventHandler(this.toolStripLabel7_Click); - // - // tbadm - // - this.tbadm.Font = new System.Drawing.Font("맑은 고딕", 17F); - this.tbadm.Name = "tbadm"; - this.tbadm.Size = new System.Drawing.Size(150, 47); - // // toolStripButton3 // this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); @@ -355,15 +340,15 @@ namespace FEQ0000 this.dataGridViewTextBoxColumn13, this.dataGridViewTextBoxColumn12}); this.ipkolistDataGridView.DataSource = this.bs; - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle4.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(1, 5, 1, 5); - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.ipkolistDataGridView.DefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle24.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle24.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle24.Padding = new System.Windows.Forms.Padding(1, 5, 1, 5); + dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle24.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.ipkolistDataGridView.DefaultCellStyle = dataGridViewCellStyle24; this.ipkolistDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.ipkolistDataGridView.Location = new System.Drawing.Point(0, 98); this.ipkolistDataGridView.Name = "ipkolistDataGridView"; @@ -375,6 +360,134 @@ namespace FEQ0000 this.ipkolistDataGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ipkolistDataGridView_CellClick); this.ipkolistDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.ipkolistDataGridView_DataError); // + // dvc_in + // + this.dvc_in.DataPropertyName = "request"; + this.dvc_in.HeaderText = "요청자"; + this.dvc_in.Name = "dvc_in"; + this.dvc_in.ReadOnly = true; + // + // dvc_manager + // + this.dvc_manager.DataPropertyName = "purchase_manager"; + this.dvc_manager.HeaderText = "구매담당"; + this.dvc_manager.Name = "dvc_manager"; + this.dvc_manager.ReadOnly = true; + // + // dvc_admin + // + this.dvc_admin.DataPropertyName = "purchase_admin"; + this.dvc_admin.HeaderText = "구매승인"; + this.dvc_admin.Name = "dvc_admin"; + this.dvc_admin.ReadOnly = true; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.DataPropertyName = "source"; + this.dataGridViewTextBoxColumn1.HeaderText = "입력"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.ReadOnly = true; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.DataPropertyName = "pdate"; + this.dataGridViewTextBoxColumn3.HeaderText = "등록일"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.ReadOnly = true; + // + // dataGridViewTextBoxColumn4 + // + this.dataGridViewTextBoxColumn4.DataPropertyName = "state"; + this.dataGridViewTextBoxColumn4.HeaderText = "상태"; + this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; + this.dataGridViewTextBoxColumn4.ReadOnly = true; + // + // place + // + this.place.DataPropertyName = "place"; + this.place.HeaderText = "보관소"; + this.place.Name = "place"; + this.place.ReadOnly = true; + // + // dataGridViewTextBoxColumn5 + // + this.dataGridViewTextBoxColumn5.DataPropertyName = "sid"; + this.dataGridViewTextBoxColumn5.HeaderText = "SID"; + this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + this.dataGridViewTextBoxColumn5.ReadOnly = true; + // + // dataGridViewTextBoxColumn6 + // + this.dataGridViewTextBoxColumn6.DataPropertyName = "pumname"; + dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle21; + this.dataGridViewTextBoxColumn6.HeaderText = "품명"; + this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; + this.dataGridViewTextBoxColumn6.ReadOnly = true; + // + // dataGridViewTextBoxColumn7 + // + this.dataGridViewTextBoxColumn7.DataPropertyName = "pumscale"; + this.dataGridViewTextBoxColumn7.HeaderText = "모델"; + this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; + this.dataGridViewTextBoxColumn7.ReadOnly = true; + // + // dataGridViewTextBoxColumn8 + // + this.dataGridViewTextBoxColumn8.DataPropertyName = "pumqty"; + this.dataGridViewTextBoxColumn8.HeaderText = "수량"; + this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; + this.dataGridViewTextBoxColumn8.ReadOnly = true; + // + // dataGridViewTextBoxColumn9 + // + this.dataGridViewTextBoxColumn9.DataPropertyName = "pumprice"; + dataGridViewCellStyle22.Format = "N0"; + this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle22; + this.dataGridViewTextBoxColumn9.HeaderText = "단가"; + this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; + this.dataGridViewTextBoxColumn9.ReadOnly = true; + // + // dataGridViewTextBoxColumn10 + // + this.dataGridViewTextBoxColumn10.DataPropertyName = "pumamt"; + dataGridViewCellStyle23.Format = "N0"; + this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle23; + this.dataGridViewTextBoxColumn10.HeaderText = "금액"; + this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; + this.dataGridViewTextBoxColumn10.ReadOnly = true; + // + // dataGridViewTextBoxColumn11 + // + this.dataGridViewTextBoxColumn11.DataPropertyName = "supply"; + this.dataGridViewTextBoxColumn11.HeaderText = "공급"; + this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; + this.dataGridViewTextBoxColumn11.ReadOnly = true; + // + // dataGridViewTextBoxColumn13 + // + this.dataGridViewTextBoxColumn13.DataPropertyName = "bigo"; + this.dataGridViewTextBoxColumn13.HeaderText = "비고"; + this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; + this.dataGridViewTextBoxColumn13.ReadOnly = true; + // + // dataGridViewTextBoxColumn12 + // + this.dataGridViewTextBoxColumn12.DataPropertyName = "project"; + this.dataGridViewTextBoxColumn12.HeaderText = "연관프로젝트"; + this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; + this.dataGridViewTextBoxColumn12.ReadOnly = true; + // + // bs + // + this.bs.DataMember = "Ipkolist"; + this.bs.DataSource = this.dsPurchase; + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // // bn // this.bn.AddNewItem = null; @@ -396,11 +509,10 @@ namespace FEQ0000 this.toolStripLabel1, this.tbFind, this.btFind, - this.toolStripButton4, this.toolStripButton5, this.toolStripSeparator1, this.toolStripLabel5, - this.lbSum}); + this.lbSum1}); this.bn.Location = new System.Drawing.Point(0, 637); this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; @@ -505,16 +617,6 @@ namespace FEQ0000 this.btFind.Text = "toolStripButton3"; this.btFind.Click += new System.EventHandler(this.btFind_Click); // - // toolStripButton4 - // - this.toolStripButton4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); - this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton4.Name = "toolStripButton4"; - this.toolStripButton4.Size = new System.Drawing.Size(67, 36); - this.toolStripButton4.Text = "입고"; - this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); - // // toolStripButton5 // this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); @@ -535,12 +637,12 @@ namespace FEQ0000 this.toolStripLabel5.Size = new System.Drawing.Size(55, 36); this.toolStripLabel5.Text = "합계금액"; // - // lbSum + // lbSum1 // - this.lbSum.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold); - this.lbSum.Name = "lbSum"; - this.lbSum.Size = new System.Drawing.Size(30, 36); - this.lbSum.Text = "0"; + this.lbSum1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold); + this.lbSum1.Name = "lbSum1"; + this.lbSum1.Size = new System.Drawing.Size(30, 36); + this.lbSum1.Text = "0"; // // panel2 // @@ -556,12 +658,24 @@ namespace FEQ0000 this.panel2.Size = new System.Drawing.Size(1282, 698); this.panel2.TabIndex = 5; // + // textBox1 + // + this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bigo", true)); + this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.textBox1.Location = new System.Drawing.Point(0, 597); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(1282, 40); + this.textBox1.TabIndex = 7; + // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.tbSearch); this.panel3.Controls.Add(this.button1); + this.panel3.Controls.Add(this.button2); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 47); this.panel3.Name = "panel3"; @@ -573,9 +687,9 @@ namespace FEQ0000 this.label3.Dock = System.Windows.Forms.DockStyle.Fill; this.label3.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.label3.ForeColor = System.Drawing.Color.Gray; - this.label3.Location = new System.Drawing.Point(0, 0); + this.label3.Location = new System.Drawing.Point(122, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(1160, 22); + this.label3.Size = new System.Drawing.Size(1065, 22); this.label3.TabIndex = 3; this.label3.Text = "QR CODE 값을 입력하세요"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -640,15 +754,15 @@ namespace FEQ0000 this.dataGridViewTextBoxColumn23, this.dataGridViewTextBoxColumn24}); this.dv2.DataSource = this.bs2; - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle10.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle10.Padding = new System.Windows.Forms.Padding(1, 5, 1, 5); - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dv2.DefaultCellStyle = dataGridViewCellStyle10; + dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle30.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle30.Padding = new System.Windows.Forms.Padding(1, 5, 1, 5); + dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dv2.DefaultCellStyle = dataGridViewCellStyle30; this.dv2.Dock = System.Windows.Forms.DockStyle.Fill; this.dv2.Location = new System.Drawing.Point(3, 50); this.dv2.Name = "dv2"; @@ -658,6 +772,13 @@ namespace FEQ0000 this.dv2.Size = new System.Drawing.Size(1282, 612); this.dv2.TabIndex = 8; // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.DataPropertyName = "source"; + this.dataGridViewTextBoxColumn2.HeaderText = "위치"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; + // // dataGridViewButtonColumn1 // this.dataGridViewButtonColumn1.DataPropertyName = "request"; @@ -667,6 +788,82 @@ namespace FEQ0000 this.dataGridViewButtonColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewButtonColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // + // dataGridViewTextBoxColumn14 + // + this.dataGridViewTextBoxColumn14.DataPropertyName = "pdate"; + this.dataGridViewTextBoxColumn14.HeaderText = "등록일"; + this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; + this.dataGridViewTextBoxColumn14.ReadOnly = true; + // + // dataGridViewTextBoxColumn15 + // + this.dataGridViewTextBoxColumn15.DataPropertyName = "state"; + this.dataGridViewTextBoxColumn15.HeaderText = "상태"; + this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; + this.dataGridViewTextBoxColumn15.ReadOnly = true; + // + // dataGridViewTextBoxColumn16 + // + this.dataGridViewTextBoxColumn16.DataPropertyName = "sid"; + this.dataGridViewTextBoxColumn16.HeaderText = "SID"; + this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; + this.dataGridViewTextBoxColumn16.ReadOnly = true; + // + // dataGridViewTextBoxColumn17 + // + this.dataGridViewTextBoxColumn17.DataPropertyName = "pumname"; + dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle25; + this.dataGridViewTextBoxColumn17.HeaderText = "품명"; + this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; + this.dataGridViewTextBoxColumn17.ReadOnly = true; + // + // dataGridViewTextBoxColumn18 + // + this.dataGridViewTextBoxColumn18.DataPropertyName = "pumscale"; + dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle26; + this.dataGridViewTextBoxColumn18.HeaderText = "모델"; + this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; + this.dataGridViewTextBoxColumn18.ReadOnly = true; + // + // dataGridViewTextBoxColumn19 + // + this.dataGridViewTextBoxColumn19.DataPropertyName = "pumqty"; + dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle27.Format = "N0"; + this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle27; + this.dataGridViewTextBoxColumn19.HeaderText = "수량"; + this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; + this.dataGridViewTextBoxColumn19.ReadOnly = true; + // + // dataGridViewTextBoxColumn20 + // + this.dataGridViewTextBoxColumn20.DataPropertyName = "pumprice"; + dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle28.Format = "N0"; + this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle28; + this.dataGridViewTextBoxColumn20.HeaderText = "단가"; + this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; + this.dataGridViewTextBoxColumn20.ReadOnly = true; + // + // dataGridViewTextBoxColumn21 + // + this.dataGridViewTextBoxColumn21.DataPropertyName = "pumamt"; + dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle29.Format = "N0"; + this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle29; + this.dataGridViewTextBoxColumn21.HeaderText = "금액"; + this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; + this.dataGridViewTextBoxColumn21.ReadOnly = true; + // + // dataGridViewTextBoxColumn22 + // + this.dataGridViewTextBoxColumn22.DataPropertyName = "supply"; + this.dataGridViewTextBoxColumn22.HeaderText = "공급"; + this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; + this.dataGridViewTextBoxColumn22.ReadOnly = true; + // // orderno // this.orderno.DataPropertyName = "orderno"; @@ -674,6 +871,30 @@ namespace FEQ0000 this.orderno.Name = "orderno"; this.orderno.ReadOnly = true; // + // dataGridViewTextBoxColumn23 + // + this.dataGridViewTextBoxColumn23.DataPropertyName = "bigo"; + this.dataGridViewTextBoxColumn23.HeaderText = "비고"; + this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; + this.dataGridViewTextBoxColumn23.ReadOnly = true; + // + // dataGridViewTextBoxColumn24 + // + this.dataGridViewTextBoxColumn24.DataPropertyName = "project"; + this.dataGridViewTextBoxColumn24.HeaderText = "연관프로젝트"; + this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; + this.dataGridViewTextBoxColumn24.ReadOnly = true; + // + // bs2 + // + this.bs2.DataMember = "Ipkolist"; + this.bs2.DataSource = this.dsPurchase1; + // + // dsPurchase1 + // + this.dsPurchase1.DataSetName = "dsPurchase"; + this.dsPurchase1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // // bindingNavigator1 // this.bindingNavigator1.AddNewItem = null; @@ -697,7 +918,9 @@ namespace FEQ0000 this.btFind2, this.toolStripButton15, this.toolStripSeparator7, - this.toolStripButton6}); + this.toolStripButton6, + this.toolStripLabel7, + this.lbSum2}); this.bindingNavigator1.Location = new System.Drawing.Point(3, 662); this.bindingNavigator1.MoveFirstItem = this.toolStripButton8; this.bindingNavigator1.MoveLastItem = this.toolStripButton12; @@ -826,6 +1049,19 @@ namespace FEQ0000 this.toolStripButton6.Text = "메일발송(아웃룩)"; this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); // + // toolStripLabel7 + // + this.toolStripLabel7.Name = "toolStripLabel7"; + this.toolStripLabel7.Size = new System.Drawing.Size(55, 36); + this.toolStripLabel7.Text = "합계금액"; + // + // lbSum2 + // + this.lbSum2.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold); + this.lbSum2.Name = "lbSum2"; + this.lbSum2.Size = new System.Drawing.Size(30, 36); + this.lbSum2.Text = "0"; + // // toolStrip2 // this.toolStrip2.ImageScalingSize = new System.Drawing.Size(40, 40); @@ -871,123 +1107,6 @@ namespace FEQ0000 this.btRefreshIn.Text = "새로고침"; this.btRefreshIn.Click += new System.EventHandler(this.btRefreshIn_Click); // - // bs - // - this.bs.DataMember = "Ipkolist"; - this.bs.DataSource = this.dsPurchase; - // - // dsPurchase - // - this.dsPurchase.DataSetName = "dsPurchase"; - this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.DataPropertyName = "source"; - this.dataGridViewTextBoxColumn2.HeaderText = "위치"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.ReadOnly = true; - // - // dataGridViewTextBoxColumn14 - // - this.dataGridViewTextBoxColumn14.DataPropertyName = "pdate"; - this.dataGridViewTextBoxColumn14.HeaderText = "등록일"; - this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; - this.dataGridViewTextBoxColumn14.ReadOnly = true; - // - // dataGridViewTextBoxColumn15 - // - this.dataGridViewTextBoxColumn15.DataPropertyName = "state"; - this.dataGridViewTextBoxColumn15.HeaderText = "상태"; - this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; - this.dataGridViewTextBoxColumn15.ReadOnly = true; - // - // dataGridViewTextBoxColumn16 - // - this.dataGridViewTextBoxColumn16.DataPropertyName = "sid"; - this.dataGridViewTextBoxColumn16.HeaderText = "SID"; - this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; - this.dataGridViewTextBoxColumn16.ReadOnly = true; - // - // dataGridViewTextBoxColumn17 - // - this.dataGridViewTextBoxColumn17.DataPropertyName = "pumname"; - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle5; - this.dataGridViewTextBoxColumn17.HeaderText = "품명"; - this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; - this.dataGridViewTextBoxColumn17.ReadOnly = true; - // - // dataGridViewTextBoxColumn18 - // - this.dataGridViewTextBoxColumn18.DataPropertyName = "pumscale"; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle6; - this.dataGridViewTextBoxColumn18.HeaderText = "모델"; - this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; - this.dataGridViewTextBoxColumn18.ReadOnly = true; - // - // dataGridViewTextBoxColumn19 - // - this.dataGridViewTextBoxColumn19.DataPropertyName = "pumqty"; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; - dataGridViewCellStyle7.Format = "N0"; - this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle7; - this.dataGridViewTextBoxColumn19.HeaderText = "수량"; - this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; - this.dataGridViewTextBoxColumn19.ReadOnly = true; - // - // dataGridViewTextBoxColumn20 - // - this.dataGridViewTextBoxColumn20.DataPropertyName = "pumprice"; - dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; - dataGridViewCellStyle8.Format = "N0"; - this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle8; - this.dataGridViewTextBoxColumn20.HeaderText = "단가"; - this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; - this.dataGridViewTextBoxColumn20.ReadOnly = true; - // - // dataGridViewTextBoxColumn21 - // - this.dataGridViewTextBoxColumn21.DataPropertyName = "pumamt"; - dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; - dataGridViewCellStyle9.Format = "N0"; - this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle9; - this.dataGridViewTextBoxColumn21.HeaderText = "금액"; - this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; - this.dataGridViewTextBoxColumn21.ReadOnly = true; - // - // dataGridViewTextBoxColumn22 - // - this.dataGridViewTextBoxColumn22.DataPropertyName = "supply"; - this.dataGridViewTextBoxColumn22.HeaderText = "공급"; - this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; - this.dataGridViewTextBoxColumn22.ReadOnly = true; - // - // dataGridViewTextBoxColumn23 - // - this.dataGridViewTextBoxColumn23.DataPropertyName = "bigo"; - this.dataGridViewTextBoxColumn23.HeaderText = "비고"; - this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; - this.dataGridViewTextBoxColumn23.ReadOnly = true; - // - // dataGridViewTextBoxColumn24 - // - this.dataGridViewTextBoxColumn24.DataPropertyName = "project"; - this.dataGridViewTextBoxColumn24.HeaderText = "연관프로젝트"; - this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; - this.dataGridViewTextBoxColumn24.ReadOnly = true; - // - // bs2 - // - this.bs2.DataMember = "Ipkolist"; - this.bs2.DataSource = this.dsPurchase1; - // - // dsPurchase1 - // - this.dsPurchase1.DataSetName = "dsPurchase"; - this.dsPurchase1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // // ta // this.ta.ClearBeforeFill = true; @@ -997,137 +1116,22 @@ namespace FEQ0000 this.tam.BackupDataSetBeforeUpdate = false; this.tam.Connection = null; this.tam.EETGW_PurchaseCRTableAdapter = null; + this.tam.EETGW_PurchaseEBTableAdapter = null; this.tam.PurchaseTableAdapter = null; this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; // - // textBox1 + // button2 // - this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bigo", true)); - this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.textBox1.Location = new System.Drawing.Point(0, 597); - this.textBox1.Multiline = true; - this.textBox1.Name = "textBox1"; - this.textBox1.ReadOnly = true; - this.textBox1.Size = new System.Drawing.Size(1282, 40); - this.textBox1.TabIndex = 7; - // - // dvc_in - // - this.dvc_in.DataPropertyName = "request"; - this.dvc_in.HeaderText = "요청자"; - this.dvc_in.Name = "dvc_in"; - this.dvc_in.ReadOnly = true; - // - // dvc_manager - // - this.dvc_manager.DataPropertyName = "purchase_manager"; - this.dvc_manager.HeaderText = "구매담당"; - this.dvc_manager.Name = "dvc_manager"; - this.dvc_manager.ReadOnly = true; - // - // dvc_admin - // - this.dvc_admin.DataPropertyName = "purchase_admin"; - this.dvc_admin.HeaderText = "구매승인"; - this.dvc_admin.Name = "dvc_admin"; - this.dvc_admin.ReadOnly = true; - // - // dataGridViewTextBoxColumn1 - // - this.dataGridViewTextBoxColumn1.DataPropertyName = "source"; - this.dataGridViewTextBoxColumn1.HeaderText = "입력"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; - this.dataGridViewTextBoxColumn1.ReadOnly = true; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.DataPropertyName = "pdate"; - this.dataGridViewTextBoxColumn3.HeaderText = "등록일"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - this.dataGridViewTextBoxColumn3.ReadOnly = true; - // - // dataGridViewTextBoxColumn4 - // - this.dataGridViewTextBoxColumn4.DataPropertyName = "state"; - this.dataGridViewTextBoxColumn4.HeaderText = "상태"; - this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; - this.dataGridViewTextBoxColumn4.ReadOnly = true; - // - // place - // - this.place.DataPropertyName = "place"; - this.place.HeaderText = "보관소"; - this.place.Name = "place"; - this.place.ReadOnly = true; - // - // dataGridViewTextBoxColumn5 - // - this.dataGridViewTextBoxColumn5.DataPropertyName = "sid"; - this.dataGridViewTextBoxColumn5.HeaderText = "SID"; - this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; - this.dataGridViewTextBoxColumn5.ReadOnly = true; - // - // dataGridViewTextBoxColumn6 - // - this.dataGridViewTextBoxColumn6.DataPropertyName = "pumname"; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle1; - this.dataGridViewTextBoxColumn6.HeaderText = "품명"; - this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; - this.dataGridViewTextBoxColumn6.ReadOnly = true; - // - // dataGridViewTextBoxColumn7 - // - this.dataGridViewTextBoxColumn7.DataPropertyName = "pumscale"; - this.dataGridViewTextBoxColumn7.HeaderText = "모델"; - this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; - this.dataGridViewTextBoxColumn7.ReadOnly = true; - // - // dataGridViewTextBoxColumn8 - // - this.dataGridViewTextBoxColumn8.DataPropertyName = "pumqty"; - this.dataGridViewTextBoxColumn8.HeaderText = "수량"; - this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; - this.dataGridViewTextBoxColumn8.ReadOnly = true; - // - // dataGridViewTextBoxColumn9 - // - this.dataGridViewTextBoxColumn9.DataPropertyName = "pumprice"; - dataGridViewCellStyle2.Format = "N0"; - this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle2; - this.dataGridViewTextBoxColumn9.HeaderText = "단가"; - this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; - this.dataGridViewTextBoxColumn9.ReadOnly = true; - // - // dataGridViewTextBoxColumn10 - // - this.dataGridViewTextBoxColumn10.DataPropertyName = "pumamt"; - dataGridViewCellStyle3.Format = "N0"; - this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle3; - this.dataGridViewTextBoxColumn10.HeaderText = "금액"; - this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; - this.dataGridViewTextBoxColumn10.ReadOnly = true; - // - // dataGridViewTextBoxColumn11 - // - this.dataGridViewTextBoxColumn11.DataPropertyName = "supply"; - this.dataGridViewTextBoxColumn11.HeaderText = "공급"; - this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; - this.dataGridViewTextBoxColumn11.ReadOnly = true; - // - // dataGridViewTextBoxColumn13 - // - this.dataGridViewTextBoxColumn13.DataPropertyName = "bigo"; - this.dataGridViewTextBoxColumn13.HeaderText = "비고"; - this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; - this.dataGridViewTextBoxColumn13.ReadOnly = true; - // - // dataGridViewTextBoxColumn12 - // - this.dataGridViewTextBoxColumn12.DataPropertyName = "project"; - this.dataGridViewTextBoxColumn12.HeaderText = "연관프로젝트"; - this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; - this.dataGridViewTextBoxColumn12.ReadOnly = true; + this.button2.BackColor = System.Drawing.Color.Lime; + this.button2.Dock = System.Windows.Forms.DockStyle.Right; + this.button2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.button2.Location = new System.Drawing.Point(1187, 0); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(95, 51); + this.button2.TabIndex = 4; + this.button2.Text = "선택 항목 입고"; + this.button2.UseVisualStyleBackColor = false; + this.button2.Click += new System.EventHandler(this.button2_Click); // // fItemin // @@ -1144,6 +1148,8 @@ namespace FEQ0000 this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ipkolistDataGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); this.bn.ResumeLayout(false); this.bn.PerformLayout(); @@ -1156,15 +1162,13 @@ namespace FEQ0000 this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dv2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); this.bindingNavigator1.ResumeLayout(false); this.bindingNavigator1.PerformLayout(); this.toolStrip2.ResumeLayout(false); this.toolStrip2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).EndInit(); this.ResumeLayout(false); } @@ -1197,7 +1201,6 @@ namespace FEQ0000 private System.Windows.Forms.ToolStripTextBox tbFind; private System.Windows.Forms.ToolStripButton btFind; private System.Windows.Forms.ToolStripButton toolStripButton3; - private System.Windows.Forms.ToolStripButton toolStripButton4; private System.Windows.Forms.ToolStripButton toolStripButton5; private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Label label3; @@ -1251,11 +1254,9 @@ namespace FEQ0000 private System.Windows.Forms.ToolStripStatusLabel lbPO; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripLabel toolStripLabel5; - private System.Windows.Forms.ToolStripLabel lbSum; + private System.Windows.Forms.ToolStripLabel lbSum1; private System.Windows.Forms.ToolStripLabel toolStripLabel6; private System.Windows.Forms.ToolStripComboBox tbman; - private System.Windows.Forms.ToolStripLabel toolStripLabel7; - private System.Windows.Forms.ToolStripComboBox tbadm; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.DataGridViewButtonColumn dvc_in; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_manager; @@ -1273,5 +1274,8 @@ namespace FEQ0000 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; + private System.Windows.Forms.ToolStripLabel toolStripLabel7; + private System.Windows.Forms.ToolStripLabel lbSum2; + private System.Windows.Forms.Button button2; } } \ No newline at end of file diff --git a/SubProject/FEQ0000/fItemin.cs b/SubProject/FEQ0000/fItemin.cs index daf2f14..1197330 100644 --- a/SubProject/FEQ0000/fItemin.cs +++ b/SubProject/FEQ0000/fItemin.cs @@ -45,7 +45,7 @@ namespace FEQ0000 try { var search_mananger = tbman.Text.Trim(); - var search_admin = tbadm.Text.Trim(); + var search_admin = "";// tbadm.Text.Trim(); if (search_mananger.isEmpty() ) search_mananger = "%"; if (search_admin.isEmpty() ) search_admin = "%"; @@ -83,7 +83,17 @@ namespace FEQ0000 { if (dr.IspumamtNull() == false) sum += dr.pumamt; } - this.lbSum.Text = $"{sum:N0}"; + this.lbSum1.Text = $"{sum:N0}"; + } + void UpdateSum2() + { + decimal sum = 0; + var drs = this.dsPurchase1.Ipkolist.Select(this.bs2.Filter); + foreach (dsPurchase.IpkolistRow dr in drs) + { + if (dr.IspumamtNull() == false) sum += dr.pumamt; + } + this.lbSum2.Text = $"{sum:N0}"; } private void btFind_Click(object sender, EventArgs e) @@ -102,7 +112,7 @@ namespace FEQ0000 { try { - var list = new string[] { "sid","request", "pumname", "bigo","place", "purchase_manager", "purchase_admin" }; + var list = new string[] { "sid","request", "pumname", "bigo","place", "purchase_manager" }; var filter = string.Join(" like '%{0}%' or ", list); filter += " like '%{0}%'"; filter = string.Format(filter, search); @@ -183,17 +193,17 @@ namespace FEQ0000 var lat_adm = tauser.GetByAdmin(FCOMMON.info.Login.gcode); tbman.Items.Clear(); - tbadm.Items.Clear(); + //tbadm.Items.Clear(); foreach(dsPurchase.Purchase_ManagerlistRow dr in lst_man) { tbman.Items.Add(dr.username); } - foreach (dsPurchase.Purchase_ManagerlistRow dr in lat_adm) - { - tbadm.Items.Add(dr.username); - } + //foreach (dsPurchase.Purchase_ManagerlistRow dr in lat_adm) + //{ + // tbadm.Items.Add(dr.username); + //} } @@ -246,7 +256,7 @@ namespace FEQ0000 private void toolStripButton4_Click(object sender, EventArgs e) { - func_ipgo(); + } void func_ipgo() { @@ -333,7 +343,7 @@ namespace FEQ0000 try { var search_mananger = tbman.Text.Trim(); - var search_admin = tbadm.Text.Trim(); ; + var search_admin = "";// tbadm.Text.Trim(); ; if (search_mananger.isEmpty() ) search_mananger = "%"; if (search_admin.isEmpty() ) search_admin = "%"; @@ -348,6 +358,7 @@ namespace FEQ0000 { FCOMMON.Util.MsgE(ex.Message); } + UpdateSum2(); } private void toolStripButton13_Click(object sender, EventArgs e) @@ -582,10 +593,9 @@ namespace FEQ0000 tbman.Text = string.Empty; } - private void toolStripLabel7_Click(object sender, EventArgs e) + private void button2_Click(object sender, EventArgs e) { - if (tbadm.Text.isEmpty() == false) - tbadm.Text = string.Empty; + func_ipgo(); } } } diff --git a/SubProject/FEQ0000/fItemin.resx b/SubProject/FEQ0000/fItemin.resx index d97b74a..5f8e20c 100644 --- a/SubProject/FEQ0000/fItemin.resx +++ b/SubProject/FEQ0000/fItemin.resx @@ -127,24 +127,24 @@ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPsSURBVFhH3VhLSxtRFA60u9qf0QdtacGdbiSZzEySthTB - CEI18Q+o1diVb9248PU3ui9ddmOaGUVsSkyTQt/gphrBPFx0ZHq+8UQTvSYzedTgBx+E5N5zvtx77jnn - Xte1heZ2P4l5vWObPt87XZZ/vO/qysfa2w0Qn3Wf7zt+i8nyKMbytOZivbPztibLr3Wv97ceCGS3BweP - diMRMzM7a+YWF83C0pJFfMZ3u+PjZiIcLmBsVFV/aV5vhMS3sbnGgYze1BQlQiuVTfb15fcmJ82jlRX7 - XF42MSfZ3Z2jP5jFysMmm68PUUW5v6EoX/Te3uzB/LxYgAPCBlaUbKbX3e577KY2aJL0ggTmPoVCxyJn - 9TDe338c7ejIffB4nrM7Z9AlKYRgz8zMCB00gvvT0yZ80EIMsFt7wMph4sHCgtBwI4kth6+oJD1j95WB - mMO2NnPlznN/asrEdtOu3WUZYuBk4UA0I+aqMTE8bNDpTkEDy7kIHP+tYPBQZOB/ME5piFLZKMspB5Iw - 8pytVLK6ekLRbyLaHH8wN2dSETikVbyYzFEhkIRFE8tIjoxk0jQSCdsijXjcNNJp82htTfh7Ka1kThWH - ZZ0B5WuPglU06ZQsrgg7IiGuCDsiUXFiqvqTZZ0AxRzZHSVJNKmUpQ6BSiKdjD0laYgGArmoLD9ieSSQ - lhSFXzhBQDuOaxLHRINBmkZYnsuFtghdiWjwZawkoB5xILToivKW5VH8UT+H9kg0uBJFQuoVB2aoBG6q - 6leWZ1WPHHo40eBqPC+oFLWIA7Okhdq7LMujBE1dcMHGAbmMIpG1igPz1PRSDP5leU0SuLPTOIEtv8Ut - f0isNEMXHNHgy1hJSL0id8fGytMMupjtcLh1EnUoVCBNwyyPBHo8j1uq1Pn9Od3tfsjyToA4rHqdJOM4 - nUXYcVgq0kilqjYLfyYmLjYLAOoxWh3RpDKySCdbBpF2xIHQgJBjWWdAk4hL9VU2rBlqWGmhDj/K8i2W - VY6YJI1u9fRcTctPsYeWn/LfWRdzHnxpSuNSLTTSRCaGhgxNVT+/CQZvsBwx8ByBKyAu1SJDzSA6eVQz - ir07LKMy8BxBq5lvxFtMNVoXJUUpaJL0lN3bA54jIBKXapHhRhArBx8xWX7Jbp0BzxHY7vjAQGNjkg4E - Yg7b6njlzgPPERQbKVQabIfQoQMilcAWDoTtmKsGnG76p69wqUYitSqOk/6Rxp4+YJIN1Nmqp7UWkNA2 - VByUIt3vz+L2ZT0B04m3noBJCGg9AdN36EpQ+HGNRClFhYANNtdcoJiT2BG0RRuq+g2xWnxEx2d8h98w - RvN4HvC06waX6x85C/ENTzYRqAAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPsSURBVFhH3VhLTxpRFCZpd7U/o4+0TetWNwaGmQHapjER + E6NW/ANqFbvyrRsXvv5G902X3UiZ0Rg0QQpN+k7cVDGRh4uOmZ5vPCjoFWZ4VOKXfAmBe8/5uPfcc869 + rhsLze1+FvV6xzZ9vg+6LP/42NGRi7a2GiA+6z7fd/wWleVRjOVpjcV6e/tdTZbf6l7vbz0QyMQGB4/3 + wmEzPTtrZhcXzfzSkkV8xnd74+NmPBTKY2xEVX9pXm+YxLewufqBjN7WFCVMK5VJ9PTk9icnzeOVFftc + XjYxJ9HZmaU/mMHKwyabrw0RRXm4oShf9O7uzOH8vFiAA8IGVpRsptbd7gfspjpokvSKBGa3+/tPRM5q + Yay39yTS1pb95PG8ZHfOoEvSAII9PTMjdFAPHkxPm/BBC/Ga3doDVg4TDxcWhIbrSWw5fEUk6QW7Lw/E + HLa1kSt3kQdTUya2m3btPssQAycLB6IRMVeJ8eFhg053EhpYzmXg+G8Fg0ciA/+DO5SGKJWNspxSIAkj + z9lKJaurpxT9JqLN8YdzcyYVgSNaxcvJHBUCSVg0sYTkyEgkTCMety3S2NkxjVTKPF5bE/5eTCuZU8Vh + WedA+dqnYBVNOiOLK8COSIgrwI5IVJyoqv5kWadAMUd2R0kSTSpmsUOgnEgnY89IGiKBQDYiy09YHgmk + JUXhF04Q0I7jqsQx0WCQphGW53KhLUJXIhp8FcsJqEUcCC26orxneRR/1M+hPRINLkeRkFrFgWkqgZuq + +pXlWdUjix5ONLgSLwoqRjXiwAxpofYuw/IoQVMXnLdxQK6iSGS14sAcNb0Ug39ZXoME7u7WT2DTb3HT + HxIrzdAFRzT4KpYTUqvIvbGx0jSDLiYWCjVPoh4YyJOmYZZHAj2ep01V6vz+rO52P2Z5p0AcVrxOknGc + zgLsOCwWaSSTFZuFPxMTl5sFAPUYrY5oUglZpJMtg0g74kBoQMixrHOgScSl+job1jQ1rLRQR9uyfIdl + lSIqSaNbXV3X0/JT7KHlp/x33sVcBF+aUrhUC400kPGhIUNT1c/vgsFbLEcMPEfgCohLtchQI4hOHtWM + Yu8eyygPPEfQaubq8RZTidZFSVHymiQ9Z/f2gOcIiMSlWmS4HsTKwUdUlvvYrTPgOQLbHevrq29M0oFA + zGFbHa/cReA5gmIjiUqD7RA6dECkEtjCgbAdc5WA003/9A0u1UikVsVx0j/S2LMHTLKBOlvxtFYDEtqC + ioNSpPv9Gdy+rCdgOvHWEzAJAa0nYPoOXQkKP66RKKWoELDB5hoLFHMSO4K2aENVvyFWC4/o+Izv8BvG + aB7PI5520+By/QNU3PDXgrsH6wAAAABJRU5ErkJggg== @@ -162,30 +162,30 @@ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAV/SURBVFhH3VjZU1tVGL8zbg8uL65/gAuOPLg8O1q1I6MF - CU52oAVKoI6lTBOmUMDLkh1kCYpKQeiDLdN2lEISQksSEmgIEArDsAVRaEu1BVlcXmyl8X7lI7m5uUmA - EB76m/lmcuf73XN+Ofd8yznEA4uEE8Y3RMoe7UHNFWNGzYDzsG5oIqvO9WuGbmhGonONiFQ2B1L3Dgl5 - bU+KVFZ1WpXTldcw9qeyY8lT0bnGatl1Q3P4WvTxDml9WKC0KmB1yNZr99gEMW3PBPLIrthkTZ+r9Ie5 - u2xCghmbQD5pWaD+5FwwE5Ldi5wvLmmQHh5CuTn1yFcj17TGVVYRYCr9skfW6l7PbXKvZNeP3QCD36la - +y0cxgsQzTYGWGHr7D9CRW8tUsNDqLAcy2mcvM02mNa44sn9ZnwxrWqgX6S01ScV6/clFHW+sl/a9Xjc - UeNj8QUXn/+ksONdHMqLYAI3xNm2Lo5fYk451jD1O3MgrXHNIzs9s5yq6TXxiy69ivQtI5jAnFOTt/ll - 5iSkhQbsOfiszEHU+hVPWoVjnF/a+TZSt41Qnxh8fPLyy0hlB0QrBARzz5Ft1/8Ta/p6E/N/fBqpO4K/ - QP85tIZVT4q6z8nlnnsI6YGAVMKMVli5FJXdLpG4HkHajrEpUNYy97dYaZuFselzkRdu3hEorEVI9wck - YSrUZ+gvwL+Ezxrpym0CBII4qgLpDpDtz6RXO6f851vzZNYOTUOw4Ss+QIVgJmFZi3s5kj3HhEjZvQji - 8JHgyS0fyppnluhzlv80v059yVKk+EClDBedCKkkVdvXge5dAafYpMWfXqRqe03MPX+wwjGE7g1A4Yfa - SidBDtxJKtkuOGT3m9Jmt98qQqLnFHTFIoVKyuXWSmbhP1TZv2fdSJrW0U+fW9m+5BEqepToppa5wmGg - E6B8QYVAd9QhUthPaQz+EZ1S6dCjmyAOVTsH6E7pWfc6p9DwHrqjDmpv7pc2+6e3tOrBfnQThKR2cJLu - hD2QmG8IndV3ER8Xdbwka5lZpmsATegmiKy6q7N0Z3a96waXtD6B7qgD5oI56RpAE7oJIlM3/AvdudcC - 40jjU5L60Zt0DVl1wz6B6dXDfhmdCvvl+HzTi+iOOqBVy2kaX6NrgDMOulmCpGXubhLZ+QG6o454KkiO - n3Gv0zVkfDngRDdBwMmM7oQiDqGP7qhDpLR+y2wcUjS9vjQjlFsqVFRypBP2MlHDatHn3kjUFl+i5pJd - r8tOT63SSccb3H8kFlveQkrUwFN0xUqbxvxKnbRlapVDNc5I2UBgs7BKNQu9JnR7wVbwI4FYbbsMjQl9 - 7oBmAcCnlpQ8699u5VGtkKDcGocUaq/06KBlwseIwS+1vA9FgT4ntFugBSk+QMOaWeNy08lgh2uGpqnl - fg7EQbMJTSe+EhHiCozPplcNTMBBjD5f0IYVIJBbS0tYWn5oz0EcPO+GQC557tFkdV9fQMt/fuEOv9xW - grRAwKEpRWMfDDyo+54jFQgrB+IUbdf98t79QxM1d8hDEyBJYYo5Ujca8niI1G0D9hx8VubKgUmqr84n - kaYYpIYGt8zMC3arsBOBnxZ1viZW2w0QEMw9BwZz8cotYqSHh7DMWnvyzNxfzIHA2AQmFOj3fSTTvwDX - HtBkHChoj4HyJVbYvkunkvDn348tMVPJpuU2TtziKcxHcajwCCUOjE0gXBTB6sDF0We60YWcxvG1k83T - 99g+5abBnoPPKig3C3GY8ICrr2S1/TfJ1yM/BzOe3DqPdC9ANJuIYHbi/MK/EBBb3nORYqsCIQlDnhPI - e8iw0bqbCCVQcXHxfm2F8gUVYi8bYS/gwhwuzuHqBLpzaDbh0JNaccUgUlpUEMVIfdBAEP8D39eedx6G - CawAAAAASUVORK5CYII= + CQ5ZgRYogTqW0hJGKOAFws2KLEFRKQgdR+y0jlJIQmghISENgYSCDJCCWHBKtQVZXF6s0ni/8pHc3NyE + JYSH/ma+mdz5fvecX84933IOcdci4SPjS2JFn+ag+pIxs3bQeVjnmsiud1/N1LmmpTr3iFhpdSB175BQ + 0P6wWGlRpVc73QWNP/6h6Fz0artWOS2n3jWLr0Ufr5GWe4UKCwWrQ7bN3uYSxLY9E8gnu2NT1HZ3+dez + /3IJCWVcAgWkeZ7+k7OhTET2LPA+vqBG+uYQVfamHfl05BeNcYVTBJhSv+Q9ccazltc8tZzTMHYNDH6n + aWw3cBgfQDTXGGDFZ2b+FlH9dUjdHCLKfCy3afIm12Aa47I37/PxhfTqwQGxwtqQVKrfl1DS9dz+/O4H + 444aH4gvOv/ke8Wdr+NQPoQSuC7OunVxgrLe1GONnt/YA2mMq17Z6emlNHW/SVBy4XmkbxmhBOaemrwp + qOhNQlp4wJ6Dz8oeRKVf9qZrHeOC8q5XkbpthPvE4BOQF59FKjcgWiEg2HuObJ/7T6K29ycWfv8oUneE + QIGBc2gMK95Uld2ZnHz2HqQHA1IJO1ph5VKVNptU6r4PaTvGhkBZy+xfEoV1BsZmzkV+d/2WkLKUID0Q + kITpUJ9mvgD/Ej5rpCu3ARAI4ugKpDtAdjyWUeP0BM636s2qc12BYMNX/IAKwU7CstappUj2HBtiRc8C + iMNHgl9pflvWMr3InFP+w9U1+kuWI8UPOmW4mURIJWkaeye6dwW8UpMGf/qQpuk3sff8Qa3Dhe51QOGH + 2sokQQ7cSSrZLnhkz8v5LVMBqwiJnlfUHYsUOinLLVXswn+oamDPupF0jWOAObeiY9ErovoU6KaXWesw + MAlQvqBCoDvqEFO2U2pDYESnVjn06CaIQzXOQabz+LeeNV6x4Q10Rx303tx/vCUwvaXXDA2gmyCkdUOT + TCfsgcRCQ/isvot4t6TzGVnr9BJTA2hCN0Fk11+eYTpzGtzXkknLQ+iOOmAumJOpATShmyCydMM/M517 + LTCOND4ibRi9ztSQXT/sF5hRMxyQ0emwX4ovND2N7qgDWrXc5vFVpgY446CbI0joDZtEdr2F7qgjng6S + vDbPGlND5ieDTnQTBJzMmE4o4hD66I46xArLF+zGIVXd708zokqzVkknRyZhLxM1rBZz7vVEbfYn6mSy + +0XZac8Kk3Sicer3xFLzK0iJGvhUd2x+81hAqctv9azw6MYZKesIbhZW6Gah34RuH7gKfiSQqKwXoTFh + zh3ULAAE9JKS3wS2WwV0KySUW+KQQu+VPh20TPgYMQTl5jehKDDnhHYLtCDFD2hYs2rdU0wy2OFa1xV6 + uZ8AcdBsQtOJr0SEuCLj4xnVgxNwEGPOF7JhBQgrLeVlHC0/tOcgDp53Q2Ayefb+FJXdHtTyn5u/JZBb + y5AWDDg0paptQ8EHdf9zpAJh5UAc1T4XkPfuHJroucMemgBJlCnmSP1o2OMhUrcN2HPwWdkrByatuTyX + RJpikBoeyRW9/FC3CjsR+H5J1wsSlc0AAcHec2AwF19uliB9c4gqLHUn22b/ZA8ExiUwoUi/7x2Z/im4 + 9oAm40BRRwyULwll/TKDTsIffjW2yE4lG5bXNHGDT/UexaE2RzhxYFwC4aIIVgcujj7Qjc7nNo2vnmye + vM31KTcM9hx8VqG8V4TDbA64+kpR2X6VfjbyUyjjV1rmkO4DiOYSEcoKzs3/AwGx5T0XKbYqEJIw5Dlh + ZR+5abTuJsIJpM4v3KmtUL6gQuxlI+wDXJjDxTlcnUB3Ds0mHHrStJcMYoVZCVGM1LsNBPE/7jCePtVW + fIgAAAAASUVORK5CYII= @@ -206,6 +206,9 @@ 240, 17 + + 240, 17 + 553, 17 @@ -258,21 +261,6 @@ hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1 9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== -
-
- - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG - YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 - 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw - bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc - VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 - c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 - Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo - mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ - kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D - TgDQASA1MVpwzwAAAABJRU5ErkJggg== @@ -286,6 +274,12 @@ Kw/6HydJHj5byGPQIkKNAAAAAElFTkSuQmCC
+ + 917, 17 + + + 619, 17 + True @@ -298,6 +292,9 @@ 725, 17 + + 725, 17 + 917, 17 @@ -366,21 +363,21 @@ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAM9SURBVFhH7ZZrSJNRGMdHRVDf+ijJNHUz58Z0Ezczm1ML - 0yKlwoRSkFymfTIdBRpEHywz77e8RmnkjdQktDCNEhG7aEhsXjB1ww03NzUvzdlT5+3dau4t59zyy/uH - H5zzPO+75885z857KKRIkSJFipSZ9ruxHOluzPN8T34Wn+l7i+rCCKJQzu7E09snR0f+np+mWgTeAnVG - WLy+KTYFqqKvQEJA5Fc2jT3NPugbjj+6DRIIdnE8fYdqziSsLdwoBURdTDJIkzOx8RdxNgjZh+eZB7yO - 4m9YLiqVtY/qyuJuBZoLK1UcHL1oMIcI5QZCpyjNOB9JyQKOJ0+Kl7VMx09EJgWHhMynpopXtoIw8Ji+ - Le6a0QxCFBiBmfoz5kfnK/DSlonHE2qKSwphZHgQvq9prKap8QlkRolMzOSevgja9BLjfEKcAxwPzqZW - cId/SJgWFWhuaYAXL9sIi1uC7tsMREeeg45Lv7dUk15sHE9fzweB1xG1iwszDK9tkYwGEQMDvVBZVQ46 - ncrMwEbMaWWQnXMPAvhCUKcVYfQm3oSG2KuQHBql4nhwx+murFN4XYtlYhChUo1DfkEeKBVjJgb+xdjY - J0BtsrSohKBDwdAUJ4aTwnBwo7kvetC8M5ycPCIYDMZuvOamZGYQsapTw8NH1dDf/8YkTkRPTyfU19di - Y7TNSaJEuHvnNshlUmAy+cN4HatFaNBAd3c71NQ+gDX9LGEe9W1XVzthDmF3gwjZlAQKCvOxHjPEUI9W - VJbBsHTA5Nn1/BeDaNtQb5WUFsHoyCCoZn71qFYzheWI3jFgV4P6VTWUV5TC5MRnY+xpcz1UVZdjPYrm - rc8aoa/vtTG/HrsZXFlWYqsklw+bxInofPUcOjpaCXN2MbgwL4ei4gKTntuI9+/eQl19jVnc5gYV06OQ - l58Ly0sKs2IbIZF8gPtlxVhrGGI2NSiVfMS+In87UiwBnX1o9Q1/HlsYpPj4C5ToLGtoeGxW0Bo0s5NY - /46PS1ZpdO8hvIz18uEFRLFYfnPxIpE84XKSzBZciImdormz5qgHmLa5QTs4cPc6OTG8iC6i1uDs7MlG - 13/850mRIkWKFCm7iUL5AaPFle/b+pUIAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAM8SURBVFhH7ZZrSJNRGMdHRVDf+ijJvG61G9NNdGY6pwam + RVqECaUguUz7ZDoKNIiIyszL1GleozTyRmoSWphGiYhdNCS2qZiX4cTNTc1LXnrqvL1bzb3lnFt+ef/w + g3Oe5333/Dnn2XkPhRQpUqRIkTLTfneOI92dfVbAEmQK2N43qK7MIArl9E48vX1ydBTs+WmqUegp1N4M + jV+tj02B8uhLkOAX+ZVL405wD3qH449ug4TCXTyWd3/lSfHa3LUiQFTHJIMiOQMbf5FkgYh7eJbt4nEE + f8NyUamcfVQ3Dn8r0Fw5qSmi6HmDOUQoPxDaxGnG+UBKJvBYPgq8rGU6eiwyKTgkZDY1VbK0FYQBIavN + cVeMZhDiwAjM1J8xX7pAjZe2TD4+Ip2sMB8GlH3wfU1nNfV1TyAjSmxiJufUedCnFxrnI5Js4DF4m1rB + HX4hYXpUoKGxFl68bCYsbgnL36YgOvIMtF74vaW6dJlxPHFVCkKPAK2rKzsMr22RjAYRvb1dUFZeAsvL + GjMDGzGjH4es7HvgLxCBNq0AoyvxOtTGXobk0CgNj8EfprtxTuB1LZaJQYRGMwzSvFyYVA+ZGPgXQ0Of + ALXJwvwkBB0Khvo4CRwXhYM7jT7PoHnecnJiRDCZzN14zU3JzCBiZVkLDx9VQE/PG5M4EZ2dbVBTU4WN + 0TYniRPh7p3boBpXAJstUOJ1rBahQQMdHS1QWfUA1lanCfOob9vbWwhzCLsbRIyPySEvX4r1mCGGerS0 + rBiUil6TZ9fzXwyibUO9VVhUAIMDfaCZ+tWjet0YliN6x4BdDa6uaKGktAhGRz4bY08baqC8ogTrUTRv + elYH3d2vjfn12M3g0uIktkoqldIkTkTbq+fQ2tpEmLOLwblZFRTI8kx6biPev3sL1TWVZnGbG1RPDEKu + NAcWF9RmxTZCLv8A94tlWGsYYjY1qJB/xL4ifztSLAGdfWj1DX8eWxikePkJJ9FZVlv72KygNeimR7H+ + HR6Wr9Donv14Gevl5eMfxeH4zsSLxaqEi0njtuBcTOwY7QBnhurCts0N2sGBv9fJielBdBG1BmdnFhdd + //GfJ0WKFClSpOwmCuUHODKV2uA9PsUAAAAASUVORK5CYII= @@ -389,54 +386,54 @@ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPsSURBVFhH3VhLSxtRFA60u9qf0QdtaXGpG0kmM5OkLUUw - guAj/gG1GrvyrRsXvv5G96XLbkwzo4gGYpoU+gY31Qjm4aIj0/ONJ5rEazKTRxv84IOQ3HvOl3vPPefc - 67qx0NzuZ1Gvd2Lb53uvy/L3D11duWh7uwHis+7zfcNvUVkex1ie1lxsdnbe1WT5je71/tIDgczu8PDp - QThspufnzezysplfWbGIz/juYHLSjIdCeYyNqOpPzesNk/g2Ntc4kNHbmqKEaaUyib6+3OH0tHm6tmaf - q6sm5iS6u7P0BzNYedhk8/UhoigPtxTls97bmzleXBQLcEDYwIqSzdSm2/2A3dQGTZJekcBsbHDwTOSs - Hu71959FOjqyHz2el+zOGXRJGkKwp+fmhA4awaPZWRM+aCEG2a09YOUw8XhpSWi4kcSWw1dEkl6w+8pA - zGFbm7ly5TyamTGx3bRr91mGGDhZOBDNiLlqjI+OGnS6k9DAcq4Cx38nGDwRGfgXjFEaolQ2znJKgSSM - PGcrlayvn1P0m4g2xx8vLJhUBE5oFa8mc1QIJGHRxBKSIyORMI143LZIIxYzjVTKPN3YEP5eTCuZU8Vh - WZdA+TqkYBVNuiCLK8COSIgrwI5IVJyoqv5gWedAMUd2R0kSTSpmsUOgkkgnYy9IGiKBQDYiy09YHgmk - JUXhF04Q0I7jmsQx0WCQpjGW53KhLUJXIhp8HSsJqEccCC26orxjeRR/1M+hPRINrkSRkHrFgWkqgduq - +oXlWdUjix5ONLgaywUVoxZxYIa0UHuXYXmUoKkLzts4INdRJLJWcWCOml6KwT8sr0kC9/cbJ7Dlt7jl - D4mVZuiCIxp8HSsJqVfkwcREaZpBF7MbCrVOoh4aypOmUZZHAj2epy1V6vz+rO52P2Z550AcVr1OknGc - zgLsOCwWaSSTVZuF31NTV5sFAPUYrY5oUglZpJMtg0g74kBoQMixrEugScSl+n82rGlqWGmhTvZk+Q7L - KkVUksZ3enr+T8tPsYeWn/LfZRdTDr40pXCpFhppIuMjI4amqp/eBoO3WI4YeI7AFRCXapGhZhCdPKoZ - xd49llEZeI6g1cw14i2mGq2LkqLkNUl6zu7tAc8REIlLtchwI4iVg4+oLPezW2fAcwS2e29goLExSQcC - MYdtdbxy5cBzBMVGEpUG2yF06IBIJbCFA2E75qoBp5v+6WtcqpFIrYrjpH+ksRcPmGQDdbbqaa0FJLQN - FQelSPf7M7h9WU/AdOKtJ2ASAlpPwPQduhIUflwjUUpRIWCDzTUXKOYkdgxt0ZaqfkWsFh7R8Rnf4TeM - 0TyeRzztpsHl+gvG7PDyminEIgAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPsSURBVFhH3VjJThtBELWU3EI+I4uSKJzhguzxzNhOoggJ + I7EomB8AAiYndrhwYPuN3KMcc8HxDAgIknHsSNklLgEj4YVDBk3qDWWwTWPPeAkWT3qSZXdXPXdXV1W3 + 68ZCc7tbo17v2KbP916X5R8fOjqy0dZWA8Rn3ef7jt+isjyKsTytsVhvb7+ryfIb3ev9rQcC6Z3BwZP9 + cNhMzc6amcVFM7e0ZBGf8d3++LgZC4VyGBtR1V+a1xsm8S1srn4go7c1RQnTSqXjPT3Zg8lJ82RlxT6X + l03MiXd2ZugPprHysMnma0NEUR5uKMoXvbs7fTQ/LxbggLCBFSWbyXW3+wG7qQ6aJL0kgZmd/v5TkbNa + uN3bexppa8t89HhesDtn0CVpAMGempkROqgHD6enTfighXjFbu0BK4eJRwsLQsP1JLYcviKS9Jzdlwdi + DtvayJUr5eHUlIntpl27zzLEwMnCgWhEzFVibHjYoNOdgAaWcxk4/lvB4LHIwP/gLqUhSmWjLKcYSMLI + c7ZSyerqGUW/iWhz/NHcnElF4JhW8XIyR4VAEhZNLCI5MuJx04jFbIs0dndNI5k0T9bWhL8X0krmVHFY + 1gVQvg4oWEWTzsni8rAjEuLysCMSFSeqqj9Z1hlQzJHdUZJEkwpZ6BAoJ9LJ2HOShkggkInI8hOWRwJp + SVH4hRMEtOO4KnFMNBikaYTluVxoi9CViAZfxXICahEHQouuKO9YHsUf9XNoj0SDy1EkpFZxYIpK4Kaq + fmV5VvXIoIcTDa7EUkGFqEYcmCYt1N6lWR4laOqCczYOyFUUiaxWHJilppdi8C/La5DAvb36CWz6LW76 + Q2KlGbrgiAZfxXJCahW5PzZWnGbQxeyEQs2TqAcGcqRpmOWRQI/naVOVOr8/o7vdj1neGRCHFa+TZByn + Mw87DgtFGolExWbhz8TE5WYBQD1GqyOaVEQW6WTLINKOOBAaEHIs6wJoEnGpvs6GNUUNKy3U8SdZvsOy + ihGVpNGtrq7rafkp9tDyU/676GJKwZemJC7VQiMNZGxoyNBU9fPbYPAWyxEDzxG4AuJSLTLUCKKTRzWj + 2LvHMsoDzxG0mtl6vMVUonVRUpScJknP2L094DkCInGpFhmuB7Fy8BGV5X526wx4jsB2b/f11Tcm6UAg + 5rCtjleuFHiOoNhIoNJgO4QOHRCpBLZwIGzHXCXgdNM/fY1LNRKpVXGc9I809vwBk2ygzlY8rdWAhLag + 4qAU6X5/Grcv6wmYTrz1BExCQOsJmL5DV4LCj2skSikqBGywucYCxZzEjqAt2lDVb4jV/CM6PuM7/IYx + msfziKfdNLhc/wDivfC8hX6KuAAAAABJRU5ErkJggg== iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAV/SURBVFhH3VjZU1tVGL8zbg8uL65/gAuOPLg8O1q1I6MF - CU52oAVKoI6lTBOmUMDLkh1kCYpKQeiDLdN2lEISQksSEmgIEArDsAVRaEu1BVlcXmyl8X7lI7m5uUmA - EB76m/lmcuf73XN+Ofd8yznEA4uEE8Y3RMoe7UHNFWNGzYDzsG5oIqvO9WuGbmhGonONiFQ2B1L3Dgl5 - bU+KVFZ1WpXTldcw9qeyY8lT0bnGatl1Q3P4WvTxDml9WKC0KmB1yNZr99gEMW3PBPLIrthkTZ+r9Ie5 - u2xCghmbQD5pWaD+5FwwE5Ldi5wvLmmQHh5CuTn1yFcj17TGVVYRYCr9skfW6l7PbXKvZNeP3QCD36la - +y0cxgsQzTYGWGHr7D9CRW8tUsNDqLAcy2mcvM02mNa44sn9ZnwxrWqgX6S01ScV6/clFHW+sl/a9Xjc - UeNj8QUXn/+ksONdHMqLYAI3xNm2Lo5fYk451jD1O3MgrXHNIzs9s5yq6TXxiy69ivQtI5jAnFOTt/ll - 5iSkhQbsOfiszEHU+hVPWoVjnF/a+TZSt41Qnxh8fPLyy0hlB0QrBARzz5Ft1/8Ta/p6E/N/fBqpO4K/ - QP85tIZVT4q6z8nlnnsI6YGAVMKMVli5FJXdLpG4HkHajrEpUNYy97dYaZuFselzkRdu3hEorEVI9wck - YSrUZ+gvwL+Ezxrpym0CBII4qgLpDpDtz6RXO6f851vzZNYOTUOw4Ss+QIVgJmFZi3s5kj3HhEjZvQji - 8JHgyS0fyppnluhzlv80v059yVKk+EClDBedCKkkVdvXge5dAafYpMWfXqRqe03MPX+wwjGE7g1A4Yfa - SidBDtxJKtkuOGT3m9Jmt98qQqLnFHTFIoVKyuXWSmbhP1TZv2fdSJrW0U+fW9m+5BEqepToppa5wmGg - E6B8QYVAd9QhUthPaQz+EZ1S6dCjmyAOVTsH6E7pWfc6p9DwHrqjDmpv7pc2+6e3tOrBfnQThKR2cJLu - hD2QmG8IndV3ER8Xdbwka5lZpmsATegmiKy6q7N0Z3a96waXtD6B7qgD5oI56RpAE7oJIlM3/AvdudcC - 40jjU5L60Zt0DVl1wz6B6dXDfhmdCvvl+HzTi+iOOqBVy2kaX6NrgDMOulmCpGXubhLZ+QG6o454KkiO - n3Gv0zVkfDngRDdBwMmM7oQiDqGP7qhDpLR+y2wcUjS9vjQjlFsqVFRypBP2MlHDatHn3kjUFl+i5pJd - r8tOT63SSccb3H8kFlveQkrUwFN0xUqbxvxKnbRlapVDNc5I2UBgs7BKNQu9JnR7wVbwI4FYbbsMjQl9 - 7oBmAcCnlpQ8699u5VGtkKDcGocUaq/06KBlwseIwS+1vA9FgT4ntFugBSk+QMOaWeNy08lgh2uGpqnl - fg7EQbMJTSe+EhHiCozPplcNTMBBjD5f0IYVIJBbS0tYWn5oz0EcPO+GQC557tFkdV9fQMt/fuEOv9xW - grRAwKEpRWMfDDyo+54jFQgrB+IUbdf98t79QxM1d8hDEyBJYYo5Ujca8niI1G0D9hx8VubKgUmqr84n - kaYYpIYGt8zMC3arsBOBnxZ1viZW2w0QEMw9BwZz8cotYqSHh7DMWnvyzNxfzIHA2AQmFOj3fSTTvwDX - HtBkHChoj4HyJVbYvkunkvDn348tMVPJpuU2TtziKcxHcajwCCUOjE0gXBTB6sDF0We60YWcxvG1k83T - 99g+5abBnoPPKig3C3GY8ICrr2S1/TfJ1yM/BzOe3DqPdC9ANJuIYHbi/MK/EBBb3nORYqsCIQlDnhPI - e8iw0bqbCCVQcXHxfm2F8gUVYi8bYS/gwhwuzuHqBLpzaDbh0JNaccUgUlpUEMVIfdBAEP8D39eedx6G - CawAAAAASUVORK5CYII= + CQ5ZgRYogTqW0hJGKOAFws2KLEFRKQgdR+y0jlJIQmghISENgYSCDJCCWHBKtQVZXF6s0ni/8pHc3NyE + JYSH/ma+mdz5fvecX84933IOcdci4SPjS2JFn+ag+pIxs3bQeVjnmsiud1/N1LmmpTr3iFhpdSB175BQ + 0P6wWGlRpVc73QWNP/6h6Fz0artWOS2n3jWLr0Ufr5GWe4UKCwWrQ7bN3uYSxLY9E8gnu2NT1HZ3+dez + /3IJCWVcAgWkeZ7+k7OhTET2LPA+vqBG+uYQVfamHfl05BeNcYVTBJhSv+Q9ccazltc8tZzTMHYNDH6n + aWw3cBgfQDTXGGDFZ2b+FlH9dUjdHCLKfCy3afIm12Aa47I37/PxhfTqwQGxwtqQVKrfl1DS9dz+/O4H + 444aH4gvOv/ke8Wdr+NQPoQSuC7OunVxgrLe1GONnt/YA2mMq17Z6emlNHW/SVBy4XmkbxmhBOaemrwp + qOhNQlp4wJ6Dz8oeRKVf9qZrHeOC8q5XkbpthPvE4BOQF59FKjcgWiEg2HuObJ/7T6K29ycWfv8oUneE + QIGBc2gMK95Uld2ZnHz2HqQHA1IJO1ph5VKVNptU6r4PaTvGhkBZy+xfEoV1BsZmzkV+d/2WkLKUID0Q + kITpUJ9mvgD/Ej5rpCu3ARAI4ugKpDtAdjyWUeP0BM636s2qc12BYMNX/IAKwU7CstappUj2HBtiRc8C + iMNHgl9pflvWMr3InFP+w9U1+kuWI8UPOmW4mURIJWkaeye6dwW8UpMGf/qQpuk3sff8Qa3Dhe51QOGH + 2sokQQ7cSSrZLnhkz8v5LVMBqwiJnlfUHYsUOinLLVXswn+oamDPupF0jWOAObeiY9ErovoU6KaXWesw + MAlQvqBCoDvqEFO2U2pDYESnVjn06CaIQzXOQabz+LeeNV6x4Q10Rx303tx/vCUwvaXXDA2gmyCkdUOT + TCfsgcRCQ/isvot4t6TzGVnr9BJTA2hCN0Fk11+eYTpzGtzXkknLQ+iOOmAumJOpATShmyCydMM/M517 + LTCOND4ibRi9ztSQXT/sF5hRMxyQ0emwX4ovND2N7qgDWrXc5vFVpgY446CbI0joDZtEdr2F7qgjng6S + vDbPGlND5ieDTnQTBJzMmE4o4hD66I46xArLF+zGIVXd708zokqzVkknRyZhLxM1rBZz7vVEbfYn6mSy + +0XZac8Kk3Sicer3xFLzK0iJGvhUd2x+81hAqctv9azw6MYZKesIbhZW6Gah34RuH7gKfiSQqKwXoTFh + zh3ULAAE9JKS3wS2WwV0KySUW+KQQu+VPh20TPgYMQTl5jehKDDnhHYLtCDFD2hYs2rdU0wy2OFa1xV6 + uZ8AcdBsQtOJr0SEuCLj4xnVgxNwEGPOF7JhBQgrLeVlHC0/tOcgDp53Q2Ayefb+FJXdHtTyn5u/JZBb + y5AWDDg0paptQ8EHdf9zpAJh5UAc1T4XkPfuHJroucMemgBJlCnmSP1o2OMhUrcN2HPwWdkrByatuTyX + RJpikBoeyRW9/FC3CjsR+H5J1wsSlc0AAcHec2AwF19uliB9c4gqLHUn22b/ZA8ExiUwoUi/7x2Z/im4 + 9oAm40BRRwyULwll/TKDTsIffjW2yE4lG5bXNHGDT/UexaE2RzhxYFwC4aIIVgcujj7Qjc7nNo2vnmye + vM31KTcM9hx8VqG8V4TDbA64+kpR2X6VfjbyUyjjV1rmkO4DiOYSEcoKzs3/AwGx5T0XKbYqEJIw5Dlh + ZR+5abTuJsIJpM4v3KmtUL6gQuxlI+wDXJjDxTlcnUB3Ds0mHHrStJcMYoVZCVGM1LsNBPE/7jCePtVW + fIgAAAAASUVORK5CYII=