From 70fc4f685704497a4b791b5d9a3fcf7b12ad44a3 Mon Sep 17 00:00:00 2001 From: chi Date: Tue, 7 Mar 2023 00:28:55 +0900 Subject: [PATCH] ... --- Project/Properties/AssemblyInfo.cs | 4 +- Project/fMain.Designer.cs | 14 +- Project/fMain.cs | 12 +- Project/fMain.resx | 12 +- SubProject/FCM0000/fLovProject.cs | 2 +- SubProject/FCOMMON/DataBaseManager.cs | 42 + SubProject/FEQ0000/FEQ0000.csproj | 28 +- .../FEQ0000/Purchase/fPurchaseCR.Designer.cs | 1164 +++++ SubProject/FEQ0000/Purchase/fPurchaseCR.cs | 1177 +++++ SubProject/FEQ0000/Purchase/fPurchaseCR.resx | 418 ++ .../Purchase/fPurchaseCR_Add.Designer.cs | 821 ++++ .../FEQ0000/Purchase/fPurchaseCR_Add.cs | 918 ++++ .../FEQ0000/Purchase/fPurchaseCR_Add.resx | 203 + ...se.Designer.cs => fPurchaseNR.Designer.cs} | 25 +- .../Purchase/{fPurchase.cs => fPurchaseNR.cs} | 4 +- .../{fPurchase.resx => fPurchaseNR.resx} | 14 +- SubProject/FEQ0000/dsPurchase.Designer.cs | 4090 +++++++++++++++++ SubProject/FEQ0000/dsPurchase.xsd | 545 ++- SubProject/FEQ0000/dsPurchase.xss | 5 +- SubProject/FPJ0000/FPJ0000.csproj | 9 + .../FPJ0000/Project/fPartBuyStatus.resx | 26 +- .../FPJ0000/Project/fPartList.Designer.cs | 338 +- SubProject/FPJ0000/Project/fPartList.cs | 46 +- SubProject/FPJ0000/Project/fPartList.resx | 37 +- .../FPJ0000/Project/fProjectList.Designer.cs | 246 +- SubProject/FPJ0000/Project/fProjectList.resx | 24 +- .../Project/fProjectPartListEdit.Designer.cs | 20 +- .../fProjectPartToPurchaseCR.Designer.cs | 538 +++ .../Project/fProjectPartToPurchaseCR.cs | 442 ++ .../Project/fProjectPartToPurchaseCR.resx | 228 + SubProject/FPJ0000/dsPurchase.Designer.cs | 3646 +++++++++++++++ SubProject/FPJ0000/dsPurchase.xsc | 16 +- SubProject/FPJ0000/dsPurchase.xsd | 470 +- SubProject/FPJ0000/dsPurchase.xss | 14 +- 34 files changed, 15222 insertions(+), 376 deletions(-) create mode 100644 SubProject/FEQ0000/Purchase/fPurchaseCR.Designer.cs create mode 100644 SubProject/FEQ0000/Purchase/fPurchaseCR.cs create mode 100644 SubProject/FEQ0000/Purchase/fPurchaseCR.resx create mode 100644 SubProject/FEQ0000/Purchase/fPurchaseCR_Add.Designer.cs create mode 100644 SubProject/FEQ0000/Purchase/fPurchaseCR_Add.cs create mode 100644 SubProject/FEQ0000/Purchase/fPurchaseCR_Add.resx rename SubProject/FEQ0000/Purchase/{fPurchase.Designer.cs => fPurchaseNR.Designer.cs} (97%) rename SubProject/FEQ0000/Purchase/{fPurchase.cs => fPurchaseNR.cs} (97%) rename SubProject/FEQ0000/Purchase/{fPurchase.resx => fPurchaseNR.resx} (96%) create mode 100644 SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs create mode 100644 SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs create mode 100644 SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index fd25104..76de144 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.02.09.1300")] -[assembly: AssemblyFileVersion("23.02.09.1300")] +[assembly: AssemblyVersion("23.03.06.2350")] +[assembly: AssemblyFileVersion("23.03.06.2350")] diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index f596843..90ad0b2 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -383,7 +383,7 @@ // // cR구매ToolStripMenuItem // - this.cR구매ToolStripMenuItem.ForeColor = System.Drawing.Color.Blue; + this.cR구매ToolStripMenuItem.ForeColor = System.Drawing.Color.Black; this.cR구매ToolStripMenuItem.Name = "cR구매ToolStripMenuItem"; this.cR구매ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.cR구매ToolStripMenuItem.Text = "CR 구매"; @@ -412,21 +412,21 @@ // 목록ToolStripMenuItem // this.목록ToolStripMenuItem.Name = "목록ToolStripMenuItem"; - this.목록ToolStripMenuItem.Size = new System.Drawing.Size(152, 24); + this.목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.목록ToolStripMenuItem.Text = "목록"; this.목록ToolStripMenuItem.Click += new System.EventHandler(this.목록ToolStripMenuItem_Click); // // 구매진행현황ToolStripMenuItem // this.구매진행현황ToolStripMenuItem.Name = "구매진행현황ToolStripMenuItem"; - this.구매진행현황ToolStripMenuItem.Size = new System.Drawing.Size(152, 24); + this.구매진행현황ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.구매진행현황ToolStripMenuItem.Text = "CR구매현황"; this.구매진행현황ToolStripMenuItem.Click += new System.EventHandler(this.구매진행현황ToolStripMenuItem_Click); // // layoutToolStripMenuItem // this.layoutToolStripMenuItem.Name = "layoutToolStripMenuItem"; - this.layoutToolStripMenuItem.Size = new System.Drawing.Size(152, 24); + this.layoutToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.layoutToolStripMenuItem.Text = "Layout"; this.layoutToolStripMenuItem.Click += new System.EventHandler(this.layoutToolStripMenuItem_Click); // @@ -445,21 +445,21 @@ // 목록ToolStripMenuItem1 // this.목록ToolStripMenuItem1.Name = "목록ToolStripMenuItem1"; - this.목록ToolStripMenuItem1.Size = new System.Drawing.Size(180, 24); + this.목록ToolStripMenuItem1.Size = new System.Drawing.Size(134, 24); this.목록ToolStripMenuItem1.Text = "목록"; this.목록ToolStripMenuItem1.Click += new System.EventHandler(this.목록ToolStripMenuItem1_Click); // // 자동입력ToolStripMenuItem // this.자동입력ToolStripMenuItem.Name = "자동입력ToolStripMenuItem"; - this.자동입력ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.자동입력ToolStripMenuItem.Size = new System.Drawing.Size(134, 24); this.자동입력ToolStripMenuItem.Text = "자동입력"; this.자동입력ToolStripMenuItem.Click += new System.EventHandler(this.자동입력ToolStripMenuItem_Click); // // 양식ToolStripMenuItem // this.양식ToolStripMenuItem.Name = "양식ToolStripMenuItem"; - this.양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.양식ToolStripMenuItem.Size = new System.Drawing.Size(134, 24); this.양식ToolStripMenuItem.Text = "양식"; this.양식ToolStripMenuItem.Click += new System.EventHandler(this.양식ToolStripMenuItem_Click); // diff --git a/Project/fMain.cs b/Project/fMain.cs index 5c43964..cc35b11 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -461,21 +461,21 @@ namespace Project { string formkey = "PUCHASENR"; if (!ShowForm(formkey)) - AddForm(formkey, new FEQ0000.fPurchase(),"NR구매"); + AddForm(formkey, new FEQ0000.fPurchaseNR(),"NR구매"); } void menu_crpurchase() { - FCOMMON.Util.MsgE("CR구매현황은 신규 개발 기능으로 아직 open 되지 않았습니다"); + // FCOMMON.Util.MsgE("CR구매현황은 신규 개발 기능으로 아직 open 되지 않았습니다"); string formkey = "PUCHASECR"; if (!ShowForm(formkey)) - AddForm(formkey, new FEQ0000.fPurchase(),"CR구매"); + AddForm(formkey, new FEQ0000.fPurchaseCR(),"CR구매"); } void menu_sprpurchase() { FCOMMON.Util.MsgE("SPR구매현황은 신규 개발 기능으로 아직 open 되지 않았습니다"); - string formkey = "PUCHASESPR"; - if (!ShowForm(formkey)) - AddForm(formkey, new FEQ0000.fPurchase(), "SPR구매"); + //string formkey = "PUCHASESPR"; + //if (!ShowForm(formkey)) + // AddForm(formkey, new FEQ0000.fPurchase(), "SPR구매"); } private void nRPurchaseToolStripMenuItem_Click(object sender, EventArgs e) diff --git a/Project/fMain.resx b/Project/fMain.resx index cb7c0f0..c7111d6 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -452,14 +452,14 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPY4CDmcasDEu1MxmW6ixgWKbTwrBYVx0svkqL h2GZViHDMu15QPFWhmXqUmBxDLBUZzVQwX84Xqzzg2GJpifDMs3rKOJLtZ4ADZWA6oKCpVo2IEmBtZb/ - /U7m/E+5XP8/92TF/3lzYj/UrMn/l3q54X/kubL/qtu8oIZo90F1QsEynQn8a8yPJV+p/1Z8q+d/yc2e - /4dm5vx/1Jn2/+qkzJ8gMRg22R16gmGJzjWoTihYqitYfKu7Dqao41D9/+ulEf8vtIb8vV7o9blnWyHc + /U7m/E+5XP8/92TF/3lzYj/UrM7/l3q54X/kubL/qtu8oIZo90F1QsEynQn8a8yPJV+p/1Z8q+d/yc2e + /4dm5vx/1Jn2/+qkzJ8gMRg22R16gmGJzjWoTihYqitYfKu7Dqao41D9/+ulEf/Ptwb/vV7o9blnWyHc gOJbXRdA6qE6EaD4ZvdcmKLKSx3LzheGHLyc7PbtYpDa/20VTnuLL3Z8BMkV3Ox5B9WCCmAuKLrZUwLi - v2iNEH9c5vn/SobunyfZNmqFN3v1gbZ/LrrVcx6sAR0U3+kxLr7RdRzKZXhc7On5qNTjPxiXeHmAxICu + v2iNEH9c5vn/SobOnyfZNmqFN3v1gbZ/LrrVcx6sAR0U3+kxLr7RdRzKZXhc7On5qNTjPxiXeHmAxICu LAVa1AJWgA0U3+kWgzIZnlR4ZcEMeFLpnQkSq79fz5F7ayIfWAEh8KjCs+9Judd/EH5c7tULFSYeAP2/ - Ee6FUo8NUGHiwP/99RwvuqJOv+mJ+w/CLzsjT4HEoNLYwb8D/Zp/D/T2/T/Qe+bDgd7fQPo/MoaKnQGr - 2d+jAdUG1LhtIjtQcP6HjfX/0DXhwiC1fw/0zAPpZfi7v7cXmyJiMEgv0Ol9tkDTlgMFVpGCQXr+Heiz - BQCro6tjRV7j6gAAAABJRU5ErkJggg== + Ee6FUo8NUGHiwP/99RwvuqJOv+mJ+w/CLzsjT4HEoNLYwb8D/Zp/D/T2/T/Qe+b9gd7fQPo/MoaKnQGr + 2d+jAdUG1LhtIjtQcP77DfX/0DXhwiC1fw/0zAPpZfi7v7cXmyJiMEgv0Ol9tkDTlgMFVpGCQXr+Heiz + BQCbnKtZZW7zYgAAAABJRU5ErkJggg== diff --git a/SubProject/FCM0000/fLovProject.cs b/SubProject/FCM0000/fLovProject.cs index 630d1e5..f94f5ee 100644 --- a/SubProject/FCM0000/fLovProject.cs +++ b/SubProject/FCM0000/fLovProject.cs @@ -74,7 +74,7 @@ namespace FCM0000 { var dr = drv.Row as dsMSSQL.ProjectsRow; Index = dr.idx; - Title = dr.name; + Title = dr.name + "/" + dr.orderno; } if (Title.isEmpty() || Index == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel; diff --git a/SubProject/FCOMMON/DataBaseManager.cs b/SubProject/FCOMMON/DataBaseManager.cs index 1d3e1a4..e1697dc 100644 --- a/SubProject/FCOMMON/DataBaseManager.cs +++ b/SubProject/FCOMMON/DataBaseManager.cs @@ -358,6 +358,48 @@ namespace FCOMMON return retval; } + public static sItemInfo getLastPurchaseCRInfo(int idx) + { + var cn = getCn(); + cn.Open(); + + var retval = new sItemInfo(); + retval.idx = -1; + + string sql = "select isnull(max(idx),-1) from EETGW_PurchaseCR where pumidx = " + idx.ToString(); + var cmd = new SqlCommand(sql, cn); + int maxidx = int.Parse(cmd.ExecuteScalar().ToString()); + if (maxidx == -1) return retval; + + cmd.CommandText = "select * from EETGW_PurchaseCR where idx = " + maxidx.ToString(); + var rdr = cmd.ExecuteReader(); + while (rdr.Read()) + { + retval.idx = (int)rdr["idx"]; + if (rdr["sid"] != DBNull.Value) retval.sid = rdr["sid"].ToString(); + if (rdr["pumscale"] != DBNull.Value) retval.model = rdr["pumscale"].ToString(); + if (rdr["supply"] != DBNull.Value) retval.supply = rdr["supply"].ToString(); + if (rdr["supplyidx"] != DBNull.Value) retval.supplyidx = int.Parse(rdr["supplyidx"].ToString()); + else retval.supplyidx = -1; + + if (rdr["pumname"] != DBNull.Value) retval.name = rdr["pumname"].ToString(); + if (rdr["pumunit"] != DBNull.Value) retval.unit = rdr["pumunit"].ToString(); + if (rdr["project"] != DBNull.Value) retval.project = rdr["project"].ToString(); + + if (rdr["pumprice"] != DBNull.Value) retval.price = rdr["pumprice"].ToString(); + else retval.price = "0"; + + if (rdr["pumqty"] != DBNull.Value) retval.qty = int.Parse(rdr["pumqty"].ToString()); + else retval.qty = 0; + + } + + cn.Close(); + cn.Dispose(); + return retval; + } + + public static Dictionary GetUserHolidayJan(string gcode, string uid, string pdate) { var cn = getCn(); diff --git a/SubProject/FEQ0000/FEQ0000.csproj b/SubProject/FEQ0000/FEQ0000.csproj index ea2f941..9d47fc1 100644 --- a/SubProject/FEQ0000/FEQ0000.csproj +++ b/SubProject/FEQ0000/FEQ0000.csproj @@ -173,6 +173,12 @@ + + Form + + + fPurchaseCR.cs + Form @@ -191,6 +197,12 @@ fMailForm.cs + + Form + + + fPurchaseCR_Add.cs + Form @@ -227,11 +239,11 @@ fPurchase_Import.cs - + Form - - fPurchase.cs + + fPurchaseNR.cs Form @@ -267,6 +279,9 @@ True + + fPurchaseCR.cs + fPurchaseNRList.cs @@ -276,6 +291,9 @@ fMailForm.cs + + fPurchaseCR_Add.cs + fPurchase_excelimport.cs @@ -294,8 +312,8 @@ fPurchase_Import.cs - - fPurchase.cs + + fPurchaseNR.cs diff --git a/SubProject/FEQ0000/Purchase/fPurchaseCR.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchaseCR.Designer.cs new file mode 100644 index 0000000..3ecb7de --- /dev/null +++ b/SubProject/FEQ0000/Purchase/fPurchaseCR.Designer.cs @@ -0,0 +1,1164 @@ +namespace FEQ0000 +{ + partial class fPurchaseCR + { + /// + /// 필수 디자이너 변수입니다. + /// + 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(fPurchaseCR)); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter(); + this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager(); + 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.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.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton(); + 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.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.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.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.btViewDel = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.label1 = new System.Windows.Forms.Label(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + ((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_PurchaseCR"; + this.bs.DataSource = this.dsPurchase; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = true; + this.tam.EETGW_PurchaseCRTableAdapter = this.ta; + this.tam.PurchaseTableAdapter = null; + this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // 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.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, 652); + 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(1226, 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.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, 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(67, 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); + // + // 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.Font = new System.Drawing.Font("맑은 고딕", 9F); + 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.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(110, 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.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); + // + // 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.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, 358); + // + // 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); + // + // 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.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.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(1226, 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.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.dtSD.Name = "dtSD"; + this.dtSD.Size = new System.Drawing.Size(90, 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.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.dtED.Name = "dtED"; + this.dtED.Size = new System.Drawing.Size(90, 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+등록일", + "SCR/CF"}); + 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.Font = new System.Drawing.Font("맑은 고딕", 9F); + 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); + // + // 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.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(166, 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(166, 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(166, 22); + this.이번달자료ToolStripMenuItem.Text = "이번달 자료"; + 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); + // + // 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, 629); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label1.Size = new System.Drawing.Size(1226, 23); + this.label1.TabIndex = 6; + this.label1.Text = "--"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // 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(1226, 592); + this.fpSpread1.StatusBarVisible = true; + this.fpSpread1.TabIndex = 7; + // + // 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 = 27; + this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "등록일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Storage"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "요청"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "SC#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SCR/CF"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).ColumnSpan = 10; + 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, 9).Value = "규격"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "단위"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "단가($)"; + 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 = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "프로젝트"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).ColumnSpan = 5; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "입고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "입고일"; + 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).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "PO#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "삭제됨"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "품명"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "SID#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "규격"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "단위"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "단가($)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "단가"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "금액"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "공급"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "예정일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "수령인"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "입고일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 26F; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 35F; + this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; + this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Tag = "pdate"; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "place"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + 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).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "requestName"; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(3).Tag = "requestName"; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "sc"; + this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Tag = "sc"; + 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 = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "orderno"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Tag = "crcf"; + 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).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "pumname"; + 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 = "pumname"; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(7).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "pumidx"; + 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).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumscale"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "규격"; + this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pumscale"; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F; + numberCellType2.DecimalPlaces = 0; + numberCellType2.NegativeRed = true; + numberCellType2.NullDisplay = "--"; + numberCellType2.Separator = ","; + numberCellType2.ShowSeparator = true; + numberCellType2.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumqty"; + 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).Tag = "pumqty"; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumunit"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위"; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F; + numberCellType3.DecimalPlaces = 2; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumpriceD"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "단가($)"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType4.DecimalPlaces = 0; + numberCellType4.MaximumValue = 9999999999999.99D; + numberCellType4.MinimumValue = -9999999999999.99D; + numberCellType4.NegativeRed = true; + numberCellType4.NullDisplay = "--"; + numberCellType4.Separator = ","; + numberCellType4.ShowSeparator = true; + numberCellType4.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumprice"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "단가"; + this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumprice"; + this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F; + numberCellType5.DecimalPlaces = 0; + numberCellType5.MaximumValue = 9999999999999.99D; + numberCellType5.MinimumValue = -9999999999999.99D; + numberCellType5.NegativeRed = true; + numberCellType5.NullDisplay = "--"; + numberCellType5.Separator = ","; + numberCellType5.ShowSeparator = true; + numberCellType5.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumamt"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "금액"; + this.fpSpread1_Sheet1.Columns.Get(14).Tag = "pumamt"; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(15).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "supply"; + 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 = "supply"; + this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType6.DecimalPlaces = 0; + numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType6.MaximumValue = 2147483647D; + numberCellType6.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "supplyidx"; + this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "project"; + this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType7.DecimalPlaces = 0; + numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType7.MaximumValue = 2147483647D; + numberCellType7.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "projectidx"; + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Tag = "projectidx"; + this.fpSpread1_Sheet1.Columns.Get(18).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "bigo"; + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(19).Tag = "bigo"; + this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).Label = "예정일"; + this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "receiveName"; + this.fpSpread1_Sheet1.Columns.Get(21).Label = "수령인"; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(22).DataField = "indate"; + this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(22).Label = "입고일"; + this.fpSpread1_Sheet1.Columns.Get(22).Tag = "indate"; + this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F; + numberCellType8.DecimalPlaces = 0; + numberCellType8.NegativeRed = true; + numberCellType8.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType8; + this.fpSpread1_Sheet1.Columns.Get(23).DataField = "inqty"; + 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).Tag = "inqty"; + this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(24).DataField = "inremark"; + this.fpSpread1_Sheet1.Columns.Get(24).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po"; + this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(25).Tag = "po"; + this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(26).DataField = "isdel"; + this.fpSpread1_Sheet1.Columns.Get(26).Tag = "isdel"; + this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F; + this.fpSpread1_Sheet1.DataAutoCellTypes = false; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // + // fPurchaseCR + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.ClientSize = new System.Drawing.Size(1226, 678); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.label1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.DoubleBuffered = true; + this.Name = "fPurchaseCR"; + this.Text = "CR 구매 신청"; + 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.EETGW_PurchaseCRTableAdapter ta; + 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 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.ToolStripButton toolStripButton6; + private System.Windows.Forms.ToolStripDropDownButton toolStripButton7; + private System.Windows.Forms.ToolStripMenuItem 입고품목메일전송ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 엑셀에서가져오기ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton3; + private FarPoint.Win.Spread.FpSpread fpSpread1; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + } +} diff --git a/SubProject/FEQ0000/Purchase/fPurchaseCR.cs b/SubProject/FEQ0000/Purchase/fPurchaseCR.cs new file mode 100644 index 0000000..f2b1a81 --- /dev/null +++ b/SubProject/FEQ0000/Purchase/fPurchaseCR.cs @@ -0,0 +1,1177 @@ +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; + +namespace FEQ0000 +{ + public partial class fPurchaseCR : FCOMMON.fBase + { + string fn_fpcolsize = ""; + + public fPurchaseCR() + { + 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.EETGW_PurchaseCR.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"] = 1; + 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(); + + var gcode = FCOMMON.info.Login.gcode; + var sdatestr = FCOMMON.DBM.ExecuteScalar($"select min(pdate) from EETGW_PurchaseCR where gcode='{gcode}' and [state] in ('---','PO','PR')"); + if (DateTime.TryParse(sdatestr, out DateTime sdate)) + dtSD.Text = sdate.ToShortDateString(); + + //var edatestr = FCOMMON.DBM.ExecuteScalar($"select max(pdate) from EETGW_PurchaseCR where gcode='{gcode}' and [state] in ('---','PO','PR')"); + //if (DateTime.TryParse(edatestr, out DateTime edate)) + // dtED.Text = edate.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; + + //일반사용자의경우에는 상태를 변경하지 못한다. + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); + if (curLevel >= 5) + { + btSave.Visible = true; + } + else + { + 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; + } + + if (curLevel < 5) + { + 집계표ToolStripMenuItem.Visible = false; + } + + 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_PurchaseCR " + + " 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 (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 if (cmbSort.SelectedIndex == 4) + { + dateField = "orderno"; //cr/cf 230306 + cmd.CommandText += " ORDER BY " + dateField + " 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.EETGW_PurchaseCR.Clear(); + da.Fill(this.dsPurchase.EETGW_PurchaseCR); + 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_PurchaseCR.Select(this.bs.Filter, "") as dsPurchase.EETGW_PurchaseCRRow[]; + 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_PurchaseCR", "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_PurchaseCR.NewEETGW_PurchaseCRRow(); + + if (FCOMMON.info.Login.no == "dev") + newdr.request = "395552";//string.Format("[{0}] {1}", "395552", "김치균"); + else + newdr.request = FCOMMON.info.Login.no; + + repeat: + + bool repeat = false; + DialogResult dlg; + + { + var f = new fPurchaseCR_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_PurchaseCR.AddEETGW_PurchaseCRRow(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_PurchaseCR.NewEETGW_PurchaseCRRow(); + 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_PurchaseCRRow; + 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_PurchaseCRRow 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_PurchaseCRRow; + + bool repeat = false; + DialogResult dlg; + { + var f = new fPurchaseCR_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); + } + + 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); + FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + 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(); + } + + + void func_copy() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow; + + //현재 데이터를 입력하여 신규 추가를 한다. + var newdr = this.dsPurchase.EETGW_PurchaseCR.NewEETGW_PurchaseCRRow(); + 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 = "---"; + 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.idx = -1; + newdr.EndEdit(); + + repeat: + + bool repeat = false; + DialogResult dlg; + + { + var f = new fPurchaseCR_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_PurchaseCR.AddEETGW_PurchaseCRRow(newdr); + this.ta.Update(newdr); + newdr.AcceptChanges(); + + if (repeat) + { + var newdro = this.dsPurchase.EETGW_PurchaseCR.NewEETGW_PurchaseCRRow(); + 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) + { + Purchase.rPurchase f = new Purchase.rPurchase(); + 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_PurchaseCRRow; + 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_PurchaseCRRow; + 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_PurchaseCRRow; + 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", "")}"; + } + + 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 toolStripButton6_Click(object sender, EventArgs e) + { + //선택된 줄의 데이터를 생성하낟. + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow; + 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 f = new fPurchase_excelimport(); + 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_PurchaseCRRow[])(this.dsPurchase.EETGW_PurchaseCR.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(); + 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_PurchaseCRRow; + 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_PurchaseCRRow; + dr.pumamt = dr.pumqty * dr.pumprice; + dr.EndEdit(); + } + } + } +} diff --git a/SubProject/FEQ0000/Purchase/fPurchaseCR.resx b/SubProject/FEQ0000/Purchase/fPurchaseCR.resx new file mode 100644 index 0000000..0dc5046 --- /dev/null +++ b/SubProject/FEQ0000/Purchase/fPurchaseCR.resx @@ -0,0 +1,418 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 257, 17 + + + 330, 17 + + + + + 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/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/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 + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + 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= + + + + + 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== + + + + + 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= + + + + 504, 23 + + + + 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== + + + + 396, 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 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFXyB7oJbyIiiPUv + obMysjqrDoOkk+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBFH2LZYxj + f/JyGvfNLRtT8ZxRxLmo7yQ9QRkaL++sUKp15vVya3aJzIQzF80CqXVwLoNrghZcMk2fsJpHUrguiBcL + pSlf3cB1QeD2XUpQBs8Et07rLJIts8JZ3TwR45lgdNXgPazD8EwQLwe57b/6gqOiBEVg3p9hYD5xQWDJ + 2XUxV4IiLDm7LuZKUIQlZ9fFXAmKsOTsupgrwUEssf78BmYTF3SCEpRFCcqiBGX5ISibhbUbtn7yyL+x + Yj/YGSc9waPql1T279ossVPhlyZ2K+yguxf1nKQnGFopP2/SlrDkJHu3bX4pZEVzJ8l3fbTMeYMLBpIk + CElcPm4G/yB+QNQbNZDTdKJxQVkCqVIsmrt6zdMmO7z/ZBukySLdvZakUbPiPUGdxOdT1w+BxeJHOEur + kDZHCo/x+b4B6fykkA442twAAAAASUVORK5CYII= + + + + 579, 23 + + + 65 + + \ No newline at end of file diff --git a/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.Designer.cs new file mode 100644 index 0000000..84b93f9 --- /dev/null +++ b/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.Designer.cs @@ -0,0 +1,821 @@ +namespace FEQ0000 +{ + partial class fPurchaseCR_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 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 poLabel; + System.Windows.Forms.Label deptLabel; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseCR_Add)); + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label5; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label8; + System.Windows.Forms.Label label9; + System.Windows.Forms.Label label10; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label4; + 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.tbPumQty = 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.tbPumStock = 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.tbStorage = new System.Windows.Forms.TextBox(); + 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.tbInRemar = new System.Windows.Forms.TextBox(); + this.tbInQty = new System.Windows.Forms.TextBox(); + this.tbOrderNo = new System.Windows.Forms.TextBox(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + 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(); + poLabel = new System.Windows.Forms.Label(); + deptLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label8 = new System.Windows.Forms.Label(); + label9 = new System.Windows.Forms.Label(); + label10 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).BeginInit(); + this.SuspendLayout(); + // + // receiveLabel + // + receiveLabel.AutoSize = true; + receiveLabel.Location = new System.Drawing.Point(44, 174); + 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(69, 65); + scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + scLabel.Name = "scLabel"; + scLabel.Size = new System.Drawing.Size(27, 20); + scLabel.TabIndex = 8; + scLabel.Text = "SC"; + // + // sidLabel + // + sidLabel.AutoSize = true; + sidLabel.Location = new System.Drawing.Point(288, 251); + sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + sidLabel.Name = "sidLabel"; + sidLabel.Size = new System.Drawing.Size(32, 20); + sidLabel.TabIndex = 19; + sidLabel.Text = "SID"; + // + // pumscaleLabel + // + pumscaleLabel.AutoSize = true; + pumscaleLabel.Location = new System.Drawing.Point(10, 142); + 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(47, 179); + pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumqtyLabel.Name = "pumqtyLabel"; + pumqtyLabel.Size = new System.Drawing.Size(39, 20); + pumqtyLabel.TabIndex = 12; + pumqtyLabel.Text = "수량"; + // + // pumpriceLabel + // + pumpriceLabel.AutoSize = true; + pumpriceLabel.Location = new System.Drawing.Point(280, 179); + pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumpriceLabel.Name = "pumpriceLabel"; + pumpriceLabel.Size = new System.Drawing.Size(39, 20); + pumpriceLabel.TabIndex = 15; + pumpriceLabel.Text = "단가"; + // + // pumamtLabel + // + pumamtLabel.AutoSize = true; + pumamtLabel.Location = new System.Drawing.Point(47, 251); + pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumamtLabel.Name = "pumamtLabel"; + pumamtLabel.Size = new System.Drawing.Size(39, 20); + pumamtLabel.TabIndex = 17; + pumamtLabel.Text = "합계"; + // + // poLabel + // + poLabel.AutoSize = true; + poLabel.Location = new System.Drawing.Point(66, 95); + poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + poLabel.Name = "poLabel"; + poLabel.Size = new System.Drawing.Size(30, 20); + poLabel.TabIndex = 10; + poLabel.Text = "PO"; + // + // deptLabel + // + deptLabel.AutoSize = true; + deptLabel.Location = new System.Drawing.Point(13, 377); + deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + deptLabel.Name = "deptLabel"; + deptLabel.Size = new System.Drawing.Size(39, 20); + deptLabel.TabIndex = 27; + deptLabel.Text = "비고"; + this.toolTip1.SetToolTip(deptLabel, resources.GetString("deptLabel.ToolTip")); + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(32, 35); + 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 = "입력일"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(36, 126); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(59, 20); + label5.TabIndex = 12; + label5.Text = "SCR/CF"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(46, 69); + 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, 69); + 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 = "상태"; + // + // label8 + // + label8.AutoSize = true; + label8.ForeColor = System.Drawing.Color.Blue; + label8.Location = new System.Drawing.Point(29, 214); + label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label8.Name = "label8"; + label8.Size = new System.Drawing.Size(57, 20); + label8.TabIndex = 35; + label8.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(285, 218); + label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new System.Drawing.Size(163, 15); + label9.TabIndex = 37; + label9.Text = "해외물품은 좌측 단가를 입력"; + // + // label10 + // + label10.AutoSize = true; + label10.Location = new System.Drawing.Point(287, 286); + label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label10.Name = "label10"; + label10.Size = new System.Drawing.Size(75, 20); + label10.TabIndex = 38; + label10.Text = "STORAGE"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(29, 245); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(69, 20); + label2.TabIndex = 14; + label2.Text = "입고수량"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(19, 280); + label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(79, 20); + label4.TabIndex = 16; + label4.Text = "비고(입고)"; + // + // tbSC + // + this.tbSC.Location = new System.Drawing.Point(104, 61); + 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 = 9; + // + // tbSID + // + this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.tbSID.Location = new System.Drawing.Point(327, 248); + this.tbSID.Margin = new System.Windows.Forms.Padding(4); + this.tbSID.Name = "tbSID"; + this.tbSID.Size = new System.Drawing.Size(148, 27); + this.tbSID.TabIndex = 20; + // + // 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, 102); + 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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha; + this.tbPumModel.Location = new System.Drawing.Point(93, 139); + 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, 139); + 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, "단위"); + // + // tbPumQty + // + this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPumQty.Location = new System.Drawing.Point(94, 175); + this.tbPumQty.Margin = new System.Windows.Forms.Padding(4); + this.tbPumQty.Name = "tbPumQty"; + this.tbPumQty.Size = new System.Drawing.Size(111, 27); + this.tbPumQty.TabIndex = 13; + this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); + // + // tbPumPrice + // + this.tbPumPrice.Location = new System.Drawing.Point(326, 175); + this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4); + this.tbPumPrice.Name = "tbPumPrice"; + this.tbPumPrice.Size = new System.Drawing.Size(148, 27); + this.tbPumPrice.TabIndex = 16; + 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, 248); + 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 = 18; + 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, 283); + this.tbSupply.Margin = new System.Windows.Forms.Padding(4); + this.tbSupply.Name = "tbSupply"; + this.tbSupply.Size = new System.Drawing.Size(112, 27); + this.tbSupply.TabIndex = 22; + // + // tbSupplyIndex + // + this.tbSupplyIndex.Location = new System.Drawing.Point(208, 283); + 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 = 23; + 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, 320); + 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 = 25; + this.toolTip1.SetToolTip(this.tbProject, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); + // + // tbProjectIndex + // + this.tbProjectIndex.Location = new System.Drawing.Point(410, 320); + 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 = 26; + 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(104, 92); + 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 = 11; + // + // tbBigo + // + this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbBigo.Location = new System.Drawing.Point(11, 401); + 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(910, 130); + this.tbBigo.TabIndex = 28; + this.tbBigo.TabStop = false; + this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip")); + // + // dtPdate + // + this.dtPdate.Location = new System.Drawing.Point(93, 29); + 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.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.btSave.Location = new System.Drawing.Point(11, 539); + this.btSave.Margin = new System.Windows.Forms.Padding(4); + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(490, 80); + this.btSave.TabIndex = 1; + 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, 66); + 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, 66); + 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(104, 170); + 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, 102); + 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"); + // + // tbPumStock + // + this.tbPumStock.Location = new System.Drawing.Point(208, 175); + this.tbPumStock.Margin = new System.Windows.Forms.Padding(4); + this.tbPumStock.Name = "tbPumStock"; + this.tbPumStock.ReadOnly = true; + this.tbPumStock.Size = new System.Drawing.Size(64, 27); + this.tbPumStock.TabIndex = 14; + this.tbPumStock.TabStop = false; + this.tbPumStock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbPumStock, "재고량"); + // + // dtInDate + // + this.dtInDate.Location = new System.Drawing.Point(104, 206); + 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(25, 208); + 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(104, 26); + 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(24, 30); + 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.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.btSaveAdd.Location = new System.Drawing.Point(511, 539); + this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4); + this.btSaveAdd.Name = "btSaveAdd"; + this.btSaveAdd.Size = new System.Drawing.Size(410, 80); + 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(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.tbPumStock); + this.groupBox1.Controls.Add(this.tbPumAmt); + 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.tbPumQty); + 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, 363); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "필수입력"; + // + // tbStorage + // + this.tbStorage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbStorage.Location = new System.Drawing.Point(370, 283); + this.tbStorage.Margin = new System.Windows.Forms.Padding(4); + this.tbStorage.Name = "tbStorage"; + this.tbStorage.Size = new System.Drawing.Size(104, 27); + this.tbStorage.TabIndex = 39; + // + // tbPumPriceD + // + this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue; + this.tbPumPriceD.Location = new System.Drawing.Point(94, 211); + 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 = 36; + 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(9, 320); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(80, 27); + this.button3.TabIndex = 34; + 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(9, 283); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(80, 27); + this.button2.TabIndex = 33; + 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(9, 102); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(80, 27); + this.button1.TabIndex = 32; + 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.tbInRemar); + this.groupBox2.Controls.Add(label4); + this.groupBox2.Controls.Add(this.tbInQty); + this.groupBox2.Controls.Add(label2); + this.groupBox2.Controls.Add(this.tbOrderNo); + this.groupBox2.Controls.Add(label5); + this.groupBox2.Controls.Add(this.chkExp); + this.groupBox2.Controls.Add(this.chkInDate); + this.groupBox2.Controls.Add(this.dtExpDate); + this.groupBox2.Controls.Add(this.dtInDate); + this.groupBox2.Controls.Add(this.tbPO); + this.groupBox2.Controls.Add(poLabel); + this.groupBox2.Controls.Add(this.tbSC); + this.groupBox2.Controls.Add(scLabel); + this.groupBox2.Controls.Add(receiveLabel); + this.groupBox2.Controls.Add(this.cmbReceive); + 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, 362); + this.groupBox2.TabIndex = 2; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "추가정보"; + // + // tbInRemar + // + this.tbInRemar.Location = new System.Drawing.Point(104, 276); + this.tbInRemar.Margin = new System.Windows.Forms.Padding(4); + this.tbInRemar.Multiline = true; + this.tbInRemar.Name = "tbInRemar"; + this.tbInRemar.Size = new System.Drawing.Size(286, 70); + this.tbInRemar.TabIndex = 17; + this.tbInRemar.TextChanged += new System.EventHandler(this.textBox2_TextChanged); + // + // tbInQty + // + this.tbInQty.Location = new System.Drawing.Point(104, 241); + 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 = 15; + // + // tbOrderNo + // + this.tbOrderNo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbOrderNo.Location = new System.Drawing.Point(104, 123); + 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 = 13; + // + // 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; + // + // fPurchaseCR_Add + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.ClientSize = new System.Drawing.Size(928, 628); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.btSaveAdd); + this.Controls.Add(this.btSave); + this.Controls.Add(this.tbBigo); + this.Controls.Add(deptLabel); + this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fPurchaseCR_Add"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "CR 구매 추가/편집"; + 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.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #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 tbPumQty; + 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 tbPumStock; + 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; + 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.TextBox tbPumPriceD; + private System.Windows.Forms.TextBox tbStorage; + private System.Windows.Forms.TextBox tbInQty; + private System.Windows.Forms.TextBox tbInRemar; + } +} \ No newline at end of file diff --git a/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.cs b/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.cs new file mode 100644 index 0000000..05e3077 --- /dev/null +++ b/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.cs @@ -0,0 +1,918 @@ +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 fPurchaseCR_Add : Form + { + BindingSource bsManu; + BindingSource bsModel; + dsPurchase.EETGW_PurchaseCRRow dr; + public Boolean repeatAdd = false; + Boolean binit = false; + public fPurchaseCR_Add(dsPurchase.EETGW_PurchaseCRRow 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; + } + } + } + + + + Boolean advInput = false; + private void __Load(object sender, EventArgs e) + { + // TODO: 이 코드는 데이터를 'dsPurchase.Purchase' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. + //this.purchaseTableAdapter.Fill(this.dsPurchase.Purchase); + // this.Show(); + // Application.DoEvents(); + advInput = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.purchase_adv); + + //상태 + var stateList = FCOMMON.DBM.getCodeTable("04"); + this.cmbState.DisplayMember = "Value"; + this.cmbState.ValueMember = "Value"; + this.cmbState.DataSource = stateList; + + ////장비제조 + //var dt_dept = FCOMMON.DBM.getCodeTable("06"); + //bsManu.DataSource = dt_dept; + //this.cbEQManu.DisplayMember = "Value"; + //this.cbEQManu.ValueMember = "Value"; + //this.cbEQManu.DataSource = bsManu; + + ////장비모델 + //var dt_asset = FCOMMON.DBM.getCodeTable("07"); + //bsModel.DataSource = dt_asset; + //bsModel.Filter = "svalue='그런거없다'"; + //this.cbEQModel.DisplayMember = "Value"; + //this.cbEQModel.ValueMember = "Value"; + //this.cbEQModel.DataSource = bsModel; + + ////제조공정 + //var dt_manuproc = FCOMMON.DBM.getCodeTable("08"); + //this.cbManuProc.DisplayMember = "Value"; + //this.cbManuProc.ValueMember = "Value"; + //this.cbManuProc.DataSource = dt_manuproc; + + ////장비기술공정 + //var dt_eetproc = FCOMMON.DBM.getCodeTable("09"); + //this.cbProcess.DisplayMember = "Value"; + //this.cbProcess.ValueMember = "Value"; + //this.cbProcess.DataSource = dt_eetproc; + + ////processlist + //var procList = FCOMMON.DBM.getGroupTable("process", "Purchase", "process <> ''"); + //this.cbProcess.DisplayMember = "Value"; + //this.cbProcess.ValueMember = "Key"; + //this.cbProcess.DataSource = new BindingSource(procList, ""); + + //담당자목록 + 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); + } + + ///입력된 데이터를 적용한다. + dtPdate.Value = DateTime.Parse(dr.pdate); + 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; + + + //if (dr.manuproc == "") cbManuProc.SelectedIndex = -1; + //else cbManuProc.Text = dr.manuproc; //190106 + + //if (dr.dept == "") cbEQManu.SelectedIndex = -1; + //else cbEQManu.Text = dr.dept; //제조사 + //if (cbEQManu.SelectedIndex == -1) + //{ + // if (dr.asset != "") FCOMMON.Util.MsgE( + // string.Format("장비 모델 명({0})이 있지만 해당 제조사가 없으므로 모델명이 제거 됩니다. 모델을 다시 지정 하세요", dr.asset)); + // cbEQModel.SelectedIndex = -1; + //} + //else + //{ + // cbEQModel.Text = dr.asset; //제조모델명 + // if (cbEQModel.SelectedIndex == -1) + // { + // //FCOMMON.Util.MsgE("모델을 다시 선택하세요"); + // } + //} + + + tbPumName.Text = dr.pumname; + tbPumName.Tag = tbPumName.Text; + + tbPumModel.Text = dr.pumscale; + tbPumQty.Text = dr.pumqty.ToString(); + tbPumStock.Text = "--"; + 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.process == "") cbProcess.SelectedIndex = -1; + //else cbProcess.Text = dr.process; + //if (cbProcess.SelectedIndex == -1) + //{ + // //181203 - 이 사용자가 마지막으로 사용한 공정값을 사용한다. + // var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc"); + // if (lastprocess != "") cbProcess.Text = lastprocess; + + //} + tbSC.Text = dr.sc; + tbPO.Text = dr.po; + tbOrderNo.Text = dr.orderno; + tbBigo.Text = dr.bigo; + dtInDate.Text = dr.indate; + dtExpDate.Text = dr.edate; + + //20230306 + tbInQty.Text = dr.inqty.ToString(); + tbInRemar.Text = dr.inremark; + + //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; + } + } + + 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; + + + + } + + 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 != "") cbProcess.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) + { + 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) + { + //인덱스값이 다르면 모델 및 가격을 업데이트 한다. + 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 = false; + this.tbPumUnit.Enabled = false; + if (tbSID.Text != "") tbSID.Enabled = false; + else tbSID.Enabled = true; + + //제품을 찾앗다면 suppy 등을 업데이트 해준다. + var pcInfo = FCOMMON.DBM.getLastPurchaseCRInfo(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(); + } + } + this.tbPumQty.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) + { + var titles = f.Title.Split('/'); + this.tbProject.Text = titles[0].Trim(); + this.tbProject.Tag = titles[0].Trim(); + this.tbProjectIndex.Text = f.Index.ToString(); + this.tbOrderNo.Text = titles[1].Trim(); + 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 (tbSID.TextLength != 9) + { + FCOMMON.Util.MsgE("SID(9자리)를 확인 하세요"); + tbSID.Focus(); + tbSID.SelectAll(); + 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 (tbPumQty.Text == "") + { + FCOMMON.Util.MsgE("수량을 입력하세요."); + tbPumQty.Focus(); + return false; + } + + if (int.TryParse(tbProjectIndex.Text, out int pidx) == false || pidx < 1) + { + FCOMMON.Util.MsgE("프로젝트가 선택되지 않았습니다. 직접입력은 허용되지 않습니다.\n" + + "프로젝트 명을 입력하고 Enter 키를 눌러서 관련 프로젝트를 선택하세요\n" + + "프로젝트가 없는 경우에는 비고란에 해당 내용을 기입하세요"); + tbProject.Focus(); + tbProject.SelectAll(); + return false; + } + + if (tbOrderNo.Text.isEmpty()) + { + FCOMMON.Util.MsgI( + "CR/CF 구매의 경우 CR/CF 값이 반드시 입력되어야 합니다\n" + + "프로젝트를 선택한 경우에 해당 값이 없다면 프로젝트 편집화면에서 해당 값을 입력한 후 다시 시도하세요"); + return false; + } + + if (tbStorage.Text.Equals("SPR")) + { + if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes) + return false; + } + + var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); + if (overtime.TotalSeconds > 0) + { + //if (advInput == true && this.cbProcess.Text.Trim() == "") + //{ + // if (FCOMMON.info.Login.level >= 5) + // { + // var dlg = FCOMMON.Util.MsgQ("[공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + // if (dlg != System.Windows.Forms.DialogResult.Yes) + // { + // cbProcess.Focus(); + // return false; + // } + // } + // else + // { + // FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + + // cbProcess.Focus(); + // return false; + // } + //} + //if (advInput == true && cbManuProc.Text.Trim() == "") + //{ + // if (FCOMMON.info.Login.level >= 5) + // { + // var dlg = FCOMMON.Util.MsgQ("[제조공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + // if (dlg != System.Windows.Forms.DialogResult.Yes) + // { + // cbManuProc.Focus(); + // return false; + // } + // } + // else + // { + // FCOMMON.Util.MsgE("[제조공정]을 선택하세요\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + + // cbManuProc.Focus(); + // return false; + // } + //} + //if (advInput == true && this.cbEQManu.Text.Trim() == "") + //{ + // if (FCOMMON.info.Login.level >= 5) + // { + // var dlg = FCOMMON.Util.MsgQ("[장비제조사]를 입력하지 않고 진행 하시겠습니까?\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + // if (dlg != System.Windows.Forms.DialogResult.Yes) + // { + // cbEQManu.Focus(); + // return false; + // } + // } + // else + // { + // FCOMMON.Util.MsgE("[장비제조사]를 선택하세요.\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + // cbEQManu.Focus(); + // return false; + // } + //} + + //if (bsModel.Count > 0 && this.cbEQModel.SelectedIndex == -1) + //{ + // FCOMMON.Util.MsgE("장비 모델을 선택하세요.\n\n" + + // "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + // "BongSeok Jung(T.7191)\n" + + // "BongSeok.Jung@amkor.co.kr"); + // cbEQModel.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 (tbPumQty.Text.isEmpty()) tbPumQty.Text = "0"; + if (tbPumPrice.Text.isEmpty()) tbPumPrice.Text = "0"; + dr.pumqty = int.Parse(tbPumQty.Text); + dr.pumprice = decimal.Parse(tbPumPrice.Text); + + if (int.TryParse(tbInQty.Text, out int inqty)) + { + dr.inqty = inqty; + } + dr.inremark = tbInRemar.Text; + + if (decimal.TryParse(tbPumPriceD.Text, out decimal priced)) + { + dr.pumpriceD = priced; + } + else dr.SetpumpriceDNull(); + + dr.pumamt = dr.pumqty * 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 = cbEQModel.Text; + //dr.dept = cbEQManu.Text; + //dr.manuproc = cbManuProc.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; + + 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 = cbProcess.Text; + dr.sc = tbSC.Text; + dr.po = tbPO.Text; + dr.orderno = tbOrderNo.Text; + dr.bigo = tbBigo.Text; + + //품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교) + //품정보가 없다면 그대로 생성을 해준다. + 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); + 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 strQty = this.tbPumQty.Text; + var strPrice = this.tbPumPrice.Text; + + int qty = 0; + double price = 0; + if (strQty.IsNumeric()) qty = int.Parse(strQty); + if (strPrice.IsNumeric()) price = double.Parse(strPrice); + double amt = price * qty; + tbPumAmt.Text = amt.ToString("N0"); + } + + + 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("", 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 button7_Click(object sender, EventArgs e) + { + var datapath = FCOMMON.DBM.getCodeSavlue("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 textBox2_TextChanged(object sender, EventArgs e) + { + + } + } +} diff --git a/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.resx b/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.resx new file mode 100644 index 0000000..0183111 --- /dev/null +++ b/SubProject/FEQ0000/Purchase/fPurchaseCR_Add.resx @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 490, 17 + + + * 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) +* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) +* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등) +* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) +* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + * 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) +* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) +* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등) +* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) +* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + + 17, 17 + + + 131, 17 + + + 313, 17 + + + 58 + + \ No newline at end of file diff --git a/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs similarity index 97% rename from SubProject/FEQ0000/Purchase/fPurchase.Designer.cs rename to SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs index f0bde2e..f4c41ac 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs @@ -1,6 +1,6 @@ namespace FEQ0000 { - partial class fPurchase + partial class fPurchaseNR { /// /// 필수 디자이너 변수입니다. @@ -29,7 +29,7 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR)); FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); @@ -162,6 +162,7 @@ // tam // this.tam.BackupDataSetBeforeUpdate = true; + this.tam.EETGW_PurchaseCRTableAdapter = null; this.tam.PurchaseTableAdapter = this.ta; this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; // @@ -197,14 +198,14 @@ this.toolStripButton6, this.toolStripButton1, this.toolStripButton7}); - this.bn.Location = new System.Drawing.Point(0, 652); + 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(1226, 26); + this.bn.Size = new System.Drawing.Size(1284, 26); this.bn.TabIndex = 0; this.bn.Text = "bindingNavigator1"; // @@ -591,7 +592,7 @@ this.toolStripButton3}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1226, 37); + this.toolStrip1.Size = new System.Drawing.Size(1284, 37); this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // @@ -780,7 +781,7 @@ this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1226, 592); + this.fpSpread1.Size = new System.Drawing.Size(1284, 607); this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 4; this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); @@ -1063,26 +1064,26 @@ // 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, 629); + 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(1226, 23); + this.label1.Size = new System.Drawing.Size(1284, 23); this.label1.TabIndex = 6; this.label1.Text = "--"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // - // fPurchase + // fPurchaseNR // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1226, 678); + this.ClientSize = new System.Drawing.Size(1284, 693); this.Controls.Add(this.fpSpread1); this.Controls.Add(this.label1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.bn); this.DoubleBuffered = true; - this.Name = "fPurchase"; - this.Text = "구매 신청"; + this.Name = "fPurchaseNR"; + this.Text = "NR구매 신청"; this.Load += new System.EventHandler(this.@__Load); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); diff --git a/SubProject/FEQ0000/Purchase/fPurchase.cs b/SubProject/FEQ0000/Purchase/fPurchaseNR.cs similarity index 97% rename from SubProject/FEQ0000/Purchase/fPurchase.cs rename to SubProject/FEQ0000/Purchase/fPurchaseNR.cs index 34d3403..7681de8 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.cs +++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.cs @@ -14,11 +14,11 @@ using NetOffice.OutlookApi.Enums; namespace FEQ0000 { - public partial class fPurchase : FCOMMON.fBase + public partial class fPurchaseNR : FCOMMON.fBase { string fn_fpcolsize = ""; - public fPurchase() + public fPurchaseNR() { InitializeComponent(); Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; diff --git a/SubProject/FEQ0000/Purchase/fPurchase.resx b/SubProject/FEQ0000/Purchase/fPurchaseNR.resx similarity index 96% rename from SubProject/FEQ0000/Purchase/fPurchase.resx rename to SubProject/FEQ0000/Purchase/fPurchaseNR.resx index 58457d7..eaca4d7 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.resx +++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.resx @@ -410,13 +410,13 @@ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFX8g27Cm4gIYjVN - 6KyMrM6qw6AIIvp1xq2jOpDAkDwMA6Ugy2jyHXbFZHJdZ3Ej5oGX2ZnvZXwcn+Lf49cJk0kwTd/iGePI - n7qcxH0zC8ZEImcc4lzUd5KuoAz1l3dWKFbbEb3UnJ4nU+HMRaNAqm2cy+CaoAWXXKJPWM0jKVwXxIuF - lihf3cB1QeD2XUpQBs8EN05rLJotscJZzTwR45lgbNngPayD8EwQLwe5zb/6gsOiBEVg3ptBYD52QWDJ - 2XUxV4IiLDm7LuZKUIQlZ9fFXAmKsOTsupgrwX4ssd78BmZjF3SCEpRFCcqiBGX5ISib2ZUbtnryyL+x - Yt/fGSVdwYPKl1R271osuVXmlya3y2yvsxf1nKQrGFosPa/TprDkJDu3LX4pZEVzJ8l3fLTMeZ0LBlIk - CElcPmr6/yB+QNQbNpDTdKJxQVkC6WI8lrt6zdMG27//ZGukwaKdvZaiMbPiPUGdJCLp64fA3PFHOEsr - kDZHCo/x+b4B8eCklafTY54AAAAASUVORK5CYII= + 6KyMrM6qw6Cog+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBNH2LZ4wj + f+pyEvfNLBgTiZxxiHNR30m6gjLUX95ZoVhtR/RSc3qeTIUzF40CqbZxLoNrghZccok+YTWPpHBdEC8W + WqJ8dQPXBYHbdylBGTwT3DitsWi2xApnNfNEjGeCsWWD97AOwjNBvBzkNv/qCw6LEhSBeW8GgfnYBYEl + Z9fFXAmKsOTsupgrQRGWnF0XcyUowpKz62KuBPuxxHrzG5iNXdAJSlAWJSiLEpTlh6BsZldu2OrJI//G + in1/Z5R0BQ8qX1LZvWux5FaZX5rcLrO9zl7Uc5KuYGix9LxOm8KSk+zctvilkBXNnSTf8dEy53UuGEiR + ICRx+ajp/4P4AVFv2EBO04nGBWUJpIvxWO7qNU8bbP/+k62RBot29lqKxsyK9wR1koikrx8Cc8cf4Syt + QNocKTzG5/sG7rikk4qCHAEAAAAASUVORK5CYII= diff --git a/SubProject/FEQ0000/dsPurchase.Designer.cs b/SubProject/FEQ0000/dsPurchase.Designer.cs index 7fdbda7..e7023f7 100644 --- a/SubProject/FEQ0000/dsPurchase.Designer.cs +++ b/SubProject/FEQ0000/dsPurchase.Designer.cs @@ -26,6 +26,8 @@ namespace FEQ0000 { private PurchaseDataTable tablePurchase; + private EETGW_PurchaseCRDataTable tableEETGW_PurchaseCR; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -61,6 +63,9 @@ namespace FEQ0000 { if ((ds.Tables["Purchase"] != null)) { base.Tables.Add(new PurchaseDataTable(ds.Tables["Purchase"])); } + if ((ds.Tables["EETGW_PurchaseCR"] != null)) { + base.Tables.Add(new EETGW_PurchaseCRDataTable(ds.Tables["EETGW_PurchaseCR"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -90,6 +95,16 @@ namespace FEQ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_PurchaseCRDataTable EETGW_PurchaseCR { + get { + return this.tableEETGW_PurchaseCR; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -161,6 +176,9 @@ namespace FEQ0000 { if ((ds.Tables["Purchase"] != null)) { base.Tables.Add(new PurchaseDataTable(ds.Tables["Purchase"])); } + if ((ds.Tables["EETGW_PurchaseCR"] != null)) { + base.Tables.Add(new EETGW_PurchaseCRDataTable(ds.Tables["EETGW_PurchaseCR"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -200,6 +218,12 @@ namespace FEQ0000 { this.tablePurchase.InitVars(); } } + this.tableEETGW_PurchaseCR = ((EETGW_PurchaseCRDataTable)(base.Tables["EETGW_PurchaseCR"])); + if ((initTable == true)) { + if ((this.tableEETGW_PurchaseCR != null)) { + this.tableEETGW_PurchaseCR.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -212,6 +236,8 @@ namespace FEQ0000 { this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tablePurchase = new PurchaseDataTable(false); base.Tables.Add(this.tablePurchase); + this.tableEETGW_PurchaseCR = new EETGW_PurchaseCRDataTable(false); + base.Tables.Add(this.tableEETGW_PurchaseCR); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -220,6 +246,12 @@ namespace FEQ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeEETGW_PurchaseCR() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -279,11 +311,15 @@ namespace FEQ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] 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 ))"; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void PurchaseRowChangeEventHandler(object sender, PurchaseRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void EETGW_PurchaseCRRowChangeEventHandler(object sender, EETGW_PurchaseCRRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -1231,6 +1267,971 @@ namespace FEQ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_PurchaseCRDataTable : 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; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRDataTable() : + this(false) { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRDataTable(bool initExpressions) { + this.TableName = "EETGW_PurchaseCR"; + this.BeginInit(); + this.InitClass(); + if ((initExpressions == true)) { + this.InitExpressions(); + } + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_PurchaseCRDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected EETGW_PurchaseCRDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow this[int index] { + get { + return ((EETGW_PurchaseCRRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddEETGW_PurchaseCRRow(EETGW_PurchaseCRRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow AddEETGW_PurchaseCRRow( + 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) { + EETGW_PurchaseCRRow rowEETGW_PurchaseCRRow = ((EETGW_PurchaseCRRow)(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}; + rowEETGW_PurchaseCRRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_PurchaseCRRow); + return rowEETGW_PurchaseCRRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow AddEETGW_PurchaseCRRow( + 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) { + EETGW_PurchaseCRRow rowEETGW_PurchaseCRRow = ((EETGW_PurchaseCRRow)(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}; + rowEETGW_PurchaseCRRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_PurchaseCRRow); + return rowEETGW_PurchaseCRRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow FindByidx(int idx) { + return ((EETGW_PurchaseCRRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_PurchaseCRDataTable cln = ((EETGW_PurchaseCRDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_PurchaseCRDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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.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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow NewEETGW_PurchaseCRRow() { + return ((EETGW_PurchaseCRRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_PurchaseCRRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_PurchaseCRRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_PurchaseCRRowChanged != null)) { + this.EETGW_PurchaseCRRowChanged(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_PurchaseCRRowChanging != null)) { + this.EETGW_PurchaseCRRowChanging(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_PurchaseCRRowDeleted != null)) { + this.EETGW_PurchaseCRRowDeleted(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_PurchaseCRRowDeleting != null)) { + this.EETGW_PurchaseCRRowDeleting(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveEETGW_PurchaseCRRow(EETGW_PurchaseCRRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + 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_PurchaseCRDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -2242,6 +3243,1045 @@ namespace FEQ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_PurchaseCRRow : global::System.Data.DataRow { + + private EETGW_PurchaseCRDataTable tableEETGW_PurchaseCR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_PurchaseCRRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_PurchaseCR = ((EETGW_PurchaseCRDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_PurchaseCR.idxColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pdate { + get { + if (this.IspdateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.pdateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string state { + get { + if (this.IsstateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.stateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.stateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string process { + get { + if (this.IsprocessNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.processColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.processColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string receive { + get { + if (this.IsreceiveNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.receiveColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.receiveColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string sc { + get { + if (this.IsscNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.scColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.scColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string request { + get { + if (this.IsrequestNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.requestColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.requestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string sid { + get { + if (this.IssidNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.sidColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.sidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pumname { + get { + if (this.IspumnameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.pumnameColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumnameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pumscale { + get { + if (this.IspumscaleNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.pumscaleColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumscaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pumunit { + get { + if (this.IspumunitNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.pumunitColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumunitColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pumqty { + get { + if (this.IspumqtyNull()) { + return 0; + } + else { + return ((int)(this[this.tableEETGW_PurchaseCR.pumqtyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumqtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal pumprice { + get { + if (this.IspumpriceNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableEETGW_PurchaseCR.pumpriceColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumpriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal pumamt { + get { + if (this.IspumamtNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableEETGW_PurchaseCR.pumamtColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumamtColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string supply { + get { + if (this.IssupplyNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.supplyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.supplyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int supplyidx { + get { + if (this.IssupplyidxNull()) { + return -1; + } + else { + return ((int)(this[this.tableEETGW_PurchaseCR.supplyidxColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.supplyidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string project { + get { + if (this.IsprojectNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.projectColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int projectidx { + get { + if (this.IsprojectidxNull()) { + return -1; + } + else { + return ((int)(this[this.tableEETGW_PurchaseCR.projectidxColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.projectidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string asset { + get { + if (this.IsassetNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.assetColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.assetColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string edate { + get { + if (this.IsedateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.edateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.edateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string indate { + get { + if (this.IsindateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.indateColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.indateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string po { + get { + if (this.IspoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.poColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.poColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string dept { + get { + if (this.IsdeptNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.deptColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.deptColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_PurchaseCR.wuidColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_PurchaseCR.wdateColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool import { + get { + try { + return ((bool)(this[this.tableEETGW_PurchaseCR.importColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.importColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pumidx { + get { + if (this.IspumidxNull()) { + return -1; + } + else { + return ((int)(this[this.tableEETGW_PurchaseCR.pumidxColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool isdel { + get { + try { + return ((bool)(this[this.tableEETGW_PurchaseCR.isdelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'isdel\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.isdelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string bigo { + get { + if (this.IsbigoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.bigoColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.bigoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string manuproc { + get { + if (this.IsmanuprocNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.manuprocColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.manuprocColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string orderno { + get { + if (this.IsordernoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.ordernoColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.ordernoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tableEETGW_PurchaseCR.gcodeColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string receiveName { + get { + if (this.IsreceiveNameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.receiveNameColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.receiveNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string requestName { + get { + if (this.IsrequestNameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.requestNameColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.requestNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string place { + get { + if (this.IsplaceNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.placeColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.placeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int inqty { + get { + if (this.IsinqtyNull()) { + return 0; + } + else { + return ((int)(this[this.tableEETGW_PurchaseCR.inqtyColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.inqtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string bigo2 { + get { + if (this.Isbigo2Null()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.bigo2Column])); + } + } + set { + this[this.tableEETGW_PurchaseCR.bigo2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal pumpriceD { + get { + if (this.IspumpriceDNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableEETGW_PurchaseCR.pumpriceDColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumpriceDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string inremark { + get { + if (this.IsinremarkNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_PurchaseCR.inremarkColumn])); + } + } + set { + this[this.tableEETGW_PurchaseCR.inremarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpdateNull() { + this[this.tableEETGW_PurchaseCR.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsstateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.stateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetstateNull() { + this[this.tableEETGW_PurchaseCR.stateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprocessNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.processColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprocessNull() { + this[this.tableEETGW_PurchaseCR.processColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsreceiveNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.receiveColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetreceiveNull() { + this[this.tableEETGW_PurchaseCR.receiveColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsscNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.scColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetscNull() { + this[this.tableEETGW_PurchaseCR.scColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsrequestNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.requestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetrequestNull() { + this[this.tableEETGW_PurchaseCR.requestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssidNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.sidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsidNull() { + this[this.tableEETGW_PurchaseCR.sidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumnameNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumnameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumnameNull() { + this[this.tableEETGW_PurchaseCR.pumnameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumscaleNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumscaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumscaleNull() { + this[this.tableEETGW_PurchaseCR.pumscaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumunitNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumunitColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumunitNull() { + this[this.tableEETGW_PurchaseCR.pumunitColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumqtyNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumqtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumqtyNull() { + this[this.tableEETGW_PurchaseCR.pumqtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumpriceNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumpriceColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumpriceNull() { + this[this.tableEETGW_PurchaseCR.pumpriceColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumamtNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumamtColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumamtNull() { + this[this.tableEETGW_PurchaseCR.pumamtColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssupplyNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.supplyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsupplyNull() { + this[this.tableEETGW_PurchaseCR.supplyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssupplyidxNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.supplyidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsupplyidxNull() { + this[this.tableEETGW_PurchaseCR.supplyidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprojectNull() { + this[this.tableEETGW_PurchaseCR.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprojectidxNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.projectidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprojectidxNull() { + this[this.tableEETGW_PurchaseCR.projectidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsassetNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.assetColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetassetNull() { + this[this.tableEETGW_PurchaseCR.assetColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsedateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.edateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetedateNull() { + this[this.tableEETGW_PurchaseCR.edateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsindateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.indateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetindateNull() { + this[this.tableEETGW_PurchaseCR.indateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspoNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.poColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpoNull() { + this[this.tableEETGW_PurchaseCR.poColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsdeptNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.deptColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetdeptNull() { + this[this.tableEETGW_PurchaseCR.deptColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsimportNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.importColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetimportNull() { + this[this.tableEETGW_PurchaseCR.importColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumidxNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumidxNull() { + this[this.tableEETGW_PurchaseCR.pumidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsisdelNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.isdelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetisdelNull() { + this[this.tableEETGW_PurchaseCR.isdelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsbigoNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.bigoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetbigoNull() { + this[this.tableEETGW_PurchaseCR.bigoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsmanuprocNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.manuprocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetmanuprocNull() { + this[this.tableEETGW_PurchaseCR.manuprocColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsordernoNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.ordernoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetordernoNull() { + this[this.tableEETGW_PurchaseCR.ordernoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsreceiveNameNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.receiveNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetreceiveNameNull() { + this[this.tableEETGW_PurchaseCR.receiveNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsrequestNameNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.requestNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetrequestNameNull() { + this[this.tableEETGW_PurchaseCR.requestNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsplaceNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.placeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetplaceNull() { + this[this.tableEETGW_PurchaseCR.placeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsinqtyNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.inqtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetinqtyNull() { + this[this.tableEETGW_PurchaseCR.inqtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isbigo2Null() { + return this.IsNull(this.tableEETGW_PurchaseCR.bigo2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setbigo2Null() { + this[this.tableEETGW_PurchaseCR.bigo2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumpriceDNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumpriceDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumpriceDNull() { + this[this.tableEETGW_PurchaseCR.pumpriceDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsinremarkNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.inremarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetinremarkNull() { + this[this.tableEETGW_PurchaseCR.inremarkColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -2275,6 +4315,40 @@ namespace FEQ0000 { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class EETGW_PurchaseCRRowChangeEvent : global::System.EventArgs { + + private EETGW_PurchaseCRRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRowChangeEvent(EETGW_PurchaseCRRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace FEQ0000.dsPurchaseTableAdapters { @@ -4182,6 +6256,1957 @@ ORDER BY pdate DESC, idx DESC"; } } + /// + ///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_PurchaseCRTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_PurchaseCR"; + 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"); + 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_PurchaseCR] 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)))"; + 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_PurchaseCR] ([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]) 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); +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 FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY()) ORDER BY 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_PurchaseCR] 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 WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL" + + ") OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) O" + + "R ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) " + + "OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS N" + + "ULL) 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 ([pumnam" + + "e] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR (" + + "[pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NUL" + + "L) 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 [p" + + "umamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [" + + "supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 A" + + "ND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_pr" + + "ojectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx))" + + " AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AN" + + "D ((@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_wu" + + "id) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NUL" + + "L) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NU" + + "LL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NUL" + + "L) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR" + + " ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) O" + + "R ([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 ((@Is" + + "Null_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNul" + + "l_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD))" + + " AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_i" + + "nremark)));\r\nSELECT idx, pdate, state, process, receive, dbo.getUserName(receive" + + ") AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pum" + + "name, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, p" + + "rojectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, b" + + "igo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark FROM EETGW_Purc" + + "haseCR WHERE (idx = @idx) ORDER BY pdate 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("@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("@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", "16.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", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; + 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 +FROM EETGW_PurchaseCR +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_PurchaseCR\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_PurchaseCR\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, 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 +FROM EETGW_PurchaseCR +WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) +ORDER BY pdate DESC, idx DESC"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[3].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[3].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[3].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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(dsPurchase.EETGW_PurchaseCRDataTable 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", "16.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_PurchaseCRDataTable 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_PurchaseCRDataTable dataTable = new dsPurchase.EETGW_PurchaseCRDataTable(true); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] + public virtual int FillDate(dsPurchase.EETGW_PurchaseCRDataTable dataTable, string sd, string ed, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + 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", "16.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_PurchaseCRDataTable GetDate(string sd, string ed, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + 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_PurchaseCRDataTable dataTable = new dsPurchase.EETGW_PurchaseCRDataTable(true); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPurchase.EETGW_PurchaseCRDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPurchase dataSet) { + return this.Adapter.Update(dataSet, "EETGW_PurchaseCR"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + 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", "16.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", "16.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) { + 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)); + } + 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", "16.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) { + 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)); + } + 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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string 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, + 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, + 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)); + } + this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_idx)); + if ((Original_pdate == null)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_pdate)); + } + if ((Original_state == null)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_state)); + } + if ((Original_process == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_process)); + } + if ((Original_receive == null)) { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_receive)); + } + if ((Original_sc == null)) { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_sc)); + } + if ((Original_request == null)) { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_request)); + } + if ((Original_sid == null)) { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_sid)); + } + if ((Original_pumname == null)) { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_pumname)); + } + if ((Original_pumscale == null)) { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_pumscale)); + } + if ((Original_pumunit == null)) { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_pumunit)); + } + if ((Original_pumqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_pumqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; + } + if ((Original_pumprice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[59].Value = ((decimal)(Original_pumprice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; + } + if ((Original_pumamt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(Original_pumamt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; + } + if ((Original_supply == null)) { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_supply)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[65].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; + } + if ((Original_projectidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(Original_projectidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; + } + if ((Original_asset == null)) { + this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_asset)); + } + if ((Original_edate == null)) { + this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_edate)); + } + if ((Original_indate == null)) { + this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_indate)); + } + if ((Original_po == null)) { + this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Original_po)); + } + if ((Original_dept == null)) { + this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_dept)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[79].Value = ((System.DateTime)(Original_wdate)); + if ((Original_import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[81].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value; + } + if ((Original_pumidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[83].Value = ((int)(Original_pumidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value; + } + if ((Original_isdel.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_isdel.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value; + } + if ((Original_bigo == null)) { + this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[87].Value = ((string)(Original_bigo)); + } + if ((Original_manuproc == null)) { + this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_manuproc)); + } + if ((Original_orderno == null)) { + this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[91].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_orderno)); + } + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[92].Value = ((string)(Original_gcode)); + } + if ((Original_place == null)) { + this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[94].Value = ((string)(Original_place)); + } + if ((Original_inqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[96].Value = ((int)(Original_inqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[96].Value = global::System.DBNull.Value; + } + if ((Original_pumpriceD.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[98].Value = ((decimal)(Original_pumpriceD.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value; + } + if ((Original_inremark == 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_inremark)); + } + this.Adapter.UpdateCommand.Parameters[101].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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string 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, + 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) { + 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, 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_idx); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + 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", "16.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 /// @@ -4196,6 +8221,8 @@ ORDER BY pdate DESC, idx DESC"; private PurchaseTableAdapter _purchaseTableAdapter; + private EETGW_PurchaseCRTableAdapter _eETGW_PurchaseCRTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -4225,6 +8252,20 @@ ORDER BY pdate DESC, idx DESC"; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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_PurchaseCRTableAdapter EETGW_PurchaseCRTableAdapter { + get { + return this._eETGW_PurchaseCRTableAdapter; + } + set { + this._eETGW_PurchaseCRTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -4248,6 +8289,10 @@ ORDER BY pdate DESC, idx DESC"; && (this._purchaseTableAdapter.Connection != null))) { return this._purchaseTableAdapter.Connection; } + if (((this._eETGW_PurchaseCRTableAdapter != null) + && (this._eETGW_PurchaseCRTableAdapter.Connection != null))) { + return this._eETGW_PurchaseCRTableAdapter.Connection; + } return null; } set { @@ -4264,6 +8309,9 @@ ORDER BY pdate DESC, idx DESC"; if ((this._purchaseTableAdapter != null)) { count = (count + 1); } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -4284,6 +8332,15 @@ ORDER BY pdate DESC, idx DESC"; allChangedRows.AddRange(updatedRows); } } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_PurchaseCRTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -4302,6 +8359,14 @@ ORDER BY pdate DESC, idx DESC"; allAddedRows.AddRange(addedRows); } } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_PurchaseCRTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -4312,6 +8377,14 @@ ORDER BY pdate DESC, idx DESC"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private int UpdateDeletedRows(dsPurchase dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_PurchaseCRTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._purchaseTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.Purchase.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -4363,6 +8436,10 @@ ORDER BY pdate DESC, idx DESC"; && (this.MatchTableAdapterConnection(this._purchaseTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._eETGW_PurchaseCRTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_PurchaseCRTableAdapter.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" + @@ -4403,6 +8480,15 @@ ORDER BY pdate DESC, idx DESC"; adaptersWithAcceptChangesDuringUpdate.Add(this._purchaseTableAdapter.Adapter); } } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + revertConnections.Add(this._eETGW_PurchaseCRTableAdapter, this._eETGW_PurchaseCRTableAdapter.Connection); + this._eETGW_PurchaseCRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_PurchaseCRTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_PurchaseCRTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_PurchaseCRTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_PurchaseCRTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -4465,6 +8551,10 @@ ORDER BY pdate DESC, idx DESC"; this._purchaseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._purchaseTableAdapter])); this._purchaseTableAdapter.Transaction = null; } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + this._eETGW_PurchaseCRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_PurchaseCRTableAdapter])); + this._eETGW_PurchaseCRTableAdapter.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 2e90695..293ec4d 100644 --- a/SubProject/FEQ0000/dsPurchase.xsd +++ b/SubProject/FEQ0000/dsPurchase.xsd @@ -332,6 +332,344 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc + + + + + + DELETE FROM [EETGW_PurchaseCR] 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))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_PurchaseCR] ([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]) 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); +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 FROM EETGW_PurchaseCR 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 +FROM EETGW_PurchaseCR +WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) +ORDER BY pdate DESC, idx DESC + + + + + + + + UPDATE [EETGW_PurchaseCR] 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 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))); +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 FROM EETGW_PurchaseCR WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT COUNT(*) AS Expr1 +FROM EETGW_PurchaseCR +WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gcode = @gcode) + + + + + + + + + + + + + DELETE FROM [Purchase] WHERE import = 1 + + + + + + DELETE FROM EETGW_PurchaseCR +WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gcode = @gcode) + + + + + + + + + + + + + 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 +FROM EETGW_PurchaseCR +WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) +ORDER BY pdate DESC, idx DESC + + + + + + + + + + @@ -340,7 +678,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc - + @@ -534,11 +872,216 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubProject/FEQ0000/dsPurchase.xss b/SubProject/FEQ0000/dsPurchase.xss index 6529763..7643cc9 100644 --- a/SubProject/FEQ0000/dsPurchase.xss +++ b/SubProject/FEQ0000/dsPurchase.xss @@ -4,9 +4,10 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - + + \ No newline at end of file diff --git a/SubProject/FPJ0000/FPJ0000.csproj b/SubProject/FPJ0000/FPJ0000.csproj index f86fd51..f6d3a44 100644 --- a/SubProject/FPJ0000/FPJ0000.csproj +++ b/SubProject/FPJ0000/FPJ0000.csproj @@ -436,6 +436,12 @@ fProjectLayout.cs + + Form + + + fProjectPartToPurchaseCR.cs + Form @@ -723,6 +729,9 @@ fProjectLayout.cs + + fProjectPartToPurchaseCR.cs + fProjectSummary.cs diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.resx b/SubProject/FPJ0000/Project/fPartBuyStatus.resx index 8c0e2f1..700934d 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.resx +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.resx @@ -331,19 +331,19 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALpSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSalFRL8qlNjWw - m6mY6XRO0dREFwbZYi4ydaGJChWiFL2o0C46talzzumGMzKXqc37BbwsdZdz3M7023POlhoI/eDD8+I5 - 3w/n9z2Hx07ofW3SpVKDOqrM8DtMZqDISXMo2dNIR5X20RFP9OazUl1FQPTbfVxo94Q/6tEt2egVs9ns - sTo2YLXvsGJjofFzwYbCTzOIKxtxCrNU+31R70QW65fYcN+UG8ZpBsYZBoYpBvpJF7S/NtA67MAGAzSN - UCj8MI2UZ2bqH0mYrJVad7owMOvB11mGnAz6OYkL3ZYNfBl2EsEmBhY8MM67oVDNQHCv8w0XjlUGT9yQ - RW9Jqq8hpeo6qtrqUdSghEAWiGCCUHEGofKTKG8q51ax0wwWV50ITexmOEFMqeB951AzmsdeosqQz0kS - KyOQ/zoB2fVxENdcRnJNMpoGF9FstuPz93WskZ7C5D00JxBWCPcHyHI8htEuvBqSo0SbxUmSqiNJ+ArS - n6dBZ3Fwq3SMUVCTHlYdboQV9XoF7IQXd9O5tSKYLHrUGO/icXseYpUXkFQZDdOUEyZSLFuwbtzbiZUI - QuW7BOceyNynCg4joUKIgfE+KLoyIFflIu5pCOq1H/FtjoGJFNs36UYvYcnmhuChT3Bc6ifhSw8huy4e - N6vDEV9+kZPkqhIgbUgjbxIC9n5gxoN+9hMTbKTIoBy9V8CXHpjjSw+Sh/zAz/fD1ZIQZL4QQTeshkJd - gIx3IoirY2AiAiP5NwxEQLs3iUC7s8L5nB56YY3G4JyHo3t0Hndq05FKgpKaOOTV3d6+Y3G6PETQuCNg - bbPWHcH/cLArpO0SnM7VOGUyxdZeD++FRqPZPJrYZPfFSZHp7RPT604bezGxTGFiiYLFx7LdzcE2b6e9 - YYqi1vxvtfzwxXm8E+ltmUHi1vZjErU1SNJIb5PqJfAv4kbaX9yyeiS5pSNQpErh8Xi8P8TgnblXSjaK + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALpSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSalFRL0pza2pg + N9Nh5m1O0dREFwbZYhqZutBEhQpRil5UaBed2tS5zemGW2QuU/N+Ay9L3eUc3Zl+e87ZUgOhH3x4Xjzn + ++H8vufw2BHc1yZcKjWqI8uMv4VyI0VOmkPJniY6srSXDn9isJ6V6SsCot7u40K7J+xRt37RTi9brVaP + zbkOm2OHZTsLjZ/zdhR8moa4bMglylTt90W9E1FsWGTDvZNumKYYmKYZGCcZGCY2oP21jtZBJ9YZoGmI + QsGHKSQ/s1L/SITyVmrNtQHLjAdfZxhyMujjJBvQja7jy6CLCDZhmffANOdGkWoaIfc633DhGGXw+A15 + 1Ja0+hqSq66jqq0ehQ1KhMgDEUwQFZ2BQHES5U3l3CoOmsHCiguCeB3DCaJLQ953DjSjeeQlqox5nCS+ + Mhx5r+OQVS+GpOYykmqS0NS/gGarA5+/r2GV9CRUdNOcQFQh2h8gz/YYh7vwakCBEm0mJ0mojiDhK0h7 + ngr9qJNbpWOEgpr0sOJ0Q1jY4xWwE1aso3NqE2EeNaDGdBeP23MRo7yAhMoomCddMJNi2YL1Y95ObEQg + UOwSnHsgd5/KP4y4ChEsY70o6kqHQpUD8dNQ1Gs/4tssAzMptnfCjR7Cot2NkIc+wXGZn5QvO4Ssuljc + rA5DbPlFTpKjioOsIZW8SSjYe8u0B33sJybYSZFB2QavgC87MMuXHSQP+YGf54erJaHIeJEI/aAaRep8 + pL9LhKQ6GmYiMJF/w0gEtHuTCLQ7K5zP7qbnV2n0z3o4dMNzuFObhhQSlNaIkVt3e/uOxbXhIYLGHQFr + m7HtCP6Hk10hdZfgdI7GJZcrtvZ6eC80Gs3m0fgmhy9OikxrH59ac9nZi/ElCuOLFEZ9LDncHGzzDtob + pihq1f9Wyw9fnMc7kdaWESRpbT8mVduCpI30NileAv8iaaT9JS0rR5JaOgITVck8Ho/3B8Nwnbefr5jk AAAAAElFTkSuQmCC diff --git a/SubProject/FPJ0000/Project/fPartList.Designer.cs b/SubProject/FPJ0000/Project/fPartList.Designer.cs index ea34bf7..2cc7a10 100644 --- a/SubProject/FPJ0000/Project/fPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartList.Designer.cs @@ -39,34 +39,36 @@ System.Windows.Forms.Label label1; System.Windows.Forms.Label label2; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList)); - FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); - FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); - FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); - FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - 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.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); + FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer2 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); + FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer3 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); + FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer4 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); + 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 textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); + 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 textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); this.panel1 = new System.Windows.Forms.Panel(); this.button4 = new System.Windows.Forms.Button(); this.panel7 = new System.Windows.Forms.Panel(); @@ -89,7 +91,7 @@ this.radSortNo = new System.Windows.Forms.RadioButton(); this.edateTextBox = new System.Windows.Forms.TextBox(); this.sdateTextBox = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); + this.tbOrderNo = new System.Windows.Forms.TextBox(); this.reqstaffTextBox = new System.Windows.Forms.TextBox(); this.tbIdx = new System.Windows.Forms.TextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); @@ -140,6 +142,7 @@ this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.label3 = new System.Windows.Forms.Label(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -246,6 +249,7 @@ // // panel1 // + this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.button4); this.panel1.Controls.Add(this.panel7); this.panel1.Controls.Add(this.button3); @@ -394,7 +398,7 @@ this.panel2.Controls.Add(this.sdateTextBox); this.panel2.Controls.Add(label1); this.panel2.Controls.Add(sdateLabel); - this.panel2.Controls.Add(this.textBox1); + this.panel2.Controls.Add(this.tbOrderNo); this.panel2.Controls.Add(this.reqstaffTextBox); this.panel2.Controls.Add(this.tbIdx); this.panel2.Controls.Add(reqstaffLabel); @@ -500,14 +504,14 @@ this.sdateTextBox.TabIndex = 11; this.sdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBox1 + // tbOrderNo // - this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true)); - this.textBox1.Location = new System.Drawing.Point(383, 90); - this.textBox1.Name = "textBox1"; - this.textBox1.ReadOnly = true; - this.textBox1.Size = new System.Drawing.Size(186, 21); - this.textBox1.TabIndex = 25; + this.tbOrderNo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true)); + this.tbOrderNo.Location = new System.Drawing.Point(383, 90); + this.tbOrderNo.Name = "tbOrderNo"; + this.tbOrderNo.ReadOnly = true; + this.tbOrderNo.Size = new System.Drawing.Size(186, 21); + this.tbOrderNo.TabIndex = 25; // // reqstaffTextBox // @@ -926,7 +930,7 @@ this.bn.CountItem = this.bindingNavigatorCountItem; this.bn.DeleteItem = this.bindingNavigatorDeleteItem; this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.ImageScalingSize = new System.Drawing.Size(20, 20); + this.bn.ImageScalingSize = new System.Drawing.Size(40, 40); this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMovePreviousItem, @@ -951,14 +955,14 @@ this.toolStripButton4, this.toolStripButton5, this.toolStripButton1}); - this.bn.Location = new System.Drawing.Point(0, 634); + this.bn.Location = new System.Drawing.Point(0, 614); 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(1345, 27); + this.bn.Size = new System.Drawing.Size(1345, 47); this.bn.TabIndex = 3; this.bn.Text = "bindingNavigator1"; // @@ -967,13 +971,13 @@ this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(71, 24); + this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(91, 44); this.bindingNavigatorAddNewItem.Text = "추가(&A)"; // // bindingNavigatorCountItem // this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 24); + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 44); this.bindingNavigatorCountItem.Text = "/{0}"; this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; // @@ -982,7 +986,7 @@ 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(72, 24); + this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(92, 44); this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); // @@ -992,7 +996,7 @@ 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(24, 24); + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(44, 44); this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; // // bindingNavigatorMovePreviousItem @@ -1001,13 +1005,13 @@ 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(24, 24); + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(44, 44); this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; // // bindingNavigatorSeparator // this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 27); + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 47); // // bindingNavigatorPositionItem // @@ -1021,7 +1025,7 @@ // bindingNavigatorSeparator1 // this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 27); + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 47); // // bindingNavigatorMoveNextItem // @@ -1029,7 +1033,7 @@ 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(24, 24); + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(44, 44); this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; // // bindingNavigatorMoveLastItem @@ -1038,13 +1042,13 @@ 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(24, 24); + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(44, 44); this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; // // bindingNavigatorSeparator2 // this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 27); + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 47); // // toolStripButton2 // @@ -1052,51 +1056,51 @@ 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(79, 24); + this.toolStripButton2.Size = new System.Drawing.Size(99, 44); this.toolStripButton2.Text = "비용요약"; this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(6, 27); + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 47); // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; - this.toolStripLabel2.Size = new System.Drawing.Size(45, 24); + this.toolStripLabel2.Size = new System.Drawing.Size(45, 44); this.toolStripLabel2.Text = "검색(&F)"; // // tbFind // this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbFind.Name = "tbFind"; - this.tbFind.Size = new System.Drawing.Size(100, 27); + this.tbFind.Size = new System.Drawing.Size(100, 47); this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27); + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 47); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(31, 24); + this.toolStripLabel1.Size = new System.Drawing.Size(31, 44); this.toolStripLabel1.Text = "total"; // // lbSum // this.lbSum.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbSum.Name = "lbSum"; - this.lbSum.Size = new System.Drawing.Size(19, 24); + this.lbSum.Size = new System.Drawing.Size(19, 44); this.lbSum.Text = "0"; // // toolStripSeparator2 // this.toolStripSeparator2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27); + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 47); // // toolStripButton3 // @@ -1104,7 +1108,7 @@ 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(103, 24); + this.toolStripButton3.Size = new System.Drawing.Size(123, 44); this.toolStripButton3.Text = "목록가져오기"; this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); // @@ -1114,19 +1118,20 @@ 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(79, 24); - this.toolStripButton4.Text = "구매등록"; + this.toolStripButton4.Size = new System.Drawing.Size(114, 44); + this.toolStripButton4.Text = "CR구매요청"; this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); // // toolStripButton5 // this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButton5.ForeColor = System.Drawing.Color.Black; + this.toolStripButton5.ForeColor = System.Drawing.Color.Red; this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; - this.toolStripButton5.Size = new System.Drawing.Size(112, 24); + this.toolStripButton5.Size = new System.Drawing.Size(132, 44); this.toolStripButton5.Text = "PMP 재고 검사"; + this.toolStripButton5.Visible = false; this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click_1); // // toolStripButton1 @@ -1136,7 +1141,7 @@ this.toolStripButton1.Image = global::FPJ0000.Properties.Resources.accept; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(79, 24); + this.toolStripButton1.Size = new System.Drawing.Size(99, 44); this.toolStripButton1.Text = "S/C 체크"; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); // @@ -1178,17 +1183,17 @@ this.fpSpread1.ContextMenuStrip = this.cm1; this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.fpSpread1.EditModeReplace = true; - this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1; + this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer2; this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.HorizontalScrollBar.Name = ""; - flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1; + flatScrollBarRenderer3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer3; this.fpSpread1.Location = new System.Drawing.Point(0, 170); this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1345, 464); + this.fpSpread1.Size = new System.Drawing.Size(1345, 444); this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013; this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 4; @@ -1196,10 +1201,10 @@ this.fpSpread1.TitleInfo.Value = "PartList"; this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.VerticalScrollBar.Name = ""; - flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2; + flatScrollBarRenderer4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer4; this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); - this.fpSpread1.SetViewportLeftColumn(0, 0, 4); + this.fpSpread1.SetViewportLeftColumn(0, 0, 11); // // fpSpread1_Sheet1 // @@ -1207,7 +1212,7 @@ 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 = 27; + this.fpSpread1_Sheet1.ColumnCount = 28; this.fpSpread1_Sheet1.ActiveColumnIndex = -1; this.fpSpread1_Sheet1.ActiveRowIndex = -1; this.fpSpread1_Sheet1.AutoGenerateColumns = false; @@ -1251,195 +1256,227 @@ 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 = 93F; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType14; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ItemGroup"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "중분류"; - this.fpSpread1_Sheet1.Columns.Get(1).Width = 89F; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "option1"; this.fpSpread1_Sheet1.Columns.Get(2).Label = "소분류"; - this.fpSpread1_Sheet1.Columns.Get(2).Width = 86F; - numberCellType1.DecimalPlaces = 0; - numberCellType1.NegativeRed = true; - numberCellType1.NullDisplay = "--"; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 93F; + numberCellType11.DecimalPlaces = 0; + numberCellType11.NegativeRed = true; + numberCellType11.NullDisplay = "--"; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType11; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "no"; 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 = 79F; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType16; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemSid"; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Label = "SID"; this.fpSpread1_Sheet1.Columns.Get(4).Tag = "sid"; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(5).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType17; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemName"; 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 = 113F; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType18; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ItemModel"; 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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(6).Width = 99F; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType19; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "ItemManu"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(7).Label = "제조사"; this.fpSpread1_Sheet1.Columns.Get(7).Tag = "manu"; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType20; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "ItemUnit"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(8).Tag = "unit"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType2.DecimalPlaces = 0; - numberCellType2.MaximumValue = 9999999999999.99D; - numberCellType2.MinimumValue = -9999999999999.99D; - numberCellType2.NegativeRed = true; - numberCellType2.NullDisplay = "0"; - numberCellType2.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 93F; + numberCellType12.DecimalPlaces = 0; + numberCellType12.MaximumValue = 9999999999999.99D; + numberCellType12.MinimumValue = -9999999999999.99D; + numberCellType12.NegativeRed = true; + numberCellType12.NullDisplay = "0"; + numberCellType12.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType12; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "price"; 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).Tag = "price"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - numberCellType3.DecimalPlaces = 0; - numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType3.MaximumValue = 2147483647D; - numberCellType3.MinimumValue = -2147483648D; - numberCellType3.NegativeRed = true; - numberCellType3.Separator = ","; - numberCellType3.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType3; + numberCellType13.DecimalPlaces = 0; + numberCellType13.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType13.MaximumValue = 2147483647D; + numberCellType13.MinimumValue = -2147483648D; + numberCellType13.NegativeRed = true; + numberCellType13.Separator = ","; + numberCellType13.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType13; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "qty"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Label = "1대 수량"; this.fpSpread1_Sheet1.Columns.Get(10).Tag = "qty"; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType4.DecimalPlaces = 0; - numberCellType4.NegativeRed = true; - numberCellType4.Separator = ","; - numberCellType4.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 93F; + numberCellType14.DecimalPlaces = 0; + numberCellType14.NegativeRed = true; + numberCellType14.Separator = ","; + numberCellType14.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType14; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Label = "N대 수량"; this.fpSpread1_Sheet1.Columns.Get(11).Tag = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType5.DecimalPlaces = 0; - numberCellType5.MaximumValue = 9999999999999.99D; - numberCellType5.MinimumValue = -9999999999999.99D; - numberCellType5.NegativeRed = true; - numberCellType5.NullDisplay = "--"; - numberCellType5.Separator = ","; - numberCellType5.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType5; + numberCellType15.DecimalPlaces = 0; + numberCellType15.MaximumValue = 9999999999999.99D; + numberCellType15.MinimumValue = -9999999999999.99D; + numberCellType15.NegativeRed = true; + numberCellType15.NullDisplay = "--"; + numberCellType15.Separator = ","; + numberCellType15.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType15; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "amt"; this.fpSpread1_Sheet1.Columns.Get(12).Formula = "RC[-3]*RC[-2]"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(12).Label = "1대 금액"; this.fpSpread1_Sheet1.Columns.Get(12).Tag = "amt"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(13).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType15; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "amtn"; this.fpSpread1_Sheet1.Columns.Get(13).Formula = "RC[-4]*RC[-2]"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(13).Label = "N대 금액"; this.fpSpread1_Sheet1.Columns.Get(13).Tag = "amtn"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(13).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType21; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "qtyjago"; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Label = "PMP"; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Visible = false; - numberCellType6.DecimalPlaces = 0; - numberCellType6.NegativeRed = true; - numberCellType6.NullDisplay = "--"; - numberCellType6.Separator = ","; - numberCellType6.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 93F; + numberCellType16.DecimalPlaces = 0; + numberCellType16.NegativeRed = true; + numberCellType16.NullDisplay = "--"; + numberCellType16.ReadOnly = true; + numberCellType16.Separator = ","; + numberCellType16.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType16; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "qtybuy"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).Label = "구매요청"; this.fpSpread1_Sheet1.Columns.Get(15).Tag = "buy"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(15).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = checkBoxCellType4; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Label = "PR"; this.fpSpread1_Sheet1.Columns.Get(16).Tag = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = checkBoxCellType5; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "bconfirm"; this.fpSpread1_Sheet1.Columns.Get(17).Label = "PO"; this.fpSpread1_Sheet1.Columns.Get(17).Tag = "bconfirm"; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType22; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(18).ImeMode = System.Windows.Forms.ImeMode.Hangul; this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급사"; this.fpSpread1_Sheet1.Columns.Get(18).Tag = "supply"; this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(18).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType23; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "option2"; this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(19).Label = "납기일"; this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - numberCellType7.DecimalPlaces = 0; - numberCellType7.NegativeRed = true; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType7; + numberCellType17.DecimalPlaces = 0; + numberCellType17.NegativeRed = true; + numberCellType17.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType17; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(20).Label = "입고수량"; this.fpSpread1_Sheet1.Columns.Get(20).Tag = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(21).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType11; + textCellType24.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType24; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "recvDate"; 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).Tag = "indate"; this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(21).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType11; + textCellType25.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType25; this.fpSpread1_Sheet1.Columns.Get(22).DataField = "recvUser"; this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(22).Label = "수령인"; + this.fpSpread1_Sheet1.Columns.Get(22).Tag = "inuser"; this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(23).CellType = checkBoxCellType3; + this.fpSpread1_Sheet1.Columns.Get(22).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = checkBoxCellType6; this.fpSpread1_Sheet1.Columns.Get(23).DataField = "bCancel"; this.fpSpread1_Sheet1.Columns.Get(23).Label = "취소"; this.fpSpread1_Sheet1.Columns.Get(23).Tag = "cancel"; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(23).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType26; this.fpSpread1_Sheet1.Columns.Get(24).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(24).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType8; + this.fpSpread1_Sheet1.Columns.Get(24).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType18; this.fpSpread1_Sheet1.Columns.Get(25).DataField = "Item"; this.fpSpread1_Sheet1.Columns.Get(25).Tag = "item"; this.fpSpread1_Sheet1.Columns.Get(25).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType9; + this.fpSpread1_Sheet1.Columns.Get(25).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType19; this.fpSpread1_Sheet1.Columns.Get(26).DataField = "ItemSupplyidx"; this.fpSpread1_Sheet1.Columns.Get(26).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(26).Width = 93F; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType20; + this.fpSpread1_Sheet1.Columns.Get(27).DataField = "idx"; + this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(27).Tag = "idx"; + this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.DataAutoCellTypes = false; this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.fpSpread1_Sheet1.DataSource = this.bsPart; @@ -1451,16 +1488,17 @@ this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat"; this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -"; this.fpSpread1_Sheet1.PrintInfo.Header = "PartList"; - noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); - noPrinterPrintInfo1.HardMarginX = 0F; - noPrinterPrintInfo1.HardMarginY = 0F; - noPrinterPrintInfo1.SupportColor = true; - this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1; + noPrinterPrintInfo2.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); + noPrinterPrintInfo2.HardMarginX = 0F; + noPrinterPrintInfo2.HardMarginY = 0F; + noPrinterPrintInfo2.SupportColor = true; + this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo2; this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null; this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderFlat"; + this.fpSpread1_Sheet1.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange; this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "CornerHeaderFlat"; @@ -1468,6 +1506,17 @@ this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // label3 + // + this.label3.Dock = System.Windows.Forms.DockStyle.Fill; + this.label3.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label3.ForeColor = System.Drawing.Color.Blue; + this.label3.Location = new System.Drawing.Point(1049, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(296, 119); + this.label3.TabIndex = 43; + this.label3.Text = "CR 구매 요청시에는 선택 후 (다중 선택은 Ctrl+Left Click) 하단의 \"CR구매요청\" 버튼을 누른 후 구매 정보를 설정 하세요"; + // // fPartList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -1540,7 +1589,7 @@ private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; - private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox tbOrderNo; private System.Windows.Forms.ToolStripButton toolStripButton3; private System.Windows.Forms.ToolStripButton toolStripButton4; private System.Windows.Forms.ToolStripLabel toolStripLabel2; @@ -1573,5 +1622,6 @@ private arCtl.arLabel prb3; private arCtl.arLabel prb6; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + private System.Windows.Forms.Label label3; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.cs b/SubProject/FPJ0000/Project/fPartList.cs index d4392ba..d903f4e 100644 --- a/SubProject/FPJ0000/Project/fPartList.cs +++ b/SubProject/FPJ0000/Project/fPartList.cs @@ -191,13 +191,19 @@ namespace FPJ0000 var col_buy = this.fpSpread1.ActiveSheet.Columns["buy"].Index; //구매수량 var col_amt = this.fpSpread1.ActiveSheet.Columns["amt"].Index; var col_amtn = this.fpSpread1.ActiveSheet.Columns["amtn"].Index; - var col_qtyin = this.fpSpread1.ActiveSheet.Columns["qtyin"].Index; var col_qtyn = this.fpSpread1.ActiveSheet.Columns["qtyn"].Index; //N대수량(전체수량) var col_breq = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; //구매요청 var col_supply = this.fpSpread1.ActiveSheet.Columns["supply"].Index; var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; //구매확정 + var col_bbuy = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; //구매확정 var col_cancel = this.fpSpread1.ActiveSheet.Columns["cancel"].Index; //구매확정 + var col_qtyin = this.fpSpread1.ActiveSheet.Columns["qtyin"].Index; + + var col_indate = this.fpSpread1.ActiveSheet.Columns["indate"].Index; //입고일 + var col_inuser = this.fpSpread1.ActiveSheet.Columns["inuser"].Index; //수령일 + + var 전체건수 = 0; //전체자료 var 비구매 = 0; //구매수량이 입력안된자료 @@ -307,6 +313,14 @@ namespace FPJ0000 } } } + this.fpSpread1.ActiveSheet.Cells[i, col_qtyin].BackColor = Color.DimGray; + this.fpSpread1.ActiveSheet.Cells[i, col_buy].BackColor = Color.DimGray; + this.fpSpread1.ActiveSheet.Cells[i, col_qtyin].BackColor = Color.DimGray; + this.fpSpread1.ActiveSheet.Cells[i, col_indate].BackColor = Color.DimGray; + this.fpSpread1.ActiveSheet.Cells[i, col_inuser].BackColor = Color.DimGray; + this.fpSpread1.ActiveSheet.Cells[i, col_bbuy].BackColor = Color.DimGray; + this.fpSpread1.ActiveSheet.Cells[i, col_bconf].BackColor = Color.DimGray; + } //프로그레시브입력 @@ -381,7 +395,7 @@ namespace FPJ0000 try { var fn = System.IO.Path.Combine(util.CurrentPath, "Backup", "PartList", this.ProjectIndex.ToString("00000") + "_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xml"); - var fi = new System.IO.FileInfo(fn); + var fi = new System.IO.FileInfo(fn); if (fi.Directory.Exists == false) fi.Directory.Create(); backdup.WriteXml(fi.FullName); } @@ -429,7 +443,7 @@ namespace FPJ0000 SaveFileDialog sd = new SaveFileDialog(); sd.Filter = "excel|*.xls"; var fn = nameTextBox.Text.Trim(); - if (textBox1.Text.Trim() != "") fn += "_" + textBox1.Text.Trim(); + if (tbOrderNo.Text.Trim() != "") fn += "_" + tbOrderNo.Text.Trim(); sd.FileName = fn + ".xls"; if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { @@ -597,9 +611,33 @@ namespace FPJ0000 FCOMMON.Util.MsgE("변경된 자료가 있습니다. \n 해당 자료를 먼저 저장하세요"); return; } + if (string.IsNullOrEmpty(tbOrderNo.Text)) + { + FCOMMON.Util.MsgE("SCR/CF 값이 없습니다. CR구매시 해당 값은 필수 입니다\n프로젝트 정보에서 값을 입력 후 다시 시도하세요"); + return; + } - var f = new fProjectPartToPurchase(ProjectIndex, sortkey); + var selcnt = this.fpSpread1.ActiveSheet.SelectionCount; + var sels = this.fpSpread1.ActiveSheet.GetSelections(); + + var idxColumn = this.fpSpread1.ActiveSheet.Columns["idx"].Index; + List idxlist = new List(); + foreach (var sel in sels) + { + var idx = (int)this.fpSpread1.ActiveSheet.Cells[sel.Row, idxColumn].Value; + if (idx < 0) continue; + idxlist.Add(idx); + } + + if (idxlist.Any() == false) + { + FCOMMON.Util.MsgE("선택된 대상이 없습니다"); + return; + } + + var f = new fProjectPartToPurchaseCR(ProjectIndex, idxlist); f.ShowDialog(); + //this.fpSpread1.ActiveSheet.ClearSelection(); } private void tbFind_KeyDown(object sender, KeyEventArgs e) diff --git a/SubProject/FPJ0000/Project/fPartList.resx b/SubProject/FPJ0000/Project/fPartList.resx index acd89d7..bdb52ec 100644 --- a/SubProject/FPJ0000/Project/fPartList.resx +++ b/SubProject/FPJ0000/Project/fPartList.resx @@ -238,6 +238,12 @@ 100, 17 + + 100, 17 + + + 17, 17 + 17, 17 @@ -379,20 +385,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALtSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF6WpTQ3s - Zipm3uYUTU10YZAtppF5CU3coEIUoxcVrotOberc5nTDGZnL1LzfwMtSdzlHdza/PedsOQOhH3x4Xjzn - ++H8vufw2Al7oE6+XKFXRlfqf4eL9RQ5aY4q9jTQ0RX9dORTnemcSFvjH/P2ABfaOxGPe7UrFnrNZDI5 - zbYtmK1e1iwsNH4uWVD8aQ7xlaN2fo7CxxN1T1SZboUN9884YJhlYJhjoJ9hoJvehvrXFtpHbNhigJZR - CsUfZpH23ET9IwkXt1Ob9m0MzjvxdZ4hJ4MBTrINzcQWvozYicCFwSUnDIsOlCrmEHK/+w0XjqsKnrop - jtkRSq8jre4G6joaUdJchRBxAIIJ/NKzCJOcQnVLNbeKlWawvG5HWJKG4QSxFSHvu4db0Tr+CnX6Qk6S - VBuJwteJyG2Mh0B2BamyVLQMLaPVZMXn75vYID2FS3ppTsCv4fv4i/Oc+rEeNA1LUK7O4STJ0igSvorM - FxnQTti4VbrGKShJD+s2B8JL+twCdiLKNHR+fQqMEzrIDPfwpLMAcVUXkVwbA+OMHUZSLFuwdtLdiZkI - wiR7BOcfih2ni44gsYaPwcl+lPZkQaLIR/yzUDSqP+LbAgMjKbZ/2oE+worFgZBHHsEJka8wSHQYuQ0J - uCWNQEL1JU6Sr0iEqDmDvEko2PvBOScG2E9MsJAiA/N0bkGQ6OBCkOgQecgXQYW+uFYeiuyXKdCOKFGq - LELWuxQIpLEwEoGB/Bt6IqAdLiJQe1e4kNdLL23QGFpwcmjGFnG3PhPpJCiUxaOg4c7uHYt920kEcq+A - tc2bvYL/YWNXyNgjOJOvsjfJO3b2e3g/VCq161hSi9UTJ0Vmdk7NbtotKpXKNbVKYWqFwoSHVauDg23e - SrPhHhdFURt+t9t+eOI83snMjuxAQXvncaHSHCiU07ukuwn4i0BO+wna1o+mtnUFpCjSeDwe7w8pRp5F - 1uHuRwAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSalFRL0pTmxrY + zXSYeZtTNDXRhUG2mEamLjRRoUKUohddtItObd7mnG44I3OZ2px3welSdzlHd6bfnnO2nIHQDz48L57z + /XB+33N47ITeUyVeLNMqo8q1v8OkWoqcNIecPXV0VNkAHfFYYzgjUVf6R7/Zx4V2T/jDPrXZSq8YDAaX + xb4Bi83LipWFxs9FKwo/zUJYPuYQZCl8PFH3RJZozGx4YNoJ3QwD3SwD7TQDzdQmVL820DZqxwYDNI9R + KPwwg5SnBuofSZi0jVp3bGJozoWvcww5GQxykk30GjfwZdRBBFsYWnRBt+BEsWIWwXe7XnPhWHmQ6bo0 + eltccxUp1ddQ3d6AokY5gqUBCCIIik8jVHYCFc0V3Co2msHSqgOhCb0MJ4gpC37XNdKClokXqNbmc5KE + qgjkv4pHdoMQotpLSK5NRvPwEloMNnz+vo410lOYrI/mBIJKgY+/NMelHe/ByxEZSlVZnCSxJpKELyP9 + WRrURju3SucEBSXpYdXuRFhRv1vATnhJL51blwS9UYNa3R086shDrPw8EquioZ92QE+KZQtWT7o7sRBB + qGyX4Ox9qfNkwSHEVwowNDmA4p4MyBS5ED4JQYPqI77NM9CTYgemnOgnmK1OBD/wCI5JfMV8yUFk18fh + Rk044ioucJJcRTwkjWnkTULA3g/NujDIfmKClRQZmKNxC/iS/fN8yQHykC/4+b64UhqCzOdJUI8qUaws + QMbbJIhqYqAnAh35N7REQDu3iEDlXeFcTh+9uEZjeN7F0Tu+gNt16UglQXGtEHn1t3buWBybLiJo8gpY + 25zFK/gfdnaFtF2CU7ndjob3rdt7PbwX3d3dW0cSmm2eOCkyvcM0s+6wshemZQomMwWjh2Wbk4Nt3ka7 + wxRFrfndbP3hifN4x9PbMwNFbR1HxUpLoLiJ3iHVTcBfRE20n6h19XBya2dAkiKFx+Px/gAjiZ48us3T + TgAAAABJRU5ErkJggg== @@ -440,4 +446,7 @@ 711, 18 + + 614, 18 + \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs index d12e77d..38b305c 100644 --- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs @@ -30,38 +30,38 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType37 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType38 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType93 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType94 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType95 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType96 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType97 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType98 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType99 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType39 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType40 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType100 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType101 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType102 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType103 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType104 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType41 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType42 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType43 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType44 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType105 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType106 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType107 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType108 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType109 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType110 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType111 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType112 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType113 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType114 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType115 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType45 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + 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.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + 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 textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsMSSQL = new FPJ0000.dsPRJ(); @@ -153,6 +153,8 @@ this.sbSumI = new System.Windows.Forms.Label(); this.sbSumE = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); + this.button2 = new System.Windows.Forms.Button(); + this.label29 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); @@ -187,8 +189,6 @@ this.button1 = new System.Windows.Forms.Button(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.label17 = new System.Windows.Forms.Label(); - this.label29 = new System.Windows.Forms.Label(); - this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); @@ -488,7 +488,7 @@ this.toolStripMenuItem1, this.엑셀파일로저장ToolStripMenuItem}); this.cm.Name = "contextMenuStrip1"; - this.cm.Size = new System.Drawing.Size(299, 418); + this.cm.Size = new System.Drawing.Size(299, 440); // // columnSizeToolStripMenuItem // @@ -729,193 +729,193 @@ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType37.DecimalPlaces = 0; - numberCellType37.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType37.MaximumValue = 2147483647D; - numberCellType37.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType37; + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; - numberCellType38.DecimalPlaces = 0; - numberCellType38.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType38.MaximumValue = 2147483647D; - numberCellType38.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType38; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType2; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType93; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType94; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType95; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType96; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType97; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType98; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request Team"; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType99; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project Title"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType39.DecimalPlaces = 0; - numberCellType39.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType39.MaximumValue = 2147483647D; - numberCellType39.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType39; + numberCellType3.DecimalPlaces = 0; + numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType3.MaximumValue = 2147483647D; + numberCellType3.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "finishrate"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Label = "준수율(%)"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType40.DecimalPlaces = 0; - numberCellType40.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType40.MaximumValue = 2147483647D; - numberCellType40.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType40; + numberCellType4.DecimalPlaces = 0; + numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType4.MaximumValue = 2147483647D; + numberCellType4.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ProgressPrj"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Label = "Progress(%)"; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType100; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "status"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Label = "Status"; this.fpSpread1_Sheet1.Columns.Get(11).Tag = "Status"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType101; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kdate"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(12).Label = "검토\r\n기한"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType102; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sdate"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).Label = "Start Date"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType103; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ddate"; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Label = "Due Date"; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType104; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "edate"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).Label = "Done Date"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType41.DecimalPlaces = 0; - numberCellType41.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType41.MaximumValue = 2147483647D; - numberCellType41.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType41; + numberCellType5.DecimalPlaces = 0; + numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType5.MaximumValue = 2147483647D; + numberCellType5.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "cnt"; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Label = "Q\'ty"; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Width = 42F; - numberCellType42.MaximumValue = 999999999999999D; - numberCellType42.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType42; + numberCellType6.MaximumValue = 999999999999999D; + numberCellType6.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costo"; this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(17).Label = "Outsourced Cost ($K)/Set\r\n"; this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; - numberCellType43.MaximumValue = 999999999999999D; - numberCellType43.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType43; + numberCellType7.MaximumValue = 999999999999999D; + numberCellType7.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "costn"; this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(18).Label = "In-house Cost ($K/Set)"; this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(18).Width = 63F; this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType44.MaximumValue = 999999999999999D; - numberCellType44.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType44; + numberCellType8.MaximumValue = 999999999999999D; + numberCellType8.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType8; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "coste"; this.fpSpread1_Sheet1.Columns.Get(19).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(19).Label = "Cost Save ($k)/Set"; this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(19).Width = 67F; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType105; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "orderno"; this.fpSpread1_Sheet1.Columns.Get(20).Label = "SCR/CF"; this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType106; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType14; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_software"; this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(21).Label = "S/W"; this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType107; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_design"; this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(22).Label = "Design"; this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType108; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16; this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_assembly"; this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(23).Label = "Assembly"; this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType109; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_epanel"; this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(24).Label = "ePanel"; this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(25).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType110; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; this.fpSpread1_Sheet1.Columns.Get(25).DataField = "name_champion"; this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(25).Label = "Champion"; this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType111; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19; this.fpSpread1_Sheet1.Columns.Get(26).DataField = "lasthistory"; this.fpSpread1_Sheet1.Columns.Get(26).Label = "History"; - this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType112; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20; this.fpSpread1_Sheet1.Columns.Get(27).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(27).Label = "Memo"; this.fpSpread1_Sheet1.Columns.Get(27).Width = 77F; - this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType113; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21; this.fpSpread1_Sheet1.Columns.Get(28).DataField = "asset"; this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(28).Label = "Asset"; this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType114; + this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22; this.fpSpread1_Sheet1.Columns.Get(29).DataField = "model"; this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(29).Label = "Model#"; this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType115; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType23; this.fpSpread1_Sheet1.Columns.Get(30).DataField = "serial"; this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(30).Label = "Serial#"; this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType45.DecimalPlaces = 0; - numberCellType45.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType45.MaximumValue = 2147483647D; - numberCellType45.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType45; + numberCellType9.DecimalPlaces = 0; + numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType9.MaximumValue = 2147483647D; + numberCellType9.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType9; this.fpSpread1_Sheet1.Columns.Get(31).DataField = "jasmin"; this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(31).Label = "자스민"; @@ -1410,6 +1410,32 @@ this.panel2.Size = new System.Drawing.Size(1583, 31); this.panel2.TabIndex = 2; // + // button2 + // + this.button2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "jasmin", true)); + this.button2.Dock = System.Windows.Forms.DockStyle.Left; + this.button2.Location = new System.Drawing.Point(1122, 0); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(100, 31); + this.button2.TabIndex = 13; + this.button2.Text = "--"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click_1); + // + // label29 + // + this.label29.BackColor = System.Drawing.Color.Silver; + this.label29.Dock = System.Windows.Forms.DockStyle.Left; + this.label29.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label29.ForeColor = System.Drawing.Color.Black; + this.label29.Location = new System.Drawing.Point(1048, 0); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(74, 31); + this.label29.TabIndex = 12; + this.label29.Text = "자스민"; + this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.toolTip1.SetToolTip(this.label29, "시작일"); + // // label27 // this.label27.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name_software", true)); @@ -1846,32 +1872,6 @@ this.label17.Text = "구매 진행"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // label29 - // - this.label29.BackColor = System.Drawing.Color.Silver; - this.label29.Dock = System.Windows.Forms.DockStyle.Left; - this.label29.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label29.ForeColor = System.Drawing.Color.Black; - this.label29.Location = new System.Drawing.Point(1048, 0); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(74, 31); - this.label29.TabIndex = 12; - this.label29.Text = "자스민"; - this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.toolTip1.SetToolTip(this.label29, "시작일"); - // - // button2 - // - this.button2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "jasmin", true)); - this.button2.Dock = System.Windows.Forms.DockStyle.Left; - this.button2.Location = new System.Drawing.Point(1122, 0); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(100, 31); - this.button2.TabIndex = 13; - this.button2.Text = "--"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click_1); - // // fProjectList // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx index e1077ed..2f531bc 100644 --- a/SubProject/FPJ0000/Project/fProjectList.resx +++ b/SubProject/FPJ0000/Project/fProjectList.resx @@ -231,15 +231,15 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIwSURBVDhPpZL/SxNxHMbvPwoClVIsFrTKUtcmLY0WGChF - SKESs3abDTUZFRWWrimXuVLWWotRWW7pZGrq0pb01b7Mvmy3NjdbWxnd091nh+6WP9ULHg7u/TwPbz68 - qf/G5PyItltBGG3voe+fx8m+N9Ayrx6LYwm9IzFdz/DiQs+jKCzuCLoeRkAl07+Qq3rawIkZCYwn9j3X - S532NcPo1UE/rMUJdyP5WWd+BjEjodvzlcz75q6ACVyGZeYiKOQgGA5dml2zwDwUIfNsKKs3jGwJhoMX - /JKCKqtCVcHsQlmnHOouhcRP2cZCYleGSCINzdnJlYIqa6lKSZdwhqEmtI4YUH5uBwkK9I+GMgWOiTAc - 4yG4pkJ4+2UJe9vHSYG6t1SloLdz2nv12GMuR/GpAshbtmDAF4ZN0Bj79wavPyVQ0eKDitlZWUbLuUZX - HWR0IVdE520z3V5AIrUM+wRLvA7+SwrIFvwGdl41tgNQdpeg+vo+HHUexmZ6A7eRXr9V2KjV/gHx5DKc - kyzuTGVEDT5hsZRafVnN1UroPVoccdSgmC7g8psyYYHmgXdY/PYTd/2ZDR7M8IfkmmaRLXWnErK2QhTp - 85B/fN1KWEB3Y54UDPJBIUwKbvIPkc2LYBwak2/NO9Bee4kYX+B+GiFeT4AvEAK52tTu+S1mJDQwzxFd - +gE2nsbnaApBNglqt9GLXMka7jvEjIRjlrnR2o5AsrZjFtXn/dh/ZvVe/hGK+gNnUiyF4i67RwAAAABJ + SKESs3bThpqMigpL15TLXClrrcWoLLd0MjV1aUv6al9mX7Zbm9taWxnd091nh+6WP9ULHg7u/TwPbz68 + qf/G6PiI9lsBGKzvoR9YwMn+N9Ayrx6LYwl9o1Fd78jSYu+jCMyuMLofhkEl07+Qq3paz4kZCYw7+j3X + S532tsDg0UE/osUJVyP5WWd6BjEjocf9lcz756+A8V+GefYiKOQgGA5dmluzwDQcJvNsKIsnhGwJhoMX + fJKCKotCVcHsQlmXHOpuhcRPWceDYleGcDwNzdmplYIqS6lKSZdwzcNNaBttRvm5HSQoMDAWzBTYJ0Ow + TwThnA7i7ZcE9nZMkAJ1X6lKQW/ntPfqscdUjuJTBZC3bsGgNwSroHH27w1ef4qjotULFbOzsoyWc43O + OsjoQq6IzttmvL2IeGoZtkmWeO38lxSQLfgNbLxqrAeg7ClB9fV9OOo4jM30Bm4jvX6rsFGb7QNiyWU4 + pljcmc6IGnrCIpFafVnN1Uro3VocsdegmC7g8psyYYGWwXdY+vYTd32ZDR7M8ofknGGRLXWXErL2QhTp + 85B/fN1KWEB3Y4EUDPFBIUwKbvIPkc2LQAwao3fNO9Bee4koX+B6GiZet58vEAK52tTh/i1mJDQwzxFJ + /AAbS+NzJIUAmwS12+BBrmQN9+1iRsIx8/xYbac/Wds5h+rzPuw/s3ov/whF/QFj2yyEz5EPVwAAAABJ RU5ErkJggg== @@ -290,9 +290,6 @@ TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - 17, 17 - 387, 17 @@ -350,9 +347,6 @@ 561, 17 - - 561, 17 - 731, 17 diff --git a/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs b/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs index 5a699e4..d5c3704 100644 --- a/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs @@ -189,7 +189,7 @@ // itemSupplyLabel // itemSupplyLabel.AutoSize = true; - itemSupplyLabel.Location = new System.Drawing.Point(421, 19); + itemSupplyLabel.Location = new System.Drawing.Point(421, 16); itemSupplyLabel.Name = "itemSupplyLabel"; itemSupplyLabel.Size = new System.Drawing.Size(53, 12); itemSupplyLabel.TabIndex = 6; @@ -243,6 +243,8 @@ // qtybuyLabel // qtybuyLabel.AutoSize = true; + qtybuyLabel.BackColor = System.Drawing.Color.DimGray; + qtybuyLabel.ForeColor = System.Drawing.Color.White; qtybuyLabel.Location = new System.Drawing.Point(38, 167); qtybuyLabel.Name = "qtybuyLabel"; qtybuyLabel.Size = new System.Drawing.Size(53, 12); @@ -252,6 +254,8 @@ // qtyinLabel // qtyinLabel.AutoSize = true; + qtyinLabel.BackColor = System.Drawing.Color.DimGray; + qtyinLabel.ForeColor = System.Drawing.Color.White; qtyinLabel.Location = new System.Drawing.Point(38, 194); qtyinLabel.Name = "qtyinLabel"; qtyinLabel.Size = new System.Drawing.Size(53, 12); @@ -261,6 +265,8 @@ // label1 // label1.AutoSize = true; + label1.BackColor = System.Drawing.Color.DimGray; + label1.ForeColor = System.Drawing.Color.White; label1.Location = new System.Drawing.Point(553, 167); label1.Name = "label1"; label1.Size = new System.Drawing.Size(41, 12); @@ -288,6 +294,8 @@ // label3 // label3.AutoSize = true; + label3.BackColor = System.Drawing.Color.DimGray; + label3.ForeColor = System.Drawing.Color.White; label3.Location = new System.Drawing.Point(211, 221); label3.Name = "label3"; label3.Size = new System.Drawing.Size(41, 12); @@ -297,6 +305,8 @@ // label4 // label4.AutoSize = true; + label4.BackColor = System.Drawing.Color.DimGray; + label4.ForeColor = System.Drawing.Color.White; label4.Location = new System.Drawing.Point(211, 194); label4.Name = "label4"; label4.Size = new System.Drawing.Size(41, 12); @@ -496,6 +506,7 @@ this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "recvDate", true)); this.textBox3.Location = new System.Drawing.Point(259, 190); this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; this.textBox3.Size = new System.Drawing.Size(247, 21); this.textBox3.TabIndex = 29; this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -505,6 +516,7 @@ this.tbRecvUser.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "recvUser", true)); this.tbRecvUser.Location = new System.Drawing.Point(259, 217); this.tbRecvUser.Name = "tbRecvUser"; + this.tbRecvUser.ReadOnly = true; this.tbRecvUser.Size = new System.Drawing.Size(247, 21); this.tbRecvUser.TabIndex = 27; this.tbRecvUser.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -534,6 +546,7 @@ this.panel3.Controls.Add(this.itemSupplyTextBox); this.panel3.Controls.Add(itemSupplyLabel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel3.Enabled = false; this.panel3.Location = new System.Drawing.Point(10, 246); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(693, 45); @@ -564,7 +577,7 @@ // itemSupplyTextBox // this.itemSupplyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemSupply", true)); - this.itemSupplyTextBox.Location = new System.Drawing.Point(481, 15); + this.itemSupplyTextBox.Location = new System.Drawing.Point(481, 12); this.itemSupplyTextBox.Name = "itemSupplyTextBox"; this.itemSupplyTextBox.Size = new System.Drawing.Size(204, 21); this.itemSupplyTextBox.TabIndex = 0; @@ -574,6 +587,7 @@ this.tbInQty.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtyin", true)); this.tbInQty.Location = new System.Drawing.Point(98, 190); this.tbInQty.Name = "tbInQty"; + this.tbInQty.ReadOnly = true; this.tbInQty.Size = new System.Drawing.Size(100, 21); this.tbInQty.TabIndex = 23; this.tbInQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -583,6 +597,7 @@ this.option1TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "option2", true)); this.option1TextBox.Location = new System.Drawing.Point(600, 163); this.option1TextBox.Name = "option1TextBox"; + this.option1TextBox.ReadOnly = true; this.option1TextBox.Size = new System.Drawing.Size(100, 21); this.option1TextBox.TabIndex = 11; this.option1TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -593,6 +608,7 @@ this.qtybuyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtybuy", true)); this.qtybuyTextBox.Location = new System.Drawing.Point(98, 163); this.qtybuyTextBox.Name = "qtybuyTextBox"; + this.qtybuyTextBox.ReadOnly = true; this.qtybuyTextBox.Size = new System.Drawing.Size(100, 21); this.qtybuyTextBox.TabIndex = 21; this.qtybuyTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs new file mode 100644 index 0000000..2049718 --- /dev/null +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs @@ -0,0 +1,538 @@ +namespace FPJ0000 +{ + partial class fProjectPartToPurchaseCR + { + /// + /// 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 projectLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label7; + System.Windows.Forms.Label label2; + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchaseCR)); + 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 dataGridViewCellStyle4 = 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(); + this.tbProject = new System.Windows.Forms.TextBox(); + this.tbProjectIndex = new System.Windows.Forms.TextBox(); + this.dtPdate = new System.Windows.Forms.DateTimePicker(); + this.cmbRequest = new System.Windows.Forms.ComboBox(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.dsPurchase = new FPJ0000.dsPurchase(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FPJ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.tbCr = new System.Windows.Forms.TextBox(); + this.tbSum = new System.Windows.Forms.TextBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.dv1 = new arCtl.arDatagridView(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton8 = new System.Windows.Forms.ToolStripButton(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.taProject = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); + this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); + this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn(); + projectLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label7 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); + this.toolStrip1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // projectLabel + // + projectLabel.AutoSize = true; + projectLabel.Location = new System.Drawing.Point(16, 29); + projectLabel.Name = "projectLabel"; + projectLabel.Size = new System.Drawing.Size(60, 17); + projectLabel.TabIndex = 20; + projectLabel.Text = "프로젝트"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(7, 28); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(47, 17); + label1.TabIndex = 0; + label1.Text = "입력일"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(16, 64); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(60, 17); + label3.TabIndex = 23; + label3.Text = "합계금액"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(33, 99); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(43, 17); + label6.TabIndex = 26; + label6.Text = "CR/CF"; + // + // label7 + // + label7.AutoSize = true; + label7.Location = new System.Drawing.Point(42, 127); + label7.Name = "label7"; + label7.Size = new System.Drawing.Size(34, 17); + label7.TabIndex = 28; + label7.Text = "비고"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(7, 58); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(47, 17); + label2.TabIndex = 3; + label2.Text = "요청자"; + // + // tbProject + // + this.tbProject.BackColor = System.Drawing.SystemColors.Control; + this.tbProject.Enabled = false; + this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbProject.Location = new System.Drawing.Point(88, 25); + this.tbProject.Name = "tbProject"; + this.tbProject.Size = new System.Drawing.Size(329, 25); + this.tbProject.TabIndex = 7; + // + // tbProjectIndex + // + this.tbProjectIndex.BackColor = System.Drawing.SystemColors.Control; + this.tbProjectIndex.Enabled = false; + this.tbProjectIndex.Location = new System.Drawing.Point(423, 25); + this.tbProjectIndex.Name = "tbProjectIndex"; + this.tbProjectIndex.ReadOnly = true; + this.tbProjectIndex.Size = new System.Drawing.Size(51, 25); + this.tbProjectIndex.TabIndex = 22; + this.tbProjectIndex.TabStop = false; + this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID"); + // + // dtPdate + // + this.dtPdate.Location = new System.Drawing.Point(65, 24); + this.dtPdate.Name = "dtPdate"; + this.dtPdate.Size = new System.Drawing.Size(251, 25); + this.dtPdate.TabIndex = 1; + // + // cmbRequest + // + this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbRequest.FormattingEnabled = true; + this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbRequest.Location = new System.Drawing.Point(65, 55); + this.cmbRequest.Name = "cmbRequest"; + this.cmbRequest.Size = new System.Drawing.Size(251, 25); + this.cmbRequest.TabIndex = 2; + // + // textBox2 + // + this.textBox2.BackColor = System.Drawing.SystemColors.Control; + this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox2.Enabled = false; + this.textBox2.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold); + this.textBox2.Location = new System.Drawing.Point(423, 58); + this.textBox2.Name = "textBox2"; + this.textBox2.ReadOnly = true; + this.textBox2.Size = new System.Drawing.Size(51, 28); + this.textBox2.TabIndex = 25; + this.textBox2.TabStop = false; + this.textBox2.Text = "원"; + this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.textBox2, "Database ID"); + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "Purchase"; + this.bs.DataSource = this.dsPurchase; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.textBox1); + this.groupBox1.Controls.Add(label7); + this.groupBox1.Controls.Add(this.tbCr); + this.groupBox1.Controls.Add(label6); + this.groupBox1.Controls.Add(this.textBox2); + this.groupBox1.Controls.Add(this.tbSum); + this.groupBox1.Controls.Add(label3); + this.groupBox1.Controls.Add(projectLabel); + this.groupBox1.Controls.Add(this.tbProject); + this.groupBox1.Controls.Add(this.tbProjectIndex); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; + this.groupBox1.Location = new System.Drawing.Point(0, 3); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(483, 155); + this.groupBox1.TabIndex = 23; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "프로젝트 정보"; + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.SystemColors.Control; + this.textBox1.Enabled = false; + this.textBox1.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.textBox1.Location = new System.Drawing.Point(88, 123); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(389, 25); + this.textBox1.TabIndex = 29; + // + // tbCr + // + this.tbCr.BackColor = System.Drawing.SystemColors.Control; + this.tbCr.Enabled = false; + this.tbCr.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbCr.Location = new System.Drawing.Point(88, 95); + this.tbCr.Name = "tbCr"; + this.tbCr.Size = new System.Drawing.Size(389, 25); + this.tbCr.TabIndex = 27; + this.tbCr.Text = "dv"; + // + // tbSum + // + this.tbSum.BackColor = System.Drawing.SystemColors.Control; + this.tbSum.Enabled = false; + this.tbSum.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbSum.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbSum.Location = new System.Drawing.Point(88, 55); + this.tbSum.Name = "tbSum"; + this.tbSum.Size = new System.Drawing.Size(329, 35); + this.tbSum.TabIndex = 24; + this.tbSum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // groupBox2 + // + this.groupBox2.Controls.Add(label2); + this.groupBox2.Controls.Add(this.cmbRequest); + this.groupBox2.Controls.Add(label1); + this.groupBox2.Controls.Add(this.dtPdate); + this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox2.Location = new System.Drawing.Point(493, 3); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(481, 155); + this.groupBox2.TabIndex = 24; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "구매 등록 정보"; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.dv1); + this.groupBox3.Controls.Add(this.toolStrip1); + this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox3.Location = new System.Drawing.Point(5, 168); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(974, 441); + this.groupBox3.TabIndex = 26; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "파트리스트"; + // + // dv1 + // + this.dv1.A_DelCurrentCell = true; + this.dv1.A_EnterToTab = true; + this.dv1.A_KoreanField = null; + this.dv1.A_UpperField = null; + this.dv1.A_ViewRownumOnHeader = true; + this.dv1.AllowUserToAddRows = false; + this.dv1.AllowUserToDeleteRows = false; + this.dv1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.dv1.ColumnHeadersHeight = 30; + this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; + this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dvc_sid, + this.dvc_name, + this.dvc_model, + this.dvc_price, + this.dvc_qty, + this.dvc_amt, + this.dvc_remark}); + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle8.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dv1.DefaultCellStyle = dataGridViewCellStyle8; + this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dv1.Location = new System.Drawing.Point(3, 21); + this.dv1.Name = "dv1"; + this.dv1.RowTemplate.Height = 23; + this.dv1.Size = new System.Drawing.Size(968, 370); + this.dv1.TabIndex = 27; + // + // toolStrip1 + // + this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(40, 40); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripButton2, + this.toolStripButton4, + this.toolStripButton8}); + this.toolStrip1.Location = new System.Drawing.Point(3, 391); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(968, 47); + this.toolStrip1.TabIndex = 26; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripButton2 + // + 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(99, 44); + this.toolStripButton2.Text = "선택삭제"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_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(137, 44); + this.toolStripButton4.Text = "CR구매 등록 (&S)"; + this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); + // + // toolStripButton8 + // + this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image"))); + this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton8.Name = "toolStripButton8"; + this.toolStripButton8.Size = new System.Drawing.Size(115, 44); + this.toolStripButton8.Text = "목록 재구성"; + this.toolStripButton8.Click += new System.EventHandler(this.toolStripButton8_Click); + // + // panel1 + // + this.panel1.Controls.Add(this.groupBox2); + this.panel1.Controls.Add(this.panel3); + this.panel1.Controls.Add(this.groupBox1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(5, 5); + this.panel1.Name = "panel1"; + this.panel1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 5); + this.panel1.Size = new System.Drawing.Size(974, 163); + this.panel1.TabIndex = 0; + // + // panel3 + // + this.panel3.Dock = System.Windows.Forms.DockStyle.Left; + this.panel3.Location = new System.Drawing.Point(483, 3); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(10, 155); + this.panel3.TabIndex = 26; + // + // statusStrip1 + // + this.statusStrip1.Location = new System.Drawing.Point(5, 609); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Size = new System.Drawing.Size(974, 22); + this.statusStrip1.TabIndex = 28; + this.statusStrip1.Text = "statusStrip1"; + // + // taProject + // + this.taProject.ClearBeforeFill = true; + // + // taPart + // + this.taPart.ClearBeforeFill = true; + // + // dvc_sid + // + dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1; + this.dvc_sid.HeaderText = "SID"; + this.dvc_sid.Name = "dvc_sid"; + this.dvc_sid.ReadOnly = true; + // + // dvc_name + // + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2; + this.dvc_name.HeaderText = "품명"; + this.dvc_name.Name = "dvc_name"; + this.dvc_name.ReadOnly = true; + // + // dvc_model + // + dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3; + this.dvc_model.HeaderText = "모델"; + this.dvc_model.Name = "dvc_model"; + this.dvc_model.ReadOnly = true; + // + // dvc_price + // + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle4.Format = "N0"; + this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4; + this.dvc_price.HeaderText = "단가"; + this.dvc_price.Name = "dvc_price"; + // + // dvc_qty + // + dataGridViewCellStyle5.Format = "N0"; + this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5; + this.dvc_qty.HeaderText = "구매수량"; + this.dvc_qty.Name = "dvc_qty"; + // + // dvc_amt + // + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + dataGridViewCellStyle6.Format = "N0"; + this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6; + this.dvc_amt.HeaderText = "구매금액"; + this.dvc_amt.Name = "dvc_amt"; + this.dvc_amt.ReadOnly = true; + // + // dvc_remark + // + this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7; + this.dvc_remark.HeaderText = "비고"; + this.dvc_remark.Name = "dvc_remark"; + // + // fProjectPartToPurchaseCR + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.ClientSize = new System.Drawing.Size(984, 636); + this.Controls.Add(this.groupBox3); + this.Controls.Add(this.panel1); + this.Controls.Add(this.statusStrip1); + this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.Name = "fProjectPartToPurchaseCR"; + this.Padding = new System.Windows.Forms.Padding(5); + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "파트리스트 CR 등록"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.panel1.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox tbProject; + private System.Windows.Forms.TextBox tbProjectIndex; + private System.Windows.Forms.DateTimePicker dtPdate; + private System.Windows.Forms.ComboBox cmbRequest; + private dsPurchase dsPurchase; + private System.Windows.Forms.BindingSource bs; + private dsPurchaseTableAdapters.PurchaseTableAdapter ta; + private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.TextBox tbSum; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.GroupBox groupBox2; + private dsPRJTableAdapters.ProjectsTableAdapter taProject; + private System.Windows.Forms.TextBox tbCr; + private dsPRJTableAdapters.ProjectsPartTableAdapter taPart; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.StatusStrip statusStrip1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripButton toolStripButton4; + private System.Windows.Forms.ToolStripButton toolStripButton8; + private arCtl.arDatagridView dv1; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_sid; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_name; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_model; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_price; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_qty; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_amt; + private System.Windows.Forms.DataGridViewTextBoxColumn dvc_remark; + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs new file mode 100644 index 0000000..42ceeb2 --- /dev/null +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs @@ -0,0 +1,442 @@ +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 FPJ0000 +{ + public partial class fProjectPartToPurchaseCR : Form + { + int ProjectIndex = -1; + List IDXList; + public fProjectPartToPurchaseCR(int pidx, List idxlist) + { + InitializeComponent(); + // dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + IDXList = idxlist; + this.ProjectIndex = pidx; + this.KeyPreview = true; + this.StartPosition = FormStartPosition.CenterScreen; + this.KeyDown += (s1, e1) => + { + if (e1.KeyCode == Keys.Escape) this.Close(); + }; + + dv1.CellEndEdit += Dv1_CellEndEdit; + Col_Price = dv1.Columns["dvc_price"].Index; + Col_Qty = dv1.Columns["dvc_qty"].Index; + Col_amt = dv1.Columns["dvc_amt"].Index; + } + + int Col_Price = -1; + int Col_Qty = -1; + int Col_amt = -1; + private void Dv1_CellEndEdit(object sender, DataGridViewCellEventArgs e) + { + if(e.ColumnIndex == Col_Price || e.ColumnIndex == Col_Qty) + { + var o_price = dv1.Rows[e.RowIndex].Cells[Col_Price].Value; + var o_qty = dv1.Rows[e.RowIndex].Cells[Col_Qty].Value; + decimal v_price = 0; + decimal v_qty = 0; + if (o_price != null) v_price = decimal.Parse(o_price.ToString());// (decimal)o_price; + if (o_qty != null) v_qty = decimal.Parse(o_qty.ToString());//(decimal)o_qty; + var amt = v_price * v_qty; + dv1.Rows[e.RowIndex].Cells[Col_amt].Value = amt; + dv1.EndEdit(); + } + + + + //newdr.pumprice = (decimal)item.Cells["dvc_price"].Value; + //newdr.pumqty = (int)item.Cells["dvc_qty"].Value; + } + + void MakeList(dsPRJ.ProjectsPartDataTable dt) + { + //this.listView1.SuspendLayout(); + //this.listView1.Items.Clear(); + var orderdata = dt + .OrderBy(t => string.Concat((t.bbuy ? "1" : "0"), t.ItemName)); + + this.dv1.Rows.Clear(); + + foreach (dsPRJ.ProjectsPartRow dr in orderdata) + { + if (this.IDXList.Contains(dr.idx) == false) continue; + + var rowidx = this.dv1.Rows.Add(); + var row = this.dv1.Rows[rowidx]; + + var col = 0; + row.Cells[col++].Value = dr.ItemSid; + row.Cells[col++].Value = dr.ItemName; + row.Cells[col++].Value = dr.ItemModel; + row.Cells[col++].Value = dr.price; + row.Cells[col++].Value = dr.qty; + row.Cells[col++].Value = dr.price * dr.qty; + row.Cells[col++].Value = dr.memo; + + row.Tag = dr; + + //var lvitem = this.listView1.Items.Add(dr.ItemGroup); + //lvitem.Tag = dr; + //lvitem.Checked = dr.bbuy ? false : true; + //lvitem.SubItems.Add(dr.option1); + //lvitem.SubItems.Add(dr.ItemSid); + //lvitem.SubItems.Add(dr.ItemName); + //lvitem.SubItems.Add(dr.ItemModel); + //lvitem.SubItems.Add(dr.qty.ToString("N0")); //실 필요 구매 수량으로 처리 + //lvitem.SubItems.Add(dr.price.ToString("N0")); + //lvitem.SubItems.Add(dr.amt.ToString("N0")); + + Boolean bbuy = dr.bbuy; + var supplyname = dr.ItemSupply.Trim(); + + + + //if (dr.qtybuy == dr.qty) + //{ + // 동일하면 보기 편하게 표시하지 않는다. + // lvitem.SubItems.Add("--"); + // lvitem.SubItems.Add("--"); + //} + //else + //{ + // lvitem.SubItems.Add(dr.qtybuy.ToString("N0")); + // var amt = dr.qtybuy * dr.price; + // lvitem.SubItems.Add(amt.ToString("N0")); + //} + //lvitem.SubItems.Add(string.IsNullOrEmpty(supplyname) ? "O" : "--"); + + //if (dr.bbuy == false) lvitem.BackColor = Color.SkyBlue; + //else if (dr.qtybuy == 0) + //{ + // 구매핌ㄹ요없다. + // lvitem.BackColor = Color.LightGray; + // lvitem.Checked = false; + //} + //else if (dr.qtyin == dr.qtybuy) + //{ + // 모두 + // lvitem.BackColor = Color.Lime; + // lvitem.Checked = false; + //} + + } + + // this.listView1.ResumeLayout(); + this.dv1.AutoResizeColumns(); + showSummary(); + } + private void __Load(object sender, EventArgs e) + { + //프로젝트정보를 찾는다. + var dtPrj = taProject.GetbyIDX(this.ProjectIndex); + var drPrj = dtPrj.Rows[0] as dsPRJ.ProjectsRow; + this.tbProjectIndex.Text = drPrj.idx.ToString(); + this.textBox1.Text = drPrj.remark_ans; + this.tbProject.Text = drPrj.name; + this.tbCr.Text = drPrj.orderno; + //this.tbOrderNo.Text = drPrj.orderno; + + //파트리스트 합계금액 + var dtPart = taPart.GetData(this.ProjectIndex); + MakeList(dtPart); + + + ////상태 + //var stateList = FCOMMON.DBM.getCodeTable("04"); + //this.cmbState.DisplayMember = "Value"; + //this.cmbState.ValueMember = "Value"; + //this.cmbState.DataSource = stateList; + + ////장비제조 + //var dt_dept = FCOMMON.DBM.getCodeTable("06"); + //BindingSource bsManu = new BindingSource(dt_dept, ""); + //this.cbEQManu.DisplayMember = "Value"; + //this.cbEQManu.ValueMember = "Value"; + //this.cbEQManu.DataSource = bsManu; + + ////장비모델 + //var dt_asset = FCOMMON.DBM.getCodeTable("07"); + //bsModel = new BindingSource(dt_asset, ""); + //bsModel.Filter = "svalue='그런거없다'"; + //this.cbEQModel.DisplayMember = "Value"; + //this.cbEQModel.ValueMember = "Value"; + //this.cbEQModel.DataSource = bsModel; + + ////제조공정 + //var dt_manuproc = FCOMMON.DBM.getCodeTable("08"); + //this.cbManuProc.DisplayMember = "Value"; + //this.cbManuProc.ValueMember = "Value"; + //this.cbManuProc.DataSource = dt_manuproc; + + ////장비기술공정 + //var dt_eetproc = FCOMMON.DBM.getCodeTable("09"); + //this.cbProcess.DisplayMember = "Value"; + //this.cbProcess.ValueMember = "Value"; + //this.cbProcess.DataSource = dt_eetproc; + + ////processlist + //var procList = FCOMMON.DBM.getGroupTable("process", "Purchase", "process <> ''"); + //this.cbProcess.DisplayMember = "Value"; + //this.cbProcess.ValueMember = "Key"; + //this.cbProcess.DataSource = new BindingSource(procList, ""); + + //담당자목록 + //담당자목록 - 사용자목록으로 처리한다. + string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); + if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; + this.cmbRequest.Items.Clear(); + this.cmbRequest.Items.Add(namestr); + try + { + var cn = FCOMMON.DBM.getCn(); + cn.Open(); + string sql = "select [id],[name] " + + " from vGroupUser" + + " where gcode='{1}' and isnull(useUserState,0) = 1 and id <> '{0}'" + + " order by [name]"; + sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); + var cmd = new System.Data.SqlClient.SqlCommand(sql, cn); + var rdr = cmd.ExecuteReader(); + while (rdr.Read()) + { + string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString()); + this.cmbRequest.Items.Add(cmbdata); + } + cmd.Dispose(); + cn.Close(); + cn.Dispose(); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message); + } + cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK; + + + dtPdate.Value = DateTime.Now; + + //cmbState.Text = "PR"; //po에서 변경 200423 - JBS요청 + + + this.Show(); + Application.DoEvents(); + } + + + private void toolStripButton8_Click(object sender, EventArgs e) + { + //파트리스트 합계금액 + var dtPart = taPart.GetData(this.ProjectIndex); + MakeList(dtPart); + } + void showSummary() + { + //모든 선택된 자료의 합계를 표시한다 + decimal sumAmt = 0; + foreach (DataGridViewRow item in dv1.Rows) + { + sumAmt += (decimal)item.Cells["dvc_amt"].Value; + } + this.tbSum.Text = sumAmt.ToString("N0"); + + } + private bool saveData() + { + this.Validate(); + + if(this.dv1.Rows.Count < 1) + { + FCOMMON.Util.MsgE("자료가 없습니다"); + return false; + } + + if (tbProject.Text == "") + { + FCOMMON.Util.MsgE("프로젝트 정보를 입력하세요."); + tbProject.Focus(); + return false; + } + + if (string.IsNullOrEmpty(tbCr.Text)) + { + FCOMMON.Util.MsgE("SCR/CF값이 없습니다. 프로젝트 정보를 확인하세요"); + tbCr.Focus(); + return false; + } + + + int itemCount = 0; + decimal itemAmt = 0; + foreach (DataGridViewRow item in dv1.Rows) + { + itemCount += 1; + var amt = (decimal)item.Cells["dvc_amt"].Value; + itemAmt += amt;// int.Parse(item.SubItems[7].Text.Replace(",", "").Trim()); + } + + //part 목록을 조회해서 NR에 등록해줘야 함 + var dlg2 = FCOMMON.Util.MsgQ("해당 파트리스트를 CR구매 목록에 등록 하시겠습니까?\n" + + itemCount.ToString() + "건 " + itemAmt.ToString("N0") + "원"); + if (dlg2 != System.Windows.Forms.DialogResult.Yes) return false; + + + string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1); + userNo = userNo.Substring(0, userNo.Length - 1); + + ////기존에 등록된 자료가 있는지 체크한다. + //var SQLExist = + // " select count(*) from EETGW_PurchaseCR" + + // " where import = 1" + + // " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}' and state in ('---','PR','')" + + // " and projectidx = {1}"; + //SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); + //var ExistCnt = FCOMMON.DBM.ExecuteScalarI(SQLExist); + //if (ExistCnt > 0) + //{ + // var dlgq = FCOMMON.Util.MsgQ(string.Format("생성된 자료가 {0}건 존재 합니다.\n\n" + "기존 자료를 삭제 하시겠습니까?", ExistCnt)); + // if (dlgq == System.Windows.Forms.DialogResult.Yes) + // { + // SQLExist = + // " delete from EETGW_PurchaseCR" + + // " where import = 1" + + // " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}' and state in ('---','PR','')" + + // " and projectidx = {1}"; + // SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); + // var delCnt = FCOMMON.DBM.ExecuteNonQuery(SQLExist); + // Console.WriteLine(delCnt.ToString() + "건의 기존 입력된 자료가 삭제됨"); + // } + //} + + var fProg = new FCOMMON.fProgress(); + fProg.Title = "CR구매파트 자료 등록 중"; + fProg.SetProgress(0, itemCount); + fProg.Show(); + fProg.Refresh(); + + // int iCnt = 0; + + //데이터를 넣는다 + var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter(); + var dt = new dsPurchase.EETGW_PurchaseCRDataTable(); + + foreach (DataGridViewRow item in dv1.Rows) + { + var dr = item.Tag as dsPRJ.ProjectsPartRow; + + //insert query + var newdr = dt.NewEETGW_PurchaseCRRow(); + // newdr.asset = cbEQModel.Text.Trim(); + // newdr.dept = cbEQModel.Text.Trim(); + ///newdr.manuproc = cbManuProc.Text.Trim(); + newdr.gcode = FCOMMON.info.Login.gcode; + newdr.pdate = dtPdate.Value.ToShortDateString(); + newdr.state = "---";// cmbState.Text.Trim(); + //newdr.process = cbProcess.Text.Trim(); + newdr.request = userNo.Trim(); + newdr.sid = dr.ItemSid.Replace(" ", "").Trim(); + newdr.pumname = dr.ItemName.Trim(); + newdr.pumidx = dr.Item; + newdr.pumscale = dr.ItemModel; + newdr.pumunit = dr.ItemUnit; + + var o_price = item.Cells[Col_Price].Value; + var o_qty = item.Cells[Col_Qty].Value; + decimal v_price = 0; + int v_qty = 0; + if (o_price != null) v_price = decimal.Parse(o_price.ToString()); + if (o_qty != null) v_qty = int.Parse(o_qty.ToString()); + + newdr.pumprice = v_price;// (decimal)item.Cells[Col_Price].Value;//dr.price; + //if (radioButton1.Checked) + // + newdr.pumqty = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로 + newdr.pumamt = v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString()); + //} + //else + //{ + // //실제 구매에 필요한 수량으로 처리 + // newdr.pumqty = dr.qtybuy; + // newdr.pumamt = dr.qtybuy * dr.price; + //} + newdr.supply = dr.ItemSupply.Trim(); + newdr.supplyidx = dr.ItemSupplyidx; + newdr.project = tbProject.Text.Trim(); + newdr.projectidx = int.Parse(tbProjectIndex.Text); + newdr.bigo = item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim(); + newdr.import = true; + newdr.wuid = FCOMMON.info.Login.no; + newdr.wdate = DateTime.Now; + newdr.orderno = tbCr.Text.Trim(); + newdr.EndEdit(); + dt.AddEETGW_PurchaseCRRow(newdr); + + // Console.WriteLine(SQL); + fProg.IncProgress(); + ta.Update(dt); + } + + FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 생성 되었습니다.\n\n구매등록 화면에서 내용을 확인하세요.", itemCount)); + fProg.Close(); + fProg.Dispose(); + + return true; + } + + + + private void toolStripButton2_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("현재 선택된 줄을 삭제 할까요?"); + if (dlg != DialogResult.Yes) return; + + var rows = this.dv1.SelectedCells; + if(rows.Count < 1) + { + FCOMMON.Util.MsgE("선택된 줄이 없습니다"); + return; + } + + List delrows = new List(); + foreach(DataGridViewCell cel in rows) + { + if (delrows.Contains(cel.RowIndex) == false) + delrows.Add(cel.RowIndex); + } + if (delrows.Count < 1) + { + FCOMMON.Util.MsgE("선택된 줄이 없습니다"); + return; + } + + foreach(var r in delrows.OrderByDescending(t=>t)) + { + this.dv1.Rows.RemoveAt(r); + } + + + //foreach (ListViewItem lv in this.listView1.Items) + // lv.Checked = false; + showSummary(); + } + + + + private void toolStripButton4_Click(object sender, EventArgs e) + { + this.Validate(); + this.dv1.EndEdit(); + if (!saveData()) return; + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + + } +} diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx new file mode 100644 index 0000000..0d12639 --- /dev/null +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 257, 17 + + + 17, 17 + + + 131, 17 + + + 195, 17 + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + 656, 17 + + + + + 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 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE1SURBVDhPY/hPIQAbcOn57//T915BwW1rjoFx/oJz//N6 + VqHgsNxeMA03YN3lp/9vv4YYhAtsuQ6h55/9A8aBidVgPtiADZcegzWDFN1/9///qy8IDOKDcPfu1/9/ + /vn/v3rt/f9TD38BuwJuwIrT9wka0L79BdiAkuW3MA0A+fnog///V12GKAZ5BxcGGQByDYoXYAbA/Aey + AYRBCkE2N256AnY6SDMoUEF8FANAoQ0zAFkzCCNrhhkAor3CczENwGYzuu1JM8+BaQwDQAGITzOyASDs + 4huPMAAkATIA3c/YNIdNPAHGKAaAUhUoBghphhng0rTnv71bGKoBoADE5mR0zVgNACUK9BgAGYbudJBG + GNY0dEYYAMsgMAyKYxAGhTQIg/wLwiBbQRikGSUdkA/+/wcAgXJEf04PwQkAAAAASUVORK5CYII= + + + + + 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== + + + + 539, 17 + + + 354, 17 + + + 455, 17 + + + 58 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPurchase.Designer.cs b/SubProject/FPJ0000/dsPurchase.Designer.cs index f0a42df..1fc224b 100644 --- a/SubProject/FPJ0000/dsPurchase.Designer.cs +++ b/SubProject/FPJ0000/dsPurchase.Designer.cs @@ -26,6 +26,8 @@ namespace FPJ0000 { private PurchaseDataTable tablePurchase; + private EETGW_PurchaseCRDataTable tableEETGW_PurchaseCR; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -57,6 +59,9 @@ namespace FPJ0000 { if ((ds.Tables["Purchase"] != null)) { base.Tables.Add(new PurchaseDataTable(ds.Tables["Purchase"])); } + if ((ds.Tables["EETGW_PurchaseCR"] != null)) { + base.Tables.Add(new EETGW_PurchaseCRDataTable(ds.Tables["EETGW_PurchaseCR"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -85,6 +90,16 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_PurchaseCRDataTable EETGW_PurchaseCR { + get { + return this.tableEETGW_PurchaseCR; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -155,6 +170,9 @@ namespace FPJ0000 { if ((ds.Tables["Purchase"] != null)) { base.Tables.Add(new PurchaseDataTable(ds.Tables["Purchase"])); } + if ((ds.Tables["EETGW_PurchaseCR"] != null)) { + base.Tables.Add(new EETGW_PurchaseCRDataTable(ds.Tables["EETGW_PurchaseCR"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -194,6 +212,12 @@ namespace FPJ0000 { this.tablePurchase.InitVars(); } } + this.tableEETGW_PurchaseCR = ((EETGW_PurchaseCRDataTable)(base.Tables["EETGW_PurchaseCR"])); + if ((initTable == true)) { + if ((this.tableEETGW_PurchaseCR != null)) { + this.tableEETGW_PurchaseCR.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -206,6 +230,8 @@ namespace FPJ0000 { this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tablePurchase = new PurchaseDataTable(); base.Tables.Add(this.tablePurchase); + this.tableEETGW_PurchaseCR = new EETGW_PurchaseCRDataTable(); + base.Tables.Add(this.tableEETGW_PurchaseCR); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -214,6 +240,12 @@ namespace FPJ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeEETGW_PurchaseCR() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -272,6 +304,9 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void PurchaseRowChangeEventHandler(object sender, PurchaseRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void EETGW_PurchaseCRRowChangeEventHandler(object sender, EETGW_PurchaseCRRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -1007,6 +1042,820 @@ namespace FPJ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_PurchaseCRDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columngcode; + + 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 columnpumidx; + + 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 columnpumpriceD; + + 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 columnmanuproc; + + 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 columnbigo; + + private global::System.Data.DataColumn columnimport; + + private global::System.Data.DataColumn columnisdel; + + private global::System.Data.DataColumn columnorderno; + + private global::System.Data.DataColumn columnplace; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + private global::System.Data.DataColumn columninqty; + + private global::System.Data.DataColumn columninremark; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRDataTable() { + this.TableName = "EETGW_PurchaseCR"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_PurchaseCRDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected EETGW_PurchaseCRDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow this[int index] { + get { + return ((EETGW_PurchaseCRRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_PurchaseCRRowChangeEventHandler EETGW_PurchaseCRRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddEETGW_PurchaseCRRow(EETGW_PurchaseCRRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow AddEETGW_PurchaseCRRow( + string gcode, + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + int pumidx, + string pumscale, + string pumunit, + int pumqty, + decimal pumprice, + decimal pumpriceD, + decimal pumamt, + string supply, + int supplyidx, + string project, + int projectidx, + string asset, + string manuproc, + string edate, + string indate, + string po, + string dept, + string bigo, + bool import, + bool isdel, + string orderno, + string place, + string wuid, + System.DateTime wdate, + int inqty, + string inremark) { + EETGW_PurchaseCRRow rowEETGW_PurchaseCRRow = ((EETGW_PurchaseCRRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + gcode, + pdate, + state, + process, + receive, + sc, + request, + sid, + pumname, + pumidx, + pumscale, + pumunit, + pumqty, + pumprice, + pumpriceD, + pumamt, + supply, + supplyidx, + project, + projectidx, + asset, + manuproc, + edate, + indate, + po, + dept, + bigo, + import, + isdel, + orderno, + place, + wuid, + wdate, + inqty, + inremark}; + rowEETGW_PurchaseCRRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_PurchaseCRRow); + return rowEETGW_PurchaseCRRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow FindByidx(int idx) { + return ((EETGW_PurchaseCRRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_PurchaseCRDataTable cln = ((EETGW_PurchaseCRDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_PurchaseCRDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columngcode = base.Columns["gcode"]; + 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.columnpumidx = base.Columns["pumidx"]; + this.columnpumscale = base.Columns["pumscale"]; + this.columnpumunit = base.Columns["pumunit"]; + this.columnpumqty = base.Columns["pumqty"]; + this.columnpumprice = base.Columns["pumprice"]; + this.columnpumpriceD = base.Columns["pumpriceD"]; + 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.columnmanuproc = base.Columns["manuproc"]; + this.columnedate = base.Columns["edate"]; + this.columnindate = base.Columns["indate"]; + this.columnpo = base.Columns["po"]; + this.columndept = base.Columns["dept"]; + this.columnbigo = base.Columns["bigo"]; + this.columnimport = base.Columns["import"]; + this.columnisdel = base.Columns["isdel"]; + this.columnorderno = base.Columns["orderno"]; + this.columnplace = base.Columns["place"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + this.columninqty = base.Columns["inqty"]; + this.columninremark = base.Columns["inremark"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + 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.columnpumidx = new global::System.Data.DataColumn("pumidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumidx); + 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.columnpumpriceD = new global::System.Data.DataColumn("pumpriceD", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpumpriceD); + 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.columnmanuproc = new global::System.Data.DataColumn("manuproc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmanuproc); + 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.columnbigo = new global::System.Data.DataColumn("bigo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnbigo); + this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnimport); + this.columnisdel = new global::System.Data.DataColumn("isdel", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisdel); + this.columnorderno = new global::System.Data.DataColumn("orderno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnorderno); + this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnplace); + 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.columninqty = new global::System.Data.DataColumn("inqty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninqty); + this.columninremark = new global::System.Data.DataColumn("inremark", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninremark); + 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.columngcode.AllowDBNull = false; + this.columngcode.MaxLength = 10; + 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 = 200; + this.columnpumscale.MaxLength = 200; + this.columnpumunit.MaxLength = 50; + this.columnsupply.MaxLength = 200; + this.columnproject.MaxLength = 2147483647; + this.columnasset.MaxLength = 50; + this.columnmanuproc.MaxLength = 50; + this.columnedate.MaxLength = 10; + this.columnindate.MaxLength = 10; + this.columnpo.MaxLength = 50; + this.columndept.MaxLength = 500; + this.columnbigo.MaxLength = 500; + this.columnorderno.MaxLength = 50; + this.columnplace.MaxLength = 20; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + this.columninremark.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow NewEETGW_PurchaseCRRow() { + return ((EETGW_PurchaseCRRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_PurchaseCRRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_PurchaseCRRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_PurchaseCRRowChanged != null)) { + this.EETGW_PurchaseCRRowChanged(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_PurchaseCRRowChanging != null)) { + this.EETGW_PurchaseCRRowChanging(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_PurchaseCRRowDeleted != null)) { + this.EETGW_PurchaseCRRowDeleted(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_PurchaseCRRowDeleting != null)) { + this.EETGW_PurchaseCRRowDeleting(this, new EETGW_PurchaseCRRowChangeEvent(((EETGW_PurchaseCRRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveEETGW_PurchaseCRRow(EETGW_PurchaseCRRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + 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_PurchaseCRDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -1839,6 +2688,961 @@ namespace FPJ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_PurchaseCRRow : global::System.Data.DataRow { + + private EETGW_PurchaseCRDataTable tableEETGW_PurchaseCR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_PurchaseCRRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_PurchaseCR = ((EETGW_PurchaseCRDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_PurchaseCR.idxColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tableEETGW_PurchaseCR.gcodeColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pdate { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.pdateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string state { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.stateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'state\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.stateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string process { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.processColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'process\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.processColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string receive { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.receiveColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'receive\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.receiveColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string sc { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.scColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'sc\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.scColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string request { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.requestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'request\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.requestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string sid { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.sidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'sid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.sidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pumname { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.pumnameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumname\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumnameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pumidx { + get { + try { + return ((int)(this[this.tableEETGW_PurchaseCR.pumidxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumidx\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pumscale { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.pumscaleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumscale\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumscaleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pumunit { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.pumunitColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumunit\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumunitColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pumqty { + get { + try { + return ((int)(this[this.tableEETGW_PurchaseCR.pumqtyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumqty\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumqtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal pumprice { + get { + try { + return ((decimal)(this[this.tableEETGW_PurchaseCR.pumpriceColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumprice\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumpriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal pumpriceD { + get { + try { + return ((decimal)(this[this.tableEETGW_PurchaseCR.pumpriceDColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumpriceD\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumpriceDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal pumamt { + get { + try { + return ((decimal)(this[this.tableEETGW_PurchaseCR.pumamtColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'pumamt\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.pumamtColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string supply { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.supplyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'supply\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.supplyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int supplyidx { + get { + try { + return ((int)(this[this.tableEETGW_PurchaseCR.supplyidxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'supplyidx\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.supplyidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string project { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.projectColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int projectidx { + get { + try { + return ((int)(this[this.tableEETGW_PurchaseCR.projectidxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'projectidx\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.projectidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string asset { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.assetColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'asset\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.assetColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string manuproc { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.manuprocColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'manuproc\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.manuprocColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string edate { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.edateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'edate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.edateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string indate { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.indateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'indate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.indateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string po { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.poColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'po\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.poColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string dept { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.deptColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'dept\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.deptColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string bigo { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.bigoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'bigo\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.bigoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool import { + get { + try { + return ((bool)(this[this.tableEETGW_PurchaseCR.importColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.importColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool isdel { + get { + try { + return ((bool)(this[this.tableEETGW_PurchaseCR.isdelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'isdel\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.isdelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string orderno { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.ordernoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'orderno\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.ordernoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string place { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.placeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'place\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.placeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_PurchaseCR.wuidColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_PurchaseCR.wdateColumn])); + } + set { + this[this.tableEETGW_PurchaseCR.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int inqty { + get { + try { + return ((int)(this[this.tableEETGW_PurchaseCR.inqtyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'inqty\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.inqtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string inremark { + get { + try { + return ((string)(this[this.tableEETGW_PurchaseCR.inremarkColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'inremark\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_PurchaseCR.inremarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpdateNull() { + this[this.tableEETGW_PurchaseCR.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsstateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.stateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetstateNull() { + this[this.tableEETGW_PurchaseCR.stateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprocessNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.processColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprocessNull() { + this[this.tableEETGW_PurchaseCR.processColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsreceiveNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.receiveColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetreceiveNull() { + this[this.tableEETGW_PurchaseCR.receiveColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsscNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.scColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetscNull() { + this[this.tableEETGW_PurchaseCR.scColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsrequestNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.requestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetrequestNull() { + this[this.tableEETGW_PurchaseCR.requestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssidNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.sidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsidNull() { + this[this.tableEETGW_PurchaseCR.sidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumnameNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumnameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumnameNull() { + this[this.tableEETGW_PurchaseCR.pumnameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumidxNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumidxNull() { + this[this.tableEETGW_PurchaseCR.pumidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumscaleNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumscaleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumscaleNull() { + this[this.tableEETGW_PurchaseCR.pumscaleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumunitNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumunitColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumunitNull() { + this[this.tableEETGW_PurchaseCR.pumunitColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumqtyNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumqtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumqtyNull() { + this[this.tableEETGW_PurchaseCR.pumqtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumpriceNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumpriceColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumpriceNull() { + this[this.tableEETGW_PurchaseCR.pumpriceColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumpriceDNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumpriceDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumpriceDNull() { + this[this.tableEETGW_PurchaseCR.pumpriceDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspumamtNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.pumamtColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpumamtNull() { + this[this.tableEETGW_PurchaseCR.pumamtColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssupplyNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.supplyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsupplyNull() { + this[this.tableEETGW_PurchaseCR.supplyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssupplyidxNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.supplyidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsupplyidxNull() { + this[this.tableEETGW_PurchaseCR.supplyidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprojectNull() { + this[this.tableEETGW_PurchaseCR.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprojectidxNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.projectidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprojectidxNull() { + this[this.tableEETGW_PurchaseCR.projectidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsassetNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.assetColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetassetNull() { + this[this.tableEETGW_PurchaseCR.assetColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsmanuprocNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.manuprocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetmanuprocNull() { + this[this.tableEETGW_PurchaseCR.manuprocColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsedateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.edateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetedateNull() { + this[this.tableEETGW_PurchaseCR.edateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsindateNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.indateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetindateNull() { + this[this.tableEETGW_PurchaseCR.indateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspoNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.poColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpoNull() { + this[this.tableEETGW_PurchaseCR.poColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsdeptNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.deptColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetdeptNull() { + this[this.tableEETGW_PurchaseCR.deptColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsbigoNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.bigoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetbigoNull() { + this[this.tableEETGW_PurchaseCR.bigoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsimportNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.importColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetimportNull() { + this[this.tableEETGW_PurchaseCR.importColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsisdelNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.isdelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetisdelNull() { + this[this.tableEETGW_PurchaseCR.isdelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsordernoNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.ordernoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetordernoNull() { + this[this.tableEETGW_PurchaseCR.ordernoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsplaceNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.placeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetplaceNull() { + this[this.tableEETGW_PurchaseCR.placeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsinqtyNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.inqtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetinqtyNull() { + this[this.tableEETGW_PurchaseCR.inqtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsinremarkNull() { + return this.IsNull(this.tableEETGW_PurchaseCR.inremarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetinremarkNull() { + this[this.tableEETGW_PurchaseCR.inremarkColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -1872,6 +3676,40 @@ namespace FPJ0000 { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class EETGW_PurchaseCRRowChangeEvent : global::System.EventArgs { + + private EETGW_PurchaseCRRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRowChangeEvent(EETGW_PurchaseCRRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace FPJ0000.dsPurchaseTableAdapters { @@ -3384,6 +5222,1749 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p } } + /// + ///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_PurchaseCRTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_PurchaseCRTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_PurchaseCR"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); + 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("pumidx", "pumidx"); + tableMapping.ColumnMappings.Add("pumscale", "pumscale"); + tableMapping.ColumnMappings.Add("pumunit", "pumunit"); + tableMapping.ColumnMappings.Add("pumqty", "pumqty"); + tableMapping.ColumnMappings.Add("pumprice", "pumprice"); + tableMapping.ColumnMappings.Add("pumpriceD", "pumpriceD"); + 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("manuproc", "manuproc"); + tableMapping.ColumnMappings.Add("edate", "edate"); + tableMapping.ColumnMappings.Add("indate", "indate"); + tableMapping.ColumnMappings.Add("po", "po"); + tableMapping.ColumnMappings.Add("dept", "dept"); + tableMapping.ColumnMappings.Add("bigo", "bigo"); + tableMapping.ColumnMappings.Add("import", "import"); + tableMapping.ColumnMappings.Add("isdel", "isdel"); + tableMapping.ColumnMappings.Add("orderno", "orderno"); + tableMapping.ColumnMappings.Add("place", "place"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + tableMapping.ColumnMappings.Add("inqty", "inqty"); + tableMapping.ColumnMappings.Add("inremark", "inremark"); + 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_PurchaseCR] WHERE (([idx] = @Original_idx) AND ([gcode] = @Ori" + + "ginal_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Origina" + + "l_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_s" + + "tate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Origina" + + "l_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Or" + + "iginal_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)" + + ") AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_req" + + "uest)) 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_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)" + + ") AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_" + + "pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Ori" + + "ginal_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @O" + + "riginal_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumpric" + + "e] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) O" + + "R ([pumpriceD] = @Original_pumpriceD)) 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 [supply" + + "idx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx =" + + " 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@Is" + + "Null_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNul" + + "l_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) 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 ((@IsNull_bigo = 1 AND " + + "[bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [impo" + + "rt] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isde" + + "l] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [order" + + "no] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [pl" + + "ace] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND " + + "([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([in" + + "qty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR (" + + "[inremark] = @Original_inremark)))"; + 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("@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_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_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_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_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_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_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_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("@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_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_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_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("@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("@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_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_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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_PurchaseCR] ([gcode], [pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumprice], [pumpriceD], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [manuproc], [edate], [indate], [po], [dept], [bigo], [import], [isdel], [orderno], [place], [wuid], [wdate], [inqty], [inremark]) VALUES (@gcode, @pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumprice, @pumpriceD, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @manuproc, @edate, @indate, @po, @dept, @bigo, @import, @isdel, @orderno, @place, @wuid, @wdate, @inqty, @inremark); +SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + 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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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 = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_PurchaseCR] SET [gcode] = @gcode, [pdate] = @pdate, [state] = @stat" + + "e, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request," + + " [sid] = @sid, [pumname] = @pumname, [pumidx] = @pumidx, [pumscale] = @pumscale," + + " [pumunit] = @pumunit, [pumqty] = @pumqty, [pumprice] = @pumprice, [pumpriceD] =" + + " @pumpriceD, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [" + + "project] = @project, [projectidx] = @projectidx, [asset] = @asset, [manuproc] = " + + "@manuproc, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [bi" + + "go] = @bigo, [import] = @import, [isdel] = @isdel, [orderno] = @orderno, [place]" + + " = @place, [wuid] = @wuid, [wdate] = @wdate, [inqty] = @inqty, [inremark] = @inr" + + "emark WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNu" + + "ll_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_" + + "state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_pro" + + "cess = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNul" + + "l_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 AN" + + "D [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = " + + "1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) 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 ((@I" + + "sNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@" + + "IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)" + + ") AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Origin" + + "al_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Or" + + "iginal_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @O" + + "riginal_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([suppl" + + "yidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS N" + + "ULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asse" + + "t] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manu" + + "proc] IS NULL) OR ([manuproc] = @Original_manuproc)) 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) O" + + "R ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([big" + + "o] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import" + + "] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] " + + "= @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([ordern" + + "o] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place" + + "] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wda" + + "te) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty))" + + " AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_i" + + "nremark)));\r\nSELECT idx, gcode, pdate, state, process, receive, sc, request, sid" + + ", pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, suppl" + + "y, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, big" + + "o, import, isdel, orderno, place, wuid, wdate, inqty, inremark FROM EETGW_Purcha" + + "seCR WHERE (idx = @idx)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + 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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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("@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_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_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_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_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_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_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_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("@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_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_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_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("@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("@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_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_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("@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", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT EETGW_PurchaseCR.*\r\nFROM EETGW_PurchaseCR"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(dsPurchase.EETGW_PurchaseCRDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual dsPurchase.EETGW_PurchaseCRDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + dsPurchase.EETGW_PurchaseCRDataTable dataTable = new dsPurchase.EETGW_PurchaseCRDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPurchase.EETGW_PurchaseCRDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPurchase dataSet) { + return this.Adapter.Update(dataSet, "EETGW_PurchaseCR"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + 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", "16.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", "16.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_gcode, + string Original_pdate, + string Original_state, + string Original_process, + string Original_receive, + string Original_sc, + string Original_request, + string Original_sid, + string Original_pumname, + global::System.Nullable Original_pumidx, + string Original_pumscale, + string Original_pumunit, + global::System.Nullable Original_pumqty, + global::System.Nullable Original_pumprice, + global::System.Nullable Original_pumpriceD, + global::System.Nullable Original_pumamt, + string Original_supply, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_projectidx, + string Original_asset, + string Original_manuproc, + string Original_edate, + string Original_indate, + string Original_po, + string Original_dept, + string Original_bigo, + global::System.Nullable Original_import, + global::System.Nullable Original_isdel, + string Original_orderno, + string Original_place, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_inqty, + string Original_inremark) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_gcode)); + } + if ((Original_pdate == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_pdate)); + } + if ((Original_state == null)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_state)); + } + if ((Original_process == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_process)); + } + if ((Original_receive == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_receive)); + } + if ((Original_sc == null)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_sc)); + } + if ((Original_request == null)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_request)); + } + if ((Original_sid == null)) { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_sid)); + } + if ((Original_pumname == null)) { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_pumname)); + } + if ((Original_pumidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[19].Value = ((int)(Original_pumidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_pumscale == null)) { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_pumscale)); + } + if ((Original_pumunit == null)) { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_pumunit)); + } + if ((Original_pumqty.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_pumqty.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((Original_pumprice.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[27].Value = ((decimal)(Original_pumprice.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value; + } + if ((Original_pumpriceD.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[29].Value = ((decimal)(Original_pumpriceD.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value; + } + if ((Original_pumamt.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[31].Value = ((decimal)(Original_pumamt.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value; + } + if ((Original_supply == null)) { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[33].Value = ((string)(Original_supply)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[35].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((Original_projectidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[37].Value = ((int)(Original_projectidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((Original_asset == null)) { + this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[39].Value = ((string)(Original_asset)); + } + if ((Original_manuproc == null)) { + this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[41].Value = ((string)(Original_manuproc)); + } + if ((Original_edate == null)) { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[43].Value = ((string)(Original_edate)); + } + if ((Original_indate == null)) { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[45].Value = ((string)(Original_indate)); + } + if ((Original_po == null)) { + this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[47].Value = ((string)(Original_po)); + } + if ((Original_dept == null)) { + this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[49].Value = ((string)(Original_dept)); + } + if ((Original_bigo == null)) { + this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[51].Value = ((string)(Original_bigo)); + } + if ((Original_import.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[53].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[53].Value = global::System.DBNull.Value; + } + if ((Original_isdel.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[54].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[55].Value = ((bool)(Original_isdel.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[54].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[55].Value = global::System.DBNull.Value; + } + if ((Original_orderno == null)) { + this.Adapter.DeleteCommand.Parameters[56].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[57].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[56].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[57].Value = ((string)(Original_orderno)); + } + 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_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[60].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[61].Value = ((System.DateTime)(Original_wdate)); + if ((Original_inqty.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[62].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[63].Value = ((int)(Original_inqty.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)); + } + 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", "16.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 gcode, + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + global::System.Nullable pumidx, + string pumscale, + string pumunit, + global::System.Nullable pumqty, + global::System.Nullable pumprice, + global::System.Nullable pumpriceD, + global::System.Nullable pumamt, + string supply, + global::System.Nullable supplyidx, + string project, + global::System.Nullable projectidx, + string asset, + string manuproc, + string edate, + string indate, + string po, + string dept, + string bigo, + global::System.Nullable import, + global::System.Nullable isdel, + string orderno, + string place, + string wuid, + System.DateTime wdate, + global::System.Nullable inqty, + string inremark) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((pdate == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(pdate)); + } + if ((state == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(state)); + } + if ((process == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(process)); + } + if ((receive == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(receive)); + } + if ((sc == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(sc)); + } + if ((request == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(request)); + } + if ((sid == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(sid)); + } + if ((pumname == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(pumname)); + } + if ((pumidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((int)(pumidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((pumscale == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(pumscale)); + } + if ((pumunit == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(pumunit)); + } + if ((pumqty.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((int)(pumqty.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((pumprice.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(pumprice.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((pumpriceD.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(pumpriceD.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((pumamt.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(pumamt.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((supply == null)) { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = ((string)(supply)); + } + if ((supplyidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[17].Value = ((int)(supplyidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((project == null)) { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(project)); + } + if ((projectidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[19].Value = ((int)(projectidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((asset == null)) { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = ((string)(asset)); + } + if ((manuproc == null)) { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = ((string)(manuproc)); + } + if ((edate == null)) { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = ((string)(edate)); + } + if ((indate == null)) { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = ((string)(indate)); + } + if ((po == null)) { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = ((string)(po)); + } + if ((dept == null)) { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(dept)); + } + if ((bigo == null)) { + this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[26].Value = ((string)(bigo)); + } + if ((import.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[27].Value = ((bool)(import.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; + } + if ((isdel.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[28].Value = ((bool)(isdel.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; + } + if ((orderno == null)) { + this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[29].Value = ((string)(orderno)); + } + if ((place == null)) { + this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[30].Value = ((string)(place)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[31].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[32].Value = ((System.DateTime)(wdate)); + if ((inqty.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[33].Value = ((int)(inqty.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)); + } + 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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string gcode, + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + global::System.Nullable pumidx, + string pumscale, + string pumunit, + global::System.Nullable pumqty, + global::System.Nullable pumprice, + global::System.Nullable pumpriceD, + global::System.Nullable pumamt, + string supply, + global::System.Nullable supplyidx, + string project, + global::System.Nullable projectidx, + string asset, + string manuproc, + string edate, + string indate, + string po, + string dept, + string bigo, + global::System.Nullable import, + global::System.Nullable isdel, + string orderno, + string place, + string wuid, + System.DateTime wdate, + global::System.Nullable inqty, + string inremark, + int Original_idx, + string Original_gcode, + string Original_pdate, + string Original_state, + string Original_process, + string Original_receive, + string Original_sc, + string Original_request, + string Original_sid, + string Original_pumname, + global::System.Nullable Original_pumidx, + string Original_pumscale, + string Original_pumunit, + global::System.Nullable Original_pumqty, + global::System.Nullable Original_pumprice, + global::System.Nullable Original_pumpriceD, + global::System.Nullable Original_pumamt, + string Original_supply, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_projectidx, + string Original_asset, + string Original_manuproc, + string Original_edate, + string Original_indate, + string Original_po, + string Original_dept, + string Original_bigo, + global::System.Nullable Original_import, + global::System.Nullable Original_isdel, + string Original_orderno, + string Original_place, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_inqty, + string Original_inremark, + int idx) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((pdate == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(pdate)); + } + if ((state == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(state)); + } + if ((process == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(process)); + } + if ((receive == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(receive)); + } + if ((sc == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(sc)); + } + if ((request == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(request)); + } + if ((sid == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(sid)); + } + if ((pumname == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(pumname)); + } + if ((pumidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(pumidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((pumscale == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(pumscale)); + } + if ((pumunit == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(pumunit)); + } + if ((pumqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(pumqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((pumprice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(pumprice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((pumpriceD.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(pumpriceD.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((pumamt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(pumamt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((supply == null)) { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(supply)); + } + if ((supplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(supplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((project == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(project)); + } + if ((projectidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(projectidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((asset == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(asset)); + } + if ((manuproc == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(manuproc)); + } + if ((edate == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(edate)); + } + if ((indate == null)) { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(indate)); + } + if ((po == null)) { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(po)); + } + if ((dept == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(dept)); + } + if ((bigo == null)) { + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(bigo)); + } + if ((import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[27].Value = ((bool)(import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + if ((isdel.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((bool)(isdel.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; + } + if ((orderno == null)) { + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(orderno)); + } + if ((place == null)) { + this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(place)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(wdate)); + if ((inqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(inqty.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)); + } + this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_gcode)); + } + if ((Original_pdate == null)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_pdate)); + } + if ((Original_state == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_state)); + } + if ((Original_process == null)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_process)); + } + if ((Original_receive == null)) { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_receive)); + } + if ((Original_sc == null)) { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_sc)); + } + if ((Original_request == 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_request)); + } + if ((Original_sid == 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_sid)); + } + if ((Original_pumname == 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_pumname)); + } + if ((Original_pumidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[54].Value = ((int)(Original_pumidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; + } + if ((Original_pumscale == 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_pumscale)); + } + if ((Original_pumunit == 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_pumunit)); + } + if ((Original_pumqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_pumqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; + } + if ((Original_pumprice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_pumprice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; + } + if ((Original_pumpriceD.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_pumpriceD.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; + } + if ((Original_pumamt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[66].Value = ((decimal)(Original_pumamt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; + } + if ((Original_supply == null)) { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_supply)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[70].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; + } + if ((Original_projectidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[72].Value = ((int)(Original_projectidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; + } + if ((Original_asset == 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_asset)); + } + if ((Original_manuproc == null)) { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_manuproc)); + } + if ((Original_edate == null)) { + this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_edate)); + } + if ((Original_indate == 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_indate)); + } + if ((Original_po == 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_po)); + } + if ((Original_dept == 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_dept)); + } + if ((Original_bigo == 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_bigo)); + } + if ((Original_import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[88].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value; + } + if ((Original_isdel.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[90].Value = ((bool)(Original_isdel.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[90].Value = global::System.DBNull.Value; + } + if ((Original_orderno == null)) { + this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[92].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[92].Value = ((string)(Original_orderno)); + } + if ((Original_place == null)) { + this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[94].Value = ((string)(Original_place)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[96].Value = ((System.DateTime)(Original_wdate)); + if ((Original_inqty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[98].Value = ((int)(Original_inqty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value; + } + if ((Original_inremark == 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_inremark)); + } + this.Adapter.UpdateCommand.Parameters[101].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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string gcode, + string pdate, + string state, + string process, + string receive, + string sc, + string request, + string sid, + string pumname, + global::System.Nullable pumidx, + string pumscale, + string pumunit, + global::System.Nullable pumqty, + global::System.Nullable pumprice, + global::System.Nullable pumpriceD, + global::System.Nullable pumamt, + string supply, + global::System.Nullable supplyidx, + string project, + global::System.Nullable projectidx, + string asset, + string manuproc, + string edate, + string indate, + string po, + string dept, + string bigo, + global::System.Nullable import, + global::System.Nullable isdel, + string orderno, + string place, + string wuid, + System.DateTime wdate, + global::System.Nullable inqty, + string inremark, + int Original_idx, + string Original_gcode, + string Original_pdate, + string Original_state, + string Original_process, + string Original_receive, + string Original_sc, + string Original_request, + string Original_sid, + string Original_pumname, + global::System.Nullable Original_pumidx, + string Original_pumscale, + string Original_pumunit, + global::System.Nullable Original_pumqty, + global::System.Nullable Original_pumprice, + global::System.Nullable Original_pumpriceD, + global::System.Nullable Original_pumamt, + string Original_supply, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_projectidx, + string Original_asset, + string Original_manuproc, + string Original_edate, + string Original_indate, + string Original_po, + string Original_dept, + string Original_bigo, + global::System.Nullable Original_import, + global::System.Nullable Original_isdel, + string Original_orderno, + string Original_place, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_inqty, + string Original_inremark) { + return this.Update(gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, Original_idx, Original_gcode, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumname, Original_pumidx, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumpriceD, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_manuproc, Original_edate, Original_indate, Original_po, Original_dept, Original_bigo, Original_import, Original_isdel, Original_orderno, Original_place, Original_wuid, Original_wdate, Original_inqty, Original_inremark, Original_idx); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -3398,6 +6979,8 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p private PurchaseTableAdapter _purchaseTableAdapter; + private EETGW_PurchaseCRTableAdapter _eETGW_PurchaseCRTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -3427,6 +7010,20 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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_PurchaseCRTableAdapter EETGW_PurchaseCRTableAdapter { + get { + return this._eETGW_PurchaseCRTableAdapter; + } + set { + this._eETGW_PurchaseCRTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -3450,6 +7047,10 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p && (this._purchaseTableAdapter.Connection != null))) { return this._purchaseTableAdapter.Connection; } + if (((this._eETGW_PurchaseCRTableAdapter != null) + && (this._eETGW_PurchaseCRTableAdapter.Connection != null))) { + return this._eETGW_PurchaseCRTableAdapter.Connection; + } return null; } set { @@ -3466,6 +7067,9 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p if ((this._purchaseTableAdapter != null)) { count = (count + 1); } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -3486,6 +7090,15 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p allChangedRows.AddRange(updatedRows); } } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_PurchaseCRTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -3504,6 +7117,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p allAddedRows.AddRange(addedRows); } } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_PurchaseCRTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -3514,6 +7135,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private int UpdateDeletedRows(dsPurchase dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_PurchaseCR.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_PurchaseCRTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._purchaseTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.Purchase.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -3565,6 +7194,10 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p && (this.MatchTableAdapterConnection(this._purchaseTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._eETGW_PurchaseCRTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_PurchaseCRTableAdapter.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" + @@ -3605,6 +7238,15 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p adaptersWithAcceptChangesDuringUpdate.Add(this._purchaseTableAdapter.Adapter); } } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + revertConnections.Add(this._eETGW_PurchaseCRTableAdapter, this._eETGW_PurchaseCRTableAdapter.Connection); + this._eETGW_PurchaseCRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_PurchaseCRTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_PurchaseCRTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_PurchaseCRTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_PurchaseCRTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -3667,6 +7309,10 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p this._purchaseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._purchaseTableAdapter])); this._purchaseTableAdapter.Transaction = null; } + if ((this._eETGW_PurchaseCRTableAdapter != null)) { + this._eETGW_PurchaseCRTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_PurchaseCRTableAdapter])); + this._eETGW_PurchaseCRTableAdapter.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/FPJ0000/dsPurchase.xsc b/SubProject/FPJ0000/dsPurchase.xsc index 05b0199..551fc56 100644 --- a/SubProject/FPJ0000/dsPurchase.xsc +++ b/SubProject/FPJ0000/dsPurchase.xsc @@ -1,9 +1,9 @@ - - - - + + + + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPurchase.xsd b/SubProject/FPJ0000/dsPurchase.xsd index a49f79a..7bd4c72 100644 --- a/SubProject/FPJ0000/dsPurchase.xsd +++ b/SubProject/FPJ0000/dsPurchase.xsd @@ -248,6 +248,284 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p + + + + + + DELETE FROM [EETGW_PurchaseCR] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) 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_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) 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_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) 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_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) 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 ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_PurchaseCR] ([gcode], [pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumprice], [pumpriceD], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [manuproc], [edate], [indate], [po], [dept], [bigo], [import], [isdel], [orderno], [place], [wuid], [wdate], [inqty], [inremark]) VALUES (@gcode, @pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumprice, @pumpriceD, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @manuproc, @edate, @indate, @po, @dept, @bigo, @import, @isdel, @orderno, @place, @wuid, @wdate, @inqty, @inremark); +SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT EETGW_PurchaseCR.* +FROM EETGW_PurchaseCR + + + + + + UPDATE [EETGW_PurchaseCR] SET [gcode] = @gcode, [pdate] = @pdate, [state] = @state, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] = @pumname, [pumidx] = @pumidx, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumprice] = @pumprice, [pumpriceD] = @pumpriceD, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [manuproc] = @manuproc, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [bigo] = @bigo, [import] = @import, [isdel] = @isdel, [orderno] = @orderno, [place] = @place, [wuid] = @wuid, [wdate] = @wdate, [inqty] = @inqty, [inremark] = @inremark WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) 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_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) 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_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) 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_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) 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 ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark))); +SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark FROM EETGW_PurchaseCR WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -256,7 +534,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p - + @@ -419,11 +697,201 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPurchase.xss b/SubProject/FPJ0000/dsPurchase.xss index 5f28270..6e231f8 100644 --- a/SubProject/FPJ0000/dsPurchase.xss +++ b/SubProject/FPJ0000/dsPurchase.xss @@ -1 +1,13 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file