diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs
index 4dabaf5..fc39b92 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.07.17.0830")]
-[assembly: AssemblyFileVersion("23.07.17.0830")]
+[assembly: AssemblyVersion("23.07.31.1700")]
+[assembly: AssemblyFileVersion("23.07.31.1700")]
diff --git a/Sub/arCtl b/Sub/arCtl
index 6f495b5..2491541 160000
--- a/Sub/arCtl
+++ b/Sub/arCtl
@@ -1 +1 @@
-Subproject commit 6f495b5d40064a959a9b7160ceb39004b0d534eb
+Subproject commit 249154147d963ce57aef40e549bea01e304e8134
diff --git a/SubProject/FCM0000/Item/fItemAdd.Designer.cs b/SubProject/FCM0000/Item/fItemAdd.Designer.cs
index 62782f6..8c1d18b 100644
--- a/SubProject/FCM0000/Item/fItemAdd.Designer.cs
+++ b/SubProject/FCM0000/Item/fItemAdd.Designer.cs
@@ -38,7 +38,6 @@
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label label3;
- System.Windows.Forms.Label label4;
this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
this.tbName = new System.Windows.Forms.TextBox();
this.tbSid = new System.Windows.Forms.TextBox();
@@ -53,6 +52,7 @@
this.dsMSSQL = new FCM0000.dsMSSQL();
this.tbPriceD = new System.Windows.Forms.TextBox();
this.tbStorage = new System.Windows.Forms.TextBox();
+ this.checkBox1 = new System.Windows.Forms.CheckBox();
nameLabel = new System.Windows.Forms.Label();
sidLabel = new System.Windows.Forms.Label();
modelLabel = new System.Windows.Forms.Label();
@@ -63,109 +63,108 @@
label1 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label();
- label4 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.SuspendLayout();
//
// nameLabel
//
nameLabel.AutoSize = true;
- nameLabel.Location = new System.Drawing.Point(53, 17);
+ nameLabel.Location = new System.Drawing.Point(52, 53);
nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
nameLabel.Name = "nameLabel";
nameLabel.Size = new System.Drawing.Size(55, 30);
- nameLabel.TabIndex = 0;
+ nameLabel.TabIndex = 3;
nameLabel.Text = "품명";
//
// sidLabel
//
sidLabel.AutoSize = true;
- sidLabel.Location = new System.Drawing.Point(63, 231);
+ sidLabel.Location = new System.Drawing.Point(62, 14);
sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
sidLabel.Name = "sidLabel";
sidLabel.Size = new System.Drawing.Size(45, 30);
- sidLabel.TabIndex = 10;
+ sidLabel.TabIndex = 0;
sidLabel.Text = "SID";
//
// modelLabel
//
modelLabel.AutoSize = true;
- modelLabel.Location = new System.Drawing.Point(32, 63);
+ modelLabel.Location = new System.Drawing.Point(31, 99);
modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
modelLabel.Name = "modelLabel";
modelLabel.Size = new System.Drawing.Size(76, 30);
- modelLabel.TabIndex = 8;
+ modelLabel.TabIndex = 5;
modelLabel.Text = "모델명";
//
// manuLabel
//
manuLabel.AutoSize = true;
- manuLabel.Location = new System.Drawing.Point(32, 147);
+ manuLabel.Location = new System.Drawing.Point(31, 183);
manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
manuLabel.Name = "manuLabel";
manuLabel.Size = new System.Drawing.Size(76, 30);
- manuLabel.TabIndex = 6;
+ manuLabel.TabIndex = 9;
manuLabel.Text = "제조사";
//
// supplyLabel
//
supplyLabel.AutoSize = true;
- supplyLabel.Location = new System.Drawing.Point(32, 319);
+ supplyLabel.Location = new System.Drawing.Point(31, 315);
supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
supplyLabel.Name = "supplyLabel";
supplyLabel.Size = new System.Drawing.Size(76, 30);
- supplyLabel.TabIndex = 12;
+ supplyLabel.TabIndex = 17;
supplyLabel.Text = "공급처";
//
// memoLabel
//
memoLabel.AutoSize = true;
- memoLabel.Location = new System.Drawing.Point(53, 364);
+ memoLabel.Location = new System.Drawing.Point(52, 360);
memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(55, 30);
- memoLabel.TabIndex = 15;
+ memoLabel.TabIndex = 20;
memoLabel.Text = "비고";
//
// priceLabel
//
priceLabel.AutoSize = true;
- priceLabel.Location = new System.Drawing.Point(53, 189);
+ priceLabel.Location = new System.Drawing.Point(52, 225);
priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
priceLabel.Name = "priceLabel";
priceLabel.Size = new System.Drawing.Size(55, 30);
- priceLabel.TabIndex = 8;
+ priceLabel.TabIndex = 11;
priceLabel.Text = "단가";
//
// label1
//
label1.AutoSize = true;
- label1.Location = new System.Drawing.Point(53, 101);
+ label1.Location = new System.Drawing.Point(52, 137);
label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(55, 30);
- label1.TabIndex = 4;
+ label1.TabIndex = 7;
label1.Text = "단위";
//
// label2
//
label2.AutoSize = true;
label2.ForeColor = System.Drawing.Color.Blue;
- label2.Location = new System.Drawing.Point(364, 189);
+ label2.Location = new System.Drawing.Point(363, 225);
label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(25, 30);
- label2.TabIndex = 18;
+ label2.TabIndex = 13;
label2.Text = "$";
//
// label3
//
label3.AutoSize = true;
- label3.Location = new System.Drawing.Point(4, 272);
+ label3.Location = new System.Drawing.Point(3, 269);
label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(104, 30);
- label3.TabIndex = 20;
+ label3.TabIndex = 15;
label3.Text = "STORAGE";
//
// ta
@@ -175,93 +174,93 @@
// tbName
//
this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- this.tbName.Location = new System.Drawing.Point(112, 17);
+ this.tbName.Location = new System.Drawing.Point(111, 53);
this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbName.Name = "tbName";
this.tbName.Size = new System.Drawing.Size(546, 35);
- this.tbName.TabIndex = 2;
+ this.tbName.TabIndex = 4;
//
// tbSid
//
this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
- this.tbSid.Location = new System.Drawing.Point(112, 228);
+ this.tbSid.Location = new System.Drawing.Point(242, 12);
this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbSid.Name = "tbSid";
- this.tbSid.Size = new System.Drawing.Size(241, 35);
- this.tbSid.TabIndex = 11;
+ this.tbSid.Size = new System.Drawing.Size(415, 35);
+ this.tbSid.TabIndex = 2;
this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbModel
//
this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
- this.tbModel.Location = new System.Drawing.Point(112, 58);
+ this.tbModel.Location = new System.Drawing.Point(111, 94);
this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbModel.Name = "tbModel";
this.tbModel.Size = new System.Drawing.Size(546, 35);
- this.tbModel.TabIndex = 3;
+ this.tbModel.TabIndex = 6;
//
// tbManu
//
- this.tbManu.Location = new System.Drawing.Point(112, 144);
+ this.tbManu.Location = new System.Drawing.Point(111, 180);
this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbManu.Name = "tbManu";
this.tbManu.Size = new System.Drawing.Size(546, 35);
- this.tbManu.TabIndex = 7;
+ this.tbManu.TabIndex = 10;
//
// tbSupply
//
- this.tbSupply.Location = new System.Drawing.Point(112, 316);
+ this.tbSupply.Location = new System.Drawing.Point(111, 312);
this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbSupply.Name = "tbSupply";
this.tbSupply.Size = new System.Drawing.Size(449, 35);
- this.tbSupply.TabIndex = 13;
+ this.tbSupply.TabIndex = 18;
//
// tbMemo
//
- this.tbMemo.Location = new System.Drawing.Point(112, 357);
+ this.tbMemo.Location = new System.Drawing.Point(111, 353);
this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbMemo.Name = "tbMemo";
this.tbMemo.Size = new System.Drawing.Size(546, 35);
- this.tbMemo.TabIndex = 16;
+ this.tbMemo.TabIndex = 21;
this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrice
//
- this.tbPrice.Location = new System.Drawing.Point(112, 187);
+ this.tbPrice.Location = new System.Drawing.Point(111, 223);
this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbPrice.Name = "tbPrice";
this.tbPrice.Size = new System.Drawing.Size(241, 35);
- this.tbPrice.TabIndex = 9;
+ this.tbPrice.TabIndex = 12;
this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbSupplyIdx
//
this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.tbSupplyIdx.Enabled = false;
- this.tbSupplyIdx.Location = new System.Drawing.Point(556, 316);
+ this.tbSupplyIdx.Location = new System.Drawing.Point(555, 312);
this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbSupplyIdx.Name = "tbSupplyIdx";
this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35);
- this.tbSupplyIdx.TabIndex = 14;
+ this.tbSupplyIdx.TabIndex = 19;
this.tbSupplyIdx.Text = "-1";
this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbUnit
//
- this.tbUnit.Location = new System.Drawing.Point(112, 100);
+ this.tbUnit.Location = new System.Drawing.Point(111, 136);
this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbUnit.Name = "tbUnit";
this.tbUnit.Size = new System.Drawing.Size(546, 35);
- this.tbUnit.TabIndex = 5;
+ this.tbUnit.TabIndex = 8;
this.tbUnit.Text = "EA";
this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btOK
//
- this.btOK.Location = new System.Drawing.Point(112, 403);
+ this.btOK.Location = new System.Drawing.Point(111, 399);
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(546, 66);
- this.btOK.TabIndex = 17;
+ this.btOK.TabIndex = 22;
this.btOK.Text = "확인";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
@@ -274,40 +273,39 @@
// tbPriceD
//
this.tbPriceD.ForeColor = System.Drawing.Color.Blue;
- this.tbPriceD.Location = new System.Drawing.Point(399, 187);
+ this.tbPriceD.Location = new System.Drawing.Point(398, 223);
this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbPriceD.Name = "tbPriceD";
this.tbPriceD.Size = new System.Drawing.Size(259, 35);
- this.tbPriceD.TabIndex = 19;
+ this.tbPriceD.TabIndex = 14;
this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbStorage
//
- this.tbStorage.Location = new System.Drawing.Point(112, 270);
+ this.tbStorage.Location = new System.Drawing.Point(111, 267);
this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbStorage.Name = "tbStorage";
- this.tbStorage.Size = new System.Drawing.Size(241, 35);
- this.tbStorage.TabIndex = 21;
+ this.tbStorage.Size = new System.Drawing.Size(546, 35);
+ this.tbStorage.TabIndex = 16;
this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
- // label4
+ // checkBox1
//
- label4.AutoSize = true;
- label4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- label4.Location = new System.Drawing.Point(397, 233);
- label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
- label4.Name = "label4";
- label4.Size = new System.Drawing.Size(230, 42);
- label4.TabIndex = 22;
- label4.Text = "신규 품목은 SID칸에 \"신규\" 를\r\n입력하세요";
+ this.checkBox1.AutoSize = true;
+ this.checkBox1.Location = new System.Drawing.Point(111, 13);
+ this.checkBox1.Name = "checkBox1";
+ this.checkBox1.Size = new System.Drawing.Size(123, 34);
+ this.checkBox1.TabIndex = 1;
+ this.checkBox1.Text = "신규 품목";
+ this.checkBox1.UseVisualStyleBackColor = true;
+ this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// fItemAdd
//
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(669, 478);
- this.Controls.Add(label4);
+ this.ClientSize = new System.Drawing.Size(669, 477);
+ this.Controls.Add(this.checkBox1);
this.Controls.Add(label3);
this.Controls.Add(this.tbStorage);
this.Controls.Add(label2);
@@ -360,5 +358,6 @@
public System.Windows.Forms.TextBox tbUnit;
public System.Windows.Forms.TextBox tbPriceD;
public System.Windows.Forms.TextBox tbStorage;
- }
+ private System.Windows.Forms.CheckBox checkBox1;
+ }
}
\ No newline at end of file
diff --git a/SubProject/FCM0000/Item/fItemAdd.cs b/SubProject/FCM0000/Item/fItemAdd.cs
index e35ce57..1325b2c 100644
--- a/SubProject/FCM0000/Item/fItemAdd.cs
+++ b/SubProject/FCM0000/Item/fItemAdd.cs
@@ -1,9 +1,11 @@
-using System;
+using FCOMMON;
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
+using System.Security.AccessControl;
using System.Text;
using System.Windows.Forms;
@@ -60,7 +62,26 @@ namespace FCM0000.Item
tbModel.Focus();
return;
}
+
if (tbSid.Text.StartsWith("신규")) tbSid.Text = "신규";
+ else
+ {
+ //이떄는 sid가 정상이어야 한다.
+ if (tbSid.Text.StartsWith("10") == false || tbSid.TextLength != 9)
+ {
+ Util.MsgE("SID는 9자리 숫자이며 10으로 시작 합니다\n입력값을 확인 하세요");
+ tbSid.Focus();
+ tbSid.SelectAll();
+ return;
+ }
+
+ if (ta.ExistSID(FCOMMON.info.Login.gcode, tbSid.Text) > 0)
+ {
+ Util.MsgE("동일한 SID정보가 있습니다\n화면을 닫은 후 SID로 검색하세요");
+ this.Close();
+ return;
+ }
+ }
var pumName = tbName.Text.Trim();
var pumModel = tbModel.Text.Trim();
@@ -71,6 +92,10 @@ namespace FCM0000.Item
FCOMMON.Util.MsgE("동일 품명 모델의 정보가 존재 합니다");
return;
}
+
+
+
+
if (tbSupplyIdx.Text == "") tbSupplyIdx.Text = "-1";
var newdr = this.dsMSSQL.Items.NewItemsRow();
newdr.gcode = FCOMMON.info.Login.gcode;
@@ -93,7 +118,7 @@ namespace FCM0000.Item
if (decimal.TryParse(tbPriceD.Text, out decimal priced))
{
newdr.priceD = priced;
- if(decimal.TryParse(tbPrice.Text,out decimal priceWon)==false)
+ if (decimal.TryParse(tbPrice.Text, out decimal priceWon) == false)
{
var ConvertedPrice = (decimal)((double)priced * FCOMMON.info.dollertowon);
tbPrice.Text = ConvertedPrice.ToString();
@@ -135,5 +160,11 @@ namespace FCM0000.Item
newIDX = -1;
}
}
+
+ private void checkBox1_CheckedChanged(object sender, EventArgs e)
+ {
+ tbSid.Enabled = !checkBox1.Enabled;
+ if (checkBox1.Checked) tbSid.Text = "신규";
+ }
}
}
diff --git a/SubProject/FCM0000/Item/fItemAdd.resx b/SubProject/FCM0000/Item/fItemAdd.resx
index 9e43d94..6572453 100644
--- a/SubProject/FCM0000/Item/fItemAdd.resx
+++ b/SubProject/FCM0000/Item/fItemAdd.resx
@@ -153,7 +153,4 @@
17, 17
-
- False
-
\ No newline at end of file
diff --git a/SubProject/FCM0000/Item/fLovItem.Designer.cs b/SubProject/FCM0000/Item/fLovItem.Designer.cs
index f3094b5..0245c5d 100644
--- a/SubProject/FCM0000/Item/fLovItem.Designer.cs
+++ b/SubProject/FCM0000/Item/fLovItem.Designer.cs
@@ -28,151 +28,152 @@
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.Label manuLabel;
- System.Windows.Forms.Label memoLabel;
- System.Windows.Forms.Label priceLabel;
- System.Windows.Forms.Label label1;
- System.Windows.Forms.Label label2;
- System.Windows.Forms.Label label4;
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem));
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = 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();
- this.bn = new System.Windows.Forms.BindingNavigator(this.components);
- this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.dsMSSQL = new FCM0000.dsMSSQL();
- 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.btOK = new System.Windows.Forms.ToolStripButton();
- this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
- this.tbFind = new System.Windows.Forms.ToolStripTextBox();
- this.btFind = new System.Windows.Forms.ToolStripButton();
- this.btAdd = new System.Windows.Forms.ToolStripButton();
- this.panel1 = new System.Windows.Forms.Panel();
- this.textBox4 = new System.Windows.Forms.TextBox();
- this.linkLabel1 = new System.Windows.Forms.LinkLabel();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.textBox3 = new System.Windows.Forms.TextBox();
- this.textBox2 = new System.Windows.Forms.TextBox();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.manuTextBox = new System.Windows.Forms.TextBox();
- this.memoTextBox = new System.Windows.Forms.TextBox();
- this.priceTextBox = new System.Windows.Forms.TextBox();
- this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
- this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
- this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
- this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
- manuLabel = new System.Windows.Forms.Label();
- memoLabel = new System.Windows.Forms.Label();
- priceLabel = new System.Windows.Forms.Label();
- label1 = new System.Windows.Forms.Label();
- label2 = new System.Windows.Forms.Label();
- label4 = new System.Windows.Forms.Label();
- ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
- this.bn.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
- this.panel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
- this.cm1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
- this.SuspendLayout();
- //
- // manuLabel
- //
- manuLabel.AutoSize = true;
- manuLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- manuLabel.ForeColor = System.Drawing.Color.White;
- manuLabel.Location = new System.Drawing.Point(11, 15);
- manuLabel.Name = "manuLabel";
- manuLabel.Size = new System.Drawing.Size(58, 21);
- manuLabel.TabIndex = 8;
- manuLabel.Text = "제조사";
- //
- // memoLabel
- //
- memoLabel.AutoSize = true;
- memoLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- memoLabel.ForeColor = System.Drawing.Color.White;
- memoLabel.Location = new System.Drawing.Point(24, 45);
- memoLabel.Name = "memoLabel";
- memoLabel.Size = new System.Drawing.Size(42, 21);
- memoLabel.TabIndex = 12;
- memoLabel.Text = "비고";
- //
- // priceLabel
- //
- priceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- priceLabel.AutoSize = true;
- priceLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- priceLabel.ForeColor = System.Drawing.Color.White;
- priceLabel.Location = new System.Drawing.Point(24, 448);
- priceLabel.Name = "priceLabel";
- priceLabel.Size = new System.Drawing.Size(42, 21);
- priceLabel.TabIndex = 18;
- priceLabel.Text = "단가";
- //
- // label1
- //
- label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- label1.AutoSize = true;
- label1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label1.ForeColor = System.Drawing.Color.White;
- label1.Location = new System.Drawing.Point(24, 514);
- label1.Name = "label1";
- label1.Size = new System.Drawing.Size(42, 21);
- label1.TabIndex = 20;
- label1.Text = "종류";
- //
- // label2
- //
- label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- label2.AutoSize = true;
- label2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label2.ForeColor = System.Drawing.Color.White;
- label2.Location = new System.Drawing.Point(24, 418);
- label2.Name = "label2";
- label2.Size = new System.Drawing.Size(42, 21);
- label2.TabIndex = 22;
- label2.Text = "규격";
- //
- // label4
- //
- label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- label4.AutoSize = true;
- label4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label4.ForeColor = System.Drawing.Color.White;
- label4.Location = new System.Drawing.Point(3, 479);
- label4.Name = "label4";
- label4.Size = new System.Drawing.Size(63, 21);
- label4.TabIndex = 28;
- label4.Text = "단가($)";
- //
- // bn
- //
- this.bn.AddNewItem = null;
- this.bn.BindingSource = this.bs;
- this.bn.CountItem = this.bindingNavigatorCountItem;
- this.bn.DeleteItem = null;
- this.bn.ImageScalingSize = new System.Drawing.Size(30, 30);
- this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.Label manuLabel;
+ System.Windows.Forms.Label memoLabel;
+ System.Windows.Forms.Label priceLabel;
+ System.Windows.Forms.Label label1;
+ System.Windows.Forms.Label label2;
+ System.Windows.Forms.Label label4;
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem));
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = 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();
+ this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.dsMSSQL = new FCM0000.dsMSSQL();
+ 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.btOK = new System.Windows.Forms.ToolStripButton();
+ this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
+ this.tbFind = new System.Windows.Forms.ToolStripTextBox();
+ this.btFind = new System.Windows.Forms.ToolStripButton();
+ this.btAdd = new System.Windows.Forms.ToolStripButton();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.textBox4 = new System.Windows.Forms.TextBox();
+ this.linkLabel1 = new System.Windows.Forms.LinkLabel();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.textBox3 = new System.Windows.Forms.TextBox();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.manuTextBox = new System.Windows.Forms.TextBox();
+ this.memoTextBox = new System.Windows.Forms.TextBox();
+ this.priceTextBox = new System.Windows.Forms.TextBox();
+ this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
+ this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
+ this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
+ this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
+ this.label3 = new System.Windows.Forms.Label();
+ manuLabel = new System.Windows.Forms.Label();
+ memoLabel = new System.Windows.Forms.Label();
+ priceLabel = new System.Windows.Forms.Label();
+ label1 = new System.Windows.Forms.Label();
+ label2 = new System.Windows.Forms.Label();
+ label4 = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
+ this.cm1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // manuLabel
+ //
+ manuLabel.AutoSize = true;
+ manuLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ manuLabel.ForeColor = System.Drawing.Color.White;
+ manuLabel.Location = new System.Drawing.Point(11, 15);
+ manuLabel.Name = "manuLabel";
+ manuLabel.Size = new System.Drawing.Size(58, 21);
+ manuLabel.TabIndex = 8;
+ manuLabel.Text = "제조사";
+ //
+ // memoLabel
+ //
+ memoLabel.AutoSize = true;
+ memoLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ memoLabel.ForeColor = System.Drawing.Color.White;
+ memoLabel.Location = new System.Drawing.Point(24, 45);
+ memoLabel.Name = "memoLabel";
+ memoLabel.Size = new System.Drawing.Size(42, 21);
+ memoLabel.TabIndex = 12;
+ memoLabel.Text = "비고";
+ //
+ // priceLabel
+ //
+ priceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ priceLabel.AutoSize = true;
+ priceLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ priceLabel.ForeColor = System.Drawing.Color.White;
+ priceLabel.Location = new System.Drawing.Point(24, 448);
+ priceLabel.Name = "priceLabel";
+ priceLabel.Size = new System.Drawing.Size(42, 21);
+ priceLabel.TabIndex = 18;
+ priceLabel.Text = "단가";
+ //
+ // label1
+ //
+ label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ label1.AutoSize = true;
+ label1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label1.ForeColor = System.Drawing.Color.White;
+ label1.Location = new System.Drawing.Point(24, 514);
+ label1.Name = "label1";
+ label1.Size = new System.Drawing.Size(42, 21);
+ label1.TabIndex = 20;
+ label1.Text = "종류";
+ //
+ // label2
+ //
+ label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ label2.AutoSize = true;
+ label2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label2.ForeColor = System.Drawing.Color.White;
+ label2.Location = new System.Drawing.Point(24, 418);
+ label2.Name = "label2";
+ label2.Size = new System.Drawing.Size(42, 21);
+ label2.TabIndex = 22;
+ label2.Text = "규격";
+ //
+ // label4
+ //
+ label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ label4.AutoSize = true;
+ label4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label4.ForeColor = System.Drawing.Color.White;
+ label4.Location = new System.Drawing.Point(3, 479);
+ label4.Name = "label4";
+ label4.Size = new System.Drawing.Size(63, 21);
+ label4.TabIndex = 28;
+ label4.Text = "단가($)";
+ //
+ // bn
+ //
+ this.bn.AddNewItem = null;
+ this.bn.BindingSource = this.bs;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = null;
+ this.bn.ImageScalingSize = new System.Drawing.Size(30, 30);
+ this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator,
@@ -187,409 +188,424 @@
this.tbFind,
this.btFind,
this.btAdd});
- this.bn.Location = new System.Drawing.Point(0, 0);
- 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(1177, 37);
- this.bn.TabIndex = 0;
- this.bn.Text = "bindingNavigator1";
- //
- // bs
- //
- this.bs.DataMember = "Items";
- this.bs.DataSource = this.dsMSSQL;
- this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
- //
- // dsMSSQL
- //
- this.dsMSSQL.DataSetName = "dsMSSQL";
- this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
- // bindingNavigatorCountItem
- //
- this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
- this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 34);
- 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(34, 34);
- 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(34, 34);
- this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
- //
- // bindingNavigatorSeparator
- //
- this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
- this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37);
- //
- // bindingNavigatorPositionItem
- //
- this.bindingNavigatorPositionItem.AccessibleName = "위치";
- this.bindingNavigatorPositionItem.AutoSize = false;
- this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
- this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
- this.bindingNavigatorPositionItem.Text = "0";
- this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
- //
- // bindingNavigatorSeparator1
- //
- this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
- this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 37);
- //
- // 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(34, 34);
- 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(34, 34);
- this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
- //
- // bindingNavigatorSeparator2
- //
- this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
- this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37);
- //
- // btOK
- //
- this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
- this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image")));
- this.btOK.Name = "btOK";
- this.btOK.Size = new System.Drawing.Size(82, 34);
- this.btOK.Text = "선택(&O)";
- this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
- //
- // toolStripLabel1
- //
- this.toolStripLabel1.Name = "toolStripLabel1";
- this.toolStripLabel1.Size = new System.Drawing.Size(31, 34);
- this.toolStripLabel1.Text = "검색";
- //
- // tbFind
- //
- this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.tbFind.Name = "tbFind";
- this.tbFind.Size = new System.Drawing.Size(150, 37);
- this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // 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(34, 34);
- this.btFind.Text = "toolStripButton1";
- this.btFind.Click += new System.EventHandler(this.btFind_Click);
- //
- // btAdd
- //
- this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
- this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.btAdd.Name = "btAdd";
- this.btAdd.Size = new System.Drawing.Size(89, 34);
- this.btAdd.Text = "품목추가";
- this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
- //
- // panel1
- //
- this.panel1.BackColor = System.Drawing.Color.Gray;
- this.panel1.Controls.Add(label4);
- this.panel1.Controls.Add(this.textBox4);
- this.panel1.Controls.Add(this.linkLabel1);
- this.panel1.Controls.Add(this.pictureBox1);
- this.panel1.Controls.Add(this.textBox3);
- this.panel1.Controls.Add(label2);
- this.panel1.Controls.Add(this.textBox2);
- this.panel1.Controls.Add(label1);
- this.panel1.Controls.Add(this.textBox1);
- this.panel1.Controls.Add(manuLabel);
- this.panel1.Controls.Add(this.manuTextBox);
- this.panel1.Controls.Add(memoLabel);
- this.panel1.Controls.Add(this.memoTextBox);
- this.panel1.Controls.Add(priceLabel);
- this.panel1.Controls.Add(this.priceTextBox);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel1.Location = new System.Drawing.Point(887, 37);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(290, 550);
- this.panel1.TabIndex = 2;
- //
- // textBox4
- //
- this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "priceD", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
- this.textBox4.Location = new System.Drawing.Point(74, 477);
- this.textBox4.Name = "textBox4";
- this.textBox4.ReadOnly = true;
- this.textBox4.Size = new System.Drawing.Size(200, 25);
- this.textBox4.TabIndex = 29;
- //
- // linkLabel1
- //
- this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.linkLabel1.AutoSize = true;
- this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.linkLabel1.ForeColor = System.Drawing.Color.White;
- this.linkLabel1.Location = new System.Drawing.Point(11, 262);
- this.linkLabel1.Name = "linkLabel1";
- this.linkLabel1.Size = new System.Drawing.Size(58, 21);
- this.linkLabel1.TabIndex = 27;
- this.linkLabel1.TabStop = true;
- this.linkLabel1.Text = "이미지";
- this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
- //
- // pictureBox1
- //
- this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+ this.bn.Location = new System.Drawing.Point(0, 0);
+ 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(1177, 37);
+ this.bn.TabIndex = 0;
+ this.bn.Text = "bindingNavigator1";
+ //
+ // bs
+ //
+ this.bs.DataMember = "Items";
+ this.bs.DataSource = this.dsMSSQL;
+ this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
+ //
+ // dsMSSQL
+ //
+ this.dsMSSQL.DataSetName = "dsMSSQL";
+ this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // bindingNavigatorCountItem
+ //
+ this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
+ this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 34);
+ 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(34, 34);
+ 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(34, 34);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
+ // bindingNavigatorSeparator
+ //
+ this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37);
+ //
+ // 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, 37);
+ //
+ // 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(34, 34);
+ 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(34, 34);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
+ // bindingNavigatorSeparator2
+ //
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
+ this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37);
+ //
+ // btOK
+ //
+ this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image")));
+ this.btOK.Name = "btOK";
+ this.btOK.Size = new System.Drawing.Size(82, 34);
+ this.btOK.Text = "선택(&O)";
+ this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
+ //
+ // toolStripLabel1
+ //
+ this.toolStripLabel1.Name = "toolStripLabel1";
+ this.toolStripLabel1.Size = new System.Drawing.Size(31, 34);
+ this.toolStripLabel1.Text = "검색";
+ //
+ // 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(150, 37);
+ this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // 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(34, 34);
+ this.btFind.Text = "toolStripButton1";
+ this.btFind.Click += new System.EventHandler(this.btFind_Click);
+ //
+ // btAdd
+ //
+ this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
+ this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btAdd.Name = "btAdd";
+ this.btAdd.Size = new System.Drawing.Size(89, 34);
+ this.btAdd.Text = "품목추가";
+ this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.Gray;
+ this.panel1.Controls.Add(label4);
+ this.panel1.Controls.Add(this.textBox4);
+ this.panel1.Controls.Add(this.linkLabel1);
+ this.panel1.Controls.Add(this.pictureBox1);
+ this.panel1.Controls.Add(this.textBox3);
+ this.panel1.Controls.Add(label2);
+ this.panel1.Controls.Add(this.textBox2);
+ this.panel1.Controls.Add(label1);
+ this.panel1.Controls.Add(this.textBox1);
+ this.panel1.Controls.Add(manuLabel);
+ this.panel1.Controls.Add(this.manuTextBox);
+ this.panel1.Controls.Add(memoLabel);
+ this.panel1.Controls.Add(this.memoTextBox);
+ this.panel1.Controls.Add(priceLabel);
+ this.panel1.Controls.Add(this.priceTextBox);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
+ this.panel1.Location = new System.Drawing.Point(887, 37);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(290, 550);
+ this.panel1.TabIndex = 2;
+ //
+ // textBox4
+ //
+ this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "priceD", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
+ this.textBox4.Location = new System.Drawing.Point(74, 477);
+ this.textBox4.Name = "textBox4";
+ this.textBox4.ReadOnly = true;
+ this.textBox4.Size = new System.Drawing.Size(200, 25);
+ this.textBox4.TabIndex = 29;
+ //
+ // linkLabel1
+ //
+ this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.linkLabel1.AutoSize = true;
+ this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.linkLabel1.ForeColor = System.Drawing.Color.White;
+ this.linkLabel1.Location = new System.Drawing.Point(11, 262);
+ this.linkLabel1.Name = "linkLabel1";
+ this.linkLabel1.Size = new System.Drawing.Size(58, 21);
+ this.linkLabel1.TabIndex = 27;
+ this.linkLabel1.TabStop = true;
+ this.linkLabel1.Text = "이미지";
+ this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.pictureBox1.BackColor = System.Drawing.Color.Black;
- this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pictureBox1.Location = new System.Drawing.Point(74, 262);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(202, 146);
- this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pictureBox1.TabIndex = 26;
- this.pictureBox1.TabStop = false;
- //
- // textBox3
- //
- this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "unit", true));
- this.textBox3.Location = new System.Drawing.Point(237, 415);
- this.textBox3.Name = "textBox3";
- this.textBox3.ReadOnly = true;
- this.textBox3.Size = new System.Drawing.Size(38, 25);
- this.textBox3.TabIndex = 24;
- //
- // textBox2
- //
- this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "scale", true));
- this.textBox2.Location = new System.Drawing.Point(75, 415);
- this.textBox2.Name = "textBox2";
- this.textBox2.ReadOnly = true;
- this.textBox2.Size = new System.Drawing.Size(156, 25);
- this.textBox2.TabIndex = 23;
- //
- // textBox1
- //
- this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
- this.textBox1.Location = new System.Drawing.Point(75, 512);
- this.textBox1.Name = "textBox1";
- this.textBox1.ReadOnly = true;
- this.textBox1.Size = new System.Drawing.Size(200, 25);
- this.textBox1.TabIndex = 21;
- //
- // manuTextBox
- //
- this.manuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "manu", true));
- this.manuTextBox.Location = new System.Drawing.Point(75, 13);
- this.manuTextBox.Name = "manuTextBox";
- this.manuTextBox.ReadOnly = true;
- this.manuTextBox.Size = new System.Drawing.Size(200, 25);
- this.manuTextBox.TabIndex = 9;
- //
- // memoTextBox
- //
- this.memoTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.pictureBox1.BackColor = System.Drawing.Color.Black;
+ this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.pictureBox1.Location = new System.Drawing.Point(74, 262);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(202, 146);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pictureBox1.TabIndex = 26;
+ this.pictureBox1.TabStop = false;
+ //
+ // textBox3
+ //
+ this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "unit", true));
+ this.textBox3.Location = new System.Drawing.Point(237, 415);
+ this.textBox3.Name = "textBox3";
+ this.textBox3.ReadOnly = true;
+ this.textBox3.Size = new System.Drawing.Size(38, 25);
+ this.textBox3.TabIndex = 24;
+ //
+ // textBox2
+ //
+ this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "scale", true));
+ this.textBox2.Location = new System.Drawing.Point(75, 415);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.ReadOnly = true;
+ this.textBox2.Size = new System.Drawing.Size(156, 25);
+ this.textBox2.TabIndex = 23;
+ //
+ // textBox1
+ //
+ this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
+ this.textBox1.Location = new System.Drawing.Point(75, 512);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.ReadOnly = true;
+ this.textBox1.Size = new System.Drawing.Size(200, 25);
+ this.textBox1.TabIndex = 21;
+ //
+ // manuTextBox
+ //
+ this.manuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "manu", true));
+ this.manuTextBox.Location = new System.Drawing.Point(75, 13);
+ this.manuTextBox.Name = "manuTextBox";
+ this.manuTextBox.ReadOnly = true;
+ this.manuTextBox.Size = new System.Drawing.Size(200, 25);
+ this.manuTextBox.TabIndex = 9;
+ //
+ // memoTextBox
+ //
+ this.memoTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
- this.memoTextBox.Location = new System.Drawing.Point(75, 44);
- this.memoTextBox.Multiline = true;
- this.memoTextBox.Name = "memoTextBox";
- this.memoTextBox.ReadOnly = true;
- this.memoTextBox.Size = new System.Drawing.Size(200, 213);
- this.memoTextBox.TabIndex = 13;
- //
- // priceTextBox
- //
- this.priceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
- this.priceTextBox.Location = new System.Drawing.Point(75, 446);
- this.priceTextBox.Name = "priceTextBox";
- this.priceTextBox.ReadOnly = true;
- this.priceTextBox.Size = new System.Drawing.Size(200, 25);
- this.priceTextBox.TabIndex = 19;
- //
- // ta
- //
- this.ta.ClearBeforeFill = true;
- //
- // tam
- //
- this.tam.BackupDataSetBeforeUpdate = false;
- this.tam.BoardTableAdapter = null;
- this.tam.CommonTableAdapter = null;
- this.tam.CustomsTableAdapter = null;
- this.tam.EETGW_DocuFormTableAdapter = null;
- this.tam.HolidayLIstTableAdapter = null;
- this.tam.InventoryUserTableAdapter = null;
- this.tam.ItemsTableAdapter = this.ta;
- this.tam.ProjectsTableAdapter = null;
- this.tam.PurchaseTableAdapter = null;
- this.tam.RequestItemTableAdapter = null;
- this.tam.StaffTableAdapter = null;
- this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
- //
- // fpSpread1
- //
- this.fpSpread1.AccessibleDescription = "";
- this.fpSpread1.ContextMenuStrip = this.cm1;
- this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.fpSpread1.Location = new System.Drawing.Point(0, 37);
- this.fpSpread1.Name = "fpSpread1";
- this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
+ this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
+ this.memoTextBox.Location = new System.Drawing.Point(75, 44);
+ this.memoTextBox.Multiline = true;
+ this.memoTextBox.Name = "memoTextBox";
+ this.memoTextBox.ReadOnly = true;
+ this.memoTextBox.Size = new System.Drawing.Size(200, 213);
+ this.memoTextBox.TabIndex = 13;
+ //
+ // priceTextBox
+ //
+ this.priceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
+ this.priceTextBox.Location = new System.Drawing.Point(75, 446);
+ this.priceTextBox.Name = "priceTextBox";
+ this.priceTextBox.ReadOnly = true;
+ this.priceTextBox.Size = new System.Drawing.Size(200, 25);
+ this.priceTextBox.TabIndex = 19;
+ //
+ // ta
+ //
+ this.ta.ClearBeforeFill = true;
+ //
+ // tam
+ //
+ this.tam.BackupDataSetBeforeUpdate = false;
+ this.tam.BoardTableAdapter = null;
+ this.tam.CommonTableAdapter = null;
+ this.tam.CustomsTableAdapter = null;
+ this.tam.EETGW_DocuFormTableAdapter = null;
+ this.tam.HolidayLIstTableAdapter = null;
+ this.tam.InventoryUserTableAdapter = null;
+ this.tam.ItemsTableAdapter = this.ta;
+ this.tam.ProjectsTableAdapter = null;
+ this.tam.PurchaseTableAdapter = null;
+ this.tam.RequestItemTableAdapter = null;
+ this.tam.StaffTableAdapter = null;
+ this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
+ //
+ // fpSpread1
+ //
+ this.fpSpread1.AccessibleDescription = "";
+ this.fpSpread1.ContextMenuStrip = this.cm1;
+ this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
+ 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(887, 550);
- this.fpSpread1.TabIndex = 4;
- //
- // cm1
- //
- this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
- this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fpSpread1.Size = new System.Drawing.Size(887, 512);
+ this.fpSpread1.TabIndex = 4;
+ //
+ // cm1
+ //
+ this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
+ this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.columnSizeToolStripMenuItem});
- this.cm1.Name = "cm1";
- this.cm1.Size = new System.Drawing.Size(185, 46);
- //
- // columnSizeToolStripMenuItem
- //
- this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.cm1.Name = "cm1";
+ this.cm1.Size = new System.Drawing.Size(185, 46);
+ //
+ // columnSizeToolStripMenuItem
+ //
+ this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveToolStripMenuItem,
this.loadToolStripMenuItem,
this.resetToolStripMenuItem});
- this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
- this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(184, 42);
- this.columnSizeToolStripMenuItem.Text = "열 너비";
- //
- // saveToolStripMenuItem
- //
- this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
- this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
- this.saveToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
- this.saveToolStripMenuItem.Text = "저장";
- 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(202, 42);
- this.loadToolStripMenuItem.Text = "불러오기";
- this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
- //
- // resetToolStripMenuItem
- //
- this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
- this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
- this.resetToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
- this.resetToolStripMenuItem.Text = "초기화";
- this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
- //
- // fpSpread1_Sheet1
- //
- this.fpSpread1_Sheet1.Reset();
- this.fpSpread1_Sheet1.SheetName = "Sheet1";
- // Formulas and custom names must be loaded with R1C1 reference style
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
- this.fpSpread1_Sheet1.ColumnCount = 6;
- this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
- this.fpSpread1_Sheet1.ActiveRowIndex = -1;
- this.fpSpread1_Sheet1.AutoGenerateColumns = false;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급";
- this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F;
- 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).Label = "IDX";
- this.fpSpread1_Sheet1.Columns.Get(0).Visible = false;
- this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F;
- this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
- this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name";
- this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명";
- this.fpSpread1_Sheet1.Columns.Get(1).Width = 154F;
- this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
- this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model";
- this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델";
- this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F;
- this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
- this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid";
- this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
- this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F;
- this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
- this.fpSpread1_Sheet1.Columns.Get(4).DataField = "supply";
- this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급";
- this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(4).Width = 133F;
- this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
- this.fpSpread1_Sheet1.Columns.Get(5).DataField = "Storage";
- this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
- this.fpSpread1_Sheet1.DataSource = this.bs;
- this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
- //
- // fLovItem
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.ClientSize = new System.Drawing.Size(1177, 587);
- this.Controls.Add(this.fpSpread1);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.bn);
- this.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Name = "fLovItem";
- this.Text = "품목 선택";
- this.Load += new System.EventHandler(this.fLovItem_Load);
- ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
- this.bn.ResumeLayout(false);
- this.bn.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
- this.cm1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
+ this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(184, 42);
+ this.columnSizeToolStripMenuItem.Text = "열 너비";
+ //
+ // saveToolStripMenuItem
+ //
+ this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
+ this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
+ this.saveToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
+ this.saveToolStripMenuItem.Text = "저장";
+ 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(202, 42);
+ this.loadToolStripMenuItem.Text = "불러오기";
+ this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
+ //
+ // resetToolStripMenuItem
+ //
+ this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
+ this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
+ this.resetToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
+ this.resetToolStripMenuItem.Text = "초기화";
+ this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
+ //
+ // fpSpread1_Sheet1
+ //
+ this.fpSpread1_Sheet1.Reset();
+ this.fpSpread1_Sheet1.SheetName = "Sheet1";
+ // Formulas and custom names must be loaded with R1C1 reference style
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
+ this.fpSpread1_Sheet1.ColumnCount = 6;
+ this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
+ this.fpSpread1_Sheet1.ActiveRowIndex = -1;
+ this.fpSpread1_Sheet1.AutoGenerateColumns = false;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급";
+ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F;
+ 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).Label = "IDX";
+ this.fpSpread1_Sheet1.Columns.Get(0).Visible = false;
+ this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F;
+ this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name";
+ this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명";
+ this.fpSpread1_Sheet1.Columns.Get(1).Width = 154F;
+ this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model";
+ this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델";
+ this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F;
+ this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
+ this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F;
+ this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(4).DataField = "supply";
+ this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급";
+ this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(4).Width = 133F;
+ this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
+ this.fpSpread1_Sheet1.Columns.Get(5).DataField = "Storage";
+ this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
+ this.fpSpread1_Sheet1.DataSource = this.bs;
+ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
+ //
+ // label3
+ //
+ this.label3.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.label3.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.ForeColor = System.Drawing.Color.Blue;
+ this.label3.Location = new System.Drawing.Point(0, 549);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(887, 38);
+ this.label3.TabIndex = 5;
+ this.label3.Text = "\"(품명,모델,SID)을 검색 한 후 없는 경우 \'품목추가\' 버튼을 이용해서 추가 하시기 바랍니다\"";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // fLovItem
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(1177, 587);
+ this.Controls.Add(this.fpSpread1);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.panel1);
+ this.Controls.Add(this.bn);
+ this.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Name = "fLovItem";
+ this.Text = "품목 선택";
+ this.Load += new System.EventHandler(this.fLovItem_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
+ this.bn.ResumeLayout(false);
+ this.bn.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
+ this.cm1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
@@ -631,5 +647,6 @@
private System.Windows.Forms.ToolStripButton btAdd;
private System.Windows.Forms.TextBox textBox4;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
- }
+ private System.Windows.Forms.Label label3;
+ }
}
\ No newline at end of file
diff --git a/SubProject/FCM0000/Item/fLovItem.cs b/SubProject/FCM0000/Item/fLovItem.cs
index 51d0433..f5f0b67 100644
--- a/SubProject/FCM0000/Item/fLovItem.cs
+++ b/SubProject/FCM0000/Item/fLovItem.cs
@@ -79,7 +79,7 @@ namespace FCM0000
if (search == "")
{
- FCOMMON.Util.MsgI("(품명,모델,SID)을 검색 한 후 없는 경우 '품목추가' 버튼을 이용해서 추가 하시기 바랍니다");
+ //sFCOMMON.Util.MsgI("(품명,모델,SID)을 검색 한 후 없는 경우 '품목추가' 버튼을 이용해서 추가 하시기 바랍니다");
tbFind.Focus();
}
else
diff --git a/SubProject/FCM0000/Item/fLovItem.resx b/SubProject/FCM0000/Item/fLovItem.resx
index 1ba62bf..ecbf7ce 100644
--- a/SubProject/FCM0000/Item/fLovItem.resx
+++ b/SubProject/FCM0000/Item/fLovItem.resx
@@ -148,7 +148,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/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
@@ -159,7 +159,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/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
@@ -168,7 +168,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -177,7 +177,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/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
@@ -230,7 +230,7 @@
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApLoCKbrc+s5e
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApDqJIrrc+s5e
KScQ9HwFIprrAn1AEFFShdzaUh40FHwGEHwAHhUQaqCBmb1JY43Jzj6cW2l/0l+KdOPx/zZrezzX6+jo
qM7k1eSksmYpcfqhcjpLMvNRzcxP5dSfXPD30JoP+WcQM8rSm9Pp9AQNPz6001fA+GPQV+XMX5lGX+DL
PBpk6WVKF4/B1upFlY03++7Wb95ccWGOodPP1I66QOmbBV6Du/D0DjgzVbTiVn4kWXqHpqmfa5v3TyfW
@@ -242,7 +242,7 @@
LjS4/ye7ySWyV4y83cclOxbpDbJVnOWt1XOLcKnHlmPpvin2KrmkMZXYdEJ2yoG9Si5xDMFm8oRslAfv
ocPMOG6CZqX3+m/7p8hGNbDRCsf4Pj9R/UrceLe25u4h2OSNsTPha1Pbk+fAXmUzu9P4W+UFWxTsm2K7
Dw8Y3oxAeQ69gds2pY8Hno5YdpSpneZj9Lr4hG0CLLKw6QQLfQ1rdrx44M0Oy5F5STI6gIvSO/wMS2Ks
- KhfiZ9aOjtbT6/0Ddt5qN1uCD44AAAAASUVORK5CYII=
+ KhfiZ9aOjtbT6/0Dz7VqLlxZexkAAAAASUVORK5CYII=
diff --git a/SubProject/FCM0000/fCode.Designer.cs b/SubProject/FCM0000/fCode.Designer.cs
index 656c393..1356be2 100644
--- a/SubProject/FCM0000/fCode.Designer.cs
+++ b/SubProject/FCM0000/fCode.Designer.cs
@@ -30,14 +30,15 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fCode));
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.cmbList = new System.Windows.Forms.ComboBox();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
- this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
+ this.btAdd = new System.Windows.Forms.ToolStripButton();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FCM0000.dsMSSQL();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
- this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
+ this.btDel = new System.Windows.Forms.ToolStripButton();
this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
@@ -47,12 +48,13 @@
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
- this.commonBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
+ this.btSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton();
this.코드일괄생성ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.title가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.s가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.btAddNew = new System.Windows.Forms.ToolStripButton();
this.commonDataGridView = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -61,7 +63,7 @@
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ta = new FCM0000.dsMSSQLTableAdapters.CommonTableAdapter();
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
- this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
+ this.btCancle = new System.Windows.Forms.ToolStripButton();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
@@ -78,7 +80,7 @@
this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(5);
- this.panel1.Size = new System.Drawing.Size(684, 48);
+ this.panel1.Size = new System.Drawing.Size(817, 48);
this.panel1.TabIndex = 0;
//
// cmbList
@@ -90,16 +92,16 @@
this.cmbList.Location = new System.Drawing.Point(5, 5);
this.cmbList.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cmbList.Name = "cmbList";
- this.cmbList.Size = new System.Drawing.Size(674, 37);
+ this.cmbList.Size = new System.Drawing.Size(807, 37);
this.cmbList.TabIndex = 0;
this.cmbList.SelectedIndexChanged += new System.EventHandler(this.cmbList_SelectedIndexChanged);
//
// bn
//
- this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
+ this.bn.AddNewItem = this.btAdd;
this.bn.BindingSource = this.bs;
this.bn.CountItem = this.bindingNavigatorCountItem;
- this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
+ this.bn.DeleteItem = this.btDel;
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabel6,
@@ -112,12 +114,13 @@
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2,
- this.bindingNavigatorAddNewItem,
- this.bindingNavigatorDeleteItem,
- this.commonBindingNavigatorSaveItem,
+ this.btAdd,
+ this.btDel,
+ this.btSave,
this.toolStripSeparator1,
this.toolStripButton1,
- this.toolStripButton2});
+ this.btAddNew,
+ this.btCancle});
this.bn.Location = new System.Drawing.Point(0, 693);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -125,17 +128,18 @@
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
- this.bn.Size = new System.Drawing.Size(684, 25);
+ this.bn.Size = new System.Drawing.Size(817, 25);
this.bn.TabIndex = 1;
this.bn.Text = "bindingNavigator1";
//
- // bindingNavigatorAddNewItem
+ // btAdd
//
- 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(67, 22);
- this.bindingNavigatorAddNewItem.Text = "추가(&A)";
+ 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, 22);
+ this.btAdd.Text = "추가(&A)";
+ this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
//
// bs
//
@@ -154,13 +158,13 @@
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
//
- // bindingNavigatorDeleteItem
+ // btDel
//
- 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(68, 22);
- this.bindingNavigatorDeleteItem.Text = "삭제(&D)";
+ 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, 22);
+ this.btDel.Text = "삭제(&D)";
//
// toolStripLabel6
//
@@ -230,13 +234,13 @@
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
//
- // commonBindingNavigatorSaveItem
+ // btSave
//
- this.commonBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("commonBindingNavigatorSaveItem.Image")));
- this.commonBindingNavigatorSaveItem.Name = "commonBindingNavigatorSaveItem";
- this.commonBindingNavigatorSaveItem.Size = new System.Drawing.Size(66, 22);
- this.commonBindingNavigatorSaveItem.Text = "저장(&S)";
- this.commonBindingNavigatorSaveItem.Click += new System.EventHandler(this.commonBindingNavigatorSaveItem_Click);
+ this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
+ this.btSave.Name = "btSave";
+ this.btSave.Size = new System.Drawing.Size(66, 22);
+ this.btSave.Text = "저장(&S)";
+ this.btSave.Click += new System.EventHandler(this.commonBindingNavigatorSaveItem_Click);
//
// toolStripSeparator1
//
@@ -277,6 +281,16 @@
this.s가져오기ToolStripMenuItem.Text = "S 가져오기";
this.s가져오기ToolStripMenuItem.Click += new System.EventHandler(this.s가져오기ToolStripMenuItem_Click);
//
+ // btAddNew
+ //
+ this.btAddNew.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.btAddNew.Image = ((System.Drawing.Image)(resources.GetObject("btAddNew.Image")));
+ this.btAddNew.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btAddNew.Name = "btAddNew";
+ this.btAddNew.Size = new System.Drawing.Size(107, 22);
+ this.btAddNew.Text = "누락 항목 추가";
+ this.btAddNew.Click += new System.EventHandler(this.toolStripButton2_Click);
+ //
// commonDataGridView
//
this.commonDataGridView.AutoGenerateColumns = false;
@@ -291,12 +305,23 @@
this.dataGridViewTextBoxColumn5,
this.dataGridViewTextBoxColumn6});
this.commonDataGridView.DataSource = this.bs;
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle3.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.commonDataGridView.DefaultCellStyle = dataGridViewCellStyle3;
this.commonDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.commonDataGridView.Location = new System.Drawing.Point(0, 48);
this.commonDataGridView.Name = "commonDataGridView";
this.commonDataGridView.RowTemplate.Height = 23;
- this.commonDataGridView.Size = new System.Drawing.Size(684, 645);
+ this.commonDataGridView.Size = new System.Drawing.Size(817, 645);
this.commonDataGridView.TabIndex = 3;
+ this.commonDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.commonDataGridView_CellContentClick);
+ this.commonDataGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.commonDataGridView_CellDoubleClick);
//
// dataGridViewTextBoxColumn3
//
@@ -307,10 +332,10 @@
//
// dataGridViewTextBoxColumn7
//
+ this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn7.DataPropertyName = "memo";
this.dataGridViewTextBoxColumn7.HeaderText = "Title";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
- this.dataGridViewTextBoxColumn7.Width = 65;
//
// dataGridViewTextBoxColumn4
//
@@ -353,21 +378,21 @@
this.tam.StaffTableAdapter = null;
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
- // toolStripButton2
+ // btCancle
//
- 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(107, 22);
- this.toolStripButton2.Text = "누락 항목 추가";
- this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
+ this.btCancle.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.btCancle.Image = ((System.Drawing.Image)(resources.GetObject("btCancle.Image")));
+ this.btCancle.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btCancle.Name = "btCancle";
+ this.btCancle.Size = new System.Drawing.Size(79, 22);
+ this.btCancle.Text = "선택 취소";
+ this.btCancle.Click += new System.EventHandler(this.toolStripButton2_Click_1);
//
// fCode
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(684, 718);
+ this.ClientSize = new System.Drawing.Size(817, 718);
this.Controls.Add(this.commonDataGridView);
this.Controls.Add(this.bn);
this.Controls.Add(this.panel1);
@@ -399,9 +424,9 @@
private dsMSSQLTableAdapters.CommonTableAdapter ta;
private dsMSSQLTableAdapters.TableAdapterManager tam;
private System.Windows.Forms.BindingNavigator bn;
- private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
+ private System.Windows.Forms.ToolStripButton btAdd;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
- private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
+ private System.Windows.Forms.ToolStripButton btDel;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
@@ -410,19 +435,20 @@
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
- private System.Windows.Forms.ToolStripButton commonBindingNavigatorSaveItem;
+ private System.Windows.Forms.ToolStripButton btSave;
private System.Windows.Forms.DataGridView commonDataGridView;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripDropDownButton toolStripButton1;
private System.Windows.Forms.ToolStripMenuItem 코드일괄생성ToolStripMenuItem;
private System.Windows.Forms.ToolStripLabel toolStripLabel6;
private System.Windows.Forms.ToolStripMenuItem title가져오기ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem s가져오기ToolStripMenuItem;
- private System.Windows.Forms.ToolStripButton toolStripButton2;
+ private System.Windows.Forms.ToolStripButton btAddNew;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
+ private System.Windows.Forms.ToolStripButton btCancle;
}
}
\ No newline at end of file
diff --git a/SubProject/FCM0000/fCode.cs b/SubProject/FCM0000/fCode.cs
index cb1acfc..ebda276 100644
--- a/SubProject/FCM0000/fCode.cs
+++ b/SubProject/FCM0000/fCode.cs
@@ -1,19 +1,21 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
+using FCOMMON;
+using System;
using System.Data;
using System.Drawing;
using System.Linq;
-using System.Text;
using System.Windows.Forms;
namespace FCM0000
{
public partial class fCode : FCOMMON.fBase
{
- public fCode()
+ string defaultgubun = "";
+ string defafilter = "";
+ public fCode(string gubun = "",string filter="")
{
InitializeComponent();
+ this.defaultgubun = gubun;
+ this.defafilter = filter;
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
this.dsMSSQL.Common.TableNewRow += Common_TableNewRow;
if (FCOMMON.info.Login.level >= 9) toolStripButton1.Visible = true;
@@ -35,6 +37,18 @@ namespace FCM0000
private void __Load(object sender, EventArgs e)
{
+ if(this.defaultgubun.isEmpty()==false)
+ {
+ commonDataGridView.AllowUserToAddRows = false;
+ commonDataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
+ btAddNew.Visible = false;
+ }
+ else
+ {
+ btCancle.Visible = false;
+ }
+
+
this.Show();
Application.DoEvents();
@@ -46,7 +60,32 @@ namespace FCM0000
toolStripButton1.Visible = FCOMMON.info.Login.no == "dev";
// this.TopMost=true;
// this.Activate();
- cmbList_SelectedIndexChanged(null, null);
+
+
+ //자동선택해준다.
+ if (defaultgubun.isEmpty() == false)
+ {
+ RefreshCodeList();
+ var idx = -1;
+ for (int i = 0; i < this.cmbList.Items.Count; i++)
+ {
+ var itemname = $"[{i:00}]";
+ var item = cmbList.Items[i];
+ if (item.ToString().StartsWith($"[{defaultgubun}]"))
+ {
+ idx = i;
+ break;
+ }
+ }
+ if(idx > -1)
+ {
+ this.cmbList.SelectedIndex = idx;
+ this.cmbList.Enabled = false;
+ }
+ cmbList_SelectedIndexChanged(null, null);
+
+ }
+ else cmbList_SelectedIndexChanged(null, null);
}
void RefreshCodeList()
{
@@ -70,6 +109,7 @@ namespace FCM0000
try
{
this.ta.Fill(this.dsMSSQL.Common, grp, FCOMMON.info.Login.gcode);
+ this.bs.Filter = this.defafilter;
this.dsMSSQL.Common.AcceptChanges();
}
catch (Exception ex)
@@ -88,6 +128,7 @@ namespace FCM0000
{
cmbList_SelectedIndexChanged(null, null);
}
+
}
@@ -189,7 +230,7 @@ namespace FCM0000
if (cmbList.SelectedIndex <= 0)
{
if (FCOMMON.Util.MsgQ("없는 목록을 기본값에서 생성 할까요?") != DialogResult.Yes) return;
-
+
var sql = "insert into Common(gcode,grp,code,svalue,ivalue,fvalue,memo,wuid,wdate)" +
$" select '{gcode}',grp,code,svalue,ivalue,fvalue,memo,'{uid}',getdate() from Common where gcode = 'EET1P' and grp = '99'" +
$" and code not in (select code from Common where gcode = '{gcode}' and grp = '99')";
@@ -213,5 +254,45 @@ namespace FCM0000
}
}
+
+ private void commonDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+
+ }
+
+ private void btAdd_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void commonDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+
+ if (e.RowIndex < 0 || e.ColumnIndex < 0) return;
+ if (this.defaultgubun.isEmpty()) return;
+
+ this.Validate();
+ this.bs.EndEdit();
+ if (this.dsMSSQL.Common.GetChanges() != null)
+ {
+ Util.MsgE("변경된 내용이 있습니다. 저장 후 다시 시도하세요");
+ return;
+ }
+
+ var drv = bs.Current as DataRowView;
+ if (drv == null) return;
+ var dr = drv.Row as dsMSSQL.CommonRow;
+ SelectedTitle = dr.memo;
+
+ //선택된것으로 한다.
+ DialogResult = DialogResult.OK;
+ }
+ public string SelectedTitle { get; set; } = "";
+
+ private void toolStripButton2_Click_1(object sender, EventArgs e)
+ {
+ this.SelectedTitle = string.Empty;
+ this.DialogResult = DialogResult.OK;
+ }
}
}
diff --git a/SubProject/FCM0000/fCode.resx b/SubProject/FCM0000/fCode.resx
index e41ceba..6585ec7 100644
--- a/SubProject/FCM0000/fCode.resx
+++ b/SubProject/FCM0000/fCode.resx
@@ -121,10 +121,10 @@
321, 17
-
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
+ wQAADsEBuJFr7QAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
@@ -139,10 +139,10 @@
17, 17
-
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
+ wQAADsEBuJFr7QAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
@@ -154,7 +154,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -165,7 +165,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -174,7 +174,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -183,7 +183,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -191,10 +191,10 @@
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
-
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
+ wQAADsEBuJFr7QAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
@@ -213,7 +213,7 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
-
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
@@ -228,6 +228,20 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEPSURBVDhPrZI9CsJAFIRzDi9gaStYCCm8gCgIYgoRISA2
+ gj+9lXYieAJP4CXSC6YSbEQQCxsrk6fzcGI02dg4MMVu3vdlw8b6jmTkNWIOhiaViqzm86iLXk+L/UwJ
+ Hs6aTQl9X8TztOF6LfflMuq0UEiXxOHLcKg9DwbaU7+vPbquyGiUlGDRte2fMHpot1XSyOXeEgpum00E
+ IoT9UknXgClwi0XdSwgIoQhhQBSEz5MYBTwqmgbvWy0VGD+B3xmHEYBspoBv0jxhQshPAe55V6sZ69fr
+ sq1WkwIEC6dc1ivkYFoBj/P5T5iJS4JOR66O81HsEQ6CIClA8BBXhL8NwyzWPLYRZnTKkNfIP2NZD+oj
+ J+O97B4lAAAAAElFTkSuQmCC
+
+
+
+ 17, 17
+
186, 17
diff --git a/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs
index c4dfc9a..21e66de 100644
--- a/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs
+++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs
@@ -42,23 +42,25 @@
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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
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 numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = 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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType15 = 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 textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
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 numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
@@ -837,7 +839,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 = 32;
+ this.fpSpread1_Sheet1.ColumnCount = 34;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
@@ -848,31 +850,33 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Storage";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "SC#";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "SCR/CF";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "수령";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "SID#";
- 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 = "장비\r\n제조사";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "제조\r\n공정";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "장비\r\n모델";
- 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).Value = "단가($)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "단가";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).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, 7).Value = "Cost Center";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "LineCode";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "SC#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "SCR/CF";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "수령";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "SID#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "품명";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "*";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "규격";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "장비\r\n제조사";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "제조\r\n공정";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "장비\r\n모델";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "수량";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "단위";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).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).Value = "*";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "비고";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "입고예정";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "입고일";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 29).Value = "입고수량";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 30).Value = "PO#";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "삭제됨";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "프로젝트";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "*";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "비고";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 29).Value = "입고예정";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 30).Value = "입고일";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "입고수량";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "PO#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "삭제됨";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1";
@@ -922,91 +926,102 @@
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "requestName";
this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
- this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sc";
+ this.fpSpread1_Sheet1.Columns.Get(7).DataField = "costcenter";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(7).Label = "SC#";
- this.fpSpread1_Sheet1.Columns.Get(7).Tag = "sc";
+ this.fpSpread1_Sheet1.Columns.Get(7).Label = "Cost Center";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(7).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
- this.fpSpread1_Sheet1.Columns.Get(8).DataField = "orderno";
+ this.fpSpread1_Sheet1.Columns.Get(8).DataField = "linecode";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(8).Label = "SCR/CF";
- this.fpSpread1_Sheet1.Columns.Get(8).Tag = "crcf";
+ this.fpSpread1_Sheet1.Columns.Get(8).Label = "LineCode";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
- this.fpSpread1_Sheet1.Columns.Get(9).DataField = "receiveName";
- 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 = "receiveName";
+ this.fpSpread1_Sheet1.Columns.Get(9).DataField = "sc";
+ this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(9).Label = "SC#";
+ this.fpSpread1_Sheet1.Columns.Get(9).Tag = "sc";
+ this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoSort = true;
+ this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
- this.fpSpread1_Sheet1.Columns.Get(10).DataField = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(10).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(10).Label = "SID#";
- this.fpSpread1_Sheet1.Columns.Get(10).Tag = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(10).Label = "SCR/CF";
+ this.fpSpread1_Sheet1.Columns.Get(10).Tag = "crcf";
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(10).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
- this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumname";
+ this.fpSpread1_Sheet1.Columns.Get(11).DataField = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(11).Label = "품명";
- this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumname";
+ this.fpSpread1_Sheet1.Columns.Get(11).Label = "수령";
+ this.fpSpread1_Sheet1.Columns.Get(11).Tag = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.fpSpread1_Sheet1.Columns.Get(12).AllowAutoSort = true;
+ this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
+ this.fpSpread1_Sheet1.Columns.Get(12).DataField = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(12).Label = "SID#";
+ this.fpSpread1_Sheet1.Columns.Get(12).Tag = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12;
+ this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumname";
+ this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(13).Label = "품명";
+ this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumname";
+ this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType1;
- this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumidx";
- this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(12).Label = "*";
- this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11;
- this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumscale";
- this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(13).Label = "규격";
- this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumscale";
- this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType12;
- this.fpSpread1_Sheet1.Columns.Get(14).DataField = "dept";
- this.fpSpread1_Sheet1.Columns.Get(14).Label = "장비\r\n제조사";
+ this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumidx";
+ this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(14).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12;
- this.fpSpread1_Sheet1.Columns.Get(15).DataField = "manuproc";
- this.fpSpread1_Sheet1.Columns.Get(15).Label = "제조\r\n공정";
+ this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType13;
+ this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumscale";
+ this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(15).Label = "규격";
+ this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumscale";
this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
- this.fpSpread1_Sheet1.Columns.Get(16).DataField = "asset";
- this.fpSpread1_Sheet1.Columns.Get(16).Label = "장비\r\n모델";
+ this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType14;
+ this.fpSpread1_Sheet1.Columns.Get(16).DataField = "dept";
+ this.fpSpread1_Sheet1.Columns.Get(16).Label = "장비\r\n제조사";
this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType14;
+ this.fpSpread1_Sheet1.Columns.Get(17).DataField = "manuproc";
+ this.fpSpread1_Sheet1.Columns.Get(17).Label = "제조\r\n공정";
+ this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType14;
+ this.fpSpread1_Sheet1.Columns.Get(18).DataField = "asset";
+ this.fpSpread1_Sheet1.Columns.Get(18).Label = "장비\r\n모델";
+ this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.NegativeRed = true;
numberCellType2.NullDisplay = "--";
numberCellType2.Separator = ",";
numberCellType2.ShowSeparator = true;
numberCellType2.ShrinkToFit = true;
- this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType2;
- this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumqty";
- this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(17).Label = "수량";
- this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumqty";
- this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
- this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumunit";
- this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(18).Label = "단위";
- this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumqty";
+ this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(19).Label = "수량";
+ this.fpSpread1_Sheet1.Columns.Get(19).Tag = "pumqty";
+ this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType15;
+ this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumunit";
+ 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;
numberCellType3.DecimalPlaces = 2;
- this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType3;
- this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumpriceD";
- this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
- this.fpSpread1_Sheet1.Columns.Get(19).Label = "단가($)";
- this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumpriceD";
+ this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ this.fpSpread1_Sheet1.Columns.Get(21).Label = "단가($)";
+ this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.DecimalPlaces = 0;
numberCellType4.MaximumValue = 9999999999999.99D;
numberCellType4.MinimumValue = -9999999999999.99D;
@@ -1015,12 +1030,12 @@
numberCellType4.Separator = ",";
numberCellType4.ShowSeparator = true;
numberCellType4.ShrinkToFit = true;
- this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType4;
- this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumprice";
- this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
- this.fpSpread1_Sheet1.Columns.Get(20).Label = "단가";
- this.fpSpread1_Sheet1.Columns.Get(20).Tag = "pumprice";
- this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumprice";
+ this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ this.fpSpread1_Sheet1.Columns.Get(22).Label = "단가";
+ this.fpSpread1_Sheet1.Columns.Get(22).Tag = "pumprice";
+ this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F;
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 9999999999999.99D;
numberCellType5.MinimumValue = -9999999999999.99D;
@@ -1029,87 +1044,87 @@
numberCellType5.Separator = ",";
numberCellType5.ShowSeparator = true;
numberCellType5.ShrinkToFit = true;
- this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType5;
- this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumamt";
- this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
- this.fpSpread1_Sheet1.Columns.Get(21).Label = "합계금액";
- this.fpSpread1_Sheet1.Columns.Get(21).Tag = "pumamt";
- this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType14;
- this.fpSpread1_Sheet1.Columns.Get(22).DataField = "supply";
- this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(22).Label = "공급업체";
- this.fpSpread1_Sheet1.Columns.Get(22).Tag = "supply";
- this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(23).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType5;
+ this.fpSpread1_Sheet1.Columns.Get(23).DataField = "pumamt";
+ this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ this.fpSpread1_Sheet1.Columns.Get(23).Label = "합계금액";
+ this.fpSpread1_Sheet1.Columns.Get(23).Tag = "pumamt";
+ this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType16;
+ this.fpSpread1_Sheet1.Columns.Get(24).DataField = "supply";
+ 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).Tag = "supply";
+ this.fpSpread1_Sheet1.Columns.Get(24).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(25).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(23).CellType = numberCellType6;
- this.fpSpread1_Sheet1.Columns.Get(23).DataField = "supplyidx";
- 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).Visible = false;
- this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType15;
- this.fpSpread1_Sheet1.Columns.Get(24).DataField = "project";
- 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).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(25).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType6;
+ this.fpSpread1_Sheet1.Columns.Get(25).DataField = "supplyidx";
+ this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(25).Label = "*";
+ this.fpSpread1_Sheet1.Columns.Get(25).Visible = false;
+ this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(26).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType17;
+ this.fpSpread1_Sheet1.Columns.Get(26).DataField = "project";
+ this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(26).Label = "프로젝트";
+ this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(27).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(25).CellType = numberCellType7;
- this.fpSpread1_Sheet1.Columns.Get(25).DataField = "projectidx";
- this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(25).Label = "*";
- this.fpSpread1_Sheet1.Columns.Get(25).Tag = "projectidx";
- this.fpSpread1_Sheet1.Columns.Get(25).Visible = false;
- this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType16;
- this.fpSpread1_Sheet1.Columns.Get(26).DataField = "bigo";
- this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(26).Label = "비고";
- this.fpSpread1_Sheet1.Columns.Get(26).Tag = "bigo";
- this.fpSpread1_Sheet1.Columns.Get(26).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType17;
- this.fpSpread1_Sheet1.Columns.Get(27).DataField = "edate";
+ this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType7;
+ this.fpSpread1_Sheet1.Columns.Get(27).DataField = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(27).Label = "입고예정";
+ this.fpSpread1_Sheet1.Columns.Get(27).Label = "*";
+ this.fpSpread1_Sheet1.Columns.Get(27).Tag = "projectidx";
+ this.fpSpread1_Sheet1.Columns.Get(27).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType18;
- this.fpSpread1_Sheet1.Columns.Get(28).DataField = "indate";
- this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(28).Label = "입고일";
- this.fpSpread1_Sheet1.Columns.Get(28).Tag = "indate";
+ this.fpSpread1_Sheet1.Columns.Get(28).DataField = "bigo";
+ this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(28).Label = "비고";
+ this.fpSpread1_Sheet1.Columns.Get(28).Tag = "bigo";
+ this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType19;
+ this.fpSpread1_Sheet1.Columns.Get(29).DataField = "edate";
+ this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(29).Label = "입고예정";
+ this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType20;
+ this.fpSpread1_Sheet1.Columns.Get(30).DataField = "indate";
+ this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(30).Label = "입고일";
+ this.fpSpread1_Sheet1.Columns.Get(30).Tag = "indate";
+ this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F;
numberCellType8.DecimalPlaces = 0;
numberCellType8.NegativeRed = true;
numberCellType8.ShowSeparator = true;
- this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType8;
- this.fpSpread1_Sheet1.Columns.Get(29).DataField = "inqty";
- this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(29).Label = "입고수량";
- this.fpSpread1_Sheet1.Columns.Get(29).Tag = "inqty";
- this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType19;
- this.fpSpread1_Sheet1.Columns.Get(30).DataField = "po";
- this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(30).Label = "PO#";
- this.fpSpread1_Sheet1.Columns.Get(30).Tag = "po";
- this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(31).CellType = checkBoxCellType3;
- this.fpSpread1_Sheet1.Columns.Get(31).DataField = "isdel";
- this.fpSpread1_Sheet1.Columns.Get(31).Label = "삭제됨";
- this.fpSpread1_Sheet1.Columns.Get(31).Tag = "isdel";
+ this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType8;
+ this.fpSpread1_Sheet1.Columns.Get(31).DataField = "inqty";
+ this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(31).Label = "입고수량";
+ this.fpSpread1_Sheet1.Columns.Get(31).Tag = "inqty";
+ this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(31).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType21;
+ this.fpSpread1_Sheet1.Columns.Get(32).DataField = "po";
+ this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(32).Label = "PO#";
+ this.fpSpread1_Sheet1.Columns.Get(32).Tag = "po";
+ this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(33).CellType = checkBoxCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(33).DataField = "isdel";
+ this.fpSpread1_Sheet1.Columns.Get(33).Label = "삭제됨";
+ this.fpSpread1_Sheet1.Columns.Get(33).Tag = "isdel";
+ this.fpSpread1_Sheet1.Columns.Get(33).Width = 51F;
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
diff --git a/SubProject/FEQ0000/Purchase/fPurchaseNR.resx b/SubProject/FEQ0000/Purchase/fPurchaseNR.resx
index de65873..da5a465 100644
--- a/SubProject/FEQ0000/Purchase/fPurchaseNR.resx
+++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.resx
@@ -136,7 +136,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ vwAADr8BOAVTJAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -147,7 +147,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ vwAADr8BOAVTJAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -156,7 +156,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ vwAADr8BOAVTJAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -165,7 +165,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ vwAADr8BOAVTJAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -176,7 +176,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wQAADsEBuJFr7QAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
+ vwAADr8BOAVTJAAAAUpJREFUOE9jGLzg7gL2/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
@@ -211,7 +211,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wQAADsEBuJFr7QAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
+ vwAADr8BOAVTJAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
@@ -439,14 +439,14 @@
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFX8g27Cm4gIYjVN
- 6KyMrM6qw6joJPp1xq2jOpDAkDwMA6Ugy2jyHXbFZHJdZ3Ej5oGX2ZnvZXwcn+Lf49cJk0kwTd/iGePY
- n7qcxH0zC8ZEImcc4VzUd5KuoAz1l3dWKFbbEb3UnJ4nU+HMRaNAqm2cy+CaoAWXXKJPWM0jKVwXxIuF
- lihf3cB1QeD2XUpQBs8EN05rLJotscJZzTwR45lgbNngPayD8EwQLwe5zb/6gsOiBEVg3ptBYD52QWDJ
- 2XUxV4IiLDm7LuZKUIQlZ9fFXAmKsOTsupgrwX4ssd78BmZjF3SCEpRFCcqiBGX5ISib2ZUbtnryyL+x
- Yt/fGSVdwcPKl1R271osuVXmlya3y2yvsxf1nKQrGFosPa/TprDkJDu3LX4pZEVzJ8l3fLTMeZ0LBlIk
- CElcPmr6/yB+QNQbNpDTdKJxQVkC6WI8lrt6zdMG27//ZGukwaKdvZaiMbPiPUGdJCLp64fA3MFHOEsr
- kDZHCo/x+b4B5tSkjp/UTQYAAAAASUVORK5CYII=
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFXyB7oJbyIiiPUv
+ obMysjqrDoWik+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBFH2LZYxj
+ f/JyGvfNLRtT8ZxxhHNR30l6gjI0Xt5ZoVTrzOvl1uwSmQlnLpoFUuvgXAbXBC24ZJo+YTWPpHBdEC8W
+ SlO+uoHrgsDtu5SgDJ4Jbp3WWSRbZoWzunkixjPB6KrBe1iH4ZkgXg5y23/1BUdFCYrAvD/DwHzigsCS
+ s+tirgRFWHJ2XcyVoAhLzq6LuRIUYcnZdTFXgoNYYv35DcwmLugEJSiLEpRFCcryQ1A2C2s3bP3kkX9j
+ xX6wM056gofVL6ns37VZYqfCL03sVthBdy/qOUlPMLRSft6kLWHJSfZu2/xSyIrmTpLv+miZ8wYXDCRJ
+ EJK4fNwM/kH8gKg3aiCn6UTjgrIEUqVYNHf1mqdNVrz/ZBukySLdvZakUbPiPUGdxOdT1w+BxeJHOEur
+ kDZHCo/x+b4B46ykjDKzsxIAAAAASUVORK5CYII=
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
index 7f34285..bfe043c 100644
--- a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
@@ -52,6 +52,8 @@
System.Windows.Forms.Label label9;
System.Windows.Forms.Label label10;
System.Windows.Forms.Label label11;
+ System.Windows.Forms.Label label12;
+ System.Windows.Forms.Label label13;
this.tbSC = new System.Windows.Forms.TextBox();
this.tbSID = new System.Windows.Forms.TextBox();
this.tbPumName = new System.Windows.Forms.TextBox();
@@ -69,7 +71,6 @@
this.dtPdate = new System.Windows.Forms.DateTimePicker();
this.btSave = new System.Windows.Forms.Button();
this.cmbState = new System.Windows.Forms.ComboBox();
- this.cbProcess = 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();
@@ -80,6 +81,8 @@
this.chkExp = new System.Windows.Forms.CheckBox();
this.btSaveAdd = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.chk2 = new System.Windows.Forms.CheckBox();
+ this.chk1 = new System.Windows.Forms.CheckBox();
this.btSIDChk = new System.Windows.Forms.Button();
this.tbStorage = new System.Windows.Forms.TextBox();
this.tbPumPriceD = new System.Windows.Forms.TextBox();
@@ -87,23 +90,24 @@
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.tbLineCode = new System.Windows.Forms.TextBox();
+ this.tbCostCenter = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
this.button7 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.tbOrderNo = new System.Windows.Forms.TextBox();
- this.cbManuProc = new System.Windows.Forms.ComboBox();
- this.cbEQModel = new System.Windows.Forms.ComboBox();
- this.cbEQManu = new System.Windows.Forms.ComboBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
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();
this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.chk1 = new System.Windows.Forms.CheckBox();
- this.chk2 = new System.Windows.Forms.CheckBox();
+ this.btProcess = new System.Windows.Forms.Button();
+ this.btManuProc = new System.Windows.Forms.Button();
+ this.btEQManu = new System.Windows.Forms.Button();
+ this.btEQModel = new System.Windows.Forms.Button();
processLabel = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
scLabel = new System.Windows.Forms.Label();
@@ -126,6 +130,8 @@
label9 = new System.Windows.Forms.Label();
label10 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
+ label12 = new System.Windows.Forms.Label();
+ label13 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
@@ -136,17 +142,18 @@
// processLabel
//
processLabel.AutoSize = true;
- processLabel.Location = new System.Drawing.Point(57, 165);
+ processLabel.Location = new System.Drawing.Point(58, 163);
processLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
processLabel.Name = "processLabel";
processLabel.Size = new System.Drawing.Size(39, 20);
processLabel.TabIndex = 6;
processLabel.Text = "공정";
+ processLabel.Click += new System.EventHandler(this.processLabel_Click);
//
// receiveLabel
//
receiveLabel.AutoSize = true;
- receiveLabel.Location = new System.Drawing.Point(42, 95);
+ receiveLabel.Location = new System.Drawing.Point(43, 99);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(54, 20);
@@ -156,7 +163,7 @@
// scLabel
//
scLabel.AutoSize = true;
- scLabel.Location = new System.Drawing.Point(69, 195);
+ scLabel.Location = new System.Drawing.Point(70, 195);
scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
scLabel.Name = "scLabel";
scLabel.Size = new System.Drawing.Size(27, 20);
@@ -176,7 +183,7 @@
// pumscaleLabel
//
pumscaleLabel.AutoSize = true;
- pumscaleLabel.Location = new System.Drawing.Point(10, 124);
+ pumscaleLabel.Location = new System.Drawing.Point(11, 124);
pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumscaleLabel.Name = "pumscaleLabel";
pumscaleLabel.Size = new System.Drawing.Size(75, 20);
@@ -206,7 +213,7 @@
// pumamtLabel
//
pumamtLabel.AutoSize = true;
- pumamtLabel.Location = new System.Drawing.Point(47, 215);
+ pumamtLabel.Location = new System.Drawing.Point(47, 220);
pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumamtLabel.Name = "pumamtLabel";
pumamtLabel.Size = new System.Drawing.Size(39, 20);
@@ -216,7 +223,7 @@
// assetLabel
//
assetLabel.AutoSize = true;
- assetLabel.Location = new System.Drawing.Point(24, 361);
+ assetLabel.Location = new System.Drawing.Point(28, 357);
assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
assetLabel.Name = "assetLabel";
assetLabel.Size = new System.Drawing.Size(69, 20);
@@ -226,7 +233,7 @@
// poLabel
//
poLabel.AutoSize = true;
- poLabel.Location = new System.Drawing.Point(66, 225);
+ poLabel.Location = new System.Drawing.Point(67, 227);
poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
poLabel.Name = "poLabel";
poLabel.Size = new System.Drawing.Size(30, 20);
@@ -236,7 +243,7 @@
// deptLabel
//
deptLabel.AutoSize = true;
- deptLabel.Location = new System.Drawing.Point(46, 355);
+ deptLabel.Location = new System.Drawing.Point(47, 355);
deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
deptLabel.Name = "deptLabel";
deptLabel.Size = new System.Drawing.Size(39, 20);
@@ -247,7 +254,7 @@
// label1
//
label1.AutoSize = true;
- label1.Location = new System.Drawing.Point(32, 35);
+ label1.Location = new System.Drawing.Point(32, 32);
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(54, 20);
@@ -257,7 +264,7 @@
// label2
//
label2.AutoSize = true;
- label2.Location = new System.Drawing.Point(12, 325);
+ label2.Location = new System.Drawing.Point(13, 322);
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(84, 20);
@@ -267,7 +274,7 @@
// label4
//
label4.AutoSize = true;
- label4.Location = new System.Drawing.Point(24, 289);
+ label4.Location = new System.Drawing.Point(28, 291);
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(69, 20);
@@ -277,7 +284,7 @@
// label5
//
label5.AutoSize = true;
- label5.Location = new System.Drawing.Point(36, 256);
+ label5.Location = new System.Drawing.Point(38, 259);
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(59, 20);
@@ -287,7 +294,7 @@
// label3
//
label3.AutoSize = true;
- label3.Location = new System.Drawing.Point(46, 62);
+ label3.Location = new System.Drawing.Point(47, 63);
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(39, 20);
@@ -308,7 +315,7 @@
//
label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
label7.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- label7.Location = new System.Drawing.Point(11, 539);
+ label7.Location = new System.Drawing.Point(11, 596);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Padding = new System.Windows.Forms.Padding(5);
@@ -320,7 +327,7 @@
//
label8.AutoSize = true;
label8.ForeColor = System.Drawing.Color.Blue;
- label8.Location = new System.Drawing.Point(29, 182);
+ label8.Location = new System.Drawing.Point(29, 187);
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(57, 20);
@@ -332,7 +339,7 @@
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, 186);
+ label9.Location = new System.Drawing.Point(285, 191);
label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label9.Name = "label9";
label9.Size = new System.Drawing.Size(163, 15);
@@ -342,7 +349,7 @@
// label10
//
label10.AutoSize = true;
- label10.Location = new System.Drawing.Point(287, 215);
+ label10.Location = new System.Drawing.Point(287, 220);
label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label10.Name = "label10";
label10.Size = new System.Drawing.Size(75, 20);
@@ -352,13 +359,33 @@
// label11
//
label11.AutoSize = true;
- label11.Location = new System.Drawing.Point(27, 129);
+ label11.Location = new System.Drawing.Point(28, 131);
label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label11.Name = "label11";
label11.Size = new System.Drawing.Size(69, 20);
label11.TabIndex = 37;
label11.Text = "입고수량";
//
+ // label12
+ //
+ label12.AutoSize = true;
+ label12.Location = new System.Drawing.Point(19, 419);
+ label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label12.Name = "label12";
+ label12.Size = new System.Drawing.Size(78, 20);
+ label12.TabIndex = 41;
+ label12.Text = "Line Code";
+ //
+ // label13
+ //
+ label13.AutoSize = true;
+ label13.Location = new System.Drawing.Point(8, 387);
+ label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label13.Name = "label13";
+ label13.Size = new System.Drawing.Size(89, 20);
+ label13.TabIndex = 39;
+ label13.Text = "Cost Center";
+ //
// tbSC
//
this.tbSC.Location = new System.Drawing.Point(104, 191);
@@ -366,6 +393,7 @@
this.tbSC.Name = "tbSC";
this.tbSC.Size = new System.Drawing.Size(286, 27);
this.tbSC.TabIndex = 9;
+ this.tbSC.TextChanged += new System.EventHandler(this.tbSC_TextChanged);
//
// tbSID
//
@@ -434,7 +462,7 @@
//
// tbPumAmt
//
- this.tbPumAmt.Location = new System.Drawing.Point(93, 212);
+ this.tbPumAmt.Location = new System.Drawing.Point(93, 217);
this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4);
this.tbPumAmt.Name = "tbPumAmt";
this.tbPumAmt.ReadOnly = true;
@@ -489,7 +517,7 @@
//
// tbPO
//
- this.tbPO.Location = new System.Drawing.Point(104, 222);
+ this.tbPO.Location = new System.Drawing.Point(104, 223);
this.tbPO.Margin = new System.Windows.Forms.Padding(4);
this.tbPO.Name = "tbPO";
this.tbPO.Size = new System.Drawing.Size(286, 27);
@@ -503,7 +531,7 @@
this.tbBigo.MaxLength = 500;
this.tbBigo.Multiline = true;
this.tbBigo.Name = "tbBigo";
- this.tbBigo.Size = new System.Drawing.Size(381, 130);
+ this.tbBigo.Size = new System.Drawing.Size(381, 186);
this.tbBigo.TabIndex = 28;
this.tbBigo.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip"));
@@ -518,7 +546,7 @@
//
// btSave
//
- this.btSave.Location = new System.Drawing.Point(11, 648);
+ this.btSave.Location = new System.Drawing.Point(11, 705);
this.btSave.Margin = new System.Windows.Forms.Padding(4);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(490, 43);
@@ -538,19 +566,6 @@
this.cmbState.TabIndex = 5;
this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
- // cbProcess
- //
- this.cbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
- this.cbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbProcess.FormattingEnabled = true;
- this.cbProcess.Location = new System.Drawing.Point(104, 160);
- this.cbProcess.Margin = new System.Windows.Forms.Padding(4);
- this.cbProcess.Name = "cbProcess";
- this.cbProcess.Size = new System.Drawing.Size(286, 28);
- this.cbProcess.TabIndex = 7;
- //
// cmbRequest
//
this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
@@ -647,7 +662,7 @@
//
// btSaveAdd
//
- this.btSaveAdd.Location = new System.Drawing.Point(511, 648);
+ this.btSaveAdd.Location = new System.Drawing.Point(511, 705);
this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4);
this.btSaveAdd.Name = "btSaveAdd";
this.btSaveAdd.Size = new System.Drawing.Size(410, 43);
@@ -699,10 +714,33 @@
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, 525);
+ this.groupBox1.Size = new System.Drawing.Size(490, 582);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "필수입력";
+ this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
+ //
+ // chk2
+ //
+ this.chk2.AutoSize = true;
+ this.chk2.Enabled = false;
+ this.chk2.Location = new System.Drawing.Point(201, 548);
+ this.chk2.Name = "chk2";
+ this.chk2.Size = new System.Drawing.Size(133, 24);
+ this.chk2.TabIndex = 42;
+ this.chk2.Text = "구매담당자확인";
+ this.chk2.UseVisualStyleBackColor = true;
+ //
+ // chk1
+ //
+ this.chk1.AutoSize = true;
+ this.chk1.Enabled = false;
+ this.chk1.Location = new System.Drawing.Point(94, 548);
+ this.chk1.Name = "chk1";
+ this.chk1.Size = new System.Drawing.Size(103, 24);
+ this.chk1.TabIndex = 41;
+ this.chk1.Text = "요청자확인";
+ this.chk1.UseVisualStyleBackColor = true;
//
// btSIDChk
//
@@ -713,12 +751,12 @@
this.btSIDChk.TabIndex = 40;
this.btSIDChk.Text = "SID 검사(SPR/NR)";
this.btSIDChk.UseVisualStyleBackColor = false;
- this.btSIDChk.Click += new System.EventHandler(this.button8_Click);
+ this.btSIDChk.Click += new System.EventHandler(this.btSIDChk_Click);
//
// 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, 212);
+ this.tbStorage.Location = new System.Drawing.Point(370, 217);
this.tbStorage.Margin = new System.Windows.Forms.Padding(4);
this.tbStorage.Name = "tbStorage";
this.tbStorage.Size = new System.Drawing.Size(104, 27);
@@ -727,7 +765,7 @@
// tbPumPriceD
//
this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue;
- this.tbPumPriceD.Location = new System.Drawing.Point(94, 179);
+ this.tbPumPriceD.Location = new System.Drawing.Point(94, 184);
this.tbPumPriceD.Margin = new System.Windows.Forms.Padding(4);
this.tbPumPriceD.Name = "tbPumPriceD";
this.tbPumPriceD.Size = new System.Drawing.Size(178, 27);
@@ -737,7 +775,7 @@
//
// button3
//
- this.button3.Location = new System.Drawing.Point(9, 320);
+ this.button3.Location = new System.Drawing.Point(6, 320);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(80, 27);
this.button3.TabIndex = 34;
@@ -748,7 +786,7 @@
//
// button2
//
- this.button2.Location = new System.Drawing.Point(9, 288);
+ this.button2.Location = new System.Drawing.Point(6, 288);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(80, 27);
this.button2.TabIndex = 33;
@@ -758,7 +796,7 @@
//
// button1
//
- this.button1.Location = new System.Drawing.Point(9, 91);
+ this.button1.Location = new System.Drawing.Point(6, 91);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(80, 27);
this.button1.TabIndex = 32;
@@ -769,6 +807,14 @@
// groupBox2
//
this.groupBox2.BackColor = System.Drawing.Color.Gainsboro;
+ this.groupBox2.Controls.Add(this.btEQModel);
+ this.groupBox2.Controls.Add(this.btEQManu);
+ this.groupBox2.Controls.Add(this.btManuProc);
+ this.groupBox2.Controls.Add(this.btProcess);
+ this.groupBox2.Controls.Add(this.tbLineCode);
+ this.groupBox2.Controls.Add(label12);
+ this.groupBox2.Controls.Add(this.tbCostCenter);
+ this.groupBox2.Controls.Add(label13);
this.groupBox2.Controls.Add(this.tbInQty);
this.groupBox2.Controls.Add(label11);
this.groupBox2.Controls.Add(this.button7);
@@ -777,11 +823,8 @@
this.groupBox2.Controls.Add(this.button4);
this.groupBox2.Controls.Add(this.tbOrderNo);
this.groupBox2.Controls.Add(label5);
- this.groupBox2.Controls.Add(this.cbManuProc);
this.groupBox2.Controls.Add(label4);
this.groupBox2.Controls.Add(this.chkExp);
- this.groupBox2.Controls.Add(this.cbEQModel);
- this.groupBox2.Controls.Add(this.cbEQManu);
this.groupBox2.Controls.Add(label2);
this.groupBox2.Controls.Add(this.chkInDate);
this.groupBox2.Controls.Add(this.dtExpDate);
@@ -795,19 +838,34 @@
this.groupBox2.Controls.Add(assetLabel);
this.groupBox2.Controls.Add(this.cmbReceive);
this.groupBox2.Controls.Add(processLabel);
- this.groupBox2.Controls.Add(this.cbProcess);
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, 524);
+ this.groupBox2.Size = new System.Drawing.Size(409, 581);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "추가정보";
//
+ // tbLineCode
+ //
+ this.tbLineCode.Location = new System.Drawing.Point(104, 418);
+ this.tbLineCode.Margin = new System.Windows.Forms.Padding(4);
+ this.tbLineCode.Name = "tbLineCode";
+ this.tbLineCode.Size = new System.Drawing.Size(286, 27);
+ this.tbLineCode.TabIndex = 42;
+ //
+ // tbCostCenter
+ //
+ this.tbCostCenter.Location = new System.Drawing.Point(104, 386);
+ this.tbCostCenter.Margin = new System.Windows.Forms.Padding(4);
+ this.tbCostCenter.Name = "tbCostCenter";
+ this.tbCostCenter.Size = new System.Drawing.Size(286, 27);
+ this.tbCostCenter.TabIndex = 40;
+ //
// tbInQty
//
- this.tbInQty.Location = new System.Drawing.Point(104, 125);
+ this.tbInQty.Location = new System.Drawing.Point(104, 126);
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 27);
@@ -816,7 +874,7 @@
//
// button7
//
- this.button7.Location = new System.Drawing.Point(6, 489);
+ this.button7.Location = new System.Drawing.Point(4, 547);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(93, 27);
this.button7.TabIndex = 36;
@@ -826,7 +884,7 @@
//
// button6
//
- this.button6.Location = new System.Drawing.Point(6, 457);
+ this.button6.Location = new System.Drawing.Point(4, 515);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(93, 27);
this.button6.TabIndex = 35;
@@ -836,7 +894,7 @@
//
// button5
//
- this.button5.Location = new System.Drawing.Point(6, 425);
+ this.button5.Location = new System.Drawing.Point(4, 483);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(93, 27);
this.button5.TabIndex = 34;
@@ -846,7 +904,7 @@
//
// button4
//
- this.button4.Location = new System.Drawing.Point(6, 393);
+ this.button4.Location = new System.Drawing.Point(4, 451);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(93, 27);
this.button4.TabIndex = 33;
@@ -857,56 +915,16 @@
// 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, 253);
+ this.tbOrderNo.Location = new System.Drawing.Point(104, 255);
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;
//
- // cbManuProc
- //
- this.cbManuProc.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
- this.cbManuProc.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbManuProc.FormattingEnabled = true;
- this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul;
- this.cbManuProc.Location = new System.Drawing.Point(104, 286);
- this.cbManuProc.Margin = new System.Windows.Forms.Padding(4);
- this.cbManuProc.Name = "cbManuProc";
- this.cbManuProc.Size = new System.Drawing.Size(286, 28);
- this.cbManuProc.TabIndex = 15;
- //
- // cbEQModel
- //
- this.cbEQModel.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
- this.cbEQModel.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbEQModel.FormattingEnabled = true;
- this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul;
- this.cbEQModel.Location = new System.Drawing.Point(104, 358);
- this.cbEQModel.Margin = new System.Windows.Forms.Padding(4);
- this.cbEQModel.Name = "cbEQModel";
- this.cbEQModel.Size = new System.Drawing.Size(286, 28);
- this.cbEQModel.TabIndex = 19;
- //
- // cbEQManu
- //
- this.cbEQManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
- this.cbEQManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbEQManu.FormattingEnabled = true;
- this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul;
- this.cbEQManu.Location = new System.Drawing.Point(104, 322);
- this.cbEQManu.Margin = new System.Windows.Forms.Padding(4);
- this.cbEQManu.Name = "cbEQManu";
- this.cbEQManu.Size = new System.Drawing.Size(286, 28);
- this.cbEQManu.TabIndex = 17;
- this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged);
- //
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.Color.Gray;
- this.pictureBox1.Location = new System.Drawing.Point(104, 393);
+ this.pictureBox1.Location = new System.Drawing.Point(104, 451);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(286, 123);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
@@ -933,39 +951,63 @@
this.timer1.Interval = 250;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
- // chk1
+ // btProcess
//
- this.chk1.AutoSize = true;
- this.chk1.Enabled = false;
- this.chk1.Location = new System.Drawing.Point(94, 494);
- this.chk1.Name = "chk1";
- this.chk1.Size = new System.Drawing.Size(103, 24);
- this.chk1.TabIndex = 41;
- this.chk1.Text = "요청자확인";
- this.chk1.UseVisualStyleBackColor = true;
+ this.btProcess.Location = new System.Drawing.Point(104, 158);
+ this.btProcess.Name = "btProcess";
+ this.btProcess.Size = new System.Drawing.Size(286, 28);
+ this.btProcess.TabIndex = 43;
+ this.btProcess.Tag = "09";
+ this.btProcess.Text = "공용코드 09";
+ this.toolTip1.SetToolTip(this.btProcess, "공용코드(09)");
+ this.btProcess.UseVisualStyleBackColor = true;
+ this.btProcess.Click += new System.EventHandler(this.btProcess_Click);
//
- // chk2
+ // btManuProc
//
- this.chk2.AutoSize = true;
- this.chk2.Enabled = false;
- this.chk2.Location = new System.Drawing.Point(201, 494);
- this.chk2.Name = "chk2";
- this.chk2.Size = new System.Drawing.Size(133, 24);
- this.chk2.TabIndex = 42;
- this.chk2.Text = "구매담당자확인";
- this.chk2.UseVisualStyleBackColor = true;
+ this.btManuProc.Location = new System.Drawing.Point(104, 286);
+ this.btManuProc.Name = "btManuProc";
+ this.btManuProc.Size = new System.Drawing.Size(286, 28);
+ this.btManuProc.TabIndex = 44;
+ this.btManuProc.Tag = "08";
+ this.btManuProc.Text = "공용코드 08";
+ this.btManuProc.UseVisualStyleBackColor = true;
+ this.btManuProc.Click += new System.EventHandler(this.btProcess_Click);
+ //
+ // btEQManu
+ //
+ this.btEQManu.Location = new System.Drawing.Point(104, 319);
+ this.btEQManu.Name = "btEQManu";
+ this.btEQManu.Size = new System.Drawing.Size(286, 28);
+ this.btEQManu.TabIndex = 45;
+ this.btEQManu.Tag = "06";
+ this.btEQManu.Text = "공용코드 06";
+ this.btEQManu.UseVisualStyleBackColor = true;
+ this.btEQManu.Click += new System.EventHandler(this.btProcess_Click);
+ //
+ // btEQModel
+ //
+ this.btEQModel.Location = new System.Drawing.Point(104, 353);
+ this.btEQModel.Name = "btEQModel";
+ this.btEQModel.Size = new System.Drawing.Size(286, 28);
+ this.btEQModel.TabIndex = 46;
+ this.btEQModel.Tag = "07";
+ this.btEQModel.Text = "공용코드 07";
+ this.btEQModel.UseVisualStyleBackColor = true;
+ this.btEQModel.Click += new System.EventHandler(this.button8_Click_1);
//
// fPurchase_Add
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(928, 701);
+ this.ClientSize = new System.Drawing.Size(928, 761);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.btSaveAdd);
this.Controls.Add(this.btSave);
this.Controls.Add(label7);
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.MaximizeBox = false;
this.MinimizeBox = false;
@@ -1003,7 +1045,6 @@
private System.Windows.Forms.DateTimePicker dtPdate;
private System.Windows.Forms.Button btSave;
private System.Windows.Forms.ComboBox cmbState;
- private System.Windows.Forms.ComboBox cbProcess;
private System.Windows.Forms.ComboBox cmbRequest;
private System.Windows.Forms.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbPumStock;
@@ -1019,10 +1060,7 @@
private dsPurchase dsPurchase;
private System.Windows.Forms.BindingSource purchaseBindingSource;
private dsPurchaseTableAdapters.PurchaseTableAdapter purchaseTableAdapter;
- private System.Windows.Forms.ComboBox cbEQManu;
- private System.Windows.Forms.ComboBox cbEQModel;
private System.Windows.Forms.ToolTip toolTip1;
- private System.Windows.Forms.ComboBox cbManuProc;
private System.Windows.Forms.TextBox tbOrderNo;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
@@ -1038,5 +1076,11 @@
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.CheckBox chk2;
private System.Windows.Forms.CheckBox chk1;
+ private System.Windows.Forms.TextBox tbLineCode;
+ private System.Windows.Forms.TextBox tbCostCenter;
+ private System.Windows.Forms.Button btProcess;
+ private System.Windows.Forms.Button btManuProc;
+ private System.Windows.Forms.Button btEQManu;
+ private System.Windows.Forms.Button btEQModel;
}
}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
index de0a145..9a634c8 100644
--- a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
@@ -1,4 +1,5 @@
-using FCOMMON;
+using FCM0000.Mail;
+using FCOMMON;
using FEQ0000.Purchase;
using System;
using System.Collections.Generic;
@@ -18,7 +19,8 @@ namespace FEQ0000
dsPurchase.PurchaseRow dr;
public Boolean repeatAdd = false;
Boolean binit = false;
- string sidchk = string.Empty;
+ string sidchk1 = string.Empty;
+ string dbchk1 = string.Empty;
public fPurchase_Add(dsPurchase.PurchaseRow dr_)
{
@@ -53,10 +55,6 @@ namespace FEQ0000
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);
//상태
@@ -65,39 +63,6 @@ namespace FEQ0000
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)
@@ -160,26 +125,34 @@ namespace FEQ0000
tbSID.Text = dr.sid;
tbSID.Tag = tbSID.Text;
+ //230728
+ if (dr.IscostcenterNull() == false)
+ tbCostCenter.Text = dr.costcenter;
+ else tbCostCenter.Text = string.Empty;
+ if (dr.IslinecodeNull() == false)
+ tbLineCode.Text = dr.linecode;
+ else tbLineCode.Text = string.Empty;
- if (dr.manuproc == "") cbManuProc.SelectedIndex = -1;
- else cbManuProc.Text = dr.manuproc; //190106
+ if (dr.IsmanuprocNull() == false)
+ btManuProc.Text = dr.manuproc;
+ else
+ btManuProc.Text = string.Empty;
- if (dr.dept == "") cbEQManu.SelectedIndex = -1;
- else cbEQManu.Text = dr.dept; //제조사
- if (cbEQManu.SelectedIndex == -1)
+ //if (dr.manuproc == "") btManuProc.SelectedIndex = -1;
+ //else btManuProc.Text = dr.manuproc; //190106
+ if (dr.IsdeptNull() == false)
+ btEQManu.Text = dr.dept;
+ else
+ btEQManu.Text = string.Empty;
+
+ if (btEQManu.Text.isEmpty())
{
if (dr.asset != "") FCOMMON.Util.MsgE(
string.Format("장비 모델 명({0})이 있지만 해당 제조사가 없으므로 모델명이 제거 됩니다. 모델을 다시 지정 하세요", dr.asset));
- cbEQModel.SelectedIndex = -1;
- }
- else
- {
- cbEQModel.Text = dr.asset; //제조모델명
- if (cbEQModel.SelectedIndex == -1)
- {
- //FCOMMON.Util.MsgE("모델을 다시 선택하세요");
- }
+ btEQModel.Text = string.Empty;
}
+ else btEQModel.Text = dr.asset; //제조모델명
+
tbPumName.Text = dr.pumname;
@@ -205,14 +178,13 @@ namespace FEQ0000
cmbState.Text = dr.state;
-
- if (dr.process == "") cbProcess.SelectedIndex = -1;
- else cbProcess.Text = dr.process;
- if (cbProcess.SelectedIndex == -1)
+ if (dr.IsprocessNull() == false) btProcess.Text = dr.process;
+ else btProcess.Text = string.Empty;
+ if (btProcess.Text.isEmpty())
{
//181203 - 이 사용자가 마지막으로 사용한 공정값을 사용한다.
var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc");
- if (lastprocess != "") cbProcess.Text = lastprocess;
+ if (lastprocess != "") btProcess.Text = lastprocess;
}
chk1.Checked = dr.chk1;
@@ -285,9 +257,9 @@ namespace FEQ0000
binit = true;
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Added)
- sidchk = string.Empty;
+ sidchk1 = string.Empty;
else
- sidchk = tbSID.Text.Trim();
+ sidchk1 = tbSID.Text.Trim();
timer1.Start();
@@ -313,7 +285,7 @@ namespace FEQ0000
case "cmbrequest":
//요청자가 마지막으로 입력한 자료의 process 를 찾아서 기입해준다.
var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc");
- if (lastprocess != "") cbProcess.Text = lastprocess;
+ if (lastprocess != "") btProcess.Text = lastprocess;
tbSID.Focus();
break;
case "tbpumname":
@@ -340,6 +312,8 @@ namespace FEQ0000
{
if (search == "" && allowAll == false)
{
+ dbchk1 = string.Empty;
+ sidchk1 = string.Empty;
FCOMMON.Util.MsgE("품명은 필수 값 입니다");
tbPumName.Focus();
return;
@@ -349,6 +323,8 @@ namespace FEQ0000
var f = new FCM0000.fLovItem(search);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
+ dbchk1 = f.itemName;
+
//인덱스값이 다르면 모델 및 가격을 업데이트 한다.
tbPumName.Text = f.itemName;
tbPumName.Tag = f.itemName;
@@ -445,6 +421,23 @@ namespace FEQ0000
tbSID.Text = sidTrim(tbSID.Text);
+ if (dbchk1.isEmpty())
+ {
+ Util.MsgE("품목 검사가 진행되지 않았습니다\n품명을 입력한 후 엔터를 누르거나 [품명] 버튼을 눌러서 검색을 수행한 후 다시 시도하세요");
+ tbPumName.Focus();
+ Lov_Item(tbPumName.Text, true);
+ return false;
+ }
+
+ //시드검사한 자료와 현재 입력된 시드가 다르면 검사를 다시 하게 한다
+ if (this.tbPumName.Text.Trim().Equals(this.dbchk1) == false)
+ {
+ Util.MsgE("품명검사 자료가 변경되었습니다. 다시 검사 하세요");
+ Lov_Item("", true);
+ dbchk1 = string.Empty;
+ return false;
+ }
+
if (tbSID.Text.Equals("신규") || tbSID.Text.isEmpty())
{
@@ -452,7 +445,7 @@ namespace FEQ0000
}
else
{
- if (string.IsNullOrWhiteSpace(this.sidchk))
+ if (string.IsNullOrWhiteSpace(this.sidchk1))
{
FCOMMON.Util.MsgE("SID검사가 필요합니다.\n상단의 검사 버튼을 눌러 SPR/NR 재고 여부를 확인 하세요");
btSIDChk.Focus();
@@ -460,14 +453,14 @@ namespace FEQ0000
}
//시드검사한 자료와 현재 입력된 시드가 다르면 검사를 다시 하게 한다
- if (this.tbSID.Text.Trim().Equals(this.sidchk) == false)
+ if (this.tbSID.Text.Trim().Equals(this.sidchk1) == false)
{
Util.MsgE("SID검사 자료가 변경되었습니다. 다시 검사 하세요");
- sidchk = string.Empty;
+ sidchk1 = string.Empty;
return false;
}
}
-
+
//if (cbProcess.Text.Trim() == "")
@@ -551,77 +544,65 @@ namespace FEQ0000
var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00");
if (overtime.TotalSeconds > 0)
{
- if (advInput == true && this.cbProcess.Text.Trim() == "")
+ if (advInput == true && this.btProcess.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");
+ "선택 대상이 없는 경우 문의 바랍니다.\n\n");
if (dlg != System.Windows.Forms.DialogResult.Yes)
{
- cbProcess.Focus();
+ btProcess.Focus();
return false;
}
}
else
{
FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" +
- "선택 대상이 없는 경우 문의 바랍니다.\n\n" +
- "BongSeok Jung(T.7191)\n" +
- "BongSeok.Jung@amkor.co.kr");
+ "선택 대상이 없는 경우 문의 바랍니다.\n\n");
- cbProcess.Focus();
+ btProcess.Focus();
return false;
}
}
- if (advInput == true && cbManuProc.Text.Trim() == "")
+ if (advInput == true && btManuProc.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");
+ "선택 대상이 없는 경우 문의 바랍니다.\n\n");
if (dlg != System.Windows.Forms.DialogResult.Yes)
{
- cbManuProc.Focus();
+ btManuProc.Focus();
return false;
}
}
else
{
FCOMMON.Util.MsgE("[제조공정]을 선택하세요\n\n" +
- "선택 대상이 없는 경우 문의 바랍니다.\n\n" +
- "BongSeok Jung(T.7191)\n" +
- "BongSeok.Jung@amkor.co.kr");
+ "선택 대상이 없는 경우 문의 바랍니다.\n\n");
- cbManuProc.Focus();
+ btManuProc.Focus();
return false;
}
}
- if (advInput == true && this.cbEQManu.Text.Trim() == "")
+ if (advInput == true && this.btEQManu.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");
+ "선택 대상이 없는 경우 문의 바랍니다.\n\n");
if (dlg != System.Windows.Forms.DialogResult.Yes)
{
- cbEQManu.Focus();
+ btEQManu.Focus();
return false;
}
}
else
{
FCOMMON.Util.MsgE("[장비제조사]를 선택하세요.\n\n" +
- "선택 대상이 없는 경우 문의 바랍니다.\n\n" +
- "BongSeok Jung(T.7191)\n" +
- "BongSeok.Jung@amkor.co.kr");
- cbEQManu.Focus();
+ "선택 대상이 없는 경우 문의 바랍니다.\n\n");
+ btEQManu.Focus();
return false;
}
}
@@ -711,9 +692,9 @@ namespace FEQ0000
dr.sid = tbSID.Text;
- dr.asset = cbEQModel.Text;
- dr.dept = cbEQManu.Text;
- dr.manuproc = cbManuProc.Text;
+ dr.asset = btEQModel.Text;
+ dr.dept = btEQManu.Text;
+ dr.manuproc = btManuProc.Text;
dr.pumname = tbPumName.Text;
dr.pumname = dr.pumname.Replace("*", "x"); //181031
@@ -724,6 +705,8 @@ namespace FEQ0000
dr.supply = tbSupply.Text;
dr.place = tbStorage.Text;
+ dr.costcenter = tbCostCenter.Text;
+ dr.linecode = tbLineCode.Text;
if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();
else dr.supplyidx = int.Parse(tbSupplyIndex.Text);
@@ -739,7 +722,7 @@ namespace FEQ0000
else
dr.receive = cmbReceive.Text.Trim();
- dr.process = cbProcess.Text;
+ dr.process = btProcess.Text;
dr.sc = tbSC.Text;
dr.po = tbPO.Text;
dr.orderno = tbOrderNo.Text;
@@ -872,32 +855,8 @@ namespace FEQ0000
}
- private void imgpase_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
- {
- }
- private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
- {
-
- }
-
- private void cbEQManu_SelectedIndexChanged(object sender, EventArgs e)
- {
- string 원본모델 = cbEQModel.Text;
-
- //장비모델 필터를 변경해준다.
- if (cbEQManu.SelectedIndex < 0)
- {
- cbEQModel.SelectedIndex = -1;
- return;
- }
-
- string filter = "svalue='" + cbEQManu.Text.Replace("'", "''") + "'";
- bsModel.Filter = filter;
- if (원본모델 != "") cbEQModel.Text = 원본모델;
- else cbEQModel.SelectedIndex = -1;
- }
private void linkLabel6_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
@@ -940,7 +899,7 @@ namespace FEQ0000
private void tbPumName_Click(object sender, EventArgs e)
{
- Lov_Item("", true);
+ //Lov_Item("", true);
}
private void tbPumName_TextChanged(object sender, EventArgs e)
@@ -1048,7 +1007,7 @@ namespace FEQ0000
else tbPumPrice.Text = "0";
}
- private void button8_Click(object sender, EventArgs e)
+ private void btSIDChk_Click(object sender, EventArgs e)
{
var sid = tbSID.Text.Trim();
@@ -1074,17 +1033,17 @@ namespace FEQ0000
if (f.ShowDialog() == DialogResult.OK)
{
dr.chk1 = true;
- this.sidchk = sid;
+ this.sidchk1 = sid;
}
else
{
- FCOMMON.Util.MsgE("목록표시 창에서 '확인' 버튼을 눌러야 SID검색이 완료됩니다.");
+ Util.MsgE("목록표시 창에서 '확인' 버튼을 눌러야 SID검색이 완료됩니다.");
}
}
else
{
- FCOMMON.Util.MsgI("SPM/NR 에서 검색된 정보가 없습니다\n저장이 가능 합니다");
- this.sidchk = sid;
+ Util.MsgI("SPM/NR 에서 검색된 정보가 없습니다\n저장이 가능 합니다");
+ this.sidchk1 = sid;
}
}
@@ -1107,7 +1066,7 @@ namespace FEQ0000
}
else
{
- if (string.IsNullOrWhiteSpace(sidchk))
+ if (string.IsNullOrWhiteSpace(sidchk1))
{
if (btSIDChk.BackColor == Color.Lime)
btSIDChk.BackColor = Color.White;
@@ -1118,5 +1077,75 @@ namespace FEQ0000
}
}
+
+ private void processLabel_Click(object sender, EventArgs e)
+ {
+ //var f = new FCM0000.fCode("09");
+ //var dlg = f.ShowDialog();
+ //if (dlg == DialogResult.OK)
+ //{
+ // //장비기술공정
+ // var dt = FCOMMON.DBM.getCodeTable("09");
+ // this.cbProcess.DataSource = dt;
+ // cbProcess.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1;
+ //}
+ }
+
+ private void groupBox1_Enter(object sender, EventArgs e)
+ {
+
+ }
+
+ private void btProcess_Click(object sender, EventArgs e)
+ {
+ var bt = sender as Button;
+ var guun = bt.Tag.ToString();
+ var f = new FCM0000.fCode(guun);
+ var dlg = f.ShowDialog();
+ if (dlg == DialogResult.OK)
+ {
+ //장비기술공정;
+ bt.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1;
+ }
+ }
+
+ private void tbSC_TextChanged(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ private void cbEQModel_SelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void cbEQManu_SelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void button8_Click_1(object sender, EventArgs e)
+ {
+ if (btEQManu.Text.isEmpty())
+ {
+ Util.MsgE("장비 제조사가 선택되지 않았습니다");
+ btEQManu.Focus();
+ return;
+ }
+
+ string filter = "svalue='" + btEQManu.Text.Replace("'", "''") + "'";
+
+ var bt = sender as Button;
+ var guun = bt.Tag.ToString();
+ var f = new FCM0000.fCode(guun, filter);
+ var dlg = f.ShowDialog();
+ if (dlg == DialogResult.OK)
+ {
+ //장비기술공정;
+ bt.Text = f.SelectedTitle;// cbProcess.SelectedIndex = -1;
+ }
+ }
}
}
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx
index 4f8df88..1e7a148 100644
--- a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx
@@ -202,6 +202,12 @@
False
+
+ False
+
+
+ False
+
* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
diff --git a/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs b/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs
index 44db65c..d86699d 100644
--- a/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs
+++ b/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs
@@ -100,7 +100,7 @@ namespace FEQ0000.Purchase
var dt = Amkor.RestfulService.SPMSIDSearch(sid);
if (dt.Complete)
{
- dr.sitecnt = $"{dt.Result.Rows.Count}";
+ dr.sitecnt = $"{dt.Result.Rows.Count}건";
}
else
{
@@ -134,7 +134,7 @@ namespace FEQ0000.Purchase
var dt = Amkor.RestfulService.SPMSIDSearch(sid);
if (dt.Complete)
{
- dr.sitecnt = $"{dt.Result.Rows.Count}";
+ dr.sitecnt = $"{dt.Result.Rows.Count}건";
var f = new fSIDListSelect(sid, dt.Result);
f.ShowDialog();
}
diff --git a/SubProject/FEQ0000/Purchase/fSIDListSelect.cs b/SubProject/FEQ0000/Purchase/fSIDListSelect.cs
index 4f14ca4..9747d0b 100644
--- a/SubProject/FEQ0000/Purchase/fSIDListSelect.cs
+++ b/SubProject/FEQ0000/Purchase/fSIDListSelect.cs
@@ -20,6 +20,11 @@ namespace FEQ0000.Purchase
this.dv1.DataSource = this.bs;
this.bs.Sort = "quantity desc";
this.Text = $"SPM/NR 검색 결과 SID:{sid}";
+ this.KeyPreview = true;
+ this.KeyDown += (s1, e1) => {
+ if (e1.KeyCode == Keys.Escape) this.Close();
+ };
+ this.Width += 150;
}
private void toolStripButton1_Click(object sender, EventArgs e)
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs
index c5daa25..8498235 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs
@@ -37,25 +37,27 @@
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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType12 = 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.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.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.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ 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.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.dsPurchase = new FEQ0000.dsPurchase();
@@ -93,6 +95,7 @@
this.sAP구매신청엑셀작성ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripButton5 = new System.Windows.Forms.ToolStripDropDownButton();
this.선택해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -139,7 +142,6 @@
this.label1 = new System.Windows.Forms.Label();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
- this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -456,10 +458,19 @@
// 선택해제ToolStripMenuItem
//
this.선택해제ToolStripMenuItem.Name = "선택해제ToolStripMenuItem";
- this.선택해제ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.선택해제ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.선택해제ToolStripMenuItem.Text = "선택해제";
this.선택해제ToolStripMenuItem.Click += new System.EventHandler(this.선택해제ToolStripMenuItem_Click);
//
+ // 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(70, 23);
+ this.toolStripButton6.Text = "SID검사";
+ this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click_1);
+ //
// cm1
//
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
@@ -850,7 +861,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 = 28;
+ this.fpSpread1_Sheet1.ColumnCount = 30;
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
@@ -864,51 +875,55 @@
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, 4).Value = "Cost Center";
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, 5).Value = "LineCode";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "SC#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "SCR/CF";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).ColumnSpan = 10;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "품목정보";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "*";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 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).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(0, 19).Value = "프로젝트";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "*";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "비고";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).ColumnSpan = 5;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "입고";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "입고일";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "입고수량";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "IDX";
- 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.Cells.Get(0, 27).Value = "PO#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "삭제됨";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 29).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 29).Value = "IDX";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "품명";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "*";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "SID#";
+ 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, 16).Value = "금액";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).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.Cells.Get(1, 25).Value = "수량";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 29F;
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 35F;
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
@@ -940,72 +955,80 @@
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).DataField = "costcenter";
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).DataField = "linecode";
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).DataField = "sc";
+ this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(6).Tag = "sc";
+ this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
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)))));
+ this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
+ this.fpSpread1_Sheet1.Columns.Get(7).DataField = "orderno";
+ this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(7).Tag = "crcf";
+ this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(7).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
+ this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumname";
+ this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(8).Label = "품명";
+ this.fpSpread1_Sheet1.Columns.Get(8).Tag = "pumname";
+ this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(9).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).Tag = "pumidx";
- 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).Tag = "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).CellType = numberCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumidx";
+ 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).Tag = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
+ this.fpSpread1_Sheet1.Columns.Get(10).DataField = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(10).Label = "SID#";
+ this.fpSpread1_Sheet1.Columns.Get(10).Tag = "sid";
+ this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
+ this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale";
+ this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(11).Label = "모델";
+ this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumscale";
+ this.fpSpread1_Sheet1.Columns.Get(11).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).Tag = "pumunit";
- this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumqty";
+ this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(12).Label = "수량";
+ this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pumqty";
+ this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12;
+ this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumunit";
+ this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(13).Label = "단위";
+ this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumunit";
+ this.fpSpread1_Sheet1.Columns.Get(13).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).Tag = "pumpriceD";
- this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumpriceD";
+ 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 = "pumpriceD";
+ this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.DecimalPlaces = 0;
numberCellType4.MaximumValue = 9999999999999.99D;
numberCellType4.MinimumValue = -9999999999999.99D;
@@ -1014,12 +1037,12 @@
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;
+ this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumprice";
+ this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ this.fpSpread1_Sheet1.Columns.Get(15).Label = "단가";
+ this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumprice";
+ this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F;
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 9999999999999.99D;
numberCellType5.MinimumValue = -9999999999999.99D;
@@ -1028,94 +1051,94 @@
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)))));
+ this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5;
+ this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumamt";
+ this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ this.fpSpread1_Sheet1.Columns.Get(16).Label = "금액";
+ this.fpSpread1_Sheet1.Columns.Get(16).Tag = "pumamt";
+ this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType13;
+ this.fpSpread1_Sheet1.Columns.Get(17).DataField = "supply";
+ this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(17).Label = "공급";
+ this.fpSpread1_Sheet1.Columns.Get(17).Tag = "supply";
+ 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)))));
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).Tag = "project";
- 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)))));
+ this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6;
+ this.fpSpread1_Sheet1.Columns.Get(18).DataField = "supplyidx";
+ this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(18).Visible = false;
+ this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
+ this.fpSpread1_Sheet1.Columns.Get(19).DataField = "project";
+ this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(19).Tag = "project";
+ this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(20).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).CellType = numberCellType7;
+ this.fpSpread1_Sheet1.Columns.Get(20).DataField = "projectidx";
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 = "edate";
+ this.fpSpread1_Sheet1.Columns.Get(20).Tag = "projectidx";
+ this.fpSpread1_Sheet1.Columns.Get(20).Visible = false;
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(21).Tag = "receiveName";
+ this.fpSpread1_Sheet1.Columns.Get(21).DataField = "bigo";
+ this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(21).Tag = "bigo";
+ this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType16;
- this.fpSpread1_Sheet1.Columns.Get(22).DataField = "indate";
+ this.fpSpread1_Sheet1.Columns.Get(22).DataField = "edate";
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).Label = "예정일";
+ this.fpSpread1_Sheet1.Columns.Get(22).Tag = "edate";
this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType17;
+ this.fpSpread1_Sheet1.Columns.Get(23).DataField = "receiveName";
+ this.fpSpread1_Sheet1.Columns.Get(23).Label = "수령인";
+ this.fpSpread1_Sheet1.Columns.Get(23).Tag = "receiveName";
+ this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType18;
+ this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate";
+ this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일";
+ this.fpSpread1_Sheet1.Columns.Get(24).Tag = "indate";
+ this.fpSpread1_Sheet1.Columns.Get(24).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(24).Tag = "inremark";
- this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
- this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po";
+ this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType8;
+ this.fpSpread1_Sheet1.Columns.Get(25).DataField = "inqty";
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).Label = "수량";
+ this.fpSpread1_Sheet1.Columns.Get(25).Tag = "inqty";
+ this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
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.Columns.Get(27).CellType = numberCellType9;
- this.fpSpread1_Sheet1.Columns.Get(27).DataField = "idx";
- this.fpSpread1_Sheet1.Columns.Get(27).Tag = "idx";
+ this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19;
+ this.fpSpread1_Sheet1.Columns.Get(26).DataField = "inremark";
+ this.fpSpread1_Sheet1.Columns.Get(26).Label = "비고";
+ this.fpSpread1_Sheet1.Columns.Get(26).Tag = "inremark";
+ this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20;
+ this.fpSpread1_Sheet1.Columns.Get(27).DataField = "po";
+ this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(27).Tag = "po";
+ this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(28).DataField = "isdel";
+ this.fpSpread1_Sheet1.Columns.Get(28).Tag = "isdel";
+ this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F;
+ this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType9;
+ this.fpSpread1_Sheet1.Columns.Get(29).DataField = "idx";
+ this.fpSpread1_Sheet1.Columns.Get(29).Tag = "idx";
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
@@ -1123,15 +1146,6 @@
this.fpSpread1_Sheet1.ShowRowSelector = true;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
- // 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(70, 23);
- this.toolStripButton6.Text = "SID검사";
- this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click_1);
- //
// fPurchaseCR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -1242,7 +1256,7 @@
private System.Windows.Forms.ToolStripMenuItem 선택항목SAP구매정보생성ToolStripMenuItem;
private System.Windows.Forms.ToolStripDropDownButton toolStripButton5;
private System.Windows.Forms.ToolStripMenuItem 선택해제ToolStripMenuItem;
- private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStripButton toolStripButton6;
+ private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx
index 6943cb4..6e42e20 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx
@@ -136,7 +136,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -147,7 +147,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -156,7 +156,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -165,7 +165,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -176,7 +176,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wgAADsIBFShKgAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
+ wQAADsEBuJFr7QAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
@@ -211,7 +211,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wgAADsIBFShKgAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
+ wQAADsEBuJFr7QAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs
index f3e9cdc..07af632 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs
@@ -48,6 +48,8 @@
System.Windows.Forms.Label label10;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label label4;
+ System.Windows.Forms.Label label7;
+ System.Windows.Forms.Label label11;
this.tbSC = new System.Windows.Forms.TextBox();
this.tbSID = new System.Windows.Forms.TextBox();
this.tbPumName = new System.Windows.Forms.TextBox();
@@ -82,6 +84,8 @@
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.tbLineCode = new System.Windows.Forms.TextBox();
+ this.tbCostCenter = new System.Windows.Forms.TextBox();
this.tbInRemar = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
this.tbOrderNo = new System.Windows.Forms.TextBox();
@@ -92,6 +96,7 @@
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.chk2 = new System.Windows.Forms.CheckBox();
this.chk1 = new System.Windows.Forms.CheckBox();
+ this.button7 = new System.Windows.Forms.Button();
receiveLabel = new System.Windows.Forms.Label();
scLabel = new System.Windows.Forms.Label();
sidLabel = new System.Windows.Forms.Label();
@@ -110,6 +115,8 @@
label10 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label();
+ label7 = new System.Windows.Forms.Label();
+ label11 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
@@ -119,7 +126,7 @@
// receiveLabel
//
receiveLabel.AutoSize = true;
- receiveLabel.Location = new System.Drawing.Point(44, 174);
+ receiveLabel.Location = new System.Drawing.Point(44, 159);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(54, 20);
@@ -199,7 +206,7 @@
// deptLabel
//
deptLabel.AutoSize = true;
- deptLabel.Location = new System.Drawing.Point(13, 377);
+ deptLabel.Location = new System.Drawing.Point(14, 426);
deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
deptLabel.Name = "deptLabel";
deptLabel.Size = new System.Drawing.Size(39, 20);
@@ -283,7 +290,7 @@
// label2
//
label2.AutoSize = true;
- label2.Location = new System.Drawing.Point(29, 245);
+ label2.Location = new System.Drawing.Point(29, 230);
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(69, 20);
@@ -293,13 +300,33 @@
// label4
//
label4.AutoSize = true;
- label4.Location = new System.Drawing.Point(19, 280);
+ label4.Location = new System.Drawing.Point(19, 265);
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 = "비고(입고)";
//
+ // label7
+ //
+ label7.AutoSize = true;
+ label7.Location = new System.Drawing.Point(20, 373);
+ label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label7.Name = "label7";
+ label7.Size = new System.Drawing.Size(78, 20);
+ label7.TabIndex = 20;
+ label7.Text = "Line Code";
+ //
+ // label11
+ //
+ label11.AutoSize = true;
+ label11.Location = new System.Drawing.Point(9, 343);
+ label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label11.Name = "label11";
+ label11.Size = new System.Drawing.Size(89, 20);
+ label11.TabIndex = 18;
+ label11.Text = "Cost Center";
+ //
// tbSC
//
this.tbSC.Location = new System.Drawing.Point(104, 61);
@@ -439,12 +466,12 @@
// tbBigo
//
this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
- this.tbBigo.Location = new System.Drawing.Point(11, 401);
+ this.tbBigo.Location = new System.Drawing.Point(12, 450);
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.Size = new System.Drawing.Size(490, 130);
this.tbBigo.TabIndex = 28;
this.tbBigo.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip"));
@@ -460,7 +487,7 @@
// 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.Location = new System.Drawing.Point(12, 588);
this.btSave.Margin = new System.Windows.Forms.Padding(4);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(490, 80);
@@ -500,7 +527,7 @@
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.Location = new System.Drawing.Point(104, 155);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 28);
@@ -532,7 +559,7 @@
//
// dtInDate
//
- this.dtInDate.Location = new System.Drawing.Point(104, 206);
+ this.dtInDate.Location = new System.Drawing.Point(104, 191);
this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtInDate.Name = "dtInDate";
this.dtInDate.Size = new System.Drawing.Size(286, 27);
@@ -542,7 +569,7 @@
// chkInDate
//
this.chkInDate.AutoSize = true;
- this.chkInDate.Location = new System.Drawing.Point(25, 208);
+ this.chkInDate.Location = new System.Drawing.Point(25, 193);
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
this.chkInDate.Name = "chkInDate";
this.chkInDate.Size = new System.Drawing.Size(73, 24);
@@ -577,7 +604,7 @@
// 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.Location = new System.Drawing.Point(512, 588);
this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4);
this.btSaveAdd.Name = "btSaveAdd";
this.btSaveAdd.Size = new System.Drawing.Size(410, 80);
@@ -625,7 +652,7 @@
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.Size = new System.Drawing.Size(490, 410);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "필수입력";
@@ -695,6 +722,11 @@
// groupBox2
//
this.groupBox2.BackColor = System.Drawing.Color.Gainsboro;
+ this.groupBox2.Controls.Add(this.button7);
+ this.groupBox2.Controls.Add(this.tbLineCode);
+ this.groupBox2.Controls.Add(label7);
+ this.groupBox2.Controls.Add(this.tbCostCenter);
+ this.groupBox2.Controls.Add(label11);
this.groupBox2.Controls.Add(this.tbInRemar);
this.groupBox2.Controls.Add(label4);
this.groupBox2.Controls.Add(this.tbInQty);
@@ -715,14 +747,30 @@
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.Size = new System.Drawing.Size(409, 573);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "추가정보";
//
+ // tbLineCode
+ //
+ this.tbLineCode.Location = new System.Drawing.Point(104, 370);
+ this.tbLineCode.Margin = new System.Windows.Forms.Padding(4);
+ this.tbLineCode.Name = "tbLineCode";
+ this.tbLineCode.Size = new System.Drawing.Size(286, 27);
+ this.tbLineCode.TabIndex = 21;
+ //
+ // tbCostCenter
+ //
+ this.tbCostCenter.Location = new System.Drawing.Point(104, 339);
+ this.tbCostCenter.Margin = new System.Windows.Forms.Padding(4);
+ this.tbCostCenter.Name = "tbCostCenter";
+ this.tbCostCenter.Size = new System.Drawing.Size(286, 27);
+ this.tbCostCenter.TabIndex = 19;
+ //
// tbInRemar
//
- this.tbInRemar.Location = new System.Drawing.Point(104, 276);
+ this.tbInRemar.Location = new System.Drawing.Point(104, 261);
this.tbInRemar.Margin = new System.Windows.Forms.Padding(4);
this.tbInRemar.Multiline = true;
this.tbInRemar.Name = "tbInRemar";
@@ -732,7 +780,7 @@
//
// tbInQty
//
- this.tbInQty.Location = new System.Drawing.Point(104, 241);
+ this.tbInQty.Location = new System.Drawing.Point(104, 226);
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 27);
@@ -770,7 +818,7 @@
//
this.chk2.AutoSize = true;
this.chk2.Enabled = false;
- this.chk2.Location = new System.Drawing.Point(787, 374);
+ this.chk2.Location = new System.Drawing.Point(369, 422);
this.chk2.Name = "chk2";
this.chk2.Size = new System.Drawing.Size(133, 24);
this.chk2.TabIndex = 44;
@@ -781,19 +829,30 @@
//
this.chk1.AutoSize = true;
this.chk1.Enabled = false;
- this.chk1.Location = new System.Drawing.Point(680, 374);
+ this.chk1.Location = new System.Drawing.Point(262, 422);
this.chk1.Name = "chk1";
this.chk1.Size = new System.Drawing.Size(103, 24);
this.chk1.TabIndex = 43;
this.chk1.Text = "요청자확인";
this.chk1.UseVisualStyleBackColor = true;
//
+ // button7
+ //
+ this.button7.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.button7.Location = new System.Drawing.Point(4, 534);
+ this.button7.Name = "button7";
+ this.button7.Size = new System.Drawing.Size(401, 35);
+ this.button7.TabIndex = 37;
+ this.button7.Text = "견적서폴더";
+ this.button7.UseVisualStyleBackColor = true;
+ this.button7.Click += new System.EventHandler(this.button7_Click_1);
+ //
// 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.ClientSize = new System.Drawing.Size(928, 681);
this.Controls.Add(this.chk2);
this.Controls.Add(this.chk1);
this.Controls.Add(this.groupBox2);
@@ -867,5 +926,8 @@
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.CheckBox chk2;
private System.Windows.Forms.CheckBox chk1;
+ private System.Windows.Forms.TextBox tbLineCode;
+ private System.Windows.Forms.TextBox tbCostCenter;
+ private System.Windows.Forms.Button button7;
}
}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs
index 8ad6157..e7ec871 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs
@@ -19,7 +19,8 @@ namespace FEQ0000
dsPurchase.EETGW_PurchaseCRRow dr;
public Boolean repeatAdd = false;
Boolean binit = false;
- string sidchk = string.Empty;
+ string sidchk1 = string.Empty;
+ string dbchk1 = string.Empty;
public fPurchaseCR_Add(dsPurchase.EETGW_PurchaseCRRow dr_)
{
@@ -206,6 +207,15 @@ namespace FEQ0000
cmbState.Text = dr.state;
+ //230728
+ if (dr.IscostcenterNull() == false)
+ tbCostCenter.Text = dr.costcenter;
+ else tbCostCenter.Text = string.Empty;
+ if (dr.IslinecodeNull() == false)
+ tbLineCode.Text = dr.linecode;
+ else tbLineCode.Text = string.Empty;
+
+
//if (dr.process == "") cbProcess.SelectedIndex = -1;
//else cbProcess.Text = dr.process;
@@ -287,9 +297,9 @@ namespace FEQ0000
binit = true;
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Added)
- sidchk = string.Empty;
+ sidchk1 = string.Empty;
else
- sidchk = tbSID.Text;
+ sidchk1 = tbSID.Text;
timer1.Start();
@@ -343,6 +353,8 @@ namespace FEQ0000
{
if (search == "" && allowAll == false)
{
+ dbchk1 = string.Empty;
+ sidchk1 = string.Empty;
FCOMMON.Util.MsgE("품명은 필수 값 입니다");
tbPumName.Focus();
return;
@@ -352,6 +364,8 @@ namespace FEQ0000
var f = new FCM0000.fLovItem(search);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
+ dbchk1 = f.itemName;
+
//인덱스값이 다르면 모델 및 가격을 업데이트 한다.
tbPumName.Text = f.itemName;
tbPumName.Tag = f.itemName;
@@ -449,6 +463,24 @@ namespace FEQ0000
this.Validate();
tbSID.Text = sidTrim(tbSID.Text);
+
+ if (dbchk1.isEmpty())
+ {
+ Util.MsgE("품목 검사가 진행되지 않았습니다\n품명을 입력한 후 엔터를 누르거나 [품명] 버튼을 눌러서 검색을 수행한 후 다시 시도하세요");
+ tbPumName.Focus();
+ Lov_Item(tbPumName.Text, true);
+ return false;
+ }
+
+ //시드검사한 자료와 현재 입력된 시드가 다르면 검사를 다시 하게 한다
+ if (this.tbPumName.Text.Trim().Equals(this.dbchk1) == false)
+ {
+ Util.MsgE("품명검사 자료가 변경되었습니다. 다시 검사 하세요");
+ Lov_Item("", true);
+ dbchk1 = string.Empty;
+ return false;
+ }
+
if (tbSID.TextLength != 9)
{
FCOMMON.Util.MsgE("SID(9자리)를 확인 하세요");
@@ -463,7 +495,7 @@ namespace FEQ0000
}
else
{
- if (string.IsNullOrWhiteSpace(this.sidchk))
+ if (string.IsNullOrWhiteSpace(this.sidchk1))
{
FCOMMON.Util.MsgE("SID검사가 필요합니다.\n상단의 검사 버튼을 눌러 SPR/NR 재고 여부를 확인 하세요");
btSIDChk.Focus();
@@ -471,10 +503,10 @@ namespace FEQ0000
}
//시드검사한 자료와 현재 입력된 시드가 다르면 검사를 다시 하게 한다
- if (this.tbSID.Text.Trim().Equals(this.sidchk) == false)
+ if (this.tbSID.Text.Trim().Equals(this.sidchk1) == false)
{
Util.MsgE("SID검사 자료가 변경되었습니다. 다시 검사 하세요");
- sidchk = string.Empty;
+ sidchk1 = string.Empty;
return false;
}
}
@@ -715,6 +747,9 @@ namespace FEQ0000
dr.supply = tbSupply.Text;
dr.place = tbStorage.Text;
+ dr.costcenter = tbCostCenter.Text;
+ dr.linecode = tbLineCode.Text;
+
if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();
else dr.supplyidx = int.Parse(tbSupplyIndex.Text);
@@ -905,20 +940,6 @@ namespace FEQ0000
Lov_Project("", true);
}
- private void button7_Click(object sender, EventArgs e)
- {
- var datapath = FCOMMON.DBM.getCodeSvalue("55", "02");
- if (datapath.isEmpty())
- {
- FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요");
- return;
- }
- string path = System.IO.Path.Combine(datapath, DateTime.Now.Year.ToString("0000") + "년");// "\\\\k4fs3201n\\ee1t$\\1. 장비기술1파트\\24_Project & Overhaul 예산 사용 실적\\구매 견적서\\" + DateTime.Now.Year.ToString("0000") + "년";
- if (System.IO.Directory.Exists(path) == false)
- FCOMMON.Util.RunExplorer(datapath);
- else
- FCOMMON.Util.RunExplorer(path);
- }
private void tbDolloerPrice_TextChanged(object sender, EventArgs e)
{
@@ -971,7 +992,7 @@ namespace FEQ0000
}
else
{
- if (string.IsNullOrWhiteSpace(sidchk))
+ if (string.IsNullOrWhiteSpace(sidchk1))
{
if (btSIDChk.BackColor == Color.Lime)
btSIDChk.BackColor = Color.White;
@@ -1007,18 +1028,33 @@ namespace FEQ0000
if (f.ShowDialog() == DialogResult.OK)
{
dr.chk1 = true;
- this.sidchk = sid;
+ this.sidchk1 = sid;
}
else
{
- FCOMMON.Util.MsgE("목록표시 창에서 '확인' 버튼을 눌러야 SID검색이 완료됩니다.");
+ Util.MsgE("목록표시 창에서 '확인' 버튼을 눌러야 SID검색이 완료됩니다.");
}
}
else
{
- FCOMMON.Util.MsgI("SPM/NR 에서 검색된 정보가 없습니다\n저장이 가능 합니다");
- this.sidchk = sid;
+ Util.MsgI("SPM/NR 에서 검색된 정보가 없습니다\n저장이 가능 합니다");
+ this.sidchk1 = sid;
}
}
+
+ private void button7_Click_1(object sender, EventArgs e)
+ {
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "02");
+ if (datapath.isEmpty())
+ {
+ FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요");
+ return;
+ }
+ string path = System.IO.Path.Combine(datapath, DateTime.Now.Year.ToString("0000") + "년");// "\\\\k4fs3201n\\ee1t$\\1. 장비기술1파트\\24_Project & Overhaul 예산 사용 실적\\구매 견적서\\" + DateTime.Now.Year.ToString("0000") + "년";
+ if (System.IO.Directory.Exists(path) == false)
+ FCOMMON.Util.RunExplorer(datapath);
+ else
+ FCOMMON.Util.RunExplorer(path);
+ }
}
}
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.resx b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.resx
index 98f9eaf..f6bcfad 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.resx
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.resx
@@ -181,6 +181,12 @@
False
+
+ False
+
+
+ False
+
* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
diff --git a/SubProject/FEQ0000/dsPurchase.Designer.cs b/SubProject/FEQ0000/dsPurchase.Designer.cs
index 8cb5f4c..fc4b159 100644
--- a/SubProject/FEQ0000/dsPurchase.Designer.cs
+++ b/SubProject/FEQ0000/dsPurchase.Designer.cs
@@ -483,6 +483,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnchk2;
+ private global::System.Data.DataColumn columncostcenter;
+
+ private global::System.Data.DataColumn columnlinecode;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public PurchaseDataTable() :
@@ -869,6 +873,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn costcenterColumn {
+ get {
+ return this.columncostcenter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn linecodeColumn {
+ get {
+ return this.columnlinecode;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -948,7 +968,9 @@ namespace FEQ0000 {
string winuid,
System.DateTime windate,
bool chk1,
- bool chk2) {
+ bool chk2,
+ string costcenter,
+ string linecode) {
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -993,7 +1015,9 @@ namespace FEQ0000 {
winuid,
windate,
chk1,
- chk2};
+ chk2,
+ costcenter,
+ linecode};
rowPurchaseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowPurchaseRow);
return rowPurchaseRow;
@@ -1042,7 +1066,9 @@ namespace FEQ0000 {
string winuid,
System.DateTime windate,
bool chk1,
- bool chk2) {
+ bool chk2,
+ string costcenter,
+ string linecode) {
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -1087,7 +1113,9 @@ namespace FEQ0000 {
winuid,
windate,
chk1,
- chk2};
+ chk2,
+ costcenter,
+ linecode};
rowPurchaseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowPurchaseRow);
return rowPurchaseRow;
@@ -1160,6 +1188,8 @@ namespace FEQ0000 {
this.columnwindate = base.Columns["windate"];
this.columnchk1 = base.Columns["chk1"];
this.columnchk2 = base.Columns["chk2"];
+ this.columncostcenter = base.Columns["costcenter"];
+ this.columnlinecode = base.Columns["linecode"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1251,6 +1281,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnchk1);
this.columnchk2 = new global::System.Data.DataColumn("chk2", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnchk2);
+ this.columncostcenter = new global::System.Data.DataColumn("costcenter", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncostcenter);
+ this.columnlinecode = new global::System.Data.DataColumn("linecode", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlinecode);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -1292,6 +1326,8 @@ namespace FEQ0000 {
this.columnbigo2.ReadOnly = true;
this.columninremark.MaxLength = 500;
this.columnwinuid.MaxLength = 20;
+ this.columncostcenter.MaxLength = 20;
+ this.columnlinecode.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1517,6 +1553,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnchk2;
+ private global::System.Data.DataColumn columncostcenter;
+
+ private global::System.Data.DataColumn columnlinecode;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public EETGW_PurchaseCRDataTable() :
@@ -1903,6 +1943,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn costcenterColumn {
+ get {
+ return this.columncostcenter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn linecodeColumn {
+ get {
+ return this.columnlinecode;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1982,7 +2038,9 @@ namespace FEQ0000 {
string winuid,
System.DateTime windate,
bool chk1,
- bool chk2) {
+ bool chk2,
+ string costcenter,
+ string linecode) {
EETGW_PurchaseCRRow rowEETGW_PurchaseCRRow = ((EETGW_PurchaseCRRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2027,7 +2085,9 @@ namespace FEQ0000 {
winuid,
windate,
chk1,
- chk2};
+ chk2,
+ costcenter,
+ linecode};
rowEETGW_PurchaseCRRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_PurchaseCRRow);
return rowEETGW_PurchaseCRRow;
@@ -2076,7 +2136,9 @@ namespace FEQ0000 {
string winuid,
System.DateTime windate,
bool chk1,
- bool chk2) {
+ bool chk2,
+ string costcenter,
+ string linecode) {
EETGW_PurchaseCRRow rowEETGW_PurchaseCRRow = ((EETGW_PurchaseCRRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2121,7 +2183,9 @@ namespace FEQ0000 {
winuid,
windate,
chk1,
- chk2};
+ chk2,
+ costcenter,
+ linecode};
rowEETGW_PurchaseCRRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_PurchaseCRRow);
return rowEETGW_PurchaseCRRow;
@@ -2194,6 +2258,8 @@ namespace FEQ0000 {
this.columnwindate = base.Columns["windate"];
this.columnchk1 = base.Columns["chk1"];
this.columnchk2 = base.Columns["chk2"];
+ this.columncostcenter = base.Columns["costcenter"];
+ this.columnlinecode = base.Columns["linecode"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2285,6 +2351,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnchk1);
this.columnchk2 = new global::System.Data.DataColumn("chk2", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnchk2);
+ this.columncostcenter = new global::System.Data.DataColumn("costcenter", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncostcenter);
+ this.columnlinecode = new global::System.Data.DataColumn("linecode", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlinecode);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -2326,6 +2396,8 @@ namespace FEQ0000 {
this.columnbigo2.ReadOnly = true;
this.columninremark.MaxLength = 500;
this.columnwinuid.MaxLength = 20;
+ this.columncostcenter.MaxLength = 20;
+ this.columnlinecode.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4280,6 +4352,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string costcenter {
+ get {
+ try {
+ return ((string)(this[this.tablePurchase.costcenterColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'costcenter\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablePurchase.costcenterColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tablePurchase.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablePurchase.linecodeColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IspdateNull() {
@@ -4747,6 +4851,30 @@ namespace FEQ0000 {
public void Setchk2Null() {
this[this.tablePurchase.chk2Column] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IscostcenterNull() {
+ return this.IsNull(this.tablePurchase.costcenterColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetcostcenterNull() {
+ this[this.tablePurchase.costcenterColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tablePurchase.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tablePurchase.linecodeColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -5431,6 +5559,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string costcenter {
+ get {
+ try {
+ return ((string)(this[this.tableEETGW_PurchaseCR.costcenterColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'costcenter\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEETGW_PurchaseCR.costcenterColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tableEETGW_PurchaseCR.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EETGW_PurchaseCR\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEETGW_PurchaseCR.linecodeColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IspdateNull() {
@@ -5898,6 +6058,30 @@ namespace FEQ0000 {
public void Setchk2Null() {
this[this.tableEETGW_PurchaseCR.chk2Column] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IscostcenterNull() {
+ return this.IsNull(this.tableEETGW_PurchaseCR.costcenterColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetcostcenterNull() {
+ this[this.tableEETGW_PurchaseCR.costcenterColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tableEETGW_PurchaseCR.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tableEETGW_PurchaseCR.linecodeColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -7285,6 +7469,8 @@ namespace FEQ0000.dsPurchaseTableAdapters {
tableMapping.ColumnMappings.Add("windate", "windate");
tableMapping.ColumnMappings.Add("chk1", "chk1");
tableMapping.ColumnMappings.Add("chk2", "chk2");
+ tableMapping.ColumnMappings.Add("costcenter", "costcenter");
+ tableMapping.ColumnMappings.Add("linecode", "linecode");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -7325,7 +7511,9 @@ namespace FEQ0000.dsPurchaseTableAdapters {
"nuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR (" +
"[windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([" +
"chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] =" +
- " @Original_chk2)))";
+ " @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([co" +
+ "stcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS " +
+ "NULL) OR ([linecode] = @Original_linecode)))";
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, "", "", ""));
@@ -7401,10 +7589,14 @@ namespace FEQ0000.dsPurchaseTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costcenter", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_linecode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [Purchase] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po], [dept], [wuid], [wdate], [import], [pumidx], [isdel], [bigo], [manuproc], [orderno], [gcode], [place], [inqty], [pumpriceD], [inremark], [winuid], [windate], [chk1], [chk2]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2);
-SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [Purchase] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po], [dept], [wuid], [wdate], [import], [pumidx], [isdel], [bigo], [manuproc], [orderno], [gcode], [place], [inqty], [pumpriceD], [inremark], [winuid], [windate], [chk1], [chk2], [costcenter], [linecode]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM Purchase 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, "", "", ""));
@@ -7445,176 +7637,63 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = "UPDATE [Purchase] SET [pdate] = @pdate, [state] = @state, [process] = @process, [" +
- "receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] =" +
- " @pumname, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pu" +
- "mprice] = @pumprice, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supp" +
- "lyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [edat" +
- "e] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [wuid] = @wuid, [wd" +
- "ate] = @wdate, [import] = @import, [pumidx] = @pumidx, [isdel] = @isdel, [bigo] " +
- "= @bigo, [manuproc] = @manuproc, [orderno] = @orderno, [gcode] = @gcode, [place]" +
- " = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD, [inremark] = @inremark, [" +
- "winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2 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 ([rece" +
- "ive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Or" +
- "iginal_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Or" +
- "iginal_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 ([pumuni" +
- "t] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pum" +
- "qty] = @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 NUL" +
- "L) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx]" +
- " IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 A" +
- "ND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull" +
- "_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_ed" +
- "ate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indat" +
- "e = 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 ([wdat" +
- "e] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import" +
- "] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumid" +
- "x] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel]" +
- " = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Or" +
- "iginal_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] " +
- "= @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([ord" +
- "erno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place " +
- "= 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1" +
- " AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = " +
- "1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull" +
- "_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND " +
- "((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND" +
- " ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)" +
- ") AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND (" +
- "(@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)));\r\nSELECT id" +
- "x, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, " +
- "request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumuni" +
- "t, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edat" +
- "e, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno" +
- ", gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM Pur" +
- "chase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE Purchase
+SET pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,
+ pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,
+ indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,
+ orderno = @orderno, gcode = @gcode, place = @place, inqty = @inqty, pumpriceD = @pumpriceD, inremark = @inremark, winuid = @winuid, windate = @windate, chk1 = @chk1,
+ chk2 = @chk2, costcenter = @costcenter, linecode = @linecode
+WHERE (idx = @Original_idx) AND (gcode = @original_gcode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM Purchase 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("@winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumname", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bigo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bigo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manuproc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manuproc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumpriceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumpriceD", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_winuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_windate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, 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, 30, 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, 30, 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, 50, 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, 30, 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, 50, 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, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumname", global::System.Data.SqlDbType.NVarChar, 200, 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, 200, 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, 50, 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, 4, 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, 9, 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, 9, 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, 200, 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, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.VarChar, 2147483647, 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, 4, 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, 50, 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, 10, 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, 10, 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, 50, 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, 500, 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, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 4, 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, 1, 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, 500, 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, 50, 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, 50, 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, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, 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, 4, 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, 9, 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, 500, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@winuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costcenter", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@original_gcode", global::System.Data.SqlDbType.VarChar, 10, 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -7632,7 +7711,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark,
- winuid, windate, chk1, chk2
+ winuid, windate, chk1, chk2, costcenter, linecode
FROM Purchase
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC";
@@ -7658,19 +7737,19 @@ ORDER BY pdate DESC, idx DESC";
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = @"SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(orderno, '') = '') AND (state IN ('PO', 'Received')) ORDER BY pdate DESC, idx DESC";
+ this._commandCollection[3].CommandText = @"SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(orderno, '') = '') AND (state IN ('PO', 'Received')) 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, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
- this._commandCollection[4].CommandText = @"SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM Purchase WHERE (idx = @idx)";
+ this._commandCollection[4].CommandText = @"SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM Purchase WHERE (idx = @idx)";
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
- this._commandCollection[5].CommandText = @"SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC";
+ this._commandCollection[5].CommandText = @"SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC";
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[5].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[5].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, "", "", ""));
@@ -7931,7 +8010,9 @@ ORDER BY pdate DESC, idx DESC";
string Original_winuid,
global::System.Nullable Original_windate,
global::System.Nullable Original_chk1,
- global::System.Nullable Original_chk2) {
+ global::System.Nullable Original_chk2,
+ string Original_costcenter,
+ string Original_linecode) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -8226,6 +8307,22 @@ ORDER BY pdate DESC, idx DESC";
this.Adapter.DeleteCommand.Parameters[72].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[73].Value = global::System.DBNull.Value;
}
+ if ((Original_costcenter == null)) {
+ this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[75].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[75].Value = ((string)(Original_costcenter));
+ }
+ if ((Original_linecode == null)) {
+ this.Adapter.DeleteCommand.Parameters[76].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[77].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[76].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[77].Value = ((string)(Original_linecode));
+ }
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)) {
@@ -8285,7 +8382,9 @@ ORDER BY pdate DESC, idx DESC";
string winuid,
global::System.Nullable windate,
global::System.Nullable chk1,
- global::System.Nullable chk2) {
+ global::System.Nullable chk2,
+ string costcenter,
+ string linecode) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -8515,6 +8614,18 @@ ORDER BY pdate DESC, idx DESC";
else {
this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value;
}
+ if ((costcenter == null)) {
+ this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[39].Value = ((string)(costcenter));
+ }
+ if ((linecode == null)) {
+ this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[40].Value = ((string)(linecode));
+ }
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)) {
@@ -8575,45 +8686,10 @@ ORDER BY pdate DESC, idx DESC";
global::System.Nullable windate,
global::System.Nullable chk1,
global::System.Nullable chk2,
+ string costcenter,
+ string linecode,
int Original_idx,
- string Original_pdate,
- string Original_state,
- string Original_process,
- string Original_receive,
- string Original_sc,
- string Original_request,
- string Original_sid,
- string Original_pumname,
- string Original_pumscale,
- string Original_pumunit,
- global::System.Nullable Original_pumqty,
- global::System.Nullable Original_pumprice,
- global::System.Nullable Original_pumamt,
- string Original_supply,
- global::System.Nullable Original_supplyidx,
- global::System.Nullable Original_projectidx,
- string Original_asset,
- string Original_edate,
- string Original_indate,
- string Original_po,
- string Original_dept,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_import,
- global::System.Nullable Original_pumidx,
- global::System.Nullable Original_isdel,
- string Original_bigo,
- string Original_manuproc,
- string Original_orderno,
- string Original_gcode,
- string Original_place,
- global::System.Nullable Original_inqty,
- global::System.Nullable Original_pumpriceD,
- string Original_inremark,
- string Original_winuid,
- global::System.Nullable Original_windate,
- global::System.Nullable Original_chk1,
- global::System.Nullable Original_chk2,
+ string original_gcode,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -8844,301 +8920,26 @@ ORDER BY pdate DESC, idx DESC";
else {
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
- this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
+ if ((costcenter == null)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(costcenter));
}
- if ((Original_state == null)) {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
+ if ((linecode == null)) {
+ this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_state));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(linecode));
}
- if ((Original_process == null)) {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_idx));
+ if ((original_gcode == null)) {
+ throw new global::System.ArgumentNullException("original_gcode");
}
else {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_process));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(original_gcode));
}
- if ((Original_receive == 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_receive));
- }
- if ((Original_sc == 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_sc));
- }
- if ((Original_request == 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_request));
- }
- if ((Original_sid == 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_sid));
- }
- if ((Original_pumname == 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_pumname));
- }
- if ((Original_pumscale == null)) {
- this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_pumscale));
- }
- if ((Original_pumunit == null)) {
- this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_pumunit));
- }
- if ((Original_pumqty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_pumqty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
- }
- if ((Original_pumprice.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[63].Value = ((decimal)(Original_pumprice.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
- }
- if ((Original_pumamt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(Original_pumamt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
- }
- if ((Original_supply == null)) {
- this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_supply));
- }
- if ((Original_supplyidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[69].Value = ((int)(Original_supplyidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
- }
- if ((Original_projectidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(Original_projectidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
- }
- if ((Original_asset == 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_asset));
- }
- if ((Original_edate == 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_edate));
- }
- if ((Original_indate == 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_indate));
- }
- if ((Original_po == null)) {
- this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_po));
- }
- if ((Original_dept == null)) {
- this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(Original_dept));
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Original_wuid));
- }
- this.Adapter.UpdateCommand.Parameters[83].Value = ((System.DateTime)(Original_wdate));
- if ((Original_import.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_import.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
- }
- if ((Original_pumidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[87].Value = ((int)(Original_pumidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value;
- }
- if ((Original_isdel.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[89].Value = ((bool)(Original_isdel.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
- }
- if ((Original_bigo == 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_bigo));
- }
- if ((Original_manuproc == null)) {
- this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[93].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(Original_manuproc));
- }
- if ((Original_orderno == null)) {
- this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[95].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_orderno));
- }
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(Original_gcode));
- }
- if ((Original_place == null)) {
- this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(Original_place));
- }
- if ((Original_inqty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[100].Value = ((int)(Original_inqty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[100].Value = global::System.DBNull.Value;
- }
- if ((Original_pumpriceD.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[101].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[102].Value = ((decimal)(Original_pumpriceD.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[101].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[102].Value = global::System.DBNull.Value;
- }
- if ((Original_inremark == null)) {
- this.Adapter.UpdateCommand.Parameters[103].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[104].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[103].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[104].Value = ((string)(Original_inremark));
- }
- if ((Original_winuid == null)) {
- this.Adapter.UpdateCommand.Parameters[105].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[106].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[105].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[106].Value = ((string)(Original_winuid));
- }
- if ((Original_windate.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[107].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[108].Value = ((System.DateTime)(Original_windate.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[107].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[108].Value = global::System.DBNull.Value;
- }
- if ((Original_chk1.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[109].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[110].Value = ((bool)(Original_chk1.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[109].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[110].Value = global::System.DBNull.Value;
- }
- if ((Original_chk2.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[111].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[112].Value = ((bool)(Original_chk2.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[111].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[112].Value = global::System.DBNull.Value;
- }
- this.Adapter.UpdateCommand.Parameters[113].Value = ((int)(idx));
+ this.Adapter.UpdateCommand.Parameters[43].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)) {
@@ -9155,92 +8956,6 @@ ORDER BY pdate DESC, idx DESC";
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- string pdate,
- string state,
- string process,
- string receive,
- string sc,
- string request,
- string sid,
- string pumname,
- string pumscale,
- string pumunit,
- global::System.Nullable pumqty,
- global::System.Nullable pumprice,
- global::System.Nullable pumamt,
- string supply,
- global::System.Nullable supplyidx,
- string project,
- global::System.Nullable projectidx,
- string asset,
- string edate,
- string indate,
- string po,
- string dept,
- string wuid,
- System.DateTime wdate,
- global::System.Nullable import,
- global::System.Nullable pumidx,
- global::System.Nullable isdel,
- string bigo,
- string manuproc,
- string orderno,
- string gcode,
- string place,
- global::System.Nullable inqty,
- global::System.Nullable pumpriceD,
- string inremark,
- string winuid,
- global::System.Nullable windate,
- global::System.Nullable chk1,
- global::System.Nullable chk2,
- int Original_idx,
- string Original_pdate,
- string Original_state,
- string Original_process,
- string Original_receive,
- string Original_sc,
- string Original_request,
- string Original_sid,
- string Original_pumname,
- string Original_pumscale,
- string Original_pumunit,
- global::System.Nullable Original_pumqty,
- global::System.Nullable Original_pumprice,
- global::System.Nullable Original_pumamt,
- string Original_supply,
- global::System.Nullable Original_supplyidx,
- global::System.Nullable Original_projectidx,
- string Original_asset,
- string Original_edate,
- string Original_indate,
- string Original_po,
- string Original_dept,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_import,
- global::System.Nullable Original_pumidx,
- global::System.Nullable Original_isdel,
- string Original_bigo,
- string Original_manuproc,
- string Original_orderno,
- string Original_gcode,
- string Original_place,
- global::System.Nullable Original_inqty,
- global::System.Nullable Original_pumpriceD,
- string Original_inremark,
- string Original_winuid,
- global::System.Nullable Original_windate,
- global::System.Nullable Original_chk1,
- global::System.Nullable Original_chk2) {
- return this.Update(pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, Original_idx, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumname, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_edate, Original_indate, Original_po, Original_dept, Original_wuid, Original_wdate, Original_import, Original_pumidx, Original_isdel, Original_bigo, Original_manuproc, Original_orderno, Original_gcode, Original_place, Original_inqty, Original_pumpriceD, Original_inremark, Original_winuid, Original_windate, Original_chk1, Original_chk2, Original_idx);
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -9503,6 +9218,8 @@ ORDER BY pdate DESC, idx DESC";
tableMapping.ColumnMappings.Add("windate", "windate");
tableMapping.ColumnMappings.Add("chk1", "chk1");
tableMapping.ColumnMappings.Add("chk2", "chk2");
+ tableMapping.ColumnMappings.Add("costcenter", "costcenter");
+ tableMapping.ColumnMappings.Add("linecode", "linecode");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -9543,7 +9260,9 @@ ORDER BY pdate DESC, idx DESC";
" OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NU" +
"LL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NUL" +
"L) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR (" +
- "[chk2] = @Original_chk2)))";
+ "[chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL)" +
+ " OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linec" +
+ "ode] IS NULL) OR ([linecode] = @Original_linecode)))";
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, "", "", ""));
@@ -9619,10 +9338,14 @@ ORDER BY pdate DESC, idx DESC";
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costcenter", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_linecode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.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], [winuid], [windate], [chk1], [chk2]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2);
-SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC";
+ 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], [winuid], [windate], [chk1], [chk2], [costcenter], [linecode]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode 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, "", "", ""));
@@ -9663,176 +9386,63 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costcenter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.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, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2 " +
- "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 ([st" +
- "ate] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([p" +
- "rocess] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) O" +
- "R ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([s" +
- "c] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([reques" +
- "t] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @O" +
- "riginal_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @" +
- "Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumsc" +
- "ale] = @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 N" +
- "ULL) 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 [su" +
- "pplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projecti" +
- "dx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND (" +
- "(@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@I" +
- "sNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNu" +
- "ll_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsN" +
- "ull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AN" +
- "D [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AN" +
- "D ([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 ([big" +
- "o] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([ma" +
- "nuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) " +
- "OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNul" +
- "l_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_i" +
- "nqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pump" +
- "riceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND (" +
- "(@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremar" +
- "k)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winu" +
- "id)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_" +
- "windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1" +
- ")) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)));\r\nS" +
- "ELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveNa" +
- "me, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale" +
- ", pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, ass" +
- "et, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc," +
- " orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 " +
- "FROM EETGW_PurchaseCR WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC";
+ this._adapter.UpdateCommand.CommandText = @"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, winuid = @winuid, windate = @windate, chk1 = @chk1,
+ chk2 = @chk2, costcenter = @costcenter, linecode = @linecode
+WHERE (idx = @Original_idx) AND (gcode = @Original_gcode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM EETGW_PurchaseCR 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("@winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumname", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bigo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bigo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manuproc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manuproc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumpriceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumpriceD", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_winuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_winuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_windate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_windate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chk2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chk2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, 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, 30, 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, 30, 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, 50, 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, 30, 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, 50, 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, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumname", global::System.Data.SqlDbType.NVarChar, 200, 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, 200, 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, 50, 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, 4, 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, 9, 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, 9, 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, 200, 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, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.VarChar, 2147483647, 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, 4, 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, 50, 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, 10, 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, 10, 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, 50, 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, 500, 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, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 4, 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, 1, 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, 500, 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, 50, 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, 50, 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, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, 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, 4, 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, 9, 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, 500, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@winuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "winuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@windate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "windate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "chk1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chk2", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "chk2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costcenter", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "costcenter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 10, 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9850,7 +9460,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark,
- winuid, windate, chk1, chk2
+ winuid, windate, chk1, chk2, costcenter, linecode
FROM EETGW_PurchaseCR
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC";
@@ -9876,7 +9486,7 @@ ORDER BY pdate DESC, idx DESC";
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = @"SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM EETGW_PurchaseCR WHERE (idx = @idx)";
+ this._commandCollection[3].CommandText = @"SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM EETGW_PurchaseCR WHERE (idx = @idx)";
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
@@ -10087,7 +9697,9 @@ ORDER BY pdate DESC, idx DESC";
string Original_winuid,
global::System.Nullable Original_windate,
global::System.Nullable Original_chk1,
- global::System.Nullable Original_chk2) {
+ global::System.Nullable Original_chk2,
+ string Original_costcenter,
+ string Original_linecode) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -10382,6 +9994,22 @@ ORDER BY pdate DESC, idx DESC";
this.Adapter.DeleteCommand.Parameters[72].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[73].Value = global::System.DBNull.Value;
}
+ if ((Original_costcenter == null)) {
+ this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[75].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[74].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[75].Value = ((string)(Original_costcenter));
+ }
+ if ((Original_linecode == null)) {
+ this.Adapter.DeleteCommand.Parameters[76].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[77].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[76].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[77].Value = ((string)(Original_linecode));
+ }
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)) {
@@ -10441,7 +10069,9 @@ ORDER BY pdate DESC, idx DESC";
string winuid,
global::System.Nullable windate,
global::System.Nullable chk1,
- global::System.Nullable chk2) {
+ global::System.Nullable chk2,
+ string costcenter,
+ string linecode) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -10671,6 +10301,18 @@ ORDER BY pdate DESC, idx DESC";
else {
this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value;
}
+ if ((costcenter == null)) {
+ this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[39].Value = ((string)(costcenter));
+ }
+ if ((linecode == null)) {
+ this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[40].Value = ((string)(linecode));
+ }
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)) {
@@ -10731,45 +10373,10 @@ ORDER BY pdate DESC, idx DESC";
global::System.Nullable windate,
global::System.Nullable chk1,
global::System.Nullable chk2,
+ string costcenter,
+ string linecode,
int Original_idx,
- string Original_pdate,
- string Original_state,
- string Original_process,
- string Original_receive,
- string Original_sc,
- string Original_request,
- string Original_sid,
- string Original_pumname,
- string Original_pumscale,
- string Original_pumunit,
- global::System.Nullable Original_pumqty,
- global::System.Nullable Original_pumprice,
- global::System.Nullable Original_pumamt,
- string Original_supply,
- global::System.Nullable Original_supplyidx,
- global::System.Nullable Original_projectidx,
- string Original_asset,
- string Original_edate,
- string Original_indate,
- string Original_po,
- string Original_dept,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_import,
- global::System.Nullable Original_pumidx,
- global::System.Nullable Original_isdel,
- string Original_bigo,
- string Original_manuproc,
- string Original_orderno,
string Original_gcode,
- string Original_place,
- global::System.Nullable Original_inqty,
- global::System.Nullable Original_pumpriceD,
- string Original_inremark,
- string Original_winuid,
- global::System.Nullable Original_windate,
- global::System.Nullable Original_chk1,
- global::System.Nullable Original_chk2,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -11000,301 +10607,26 @@ ORDER BY pdate DESC, idx DESC";
else {
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
- this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
+ if ((costcenter == null)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(costcenter));
}
- if ((Original_state == null)) {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
+ if ((linecode == null)) {
+ this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_state));
- }
- if ((Original_process == 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_process));
- }
- if ((Original_receive == 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_receive));
- }
- if ((Original_sc == 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_sc));
- }
- if ((Original_request == 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_request));
- }
- if ((Original_sid == 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_sid));
- }
- if ((Original_pumname == 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_pumname));
- }
- if ((Original_pumscale == null)) {
- this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_pumscale));
- }
- if ((Original_pumunit == null)) {
- this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_pumunit));
- }
- if ((Original_pumqty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_pumqty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
- }
- if ((Original_pumprice.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[63].Value = ((decimal)(Original_pumprice.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
- }
- if ((Original_pumamt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(Original_pumamt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
- }
- if ((Original_supply == null)) {
- this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_supply));
- }
- if ((Original_supplyidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[69].Value = ((int)(Original_supplyidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
- }
- if ((Original_projectidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(Original_projectidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
- }
- if ((Original_asset == 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_asset));
- }
- if ((Original_edate == 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_edate));
- }
- if ((Original_indate == 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_indate));
- }
- if ((Original_po == null)) {
- this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_po));
- }
- if ((Original_dept == null)) {
- this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(Original_dept));
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Original_wuid));
- }
- this.Adapter.UpdateCommand.Parameters[83].Value = ((System.DateTime)(Original_wdate));
- if ((Original_import.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_import.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
- }
- if ((Original_pumidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[87].Value = ((int)(Original_pumidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value;
- }
- if ((Original_isdel.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[89].Value = ((bool)(Original_isdel.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
- }
- if ((Original_bigo == 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_bigo));
- }
- if ((Original_manuproc == null)) {
- this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[93].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(Original_manuproc));
- }
- if ((Original_orderno == null)) {
- this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[95].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_orderno));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(linecode));
}
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
}
else {
- this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(Original_gcode));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_gcode));
}
- if ((Original_place == null)) {
- this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(Original_place));
- }
- if ((Original_inqty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[100].Value = ((int)(Original_inqty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[100].Value = global::System.DBNull.Value;
- }
- if ((Original_pumpriceD.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[101].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[102].Value = ((decimal)(Original_pumpriceD.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[101].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[102].Value = global::System.DBNull.Value;
- }
- if ((Original_inremark == null)) {
- this.Adapter.UpdateCommand.Parameters[103].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[104].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[103].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[104].Value = ((string)(Original_inremark));
- }
- if ((Original_winuid == null)) {
- this.Adapter.UpdateCommand.Parameters[105].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[106].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[105].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[106].Value = ((string)(Original_winuid));
- }
- if ((Original_windate.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[107].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[108].Value = ((System.DateTime)(Original_windate.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[107].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[108].Value = global::System.DBNull.Value;
- }
- if ((Original_chk1.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[109].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[110].Value = ((bool)(Original_chk1.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[109].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[110].Value = global::System.DBNull.Value;
- }
- if ((Original_chk2.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[111].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[112].Value = ((bool)(Original_chk2.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[111].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[112].Value = global::System.DBNull.Value;
- }
- this.Adapter.UpdateCommand.Parameters[113].Value = ((int)(idx));
+ this.Adapter.UpdateCommand.Parameters[43].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)) {
@@ -11311,92 +10643,6 @@ ORDER BY pdate DESC, idx DESC";
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- string pdate,
- string state,
- string process,
- string receive,
- string sc,
- string request,
- string sid,
- string pumname,
- string pumscale,
- string pumunit,
- global::System.Nullable pumqty,
- global::System.Nullable pumprice,
- global::System.Nullable pumamt,
- string supply,
- global::System.Nullable supplyidx,
- string project,
- global::System.Nullable projectidx,
- string asset,
- string edate,
- string indate,
- string po,
- string dept,
- string wuid,
- System.DateTime wdate,
- global::System.Nullable import,
- global::System.Nullable pumidx,
- global::System.Nullable isdel,
- string bigo,
- string manuproc,
- string orderno,
- string gcode,
- string place,
- global::System.Nullable inqty,
- global::System.Nullable pumpriceD,
- string inremark,
- string winuid,
- global::System.Nullable windate,
- global::System.Nullable chk1,
- global::System.Nullable chk2,
- int Original_idx,
- string Original_pdate,
- string Original_state,
- string Original_process,
- string Original_receive,
- string Original_sc,
- string Original_request,
- string Original_sid,
- string Original_pumname,
- string Original_pumscale,
- string Original_pumunit,
- global::System.Nullable Original_pumqty,
- global::System.Nullable Original_pumprice,
- global::System.Nullable Original_pumamt,
- string Original_supply,
- global::System.Nullable Original_supplyidx,
- global::System.Nullable Original_projectidx,
- string Original_asset,
- string Original_edate,
- string Original_indate,
- string Original_po,
- string Original_dept,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_import,
- global::System.Nullable Original_pumidx,
- global::System.Nullable Original_isdel,
- string Original_bigo,
- string Original_manuproc,
- string Original_orderno,
- string Original_gcode,
- string Original_place,
- global::System.Nullable Original_inqty,
- global::System.Nullable Original_pumpriceD,
- string Original_inremark,
- string Original_winuid,
- global::System.Nullable Original_windate,
- global::System.Nullable Original_chk1,
- global::System.Nullable Original_chk2) {
- return this.Update(pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, Original_idx, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumname, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_edate, Original_indate, Original_po, Original_dept, Original_wuid, Original_wdate, Original_import, Original_pumidx, Original_isdel, Original_bigo, Original_manuproc, Original_orderno, Original_gcode, Original_place, Original_inqty, Original_pumpriceD, Original_inremark, Original_winuid, Original_windate, Original_chk1, Original_chk2, Original_idx);
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
diff --git a/SubProject/FEQ0000/dsPurchase.xsd b/SubProject/FEQ0000/dsPurchase.xsd
index dd5f41a..02df679 100644
--- a/SubProject/FEQ0000/dsPurchase.xsd
+++ b/SubProject/FEQ0000/dsPurchase.xsd
@@ -12,7 +12,7 @@
- DELETE FROM [Purchase] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)))
+ DELETE FROM [Purchase] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)))
@@ -88,13 +88,17 @@
+
+
+
+
- INSERT INTO [Purchase] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po], [dept], [wuid], [wdate], [import], [pumidx], [isdel], [bigo], [manuproc], [orderno], [gcode], [place], [inqty], [pumpriceD], [inremark], [winuid], [windate], [chk1], [chk2]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2);
-SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC
+ INSERT INTO [Purchase] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po], [dept], [wuid], [wdate], [import], [pumidx], [isdel], [bigo], [manuproc], [orderno], [gcode], [place], [inqty], [pumpriceD], [inremark], [winuid], [windate], [chk1], [chk2], [costcenter], [linecode]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC
@@ -135,6 +139,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
+
+
@@ -142,7 +148,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark,
- winuid, windate, chk1, chk2
+ winuid, windate, chk1, chk2, costcenter, linecode
FROM Purchase
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC
@@ -152,124 +158,60 @@ ORDER BY pdate DESC, idx DESC
-
- UPDATE [Purchase] SET [pdate] = @pdate, [state] = @state, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] = @pumname, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumprice] = @pumprice, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [wuid] = @wuid, [wdate] = @wdate, [import] = @import, [pumidx] = @pumidx, [isdel] = @isdel, [bigo] = @bigo, [manuproc] = @manuproc, [orderno] = @orderno, [gcode] = @gcode, [place] = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD, [inremark] = @inremark, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2 WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)));
-SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC
+
+ UPDATE Purchase
+SET pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,
+ pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,
+ indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,
+ orderno = @orderno, gcode = @gcode, place = @place, inqty = @inqty, pumpriceD = @pumpriceD, inremark = @inremark, winuid = @winuid, windate = @windate, chk1 = @chk1,
+ chk2 = @chk2, costcenter = @costcenter, linecode = @linecode
+WHERE (idx = @Original_idx) AND (gcode = @original_gcode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -318,6 +260,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
+
+
@@ -357,7 +301,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
- SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(orderno, '') = '') AND (state IN ('PO', 'Received')) ORDER BY pdate DESC, idx DESC
+ SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(orderno, '') = '') AND (state IN ('PO', 'Received')) ORDER BY pdate DESC, idx DESC
@@ -369,7 +313,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
- SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM Purchase WHERE (idx = @idx)
+ SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM Purchase WHERE (idx = @idx)
@@ -379,7 +323,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
- SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC
+ SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC
@@ -395,7 +339,7 @@ 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)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)))
+ 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)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)))
@@ -471,13 +415,17 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
+
+
+
+
- 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], [winuid], [windate], [chk1], [chk2]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2);
-SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC
+ 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], [winuid], [windate], [chk1], [chk2], [costcenter], [linecode]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC
@@ -518,6 +466,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
+
+
@@ -525,7 +475,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark,
- winuid, windate, chk1, chk2
+ winuid, windate, chk1, chk2, costcenter, linecode
FROM EETGW_PurchaseCR
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC
@@ -535,124 +485,60 @@ 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, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2 WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)));
-SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2 FROM EETGW_PurchaseCR WHERE (idx = @idx) 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, winuid = @winuid, windate = @windate, chk1 = @chk1,
+ chk2 = @chk2, costcenter = @costcenter, linecode = @linecode
+WHERE (idx = @Original_idx) AND (gcode = @Original_gcode);
+SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode FROM EETGW_PurchaseCR WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -701,6 +587,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
+
+
@@ -741,7 +629,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
- SELECT asset, bigo, chk1, chk2, dept, edate, gcode, idx, import, indate, inqty, inremark, 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, windate, winuid, wuid FROM EETGW_PurchaseCR WHERE (idx = @idx)
+ SELECT asset, bigo, chk1, chk2, costcenter, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, linecode, 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, windate, winuid, wuid FROM EETGW_PurchaseCR WHERE (idx = @idx)
@@ -1053,6 +941,20 @@ ORDER BY source DESC, request, wdate DESC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1264,6 +1166,20 @@ ORDER BY source DESC, request, wdate DESC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs
index da91f1c..fa62a4e 100644
--- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs
+++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs
@@ -115,6 +115,7 @@
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
+ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.cmbDateType = new System.Windows.Forms.ToolStripComboBox();
this.cmbYearS = new System.Windows.Forms.ToolStripComboBox();
@@ -133,10 +134,10 @@
this.rtMemo = new System.Windows.Forms.RichTextBox();
this.bsHistD = new System.Windows.Forms.BindingSource(this.components);
this.panel5 = new System.Windows.Forms.Panel();
- this.label31 = new System.Windows.Forms.Label();
+ this.label31 = new System.Windows.Forms.Button();
this.sbDateMemo = new System.Windows.Forms.Label();
this.panel4 = new System.Windows.Forms.Panel();
- this.label11 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.bsHist = new System.Windows.Forms.BindingSource(this.components);
this.label2 = new System.Windows.Forms.Label();
@@ -197,13 +198,13 @@
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.label17 = new System.Windows.Forms.Label();
this.taHistD = new FPJ0000.dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter();
- this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.cm.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.toolStrip1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsHistD)).BeginInit();
@@ -216,7 +217,6 @@
this.toolStrip2.SuspendLayout();
this.panel1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -499,7 +499,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(297, 418);
//
// columnSizeToolStripMenuItem
//
@@ -509,14 +509,14 @@
this.saveToolStripMenuItem,
this.loadToolStripMenuItem});
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
- this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.columnSizeToolStripMenuItem.Text = "열 너비";
//
// autoToolStripMenuItem
//
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
- this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.autoToolStripMenuItem.Size = new System.Drawing.Size(147, 36);
this.autoToolStripMenuItem.Text = "Auto";
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
//
@@ -524,7 +524,7 @@
//
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
- this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.resetToolStripMenuItem.Size = new System.Drawing.Size(147, 36);
this.resetToolStripMenuItem.Text = "Reset";
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
//
@@ -532,7 +532,7 @@
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
- this.saveToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.saveToolStripMenuItem.Size = new System.Drawing.Size(147, 36);
this.saveToolStripMenuItem.Text = "Save";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
@@ -540,40 +540,40 @@
//
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
- this.loadToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.loadToolStripMenuItem.Size = new System.Drawing.Size(147, 36);
this.loadToolStripMenuItem.Text = "Load";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
- this.toolStripMenuItem2.Size = new System.Drawing.Size(295, 6);
+ this.toolStripMenuItem2.Size = new System.Drawing.Size(293, 6);
//
// 편집ToolStripMenuItem
//
this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem";
- this.편집ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.편집ToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.편집ToolStripMenuItem.Text = "편집";
this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click);
//
// partListToolStripMenuItem
//
this.partListToolStripMenuItem.Name = "partListToolStripMenuItem";
- this.partListToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.partListToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.partListToolStripMenuItem.Text = "부품목록";
this.partListToolStripMenuItem.Click += new System.EventHandler(this.partListToolStripMenuItem_Click);
//
// iOMapToolStripMenuItem
//
this.iOMapToolStripMenuItem.Name = "iOMapToolStripMenuItem";
- this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.iOMapToolStripMenuItem.Text = "I/O LIST";
this.iOMapToolStripMenuItem.Click += new System.EventHandler(this.iOMapToolStripMenuItem_Click);
//
// 공유폴더ToolStripMenuItem
//
this.공유폴더ToolStripMenuItem.Name = "공유폴더ToolStripMenuItem";
- this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.공유폴더ToolStripMenuItem.Text = "공유 폴더";
this.공유폴더ToolStripMenuItem.Click += new System.EventHandler(this.공유폴더ToolStripMenuItem_Click);
//
@@ -581,52 +581,52 @@
//
this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Black;
this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem";
- this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.scheduleToolStripMenuItem.Text = "스케쥴 관리";
this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click);
//
// toolStripMenuItem3
//
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
- this.toolStripMenuItem3.Size = new System.Drawing.Size(295, 6);
+ this.toolStripMenuItem3.Size = new System.Drawing.Size(293, 6);
//
// 메일발송주소관리ToolStripMenuItem
//
this.메일발송주소관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.메일발송주소관리ToolStripMenuItem.Name = "메일발송주소관리ToolStripMenuItem";
- this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.메일발송주소관리ToolStripMenuItem.Text = "메일발송 주소 관리";
this.메일발송주소관리ToolStripMenuItem.Click += new System.EventHandler(this.메일발송주소관리ToolStripMenuItem_Click);
//
// makeRepeatToolStripMenuItem
//
this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem";
- this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.makeRepeatToolStripMenuItem.Text = "복사";
this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click);
//
// 삭제ToolStripMenuItem
//
this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem";
- this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.삭제ToolStripMenuItem.Text = "삭제";
this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click);
//
// 편집ToolStripMenuItem1
//
this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1";
- this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(298, 36);
+ this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(296, 36);
this.편집ToolStripMenuItem1.Text = "편집";
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
- this.toolStripMenuItem1.Size = new System.Drawing.Size(295, 6);
+ this.toolStripMenuItem1.Size = new System.Drawing.Size(293, 6);
//
// 엑셀파일로저장ToolStripMenuItem
//
this.엑셀파일로저장ToolStripMenuItem.Name = "엑셀파일로저장ToolStripMenuItem";
- this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
+ this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(296, 36);
this.엑셀파일로저장ToolStripMenuItem.Text = "목록 내보내기";
this.엑셀파일로저장ToolStripMenuItem.Click += new System.EventHandler(this.엑셀파일로저장ToolStripMenuItem_Click);
//
@@ -673,6 +673,275 @@
this.fpSpread1.TabIndex = 2;
this.fpSpread1.SetViewportLeftColumn(0, 0, 8);
//
+ // 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 = 34;
+ this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
+ this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
+ this.fpSpread1_Sheet1.ActiveRowIndex = -1;
+ this.fpSpread1_Sheet1.AutoGenerateColumns = false;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 7;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Schedule";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).ColumnSpan = 4;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Original\r\n($K)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).StyleName = " ";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Budget";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 4;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Human Resource";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "Comment";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).ColumnSpan = 4;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Ext.Info";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "Cost Save";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "Fan Out";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "High Light";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request Team";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Project Title";
+ 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 = "Status";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "검토\r\n기한";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Start Date";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Due Date";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Done Date";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "Q\'ty";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Outsourced Cost ($K)/Set\r\n";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "In-house Cost ($K/Set)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "Cost Save ($k)/Set";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SCR/CF";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "Champion";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "S/W";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "Design";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "ePanel";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "History";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "Memo";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Asset";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Model#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Serial#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "자스민";
+ 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)))));
+ 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;
+ 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 = 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 = textCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite";
+ this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site";
+ 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 = textCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage";
+ this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG";
+ 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 = 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 = 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;
+ 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;
+ 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 = "완료(%)";
+ 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 = 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 = 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 = 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 = 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 = 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;
+ 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;
+ 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;
+ 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)))));
+ 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 = 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 = textCellType14;
+ this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_champion";
+ this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(21).Label = "Champion";
+ 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 = textCellType15;
+ this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_software";
+ this.fpSpread1_Sheet1.Columns.Get(22).Label = "S/W";
+ this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
+ this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_design";
+ this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(23).Label = "Design";
+ 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 = 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).CellType = textCellType18;
+ this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory";
+ this.fpSpread1_Sheet1.Columns.Get(25).Label = "History";
+ this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19;
+ this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo";
+ this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo";
+ this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F;
+ this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20;
+ this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset";
+ this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset";
+ this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21;
+ this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model";
+ this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#";
+ this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22;
+ this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial";
+ this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#";
+ this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ numberCellType9.DecimalPlaces = 0;
+ numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType9.MaximumValue = 2147483647D;
+ numberCellType9.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType9;
+ this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin";
+ this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민";
+ this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(31).CellType = checkBoxCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(31).DataField = "bCost";
+ this.fpSpread1_Sheet1.Columns.Get(31).Width = 44F;
+ this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(32).DataField = "bFanOut";
+ this.fpSpread1_Sheet1.Columns.Get(32).Width = 44F;
+ this.fpSpread1_Sheet1.Columns.Get(33).CellType = checkBoxCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(33).DataField = "bHighlight";
+ this.fpSpread1_Sheet1.Columns.Get(33).Width = 39F;
+ this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
+ this.fpSpread1_Sheet1.DataSource = this.bs;
+ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
+ //
// toolStrip1
//
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
@@ -847,6 +1116,7 @@
this.rtMemo.Size = new System.Drawing.Size(470, 108);
this.rtMemo.TabIndex = 35;
this.rtMemo.Text = "";
+ this.rtMemo.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.rtMemo_MouseDoubleClick);
//
// bsHistD
//
@@ -874,7 +1144,7 @@
this.label31.Size = new System.Drawing.Size(376, 25);
this.label31.TabIndex = 14;
this.label31.Text = "프로젝트 메모";
- this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label31.Click += new System.EventHandler(this.label31_Click);
//
// sbDateMemo
//
@@ -909,7 +1179,7 @@
this.label11.Size = new System.Drawing.Size(534, 25);
this.label11.TabIndex = 14;
this.label11.Text = "주간 진행 내용";
- this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label11.Click += new System.EventHandler(this.label11_Click);
//
// label4
//
@@ -970,6 +1240,7 @@
this.richTextBox2.TabIndex = 1;
this.richTextBox2.Text = "";
this.richTextBox2.TextChanged += new System.EventHandler(this.richTextBox2_TextChanged);
+ this.richTextBox2.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.richTextBox2_MouseDoubleClick);
//
// tableLayoutPanel2
//
@@ -1704,275 +1975,6 @@
//
this.taHistD.ClearBeforeFill = true;
//
- // 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 = 34;
- this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
- this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
- this.fpSpread1_Sheet1.ActiveRowIndex = -1;
- this.fpSpread1_Sheet1.AutoGenerateColumns = false;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 7;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Schedule";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).ColumnSpan = 4;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Original\r\n($K)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).StyleName = " ";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Budget";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 4;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Human Resource";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "Comment";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).ColumnSpan = 4;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Ext.Info";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "Cost Save";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "Fan Out";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "High Light";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request Team";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Project Title";
- 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 = "Status";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "검토\r\n기한";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Start Date";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Due Date";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Done Date";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "Q\'ty";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Outsourced Cost ($K)/Set\r\n";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "In-house Cost ($K/Set)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "Cost Save ($k)/Set";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SCR/CF";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "Champion";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "S/W";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "Design";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "ePanel";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "History";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "Memo";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Asset";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Model#";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Serial#";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "자스민";
- 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)))));
- 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;
- 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 = 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 = textCellType2;
- this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite";
- this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site";
- 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 = textCellType4;
- this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage";
- this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG";
- 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 = 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 = 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;
- 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;
- 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 = "완료(%)";
- 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 = 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 = 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 = 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 = 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 = 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;
- 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;
- 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;
- 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)))));
- 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 = 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 = textCellType14;
- this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_champion";
- this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(21).Label = "Champion";
- 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 = textCellType15;
- this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_software";
- this.fpSpread1_Sheet1.Columns.Get(22).Label = "S/W";
- this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
- this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_design";
- this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(23).Label = "Design";
- 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 = 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).CellType = textCellType18;
- this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory";
- this.fpSpread1_Sheet1.Columns.Get(25).Label = "History";
- this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19;
- this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo";
- this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo";
- this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F;
- this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20;
- this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset";
- this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset";
- this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21;
- this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model";
- this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#";
- this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22;
- this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial";
- this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#";
- this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType9.DecimalPlaces = 0;
- numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType9.MaximumValue = 2147483647D;
- numberCellType9.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType9;
- this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin";
- this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민";
- this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(31).CellType = checkBoxCellType1;
- this.fpSpread1_Sheet1.Columns.Get(31).DataField = "bCost";
- this.fpSpread1_Sheet1.Columns.Get(31).Width = 44F;
- this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType2;
- this.fpSpread1_Sheet1.Columns.Get(32).DataField = "bFanOut";
- this.fpSpread1_Sheet1.Columns.Get(32).Width = 44F;
- this.fpSpread1_Sheet1.Columns.Get(33).CellType = checkBoxCellType3;
- this.fpSpread1_Sheet1.Columns.Get(33).DataField = "bHighlight";
- this.fpSpread1_Sheet1.Columns.Get(33).Width = 39F;
- this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
- this.fpSpread1_Sheet1.DataSource = this.bs;
- this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
- //
// fProjectList
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1994,6 +1996,7 @@
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
this.cm.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
@@ -2009,7 +2012,6 @@
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.tableLayoutPanel3.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -2072,7 +2074,7 @@
private System.Windows.Forms.ToolStripButton btEdit;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ToolTip toolTip1;
- private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Button label11;
private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel3;
@@ -2145,7 +2147,7 @@
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label30;
private System.Windows.Forms.Panel panel5;
- private System.Windows.Forms.Label label31;
+ private System.Windows.Forms.Button label31;
private System.Windows.Forms.Label sbDateMemo;
private System.Windows.Forms.RichTextBox rtMemo;
private System.Windows.Forms.BindingSource bsHistD;
diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs
index 71e0d72..61fed1d 100644
--- a/SubProject/FPJ0000/Project/fProjectList.cs
+++ b/SubProject/FPJ0000/Project/fProjectList.cs
@@ -911,5 +911,94 @@ namespace FPJ0000
}
else sbDateMemo.BackColor = SystemColors.Control;
}
+
+ private void label31_Click(object sender, EventArgs e)
+ {
+
+ var drv = this.bs.Current as DataRowView;
+ if (drv == null) return;
+ var dr = drv.Row as dsPRJ.ProjectsRow;
+
+ //프로젝트 메모 추가
+ var newdr = this.dsMSSQL.EETGW_ProjecthistoryD.NewEETGW_ProjecthistoryDRow();
+ newdr.pdate = DateTime.Now.ToShortDateString();
+ newdr.wdate = DateTime.Now;
+ newdr.wuid = FCOMMON.info.Login.no;
+ newdr.remark = string.Empty;
+ newdr.pidx = dr.idx;
+ var f = new fHistAddDay(newdr);
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ newdr.EndEdit();
+ dsMSSQL.EETGW_ProjecthistoryD.AddEETGW_ProjecthistoryDRow(newdr);
+ var cnt = taHistD.Update(newdr);
+ if (cnt < 1) FCOMMON.Util.MsgE("추가가 실패 되었습니다");
+ else bs_CurrentChanged(null, null);
+ }
+ }
+ private void label11_Click(object sender, EventArgs e)
+ {
+ var drv = this.bs.Current as DataRowView;
+ if (drv == null) return;
+ var dr = drv.Row as dsPRJ.ProjectsRow;
+
+
+ //주간진행내용 추가
+ var newdr = this.dsMSSQL.ProjectsHistory.NewProjectsHistoryRow();
+ newdr.pdate = DateTime.Now.ToShortDateString();
+ newdr.wdate = DateTime.Now;
+ newdr.wuid = FCOMMON.info.Login.no;
+ newdr.remark = string.Empty;
+ newdr.pidx = dr.idx;
+
+ var f = new fHistAdd(newdr);
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ newdr.EndEdit();
+ dsMSSQL.ProjectsHistory.AddProjectsHistoryRow(newdr);
+ var cnt = taHist.Update(newdr);
+ if (cnt < 1) FCOMMON.Util.MsgE("추가가 실패 되었습니다");
+ else bs_CurrentChanged(null, null);
+ }
+ }
+
+
+
+
+ private void rtMemo_MouseDoubleClick(object sender, MouseEventArgs e)
+ {
+ //프로젝트메모편집
+
+ var drv = this.bsHistD.Current as DataRowView;
+ if (drv == null) return;
+
+ var newdr = drv.Row as dsPRJ.EETGW_ProjecthistoryDRow;
+ var f = new fHistAddDay(newdr);
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ newdr.EndEdit();
+ var cnt = taHistD.Update(newdr);
+ if (cnt < 1) FCOMMON.Util.MsgE("편집이 실패 되었습니다");
+ }
+ }
+
+ private void richTextBox2_MouseDoubleClick(object sender, MouseEventArgs e)
+ {
+ //주간진행내용편집
+
+ var drv = this.bsHist.Current as DataRowView;
+ if (drv == null) return;
+
+ var newdr = drv.Row as dsPRJ.ProjectsHistoryRow;
+ var f = new fHistAdd(newdr);
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ newdr.EndEdit();
+ taHist.Update(newdr);
+ }
+
+ }
+
+
}
}
\ No newline at end of file
diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx
index 1ba2816..185a8cf 100644
--- a/SubProject/FPJ0000/Project/fProjectList.resx
+++ b/SubProject/FPJ0000/Project/fProjectList.resx
@@ -130,7 +130,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wAAADsABataJCQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -141,7 +141,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ wAAADsABataJCQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -150,7 +150,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ wAAADsABataJCQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -159,7 +159,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ wAAADsABataJCQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -170,7 +170,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
+ wAAADsABataJCQAAAUpJREFUOE9jGLzg7gL2/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
@@ -192,7 +192,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
+ wAAADsABataJCQAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
@@ -204,7 +204,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
+ wAAADsABataJCQAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
@@ -522,7 +522,7 @@
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAN
- 1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMZSURBVEhLzVdd
+ 1AAADdQB75G6FQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMZSURBVEhLzVdd
TxNBFF3/hi8+GH0xJmriq5HdzralCMKDGl/LxwMphCe+QqKBmCBB3oDAzyD8A4F+AfJATFRMoAhtUVrY
CqXajvcss2Ep07KlEDzJSSY7d+7p3Llz51b57zHvcj0M6vpgxOuNhD2eGI2NIGMGxmF8Y+ztHGMPhHl1
4IpyI6hpr0K6vhn1+fbX2tpyPwcGeHpoiGeGh01ijG/fW1uPyMYIu92xBZfrBdYKN5UhpGl3aVeflxoa
diff --git a/SubProject/FPJ0000/Project/rPartList.Designer.cs b/SubProject/FPJ0000/Project/rPartList.Designer.cs
index 2b17ff9..47ddbff 100644
--- a/SubProject/FPJ0000/Project/rPartList.Designer.cs
+++ b/SubProject/FPJ0000/Project/rPartList.Designer.cs
@@ -36,17 +36,18 @@
System.Windows.Forms.Label edateLabel;
System.Windows.Forms.Label odateLabel;
System.Windows.Forms.Label statusLabel;
- 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.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
- 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.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType31 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType32 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType33 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.dsPRJ = new FPJ0000.dsPRJ();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
this.bs = new System.Windows.Forms.BindingSource(this.components);
@@ -63,7 +64,6 @@
this.statusTextBox = new System.Windows.Forms.TextBox();
this.dsReport1 = new FPJ0000.dsReport();
this.bsSummary = new System.Windows.Forms.BindingSource(this.components);
- this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
pdateLabel = new System.Windows.Forms.Label();
requestLabel = new System.Windows.Forms.Label();
reqstaffLabel = new System.Windows.Forms.Label();
@@ -74,17 +74,17 @@
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
this.cm1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dsReport1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsSummary)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.SuspendLayout();
//
// pdateLabel
//
pdateLabel.AutoSize = true;
- pdateLabel.Location = new System.Drawing.Point(23, 43);
+ pdateLabel.Location = new System.Drawing.Point(23, 42);
pdateLabel.Name = "pdateLabel";
pdateLabel.Size = new System.Drawing.Size(41, 12);
pdateLabel.TabIndex = 4;
@@ -93,7 +93,7 @@
// requestLabel
//
requestLabel.AutoSize = true;
- requestLabel.Location = new System.Drawing.Point(330, 15);
+ requestLabel.Location = new System.Drawing.Point(11, 69);
requestLabel.Name = "requestLabel";
requestLabel.Size = new System.Drawing.Size(53, 12);
requestLabel.TabIndex = 6;
@@ -102,7 +102,7 @@
// reqstaffLabel
//
reqstaffLabel.AutoSize = true;
- reqstaffLabel.Location = new System.Drawing.Point(330, 42);
+ reqstaffLabel.Location = new System.Drawing.Point(263, 69);
reqstaffLabel.Name = "reqstaffLabel";
reqstaffLabel.Size = new System.Drawing.Size(53, 12);
reqstaffLabel.TabIndex = 8;
@@ -111,7 +111,7 @@
// sdateLabel
//
sdateLabel.AutoSize = true;
- sdateLabel.Location = new System.Drawing.Point(178, 42);
+ sdateLabel.Location = new System.Drawing.Point(173, 42);
sdateLabel.Name = "sdateLabel";
sdateLabel.Size = new System.Drawing.Size(41, 12);
sdateLabel.TabIndex = 10;
@@ -120,7 +120,7 @@
// edateLabel
//
edateLabel.AutoSize = true;
- edateLabel.Location = new System.Drawing.Point(178, 69);
+ edateLabel.Location = new System.Drawing.Point(492, 42);
edateLabel.Name = "edateLabel";
edateLabel.Size = new System.Drawing.Size(41, 12);
edateLabel.TabIndex = 12;
@@ -129,7 +129,7 @@
// odateLabel
//
odateLabel.AutoSize = true;
- odateLabel.Location = new System.Drawing.Point(35, 69);
+ odateLabel.Location = new System.Drawing.Point(338, 42);
odateLabel.Name = "odateLabel";
odateLabel.Size = new System.Drawing.Size(29, 12);
odateLabel.TabIndex = 14;
@@ -138,7 +138,7 @@
// statusLabel
//
statusLabel.AutoSize = true;
- statusLabel.Location = new System.Drawing.Point(354, 69);
+ statusLabel.Location = new System.Drawing.Point(521, 69);
statusLabel.Name = "statusLabel";
statusLabel.Size = new System.Drawing.Size(29, 12);
statusLabel.TabIndex = 22;
@@ -169,20 +169,86 @@
this.toolStripMenuItem1,
this.exportListToolStripMenuItem});
this.cm1.Name = "cm1";
- this.cm1.Size = new System.Drawing.Size(243, 46);
+ this.cm1.Size = new System.Drawing.Size(241, 46);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
- this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6);
+ this.toolStripMenuItem1.Size = new System.Drawing.Size(237, 6);
//
// exportListToolStripMenuItem
//
this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
- this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
+ this.exportListToolStripMenuItem.Size = new System.Drawing.Size(240, 36);
this.exportListToolStripMenuItem.Text = "목록 내보내기";
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
//
+ // fpSpread1_Sheet1
+ //
+ this.fpSpread1_Sheet1.Reset();
+ this.fpSpread1_Sheet1.SheetName = "Sheet1";
+ // Formulas and custom names must be loaded with R1C1 reference style
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
+ this.fpSpread1_Sheet1.ColumnCount = 6;
+ this.fpSpread1_Sheet1.RowCount = 0;
+ this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
+ this.fpSpread1_Sheet1.ActiveRowIndex = -1;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "중분류";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "소분류";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공급처";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "금액";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "금액(N)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "금액(구매신청)";
+ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F;
+ this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType31;
+ 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 = 151F;
+ this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType32;
+ this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류";
+ this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
+ this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType33;
+ this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(2).Label = "공급처";
+ this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F;
+ numberCellType31.DecimalPlaces = 0;
+ numberCellType31.MaximumValue = 999999999999999D;
+ numberCellType31.MinimumValue = -999999999999999D;
+ numberCellType31.NegativeRed = true;
+ numberCellType31.ShowSeparator = true;
+ this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType31;
+ this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ 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 = 120F;
+ numberCellType32.DecimalPlaces = 0;
+ numberCellType32.MaximumValue = 10000000D;
+ numberCellType32.MinimumValue = -10000000D;
+ numberCellType32.NegativeRed = true;
+ numberCellType32.ShowSeparator = true;
+ this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType32;
+ this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ this.fpSpread1_Sheet1.Columns.Get(4).Label = "금액(N)";
+ this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(4).Width = 120F;
+ numberCellType33.DecimalPlaces = 0;
+ numberCellType33.MaximumValue = 10000000D;
+ numberCellType33.MinimumValue = -10000000D;
+ numberCellType33.NegativeRed = true;
+ numberCellType33.ShowSeparator = true;
+ this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType33;
+ this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
+ 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 = 120F;
+ this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
+ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
+ //
// ta
//
this.ta.ClearBeforeFill = true;
@@ -224,7 +290,7 @@
//
// button1
//
- this.button1.Location = new System.Drawing.Point(588, 12);
+ this.button1.Location = new System.Drawing.Point(868, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(98, 75);
this.button1.TabIndex = 26;
@@ -247,14 +313,14 @@
this.nameTextBox.Enabled = false;
this.nameTextBox.Location = new System.Drawing.Point(70, 12);
this.nameTextBox.Name = "nameTextBox";
- this.nameTextBox.Size = new System.Drawing.Size(246, 21);
+ this.nameTextBox.Size = new System.Drawing.Size(562, 21);
this.nameTextBox.TabIndex = 3;
//
// pdateTextBox
//
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
this.pdateTextBox.Enabled = false;
- this.pdateTextBox.Location = new System.Drawing.Point(70, 39);
+ this.pdateTextBox.Location = new System.Drawing.Point(70, 38);
this.pdateTextBox.Name = "pdateTextBox";
this.pdateTextBox.Size = new System.Drawing.Size(92, 21);
this.pdateTextBox.TabIndex = 5;
@@ -264,7 +330,7 @@
//
this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "process", true));
this.requestTextBox.Enabled = false;
- this.requestTextBox.Location = new System.Drawing.Point(396, 12);
+ this.requestTextBox.Location = new System.Drawing.Point(70, 65);
this.requestTextBox.Name = "requestTextBox";
this.requestTextBox.Size = new System.Drawing.Size(186, 21);
this.requestTextBox.TabIndex = 7;
@@ -273,7 +339,7 @@
//
this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
this.reqstaffTextBox.Enabled = false;
- this.reqstaffTextBox.Location = new System.Drawing.Point(396, 39);
+ this.reqstaffTextBox.Location = new System.Drawing.Point(329, 65);
this.reqstaffTextBox.Name = "reqstaffTextBox";
this.reqstaffTextBox.Size = new System.Drawing.Size(186, 21);
this.reqstaffTextBox.TabIndex = 9;
@@ -282,7 +348,7 @@
//
this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true));
this.sdateTextBox.Enabled = false;
- this.sdateTextBox.Location = new System.Drawing.Point(224, 39);
+ this.sdateTextBox.Location = new System.Drawing.Point(222, 38);
this.sdateTextBox.Name = "sdateTextBox";
this.sdateTextBox.Size = new System.Drawing.Size(92, 21);
this.sdateTextBox.TabIndex = 11;
@@ -292,7 +358,7 @@
//
this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true));
this.edateTextBox.Enabled = false;
- this.edateTextBox.Location = new System.Drawing.Point(224, 66);
+ this.edateTextBox.Location = new System.Drawing.Point(540, 38);
this.edateTextBox.Name = "edateTextBox";
this.edateTextBox.Size = new System.Drawing.Size(92, 21);
this.edateTextBox.TabIndex = 13;
@@ -302,7 +368,7 @@
//
this.odateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true));
this.odateTextBox.Enabled = false;
- this.odateTextBox.Location = new System.Drawing.Point(70, 66);
+ this.odateTextBox.Location = new System.Drawing.Point(376, 38);
this.odateTextBox.Name = "odateTextBox";
this.odateTextBox.Size = new System.Drawing.Size(92, 21);
this.odateTextBox.TabIndex = 15;
@@ -312,9 +378,9 @@
//
this.statusTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "status", true));
this.statusTextBox.Enabled = false;
- this.statusTextBox.Location = new System.Drawing.Point(396, 66);
+ this.statusTextBox.Location = new System.Drawing.Point(563, 65);
this.statusTextBox.Name = "statusTextBox";
- this.statusTextBox.Size = new System.Drawing.Size(186, 21);
+ this.statusTextBox.Size = new System.Drawing.Size(69, 21);
this.statusTextBox.TabIndex = 23;
this.statusTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
@@ -329,72 +395,6 @@
this.bsSummary.DataSource = this.dsReport1;
this.bsSummary.Sort = "";
//
- // 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 = 6;
- this.fpSpread1_Sheet1.RowCount = 0;
- this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
- this.fpSpread1_Sheet1.ActiveRowIndex = -1;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "중분류";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "소분류";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공급처";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "금액";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "금액(N)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "금액(구매신청)";
- this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F;
- this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType4;
- 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 = 151F;
- this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType5;
- this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류";
- this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
- this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType6;
- this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(2).Label = "공급처";
- this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F;
- numberCellType4.DecimalPlaces = 0;
- numberCellType4.MaximumValue = 999999999999999D;
- numberCellType4.MinimumValue = -999999999999999D;
- numberCellType4.NegativeRed = true;
- numberCellType4.ShowSeparator = true;
- this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType4;
- this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
- 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 = 120F;
- numberCellType5.DecimalPlaces = 0;
- numberCellType5.MaximumValue = 10000000D;
- numberCellType5.MinimumValue = -10000000D;
- numberCellType5.NegativeRed = true;
- numberCellType5.ShowSeparator = true;
- this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType5;
- this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
- this.fpSpread1_Sheet1.Columns.Get(4).Label = "금액(N)";
- this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(4).Width = 120F;
- numberCellType6.DecimalPlaces = 0;
- numberCellType6.MaximumValue = 10000000D;
- numberCellType6.MinimumValue = -10000000D;
- numberCellType6.NegativeRed = true;
- numberCellType6.ShowSeparator = true;
- this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType6;
- this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
- 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 = 120F;
- this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
- this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
- //
// rPartList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -409,12 +409,12 @@
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
this.cm1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dsReport1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsSummary)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.ResumeLayout(false);
}
diff --git a/SubProject/FPJ0000/fHistAdd.Designer.cs b/SubProject/FPJ0000/fHistAdd.Designer.cs
index 7628701..40806b6 100644
--- a/SubProject/FPJ0000/fHistAdd.Designer.cs
+++ b/SubProject/FPJ0000/fHistAdd.Designer.cs
@@ -66,13 +66,14 @@
this.tbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
+ this.tbRemark.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.tbRemark.Location = new System.Drawing.Point(247, 38);
this.tbRemark.Multiline = true;
this.tbRemark.Name = "tbRemark";
this.tbRemark.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.tbRemark.Size = new System.Drawing.Size(525, 512);
this.tbRemark.TabIndex = 1;
- this.tbRemark.WordWrap = false;
+ this.tbRemark.Text = "12321\'";
//
// btOK
//
diff --git a/SubProject/FPJ0000/fHistAddDay.Designer.cs b/SubProject/FPJ0000/fHistAddDay.Designer.cs
index 6bd4ab3..5b08db9 100644
--- a/SubProject/FPJ0000/fHistAddDay.Designer.cs
+++ b/SubProject/FPJ0000/fHistAddDay.Designer.cs
@@ -66,13 +66,14 @@
this.tbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
+ this.tbRemark.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbRemark.Location = new System.Drawing.Point(247, 38);
this.tbRemark.Multiline = true;
this.tbRemark.Name = "tbRemark";
this.tbRemark.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.tbRemark.Size = new System.Drawing.Size(525, 512);
this.tbRemark.TabIndex = 1;
- this.tbRemark.WordWrap = false;
+ this.tbRemark.Text = "쓰기 테스트 입니다.";
//
// btOK
//
@@ -84,7 +85,7 @@
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//
- // fHistAdd
+ // fHistAddDay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -96,7 +97,7 @@
this.Controls.Add(this.mcDate);
this.KeyPreview = true;
this.MinimizeBox = false;
- this.Name = "fHistAdd";
+ this.Name = "fHistAddDay";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "History Add/Edit";
this.Load += new System.EventHandler(this.fHistAdd_Load);