구매담당자 메세지 및 수량 항목 추가

This commit is contained in:
chi
2023-08-17 11:13:18 +09:00
parent 40112e039f
commit fed728d82f
15 changed files with 2924 additions and 1010 deletions

View File

@@ -30,38 +30,40 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR));
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType 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 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.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();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
@@ -139,8 +141,9 @@
this.btViewDel = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -816,10 +819,35 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1284, 607);
this.fpSpread1.Size = new System.Drawing.Size(1284, 584);
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 4;
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff);
this.fpSpread1.SetViewportLeftColumn(0, 0, 5);
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(0, 644);
this.label1.Name = "label1";
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.label1.Size = new System.Drawing.Size(1284, 23);
this.label1.TabIndex = 6;
this.label1.Text = "--";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label2.Location = new System.Drawing.Point(0, 621);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.label2.Size = new System.Drawing.Size(1284, 23);
this.label2.TabIndex = 7;
this.label2.Text = "--";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// fpSpread1_Sheet1
//
@@ -827,7 +855,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 = 34;
this.fpSpread1_Sheet1.ColumnCount = 36;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
@@ -850,33 +878,35 @@
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 = "입고";
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.Cells.Get(0, 19).Value = "수량\r\n(요청)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "수량\r\n(구매)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "단";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "단가($)";
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 = "비고\r\n(요청자)";
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 = "입고수량";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "PO#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).Value = "비고\r\n(담당자)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 35).Value = "삭제됨";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType4;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "요청\r\n검사";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 31F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType5;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "구매\r\n검사";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 35F;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "등록일";
@@ -885,7 +915,7 @@
this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType24;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "상태";
@@ -893,37 +923,37 @@
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType25;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "Storage";
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 = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType26;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "공정";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType27;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "requestName";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "요청";
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "requestName";
this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType28;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "costcenter";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Label = "Cost Center";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType29;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "linecode";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "LineCode";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType30;
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#";
@@ -931,7 +961,7 @@
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType31;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "SCR/CF";
@@ -939,204 +969,205 @@
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).CellType = textCellType32;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "수령";
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(12).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType33;
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).CellType = textCellType34;
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(14).CellType = numberCellType1;
numberCellType10.DecimalPlaces = 0;
numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType10.MaximumValue = 2147483647D;
numberCellType10.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType10;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType35;
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 = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType36;
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).CellType = textCellType36;
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).CellType = textCellType36;
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(19).CellType = numberCellType2;
numberCellType11.DecimalPlaces = 0;
numberCellType11.NegativeRed = true;
numberCellType11.NullDisplay = "--";
numberCellType11.Separator = ",";
numberCellType11.ShowSeparator = true;
numberCellType11.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType11;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "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).Label = "수량\r\n(요청)";
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";
numberCellType12.DecimalPlaces = 0;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType12;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumqtyReq";
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(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;
numberCellType4.NegativeRed = true;
numberCellType4.NullDisplay = "--";
numberCellType4.Separator = ",";
numberCellType4.ShowSeparator = true;
numberCellType4.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(20).Label = "수량\r\n(구매)";
this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Width = 55F;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType37;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Label = "단";
this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F;
numberCellType13.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType13;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(22).Label = "단가";
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;
numberCellType5.NegativeRed = true;
numberCellType5.NullDisplay = "--";
numberCellType5.Separator = ",";
numberCellType5.ShowSeparator = true;
numberCellType5.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(22).Label = "단가($)";
this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType14.DecimalPlaces = 0;
numberCellType14.MaximumValue = 9999999999999.99D;
numberCellType14.MinimumValue = -9999999999999.99D;
numberCellType14.NegativeRed = true;
numberCellType14.NullDisplay = "--";
numberCellType14.Separator = ",";
numberCellType14.ShowSeparator = true;
numberCellType14.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType14;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "pumprice";
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).Label = "단가";
this.fpSpread1_Sheet1.Columns.Get(23).Tag = "pumprice";
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";
numberCellType15.DecimalPlaces = 0;
numberCellType15.MaximumValue = 9999999999999.99D;
numberCellType15.MinimumValue = -9999999999999.99D;
numberCellType15.NegativeRed = true;
numberCellType15.NullDisplay = "--";
numberCellType15.Separator = ",";
numberCellType15.ShowSeparator = true;
numberCellType15.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = numberCellType15;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(24).Label = "합계금액";
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "pumamt";
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(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).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType38;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(25).Label = "공급업체";
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "supply";
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).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType16.DecimalPlaces = 0;
numberCellType16.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType16.MaximumValue = 2147483647D;
numberCellType16.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType16;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "supplyidx";
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(26).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(26).Visible = false;
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(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).Tag = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(27).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(27).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType39;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "프로젝트";
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType18;
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).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType17.DecimalPlaces = 0;
numberCellType17.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType17.MaximumValue = 2147483647D;
numberCellType17.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType17;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "projectidx";
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 = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(28).Visible = false;
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).CellType = textCellType40;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "bigo";
this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(29).Label = "비고\r\n(요청자)";
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "bigo";
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 = textCellType20;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType41;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "edate";
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).Label = "입고예정";
this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F;
numberCellType8.DecimalPlaces = 0;
numberCellType8.NegativeRed = true;
numberCellType8.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType8;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "inqty";
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType42;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "indate";
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).Label = "입고";
this.fpSpread1_Sheet1.Columns.Get(31).Tag = "indate";
this.fpSpread1_Sheet1.Columns.Get(31).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "po";
numberCellType18.DecimalPlaces = 0;
numberCellType18.NegativeRed = true;
numberCellType18.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = numberCellType18;
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "inqty";
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).Label = "입고수량";
this.fpSpread1_Sheet1.Columns.Get(32).Tag = "inqty";
this.fpSpread1_Sheet1.Columns.Get(32).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
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).CellType = textCellType43;
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "po";
this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(33).Label = "PO#";
this.fpSpread1_Sheet1.Columns.Get(33).Tag = "po";
this.fpSpread1_Sheet1.Columns.Get(33).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(34).CellType = textCellType44;
this.fpSpread1_Sheet1.Columns.Get(34).DataField = "chkremark";
this.fpSpread1_Sheet1.Columns.Get(34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(34).Label = "비고\r\n(담당자)";
this.fpSpread1_Sheet1.Columns.Get(34).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(35).CellType = checkBoxCellType6;
this.fpSpread1_Sheet1.Columns.Get(35).DataField = "isdel";
this.fpSpread1_Sheet1.Columns.Get(35).Label = "삭제됨";
this.fpSpread1_Sheet1.Columns.Get(35).Tag = "isdel";
this.fpSpread1_Sheet1.Columns.Get(35).Width = 51F;
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(0, 644);
this.label1.Name = "label1";
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.label1.Size = new System.Drawing.Size(1284, 23);
this.label1.TabIndex = 6;
this.label1.Text = "--";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// fPurchaseNR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1284, 693);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.bn);
@@ -1239,6 +1270,7 @@
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton5;
private System.Windows.Forms.Label label2;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}

View File

@@ -963,6 +963,13 @@ namespace FEQ0000
this.label1.Text = $"비고:{dr.bigo.Replace("\r", "").Replace("\n", "")}";
else
this.label1.Text = $"프로젝트:{dr.project},비고:{dr.bigo.Replace("\r", "").Replace("\n", "")}";
if (dr.IschkremarkNull() == false && dr.chkremark.Length > 0)
{
this.label2.Text = $"구매담당비고:{dr.chkremark}";
this.label2.Visible = true;
}
else this.label2.Visible = false;
}
private void toolStripButton4_Click(object sender, EventArgs e)

View File

@@ -136,7 +136,7 @@
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
vQAADr0BR/uQrQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -147,7 +147,7 @@
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
vQAADr0BR/uQrQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -156,7 +156,7 @@
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
vQAADr0BR/uQrQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -165,7 +165,7 @@
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
vQAADr0BR/uQrQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -176,7 +176,7 @@
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vgAADr4B6kKxwAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
vQAADr0BR/uQrQAAAUpJREFUOE9jGLzg7gL2/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 @@
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vgAADr4B6kKxwAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
vQAADr0BR/uQrQAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
@@ -279,6 +279,35 @@
pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
AAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="입고품목메일전송ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -318,35 +347,6 @@
oQIAAAJCCriYcSOGDCgzBAiQYSTGDQM4AjBAEwGCCRRIftypoKcDBwcS5MQIYIBRBQ0aPCBAwIKDoR4A
cFiZdKmFAgUOQAWwIKnSpgUkSOgA1UCCqmAlVKgAoWyCBQsSOLhwoAMECBfK2tw7oa9fqBYDL2yIMCAA
Ow==
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
AAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -54,6 +54,8 @@
System.Windows.Forms.Label label11;
System.Windows.Forms.Label label12;
System.Windows.Forms.Label label13;
System.Windows.Forms.Label label14;
System.Windows.Forms.Label label15;
this.tbSC = new System.Windows.Forms.TextBox();
this.tbSID = new System.Windows.Forms.TextBox();
this.tbPumName = new System.Windows.Forms.TextBox();
@@ -74,7 +76,6 @@
this.cmbRequest = new System.Windows.Forms.ComboBox();
this.cmbReceive = new System.Windows.Forms.ComboBox();
this.tbPumIDX = new System.Windows.Forms.TextBox();
this.tbPumStock = new System.Windows.Forms.TextBox();
this.dtInDate = new System.Windows.Forms.DateTimePicker();
this.chkInDate = new System.Windows.Forms.CheckBox();
this.dtExpDate = new System.Windows.Forms.DateTimePicker();
@@ -90,6 +91,10 @@
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.btEQModel = new System.Windows.Forms.Button();
this.btEQManu = new System.Windows.Forms.Button();
this.btManuProc = new System.Windows.Forms.Button();
this.btProcess = new System.Windows.Forms.Button();
this.tbLineCode = new System.Windows.Forms.TextBox();
this.tbCostCenter = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
@@ -104,10 +109,8 @@
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.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();
this.tbBigoChk = new System.Windows.Forms.TextBox();
this.tbpumqtyReq = new System.Windows.Forms.TextBox();
processLabel = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
scLabel = new System.Windows.Forms.Label();
@@ -132,6 +135,8 @@
label11 = new System.Windows.Forms.Label();
label12 = new System.Windows.Forms.Label();
label13 = new System.Windows.Forms.Label();
label14 = new System.Windows.Forms.Label();
label15 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
@@ -146,7 +151,7 @@
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.TabIndex = 8;
processLabel.Text = "공정";
processLabel.Click += new System.EventHandler(this.processLabel_Click);
//
@@ -167,23 +172,23 @@
scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
scLabel.Name = "scLabel";
scLabel.Size = new System.Drawing.Size(27, 20);
scLabel.TabIndex = 8;
scLabel.TabIndex = 10;
scLabel.Text = "SC";
//
// sidLabel
//
sidLabel.AutoSize = true;
sidLabel.Location = new System.Drawing.Point(54, 252);
sidLabel.Location = new System.Drawing.Point(54, 271);
sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
sidLabel.Name = "sidLabel";
sidLabel.Size = new System.Drawing.Size(32, 20);
sidLabel.TabIndex = 19;
sidLabel.TabIndex = 25;
sidLabel.Text = "SID";
//
// pumscaleLabel
//
pumscaleLabel.AutoSize = true;
pumscaleLabel.Location = new System.Drawing.Point(11, 124);
pumscaleLabel.Location = new System.Drawing.Point(11, 112);
pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumscaleLabel.Name = "pumscaleLabel";
pumscaleLabel.Size = new System.Drawing.Size(75, 20);
@@ -193,31 +198,31 @@
// pumqtyLabel
//
pumqtyLabel.AutoSize = true;
pumqtyLabel.Location = new System.Drawing.Point(47, 154);
pumqtyLabel.Location = new System.Drawing.Point(17, 144);
pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumqtyLabel.Name = "pumqtyLabel";
pumqtyLabel.Size = new System.Drawing.Size(39, 20);
pumqtyLabel.Size = new System.Drawing.Size(69, 20);
pumqtyLabel.TabIndex = 12;
pumqtyLabel.Text = "수량";
pumqtyLabel.Text = "요청수량";
//
// pumpriceLabel
//
pumpriceLabel.AutoSize = true;
pumpriceLabel.Location = new System.Drawing.Point(280, 154);
pumpriceLabel.Location = new System.Drawing.Point(47, 176);
pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumpriceLabel.Name = "pumpriceLabel";
pumpriceLabel.Size = new System.Drawing.Size(39, 20);
pumpriceLabel.TabIndex = 15;
pumpriceLabel.TabIndex = 16;
pumpriceLabel.Text = "단가";
//
// pumamtLabel
//
pumamtLabel.AutoSize = true;
pumamtLabel.Location = new System.Drawing.Point(47, 220);
pumamtLabel.Location = new System.Drawing.Point(47, 237);
pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumamtLabel.Name = "pumamtLabel";
pumamtLabel.Size = new System.Drawing.Size(39, 20);
pumamtLabel.TabIndex = 17;
pumamtLabel.TabIndex = 21;
pumamtLabel.Text = "합계";
//
// assetLabel
@@ -227,7 +232,7 @@
assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
assetLabel.Name = "assetLabel";
assetLabel.Size = new System.Drawing.Size(69, 20);
assetLabel.TabIndex = 18;
assetLabel.TabIndex = 20;
assetLabel.Text = "장비모델";
//
// poLabel
@@ -237,24 +242,24 @@
poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
poLabel.Name = "poLabel";
poLabel.Size = new System.Drawing.Size(30, 20);
poLabel.TabIndex = 10;
poLabel.TabIndex = 12;
poLabel.Text = "PO";
//
// deptLabel
//
deptLabel.AutoSize = true;
deptLabel.Location = new System.Drawing.Point(47, 355);
deptLabel.Location = new System.Drawing.Point(4, 368);
deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
deptLabel.Name = "deptLabel";
deptLabel.Size = new System.Drawing.Size(39, 20);
deptLabel.TabIndex = 27;
deptLabel.Text = "비고";
deptLabel.Size = new System.Drawing.Size(84, 20);
deptLabel.TabIndex = 34;
deptLabel.Text = "요청자비고";
this.toolTip1.SetToolTip(deptLabel, resources.GetString("deptLabel.ToolTip"));
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(32, 32);
label1.Location = new System.Drawing.Point(32, 21);
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(54, 20);
@@ -268,7 +273,7 @@
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(84, 20);
label2.TabIndex = 16;
label2.TabIndex = 18;
label2.Text = "장비제조사";
//
// label4
@@ -278,7 +283,7 @@
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(69, 20);
label4.TabIndex = 14;
label4.TabIndex = 16;
label4.Text = "제조공정";
//
// label5
@@ -288,13 +293,13 @@
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(59, 20);
label5.TabIndex = 12;
label5.TabIndex = 14;
label5.Text = "SCR/CF";
//
// label3
//
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(47, 63);
label3.Location = new System.Drawing.Point(47, 52);
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(39, 20);
@@ -304,7 +309,7 @@
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(280, 62);
label6.Location = new System.Drawing.Point(280, 51);
label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(39, 20);
@@ -320,18 +325,18 @@
label7.Name = "label7";
label7.Padding = new System.Windows.Forms.Padding(5);
label7.Size = new System.Drawing.Size(910, 103);
label7.TabIndex = 17;
label7.TabIndex = 1;
label7.Text = resources.GetString("label7.Text");
//
// label8
//
label8.AutoSize = true;
label8.ForeColor = System.Drawing.Color.Blue;
label8.Location = new System.Drawing.Point(29, 187);
label8.Location = new System.Drawing.Point(29, 206);
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(57, 20);
label8.TabIndex = 35;
label8.TabIndex = 18;
label8.Text = "단가($)";
//
// label9
@@ -339,21 +344,21 @@
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, 191);
label9.Location = new System.Drawing.Point(285, 210);
label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label9.Name = "label9";
label9.Size = new System.Drawing.Size(163, 15);
label9.TabIndex = 37;
label9.TabIndex = 20;
label9.Text = "해외물품은 좌측 단가를 입력";
//
// label10
//
label10.AutoSize = true;
label10.Location = new System.Drawing.Point(287, 220);
label10.Location = new System.Drawing.Point(287, 237);
label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label10.Name = "label10";
label10.Size = new System.Drawing.Size(75, 20);
label10.TabIndex = 38;
label10.TabIndex = 23;
label10.Text = "STORAGE";
//
// label11
@@ -363,7 +368,7 @@
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.TabIndex = 6;
label11.Text = "입고수량";
//
// label12
@@ -373,7 +378,7 @@
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.TabIndex = 24;
label12.Text = "Line Code";
//
// label13
@@ -383,7 +388,7 @@
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.TabIndex = 22;
label13.Text = "Cost Center";
//
// tbSC
@@ -392,24 +397,24 @@
this.tbSC.Margin = new System.Windows.Forms.Padding(4);
this.tbSC.Name = "tbSC";
this.tbSC.Size = new System.Drawing.Size(286, 27);
this.tbSC.TabIndex = 9;
this.tbSC.TabIndex = 11;
this.tbSC.TextChanged += new System.EventHandler(this.tbSC_TextChanged);
//
// tbSID
//
this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.tbSID.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbSID.Location = new System.Drawing.Point(93, 249);
this.tbSID.Location = new System.Drawing.Point(93, 264);
this.tbSID.Margin = new System.Windows.Forms.Padding(4);
this.tbSID.Name = "tbSID";
this.tbSID.Size = new System.Drawing.Size(179, 34);
this.tbSID.TabIndex = 20;
this.tbSID.TabIndex = 26;
//
// tbPumName
//
this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPumName.Location = new System.Drawing.Point(93, 91);
this.tbPumName.Location = new System.Drawing.Point(93, 79);
this.tbPumName.Margin = new System.Windows.Forms.Padding(4);
this.tbPumName.Name = "tbPumName";
this.tbPumName.Size = new System.Drawing.Size(311, 27);
@@ -421,7 +426,7 @@
//
this.tbPumModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha;
this.tbPumModel.Location = new System.Drawing.Point(93, 121);
this.tbPumModel.Location = new System.Drawing.Point(93, 109);
this.tbPumModel.Margin = new System.Windows.Forms.Padding(4);
this.tbPumModel.Name = "tbPumModel";
this.tbPumModel.Size = new System.Drawing.Size(311, 27);
@@ -430,7 +435,7 @@
// tbPumUnit
//
this.tbPumUnit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.tbPumUnit.Location = new System.Drawing.Point(410, 121);
this.tbPumUnit.Location = new System.Drawing.Point(410, 109);
this.tbPumUnit.Margin = new System.Windows.Forms.Padding(4);
this.tbPumUnit.Name = "tbPumUnit";
this.tbPumUnit.Size = new System.Drawing.Size(64, 27);
@@ -442,52 +447,52 @@
// tbPumQty
//
this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPumQty.Location = new System.Drawing.Point(94, 150);
this.tbPumQty.Location = new System.Drawing.Point(93, 140);
this.tbPumQty.Margin = new System.Windows.Forms.Padding(4);
this.tbPumQty.Name = "tbPumQty";
this.tbPumQty.Size = new System.Drawing.Size(111, 27);
this.tbPumQty.Size = new System.Drawing.Size(135, 27);
this.tbPumQty.TabIndex = 13;
this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
//
// tbPumPrice
//
this.tbPumPrice.Location = new System.Drawing.Point(326, 150);
this.tbPumPrice.Location = new System.Drawing.Point(93, 172);
this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4);
this.tbPumPrice.Name = "tbPumPrice";
this.tbPumPrice.Size = new System.Drawing.Size(148, 27);
this.tbPumPrice.TabIndex = 16;
this.tbPumPrice.Size = new System.Drawing.Size(178, 27);
this.tbPumPrice.TabIndex = 17;
this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
//
// tbPumAmt
//
this.tbPumAmt.Location = new System.Drawing.Point(93, 217);
this.tbPumAmt.Location = new System.Drawing.Point(93, 234);
this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4);
this.tbPumAmt.Name = "tbPumAmt";
this.tbPumAmt.ReadOnly = true;
this.tbPumAmt.Size = new System.Drawing.Size(179, 27);
this.tbPumAmt.TabIndex = 18;
this.tbPumAmt.TabIndex = 22;
this.tbPumAmt.TabStop = false;
this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// tbSupply
//
this.tbSupply.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbSupply.Location = new System.Drawing.Point(93, 288);
this.tbSupply.Location = new System.Drawing.Point(93, 302);
this.tbSupply.Margin = new System.Windows.Forms.Padding(4);
this.tbSupply.Name = "tbSupply";
this.tbSupply.Size = new System.Drawing.Size(311, 27);
this.tbSupply.TabIndex = 22;
this.tbSupply.TabIndex = 29;
//
// tbSupplyIndex
//
this.tbSupplyIndex.Location = new System.Drawing.Point(411, 288);
this.tbSupplyIndex.Location = new System.Drawing.Point(411, 302);
this.tbSupplyIndex.Margin = new System.Windows.Forms.Padding(4);
this.tbSupplyIndex.Name = "tbSupplyIndex";
this.tbSupplyIndex.ReadOnly = true;
this.tbSupplyIndex.Size = new System.Drawing.Size(64, 27);
this.tbSupplyIndex.TabIndex = 23;
this.tbSupplyIndex.TabIndex = 30;
this.tbSupplyIndex.TabStop = false;
this.tbSupplyIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbSupplyIndex, "Database ID");
@@ -496,21 +501,21 @@
//
this.tbProject.BackColor = System.Drawing.SystemColors.Window;
this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbProject.Location = new System.Drawing.Point(93, 320);
this.tbProject.Location = new System.Drawing.Point(93, 332);
this.tbProject.Margin = new System.Windows.Forms.Padding(4);
this.tbProject.Name = "tbProject";
this.tbProject.Size = new System.Drawing.Size(311, 27);
this.tbProject.TabIndex = 25;
this.tbProject.TabIndex = 32;
this.toolTip1.SetToolTip(this.tbProject, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들");
//
// tbProjectIndex
//
this.tbProjectIndex.Location = new System.Drawing.Point(410, 320);
this.tbProjectIndex.Location = new System.Drawing.Point(410, 332);
this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4);
this.tbProjectIndex.Name = "tbProjectIndex";
this.tbProjectIndex.ReadOnly = true;
this.tbProjectIndex.Size = new System.Drawing.Size(64, 27);
this.tbProjectIndex.TabIndex = 26;
this.tbProjectIndex.TabIndex = 33;
this.tbProjectIndex.TabStop = false;
this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID");
@@ -521,24 +526,24 @@
this.tbPO.Margin = new System.Windows.Forms.Padding(4);
this.tbPO.Name = "tbPO";
this.tbPO.Size = new System.Drawing.Size(286, 27);
this.tbPO.TabIndex = 11;
this.tbPO.TabIndex = 13;
//
// tbBigo
//
this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbBigo.Location = new System.Drawing.Point(93, 355);
this.tbBigo.Location = new System.Drawing.Point(93, 364);
this.tbBigo.Margin = new System.Windows.Forms.Padding(4);
this.tbBigo.MaxLength = 500;
this.tbBigo.Multiline = true;
this.tbBigo.Name = "tbBigo";
this.tbBigo.Size = new System.Drawing.Size(381, 186);
this.tbBigo.TabIndex = 28;
this.tbBigo.Size = new System.Drawing.Size(381, 91);
this.tbBigo.TabIndex = 35;
this.tbBigo.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip"));
//
// dtPdate
//
this.dtPdate.Location = new System.Drawing.Point(93, 29);
this.dtPdate.Location = new System.Drawing.Point(93, 18);
this.dtPdate.Margin = new System.Windows.Forms.Padding(4);
this.dtPdate.Name = "dtPdate";
this.dtPdate.Size = new System.Drawing.Size(381, 27);
@@ -550,7 +555,7 @@
this.btSave.Margin = new System.Windows.Forms.Padding(4);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(490, 43);
this.btSave.TabIndex = 1;
this.btSave.TabIndex = 2;
this.btSave.Text = "저장(&S)";
this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.button1_Click);
@@ -559,7 +564,7 @@
//
this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.cmbState.FormattingEnabled = true;
this.cmbState.Location = new System.Drawing.Point(327, 59);
this.cmbState.Location = new System.Drawing.Point(327, 48);
this.cmbState.Margin = new System.Windows.Forms.Padding(4);
this.cmbState.Name = "cmbState";
this.cmbState.Size = new System.Drawing.Size(148, 28);
@@ -573,7 +578,7 @@
this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbRequest.FormattingEnabled = true;
this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbRequest.Location = new System.Drawing.Point(93, 59);
this.cmbRequest.Location = new System.Drawing.Point(93, 48);
this.cmbRequest.Margin = new System.Windows.Forms.Padding(4);
this.cmbRequest.Name = "cmbRequest";
this.cmbRequest.Size = new System.Drawing.Size(179, 28);
@@ -594,7 +599,7 @@
//
// tbPumIDX
//
this.tbPumIDX.Location = new System.Drawing.Point(410, 91);
this.tbPumIDX.Location = new System.Drawing.Point(410, 79);
this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4);
this.tbPumIDX.Name = "tbPumIDX";
this.tbPumIDX.ReadOnly = true;
@@ -604,18 +609,6 @@
this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID");
//
// tbPumStock
//
this.tbPumStock.Location = new System.Drawing.Point(208, 150);
this.tbPumStock.Margin = new System.Windows.Forms.Padding(4);
this.tbPumStock.Name = "tbPumStock";
this.tbPumStock.ReadOnly = true;
this.tbPumStock.Size = new System.Drawing.Size(64, 27);
this.tbPumStock.TabIndex = 14;
this.tbPumStock.TabStop = false;
this.tbPumStock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbPumStock, "재고량");
//
// dtInDate
//
this.dtInDate.Location = new System.Drawing.Point(104, 58);
@@ -673,6 +666,10 @@
//
// groupBox1
//
this.groupBox1.Controls.Add(this.tbpumqtyReq);
this.groupBox1.Controls.Add(label15);
this.groupBox1.Controls.Add(this.tbBigoChk);
this.groupBox1.Controls.Add(label14);
this.groupBox1.Controls.Add(this.chk2);
this.groupBox1.Controls.Add(this.chk1);
this.groupBox1.Controls.Add(this.btSIDChk);
@@ -687,7 +684,6 @@
this.groupBox1.Controls.Add(label6);
this.groupBox1.Controls.Add(label3);
this.groupBox1.Controls.Add(this.dtPdate);
this.groupBox1.Controls.Add(this.tbPumStock);
this.groupBox1.Controls.Add(this.tbPumAmt);
this.groupBox1.Controls.Add(this.tbBigo);
this.groupBox1.Controls.Add(deptLabel);
@@ -724,10 +720,10 @@
//
this.chk2.AutoSize = true;
this.chk2.Enabled = false;
this.chk2.Location = new System.Drawing.Point(201, 548);
this.chk2.Location = new System.Drawing.Point(201, 552);
this.chk2.Name = "chk2";
this.chk2.Size = new System.Drawing.Size(133, 24);
this.chk2.TabIndex = 42;
this.chk2.TabIndex = 39;
this.chk2.Text = "구매담당자확인";
this.chk2.UseVisualStyleBackColor = true;
//
@@ -735,20 +731,20 @@
//
this.chk1.AutoSize = true;
this.chk1.Enabled = false;
this.chk1.Location = new System.Drawing.Point(94, 548);
this.chk1.Location = new System.Drawing.Point(94, 552);
this.chk1.Name = "chk1";
this.chk1.Size = new System.Drawing.Size(103, 24);
this.chk1.TabIndex = 41;
this.chk1.TabIndex = 38;
this.chk1.Text = "요청자확인";
this.chk1.UseVisualStyleBackColor = true;
//
// btSIDChk
//
this.btSIDChk.BackColor = System.Drawing.Color.Gray;
this.btSIDChk.Location = new System.Drawing.Point(279, 249);
this.btSIDChk.Location = new System.Drawing.Point(279, 264);
this.btSIDChk.Name = "btSIDChk";
this.btSIDChk.Size = new System.Drawing.Size(196, 34);
this.btSIDChk.TabIndex = 40;
this.btSIDChk.TabIndex = 27;
this.btSIDChk.Text = "SID 검사(SPR/NR)";
this.btSIDChk.UseVisualStyleBackColor = false;
this.btSIDChk.Click += new System.EventHandler(this.btSIDChk_Click);
@@ -756,29 +752,29 @@
// 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, 217);
this.tbStorage.Location = new System.Drawing.Point(370, 234);
this.tbStorage.Margin = new System.Windows.Forms.Padding(4);
this.tbStorage.Name = "tbStorage";
this.tbStorage.Size = new System.Drawing.Size(104, 27);
this.tbStorage.TabIndex = 39;
this.tbStorage.TabIndex = 24;
//
// tbPumPriceD
//
this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue;
this.tbPumPriceD.Location = new System.Drawing.Point(94, 184);
this.tbPumPriceD.Location = new System.Drawing.Point(94, 203);
this.tbPumPriceD.Margin = new System.Windows.Forms.Padding(4);
this.tbPumPriceD.Name = "tbPumPriceD";
this.tbPumPriceD.Size = new System.Drawing.Size(178, 27);
this.tbPumPriceD.TabIndex = 36;
this.tbPumPriceD.TabIndex = 19;
this.tbPumPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.tbPumPriceD.TextChanged += new System.EventHandler(this.tbDolloerPrice_TextChanged);
//
// button3
//
this.button3.Location = new System.Drawing.Point(6, 320);
this.button3.Location = new System.Drawing.Point(6, 332);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(80, 27);
this.button3.TabIndex = 34;
this.button3.TabIndex = 31;
this.button3.Text = "프로젝트";
this.toolTip1.SetToolTip(this.button3, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들");
this.button3.UseVisualStyleBackColor = true;
@@ -786,20 +782,20 @@
//
// button2
//
this.button2.Location = new System.Drawing.Point(6, 288);
this.button2.Location = new System.Drawing.Point(6, 302);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(80, 27);
this.button2.TabIndex = 33;
this.button2.TabIndex = 28;
this.button2.Text = "공급처";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click_1);
//
// button1
//
this.button1.Location = new System.Drawing.Point(6, 91);
this.button1.Location = new System.Drawing.Point(6, 79);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(80, 27);
this.button1.TabIndex = 32;
this.button1.TabIndex = 6;
this.button1.Text = "품명";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
@@ -843,17 +839,62 @@
this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
this.groupBox2.Size = new System.Drawing.Size(409, 581);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "추가정보";
//
// 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 = 21;
this.btEQModel.Tag = "07";
this.btEQModel.Text = "공용코드 07";
this.btEQModel.UseVisualStyleBackColor = true;
this.btEQModel.Click += new System.EventHandler(this.button8_Click_1);
//
// btEQManu
//
this.btEQManu.Location = new System.Drawing.Point(104, 319);
this.btEQManu.Name = "btEQManu";
this.btEQManu.Size = new System.Drawing.Size(286, 28);
this.btEQManu.TabIndex = 19;
this.btEQManu.Tag = "06";
this.btEQManu.Text = "공용코드 06";
this.btEQManu.UseVisualStyleBackColor = true;
this.btEQManu.Click += new System.EventHandler(this.btProcess_Click);
//
// btManuProc
//
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 = 17;
this.btManuProc.Tag = "08";
this.btManuProc.Text = "공용코드 08";
this.btManuProc.UseVisualStyleBackColor = true;
this.btManuProc.Click += new System.EventHandler(this.btProcess_Click);
//
// btProcess
//
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 = 9;
this.btProcess.Tag = "09";
this.btProcess.Text = "공용코드 09";
this.toolTip1.SetToolTip(this.btProcess, "공용코드(09)");
this.btProcess.UseVisualStyleBackColor = true;
this.btProcess.Click += new System.EventHandler(this.btProcess_Click);
//
// 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;
this.tbLineCode.TabIndex = 25;
//
// tbCostCenter
//
@@ -861,7 +902,7 @@
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;
this.tbCostCenter.TabIndex = 23;
//
// tbInQty
//
@@ -869,7 +910,7 @@
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 27);
this.tbInQty.TabIndex = 38;
this.tbInQty.TabIndex = 7;
this.tbInQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// button7
@@ -877,7 +918,7 @@
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;
this.button7.TabIndex = 29;
this.button7.Text = "견적서폴더";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
@@ -887,7 +928,7 @@
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;
this.button6.TabIndex = 28;
this.button6.Text = "그림선택";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
@@ -897,7 +938,7 @@
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;
this.button5.TabIndex = 27;
this.button5.Text = "촬영";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click);
@@ -907,7 +948,7 @@
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;
this.button4.TabIndex = 26;
this.button4.Text = "붙여넣기";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
@@ -919,7 +960,7 @@
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;
this.tbOrderNo.TabIndex = 15;
//
// pictureBox1
//
@@ -951,50 +992,48 @@
this.timer1.Interval = 250;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// btProcess
// tbBigoChk
//
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);
this.tbBigoChk.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbBigoChk.Location = new System.Drawing.Point(93, 457);
this.tbBigoChk.Margin = new System.Windows.Forms.Padding(4);
this.tbBigoChk.MaxLength = 500;
this.tbBigoChk.Multiline = true;
this.tbBigoChk.Name = "tbBigoChk";
this.tbBigoChk.Size = new System.Drawing.Size(381, 91);
this.tbBigoChk.TabIndex = 37;
this.tbBigoChk.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigoChk, resources.GetString("tbBigoChk.ToolTip"));
//
// btManuProc
// label14
//
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);
label14.AutoSize = true;
label14.Location = new System.Drawing.Point(4, 461);
label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label14.Name = "label14";
label14.Size = new System.Drawing.Size(84, 20);
label14.TabIndex = 36;
label14.Text = "담당자비고";
this.toolTip1.SetToolTip(label14, resources.GetString("label14.ToolTip"));
//
// btEQManu
// tbpumqtyReq
//
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);
this.tbpumqtyReq.Location = new System.Drawing.Point(339, 140);
this.tbpumqtyReq.Margin = new System.Windows.Forms.Padding(4);
this.tbpumqtyReq.Name = "tbpumqtyReq";
this.tbpumqtyReq.Size = new System.Drawing.Size(135, 27);
this.tbpumqtyReq.TabIndex = 15;
this.tbpumqtyReq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btEQModel
// label15
//
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);
label15.AutoSize = true;
label15.Location = new System.Drawing.Point(237, 144);
label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label15.Name = "label15";
label15.Size = new System.Drawing.Size(94, 20);
label15.TabIndex = 14;
label15.Text = "실 구매 수량";
//
// fPurchase_Add
//
@@ -1047,7 +1086,6 @@
private System.Windows.Forms.ComboBox cmbState;
private System.Windows.Forms.ComboBox cmbRequest;
private System.Windows.Forms.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbPumStock;
private System.Windows.Forms.TextBox tbPumIDX;
private System.Windows.Forms.DateTimePicker dtInDate;
private System.Windows.Forms.CheckBox chkInDate;
@@ -1082,5 +1120,7 @@
private System.Windows.Forms.Button btManuProc;
private System.Windows.Forms.Button btEQManu;
private System.Windows.Forms.Button btEQModel;
private System.Windows.Forms.TextBox tbBigoChk;
private System.Windows.Forms.TextBox tbpumqtyReq;
}
}

View File

@@ -1,4 +1,5 @@
using FCM0000.Mail;
using FarPoint.Excel.EntityClassLibrary.DrawingEx;
using FCM0000.Mail;
using FCOMMON;
using FEQ0000.Purchase;
using System;
@@ -28,7 +29,7 @@ namespace FEQ0000
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
bsManu = new BindingSource();
bsModel = new BindingSource();
@@ -163,7 +164,9 @@ namespace FEQ0000
tbPumModel.Text = dr.pumscale;
tbPumQty.Text = dr.pumqty.ToString();
tbPumStock.Text = "--";
if (dr.IspumqtyReqNull()) tbpumqtyReq.Text = "0"; //230817
else tbpumqtyReq.Text = dr.pumqtyReq.ToString();
if (dr.IspumidxNull()) tbPumIDX.Text = "-1";
else tbPumIDX.Text = dr.pumidx.ToString();
tbPumPrice.Text = dr.pumprice.ToString();
@@ -197,6 +200,9 @@ namespace FEQ0000
tbPO.Text = dr.po;
tbOrderNo.Text = dr.orderno;
tbBigo.Text = dr.bigo;
if (dr.IschkremarkNull()) tbBigoChk.Text = string.Empty;
else tbBigoChk.Text = dr.chkremark;
dtInDate.Text = dr.indate;
dtExpDate.Text = dr.edate;
if (dr.IsinqtyNull() == false)
@@ -232,6 +238,13 @@ namespace FEQ0000
groupBox1.Enabled = false;
groupBox2.Enabled = false;
}
tbBigoChk.Enabled = false;
tbpumqtyReq.Enabled = false;
}
else
{
tbBigoChk.Enabled = true;
tbpumqtyReq.Enabled = true;
}
if (advInput == false)
@@ -503,11 +516,23 @@ namespace FEQ0000
}
if (tbPumQty.Text == "")
{
FCOMMON.Util.MsgE("수량을 입력하세요.");
FCOMMON.Util.MsgE("수량(요청)을 입력하세요.");
tbPumQty.Focus();
return false;
}
if (tbBigoChk.Enabled && ( cmbState.Text == "PO" || cmbState.Text == "PR"))
{
var qtycnv = int.TryParse(tbpumqtyReq.Text, out int qtyreq);
if(qtycnv ==false || qtyreq < 1)
{
FCOMMON.Util.MsgE("수량(실 구매)을 입력하세요.");
tbpumqtyReq.Focus();
return false;
}
}
if (advInput == true)
{
@@ -680,10 +705,17 @@ namespace FEQ0000
}
}
if (tbPumQty.Text.isEmpty()) tbPumQty.Text = "0";
if (tbPumPrice.Text.isEmpty()) tbPumPrice.Text = "0";
dr.pumqty = int.Parse(tbPumQty.Text);
dr.pumprice = decimal.Parse(tbPumPrice.Text);
if (int.TryParse(tbPumQty.Text, out int vqty) == false)
tbPumQty.Text = "0";
if (int.TryParse(tbpumqtyReq.Text, out int vqtyreq) == false)
tbpumqtyReq.Text = "0";
if (decimal.TryParse(tbPumPrice.Text, out decimal vpumprice) == false)
tbPumPrice.Text = "0";
dr.pumqty = vqty;// int.Parse(tbPumQty.Text);
dr.pumqtyReq = vqtyreq;// int.Parse(tbpumqtyReq.Text);
dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text);
if (decimal.TryParse(tbPumPriceD.Text, out decimal priced))
{
@@ -745,6 +777,7 @@ namespace FEQ0000
dr.po = tbPO.Text;
dr.orderno = tbOrderNo.Text;
dr.bigo = tbBigo.Text;
dr.chkremark = tbBigoChk.Text;
if (chkInDate.Checked)
dr.inqty = int.Parse(tbInQty.Text.Replace(",", ""));
@@ -1154,7 +1187,7 @@ namespace FEQ0000
}
string filter = "svalue='" + btEQManu.Text.Replace("'", "''") + "'";
var bt = sender as Button;
var guun = bt.Tag.ToString();
var f = new FCM0000.fCode(guun, filter);

View File

@@ -213,6 +213,26 @@
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등)
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<data name="tbBigoChk.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등)
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="label14.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<data name="label14.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등)
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -30,38 +30,40 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseCR));
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.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 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.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = 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 textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
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 numberCellType9 = 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.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
@@ -143,6 +145,7 @@
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.label1 = new System.Windows.Forms.Label();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.label2 = new System.Windows.Forms.Label();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -852,9 +855,22 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1226, 592);
this.fpSpread1.Size = new System.Drawing.Size(1226, 569);
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 7;
this.fpSpread1.SetViewportLeftColumn(0, 0, 5);
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label2.Location = new System.Drawing.Point(0, 606);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.label2.Size = new System.Drawing.Size(1226, 23);
this.label2.TabIndex = 8;
this.label2.Text = "--";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// fpSpread1_Sheet1
//
@@ -862,7 +878,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.ColumnHeader.RowCount = 2;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
@@ -887,59 +903,62 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "SC#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "SCR/CF";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).ColumnSpan = 10;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).ColumnSpan = 11;
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, 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).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).Value = "*";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).ColumnSpan = 5;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).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).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 29).Value = "PO#";
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).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).RowSpan = 2;
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).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "비고\r\n(요청자)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 5;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).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).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 30).Value = "삭제됨";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 30).Value = "PO#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "IDX";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "비고\r\n(담당자)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "삭제됨";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "IDX";
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 = "SID#";
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, 18).Value = "금액";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).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.Cells.Get(1, 27).Value = "수량";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "수량\r\n(요청)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "수량\r\n(구매)\r\n";
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, 18).Value = "단가";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "금액";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "공급";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "예정일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "수령인";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "입고일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "수량";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).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).CellType = checkBoxCellType4;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 33F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType5;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 37F;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Tag = "pdate";
@@ -947,209 +966,218 @@
this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Tag = "state";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).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 = textCellType24;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "requestName";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(5).Tag = "requestName";
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType25;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "costcenter";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType26;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "linecode";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType27;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sc";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Tag = "sc";
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).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType28;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Tag = "crcf";
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).CellType = textCellType29;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumname";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "품명";
this.fpSpread1_Sheet1.Columns.Get(10).Tag = "pumname";
this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType10.DecimalPlaces = 0;
numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType10.MaximumValue = 2147483647D;
numberCellType10.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType10;
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumidx";
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 = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType30;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType10;
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(13).CellType = textCellType31;
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;
numberCellType11.DecimalPlaces = 0;
numberCellType11.NegativeRed = true;
numberCellType11.NullDisplay = "--";
numberCellType11.Separator = ",";
numberCellType11.ShowSeparator = true;
numberCellType11.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType11;
numberCellType2.DecimalPlaces = 0;
numberCellType2.NegativeRed = true;
numberCellType2.NullDisplay = "--";
numberCellType2.Separator = ",";
numberCellType2.ShowSeparator = true;
numberCellType2.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumqty";
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).Label = "수량\r\n(요청)";
this.fpSpread1_Sheet1.Columns.Get(14).Tag = "pumqty";
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType32;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumunit";
numberCellType3.DecimalPlaces = 0;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqtyReq";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F;
numberCellType12.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType12;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumpriceD";
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 = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType13.DecimalPlaces = 0;
numberCellType13.MaximumValue = 9999999999999.99D;
numberCellType13.MinimumValue = -9999999999999.99D;
numberCellType13.NegativeRed = true;
numberCellType13.NullDisplay = "--";
numberCellType13.Separator = ",";
numberCellType13.ShowSeparator = true;
numberCellType13.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType13;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량\r\n(구매)\r\n";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(16).Tag = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
numberCellType4.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가";
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
numberCellType14.DecimalPlaces = 0;
numberCellType14.MaximumValue = 9999999999999.99D;
numberCellType14.MinimumValue = -9999999999999.99D;
numberCellType14.NegativeRed = true;
numberCellType14.NullDisplay = "--";
numberCellType14.Separator = ",";
numberCellType14.ShowSeparator = true;
numberCellType14.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType14;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가($)";
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 9999999999999.99D;
numberCellType5.MinimumValue = -9999999999999.99D;
numberCellType5.NegativeRed = true;
numberCellType5.NullDisplay = "--";
numberCellType5.Separator = ",";
numberCellType5.ShowSeparator = true;
numberCellType5.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(18).Label = "금액";
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(18).Label = "단가";
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType33;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급";
this.fpSpread1_Sheet1.Columns.Get(19).Tag = "supply";
numberCellType6.DecimalPlaces = 0;
numberCellType6.MaximumValue = 9999999999999.99D;
numberCellType6.MinimumValue = -9999999999999.99D;
numberCellType6.NegativeRed = true;
numberCellType6.NullDisplay = "--";
numberCellType6.Separator = ",";
numberCellType6.ShowSeparator = true;
numberCellType6.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType6;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumamt";
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).Tag = "pumamt";
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)))));
numberCellType15.DecimalPlaces = 0;
numberCellType15.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType15.MaximumValue = 2147483647D;
numberCellType15.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType15;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supplyidx";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(20).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "공급";
this.fpSpread1_Sheet1.Columns.Get(20).Tag = "supply";
this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType34;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(21).Tag = "project";
this.fpSpread1_Sheet1.Columns.Get(21).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(21).CellType = numberCellType7;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "supplyidx";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType16.DecimalPlaces = 0;
numberCellType16.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType16.MaximumValue = 2147483647D;
numberCellType16.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType16;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(22).Tag = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(22).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(22).Tag = "project";
this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType35;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "bigo";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(23).Tag = "bigo";
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType8.DecimalPlaces = 0;
numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType8.MaximumValue = 2147483647D;
numberCellType8.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType8;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Tag = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(23).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType36;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "edate";
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 = "edate";
this.fpSpread1_Sheet1.Columns.Get(24).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType37;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(25).Label = "수령인";
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType38;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(26).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "indate";
this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F;
numberCellType17.DecimalPlaces = 0;
numberCellType17.NegativeRed = true;
numberCellType17.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType17;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "inqty";
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "bigo";
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "bigo";
this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "edate";
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 = "edate";
this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(26).Label = "수령인";
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "indate";
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).Tag = "inqty";
this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "indate";
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType39;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "inremark";
this.fpSpread1_Sheet1.Columns.Get(28).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(28).Tag = "inremark";
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType40;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "po";
this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "po";
this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(30).CellType = checkBoxCellType6;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "isdel";
this.fpSpread1_Sheet1.Columns.Get(30).Tag = "isdel";
numberCellType9.DecimalPlaces = 0;
numberCellType9.NegativeRed = true;
numberCellType9.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType9;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "inqty";
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 = "inqty";
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 = "inremark";
this.fpSpread1_Sheet1.Columns.Get(29).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "inremark";
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType20;
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).Tag = "po";
this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType18;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(31).Tag = "idx";
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "chkremark";
this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType3;
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "isdel";
this.fpSpread1_Sheet1.Columns.Get(32).Tag = "isdel";
this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(33).CellType = numberCellType10;
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(33).Tag = "idx";
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
@@ -1163,6 +1191,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1226, 678);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.bn);
@@ -1268,6 +1297,7 @@
private System.Windows.Forms.ToolStripDropDownButton toolStripButton5;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton6;
private System.Windows.Forms.Label label2;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}

View File

@@ -895,6 +895,13 @@ namespace FEQ0000
this.label1.Text = $"비고:{dr.bigo.Replace("\r", "").Replace("\n", "")}";
else
this.label1.Text = $"프로젝트:{dr.project},비고:{dr.bigo.Replace("\r", "").Replace("\n", "")}";
if (dr.IschkremarkNull() == false && dr.chkremark.Length > 0)
{
this.label2.Text = $"구매담당비고:{dr.chkremark}";
this.label2.Visible = true;
}
else this.label2.Visible = false;
}
private void toolStripButton4_Click(object sender, EventArgs e)

View File

@@ -136,7 +136,7 @@
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/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 @@
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/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 @@
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -165,7 +165,7 @@
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/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 @@
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
vgAADr4B6kKxwAAAAUpJREFUOE9jGLzg7gL2/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 @@
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
vgAADr4B6kKxwAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG

View File

@@ -50,6 +50,8 @@
System.Windows.Forms.Label label4;
System.Windows.Forms.Label label7;
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();
@@ -70,7 +72,6 @@
this.cmbRequest = new System.Windows.Forms.ComboBox();
this.cmbReceive = new System.Windows.Forms.ComboBox();
this.tbPumIDX = new System.Windows.Forms.TextBox();
this.tbPumStock = new System.Windows.Forms.TextBox();
this.dtInDate = new System.Windows.Forms.DateTimePicker();
this.chkInDate = new System.Windows.Forms.CheckBox();
this.dtExpDate = new System.Windows.Forms.DateTimePicker();
@@ -78,25 +79,27 @@
this.btSaveAdd = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btSIDChk = new System.Windows.Forms.Button();
this.tbLineCode = new System.Windows.Forms.TextBox();
this.tbStorage = new System.Windows.Forms.TextBox();
this.tbCostCenter = new System.Windows.Forms.TextBox();
this.tbPumPriceD = new System.Windows.Forms.TextBox();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.button7 = new System.Windows.Forms.Button();
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();
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.chk2 = new System.Windows.Forms.CheckBox();
this.chk1 = new System.Windows.Forms.CheckBox();
this.dsPurchase = new FEQ0000.dsPurchase();
this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
this.tbBigoChk = new System.Windows.Forms.TextBox();
this.tbpumqtyReq = new System.Windows.Forms.TextBox();
receiveLabel = new System.Windows.Forms.Label();
scLabel = new System.Windows.Forms.Label();
sidLabel = new System.Windows.Forms.Label();
@@ -117,6 +120,8 @@
label4 = new System.Windows.Forms.Label();
label7 = 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.dsPurchase)).BeginInit();
@@ -130,7 +135,7 @@
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(54, 20);
receiveLabel.TabIndex = 4;
receiveLabel.TabIndex = 8;
receiveLabel.Text = "수령인";
//
// scLabel
@@ -140,23 +145,23 @@
scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
scLabel.Name = "scLabel";
scLabel.Size = new System.Drawing.Size(27, 20);
scLabel.TabIndex = 8;
scLabel.TabIndex = 2;
scLabel.Text = "SC";
//
// sidLabel
//
sidLabel.AutoSize = true;
sidLabel.Location = new System.Drawing.Point(54, 245);
sidLabel.Location = new System.Drawing.Point(54, 274);
sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
sidLabel.Name = "sidLabel";
sidLabel.Size = new System.Drawing.Size(32, 20);
sidLabel.TabIndex = 19;
sidLabel.TabIndex = 24;
sidLabel.Text = "SID";
//
// pumscaleLabel
//
pumscaleLabel.AutoSize = true;
pumscaleLabel.Location = new System.Drawing.Point(10, 121);
pumscaleLabel.Location = new System.Drawing.Point(10, 120);
pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumscaleLabel.Name = "pumscaleLabel";
pumscaleLabel.Size = new System.Drawing.Size(75, 20);
@@ -166,31 +171,31 @@
// pumqtyLabel
//
pumqtyLabel.AutoSize = true;
pumqtyLabel.Location = new System.Drawing.Point(47, 151);
pumqtyLabel.Location = new System.Drawing.Point(16, 152);
pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumqtyLabel.Name = "pumqtyLabel";
pumqtyLabel.Size = new System.Drawing.Size(39, 20);
pumqtyLabel.Size = new System.Drawing.Size(69, 20);
pumqtyLabel.TabIndex = 12;
pumqtyLabel.Text = "수량";
pumqtyLabel.Text = "요청수량";
//
// pumpriceLabel
//
pumpriceLabel.AutoSize = true;
pumpriceLabel.Location = new System.Drawing.Point(280, 151);
pumpriceLabel.Location = new System.Drawing.Point(47, 182);
pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumpriceLabel.Name = "pumpriceLabel";
pumpriceLabel.Size = new System.Drawing.Size(39, 20);
pumpriceLabel.TabIndex = 15;
pumpriceLabel.TabIndex = 16;
pumpriceLabel.Text = "단가";
//
// pumamtLabel
//
pumamtLabel.AutoSize = true;
pumamtLabel.Location = new System.Drawing.Point(47, 209);
pumamtLabel.Location = new System.Drawing.Point(47, 241);
pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
pumamtLabel.Name = "pumamtLabel";
pumamtLabel.Size = new System.Drawing.Size(39, 20);
pumamtLabel.TabIndex = 17;
pumamtLabel.TabIndex = 20;
pumamtLabel.Text = "합계";
//
// poLabel
@@ -200,18 +205,18 @@
poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
poLabel.Name = "poLabel";
poLabel.Size = new System.Drawing.Size(30, 20);
poLabel.TabIndex = 10;
poLabel.TabIndex = 4;
poLabel.Text = "PO";
//
// deptLabel
//
deptLabel.AutoSize = true;
deptLabel.Location = new System.Drawing.Point(14, 438);
deptLabel.Location = new System.Drawing.Point(14, 452);
deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
deptLabel.Name = "deptLabel";
deptLabel.Size = new System.Drawing.Size(39, 20);
deptLabel.TabIndex = 27;
deptLabel.Text = "비고";
deptLabel.Size = new System.Drawing.Size(89, 20);
deptLabel.TabIndex = 3;
deptLabel.Text = "요청자 비고";
this.toolTip1.SetToolTip(deptLabel, resources.GetString("deptLabel.ToolTip"));
//
// label1
@@ -231,13 +236,13 @@
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(59, 20);
label5.TabIndex = 12;
label5.TabIndex = 6;
label5.Text = "SCR/CF";
//
// label3
//
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(46, 62);
label3.Location = new System.Drawing.Point(46, 61);
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(39, 20);
@@ -247,7 +252,7 @@
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(280, 62);
label6.Location = new System.Drawing.Point(280, 61);
label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(39, 20);
@@ -258,11 +263,11 @@
//
label8.AutoSize = true;
label8.ForeColor = System.Drawing.Color.Blue;
label8.Location = new System.Drawing.Point(29, 179);
label8.Location = new System.Drawing.Point(29, 211);
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(57, 20);
label8.TabIndex = 35;
label8.TabIndex = 18;
label8.Text = "단가($)";
//
// label9
@@ -270,7 +275,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, 183);
label9.Location = new System.Drawing.Point(277, 215);
label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label9.Name = "label9";
label9.Size = new System.Drawing.Size(163, 15);
@@ -280,11 +285,11 @@
// label10
//
label10.AutoSize = true;
label10.Location = new System.Drawing.Point(287, 209);
label10.Location = new System.Drawing.Point(287, 241);
label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label10.Name = "label10";
label10.Size = new System.Drawing.Size(75, 20);
label10.TabIndex = 38;
label10.TabIndex = 22;
label10.Text = "STORAGE";
//
// label2
@@ -294,7 +299,7 @@
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(69, 20);
label2.TabIndex = 14;
label2.TabIndex = 12;
label2.Text = "입고수량";
//
// label4
@@ -304,27 +309,27 @@
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.TabIndex = 14;
label4.Text = "비고(입고)";
//
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(9, 388);
label7.Location = new System.Drawing.Point(9, 398);
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.TabIndex = 35;
label7.Text = "Line Code";
//
// label11
//
label11.AutoSize = true;
label11.Location = new System.Drawing.Point(-2, 357);
label11.Location = new System.Drawing.Point(-2, 370);
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.TabIndex = 33;
label11.Text = "Cost Center";
//
// tbSC
@@ -333,17 +338,17 @@
this.tbSC.Margin = new System.Windows.Forms.Padding(4);
this.tbSC.Name = "tbSC";
this.tbSC.Size = new System.Drawing.Size(286, 27);
this.tbSC.TabIndex = 9;
this.tbSC.TabIndex = 3;
//
// tbSID
//
this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.tbSID.Font = new System.Drawing.Font("맑은 고딕", 15F);
this.tbSID.Location = new System.Drawing.Point(93, 242);
this.tbSID.Location = new System.Drawing.Point(93, 268);
this.tbSID.Margin = new System.Windows.Forms.Padding(4);
this.tbSID.Name = "tbSID";
this.tbSID.Size = new System.Drawing.Size(179, 34);
this.tbSID.TabIndex = 20;
this.tbSID.TabIndex = 25;
//
// tbPumName
//
@@ -361,7 +366,7 @@
//
this.tbPumModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha;
this.tbPumModel.Location = new System.Drawing.Point(93, 118);
this.tbPumModel.Location = new System.Drawing.Point(93, 117);
this.tbPumModel.Margin = new System.Windows.Forms.Padding(4);
this.tbPumModel.Name = "tbPumModel";
this.tbPumModel.Size = new System.Drawing.Size(311, 27);
@@ -370,10 +375,10 @@
// tbPumUnit
//
this.tbPumUnit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.tbPumUnit.Location = new System.Drawing.Point(410, 118);
this.tbPumUnit.Location = new System.Drawing.Point(406, 117);
this.tbPumUnit.Margin = new System.Windows.Forms.Padding(4);
this.tbPumUnit.Name = "tbPumUnit";
this.tbPumUnit.Size = new System.Drawing.Size(64, 27);
this.tbPumUnit.Size = new System.Drawing.Size(68, 27);
this.tbPumUnit.TabIndex = 11;
this.tbPumUnit.TabStop = false;
this.tbPumUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -382,52 +387,52 @@
// tbPumQty
//
this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPumQty.Location = new System.Drawing.Point(94, 147);
this.tbPumQty.Location = new System.Drawing.Point(94, 148);
this.tbPumQty.Margin = new System.Windows.Forms.Padding(4);
this.tbPumQty.Name = "tbPumQty";
this.tbPumQty.Size = new System.Drawing.Size(111, 27);
this.tbPumQty.Size = new System.Drawing.Size(133, 27);
this.tbPumQty.TabIndex = 13;
this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
//
// tbPumPrice
//
this.tbPumPrice.Location = new System.Drawing.Point(326, 147);
this.tbPumPrice.Location = new System.Drawing.Point(94, 178);
this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4);
this.tbPumPrice.Name = "tbPumPrice";
this.tbPumPrice.Size = new System.Drawing.Size(148, 27);
this.tbPumPrice.TabIndex = 16;
this.tbPumPrice.Size = new System.Drawing.Size(178, 27);
this.tbPumPrice.TabIndex = 17;
this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
//
// tbPumAmt
//
this.tbPumAmt.Location = new System.Drawing.Point(93, 206);
this.tbPumAmt.Location = new System.Drawing.Point(93, 238);
this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4);
this.tbPumAmt.Name = "tbPumAmt";
this.tbPumAmt.ReadOnly = true;
this.tbPumAmt.Size = new System.Drawing.Size(179, 27);
this.tbPumAmt.TabIndex = 18;
this.tbPumAmt.TabIndex = 21;
this.tbPumAmt.TabStop = false;
this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// tbSupply
//
this.tbSupply.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbSupply.Location = new System.Drawing.Point(93, 283);
this.tbSupply.Location = new System.Drawing.Point(93, 306);
this.tbSupply.Margin = new System.Windows.Forms.Padding(4);
this.tbSupply.Name = "tbSupply";
this.tbSupply.Size = new System.Drawing.Size(311, 27);
this.tbSupply.TabIndex = 22;
this.tbSupply.TabIndex = 28;
//
// tbSupplyIndex
//
this.tbSupplyIndex.Location = new System.Drawing.Point(410, 283);
this.tbSupplyIndex.Location = new System.Drawing.Point(410, 306);
this.tbSupplyIndex.Margin = new System.Windows.Forms.Padding(4);
this.tbSupplyIndex.Name = "tbSupplyIndex";
this.tbSupplyIndex.ReadOnly = true;
this.tbSupplyIndex.Size = new System.Drawing.Size(64, 27);
this.tbSupplyIndex.TabIndex = 23;
this.tbSupplyIndex.TabIndex = 29;
this.tbSupplyIndex.TabStop = false;
this.tbSupplyIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbSupplyIndex, "Database ID");
@@ -436,21 +441,21 @@
//
this.tbProject.BackColor = System.Drawing.SystemColors.Window;
this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbProject.Location = new System.Drawing.Point(93, 320);
this.tbProject.Location = new System.Drawing.Point(93, 336);
this.tbProject.Margin = new System.Windows.Forms.Padding(4);
this.tbProject.Name = "tbProject";
this.tbProject.Size = new System.Drawing.Size(311, 27);
this.tbProject.TabIndex = 25;
this.tbProject.TabIndex = 31;
this.toolTip1.SetToolTip(this.tbProject, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들");
//
// tbProjectIndex
//
this.tbProjectIndex.Location = new System.Drawing.Point(410, 320);
this.tbProjectIndex.Location = new System.Drawing.Point(410, 336);
this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4);
this.tbProjectIndex.Name = "tbProjectIndex";
this.tbProjectIndex.ReadOnly = true;
this.tbProjectIndex.Size = new System.Drawing.Size(64, 27);
this.tbProjectIndex.TabIndex = 26;
this.tbProjectIndex.TabIndex = 32;
this.tbProjectIndex.TabStop = false;
this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID");
@@ -461,18 +466,18 @@
this.tbPO.Margin = new System.Windows.Forms.Padding(4);
this.tbPO.Name = "tbPO";
this.tbPO.Size = new System.Drawing.Size(286, 27);
this.tbPO.TabIndex = 11;
this.tbPO.TabIndex = 5;
//
// tbBigo
//
this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbBigo.Location = new System.Drawing.Point(12, 465);
this.tbBigo.Location = new System.Drawing.Point(12, 479);
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(490, 115);
this.tbBigo.TabIndex = 28;
this.tbBigo.Size = new System.Drawing.Size(490, 77);
this.tbBigo.TabIndex = 4;
this.tbBigo.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip"));
//
@@ -487,11 +492,11 @@
// 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(12, 588);
this.btSave.Location = new System.Drawing.Point(512, 434);
this.btSave.Margin = new System.Windows.Forms.Padding(4);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(490, 80);
this.btSave.TabIndex = 1;
this.btSave.Size = new System.Drawing.Size(410, 121);
this.btSave.TabIndex = 8;
this.btSave.Text = "저장(&S)";
this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.button1_Click);
@@ -500,10 +505,10 @@
//
this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.cmbState.FormattingEnabled = true;
this.cmbState.Location = new System.Drawing.Point(327, 59);
this.cmbState.Location = new System.Drawing.Point(327, 58);
this.cmbState.Margin = new System.Windows.Forms.Padding(4);
this.cmbState.Name = "cmbState";
this.cmbState.Size = new System.Drawing.Size(148, 28);
this.cmbState.Size = new System.Drawing.Size(147, 28);
this.cmbState.TabIndex = 5;
this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
@@ -514,7 +519,7 @@
this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbRequest.FormattingEnabled = true;
this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbRequest.Location = new System.Drawing.Point(93, 59);
this.cmbRequest.Location = new System.Drawing.Point(93, 58);
this.cmbRequest.Margin = new System.Windows.Forms.Padding(4);
this.cmbRequest.Name = "cmbRequest";
this.cmbRequest.Size = new System.Drawing.Size(179, 28);
@@ -531,39 +536,27 @@
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 28);
this.cmbReceive.TabIndex = 5;
this.cmbReceive.TabIndex = 9;
//
// tbPumIDX
//
this.tbPumIDX.Location = new System.Drawing.Point(410, 88);
this.tbPumIDX.Location = new System.Drawing.Point(406, 88);
this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4);
this.tbPumIDX.Name = "tbPumIDX";
this.tbPumIDX.ReadOnly = true;
this.tbPumIDX.Size = new System.Drawing.Size(64, 27);
this.tbPumIDX.Size = new System.Drawing.Size(68, 27);
this.tbPumIDX.TabIndex = 8;
this.tbPumIDX.TabStop = false;
this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID");
//
// tbPumStock
//
this.tbPumStock.Location = new System.Drawing.Point(208, 147);
this.tbPumStock.Margin = new System.Windows.Forms.Padding(4);
this.tbPumStock.Name = "tbPumStock";
this.tbPumStock.ReadOnly = true;
this.tbPumStock.Size = new System.Drawing.Size(64, 27);
this.tbPumStock.TabIndex = 14;
this.tbPumStock.TabStop = false;
this.tbPumStock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.tbPumStock, "재고량");
//
// dtInDate
//
this.dtInDate.Location = new System.Drawing.Point(104, 191);
this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtInDate.Name = "dtInDate";
this.dtInDate.Size = new System.Drawing.Size(286, 27);
this.dtInDate.TabIndex = 3;
this.dtInDate.TabIndex = 11;
this.dtInDate.TabStop = false;
//
// chkInDate
@@ -573,7 +566,7 @@
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
this.chkInDate.Name = "chkInDate";
this.chkInDate.Size = new System.Drawing.Size(73, 24);
this.chkInDate.TabIndex = 2;
this.chkInDate.TabIndex = 10;
this.chkInDate.TabStop = false;
this.chkInDate.Text = "입고일";
this.chkInDate.UseVisualStyleBackColor = true;
@@ -608,13 +601,15 @@
this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4);
this.btSaveAdd.Name = "btSaveAdd";
this.btSaveAdd.Size = new System.Drawing.Size(410, 80);
this.btSaveAdd.TabIndex = 3;
this.btSaveAdd.TabIndex = 9;
this.btSaveAdd.Text = "저장 및 추가(&A)";
this.btSaveAdd.UseVisualStyleBackColor = true;
this.btSaveAdd.Click += new System.EventHandler(this.button2_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.tbpumqtyReq);
this.groupBox1.Controls.Add(label13);
this.groupBox1.Controls.Add(this.btSIDChk);
this.groupBox1.Controls.Add(this.tbLineCode);
this.groupBox1.Controls.Add(this.tbStorage);
@@ -631,7 +626,6 @@
this.groupBox1.Controls.Add(label6);
this.groupBox1.Controls.Add(label3);
this.groupBox1.Controls.Add(this.dtPdate);
this.groupBox1.Controls.Add(this.tbPumStock);
this.groupBox1.Controls.Add(this.tbPumAmt);
this.groupBox1.Controls.Add(this.tbSupplyIndex);
this.groupBox1.Controls.Add(pumamtLabel);
@@ -656,7 +650,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, 421);
this.groupBox1.Size = new System.Drawing.Size(490, 435);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "필수입력";
@@ -664,40 +658,56 @@
// btSIDChk
//
this.btSIDChk.BackColor = System.Drawing.Color.Gray;
this.btSIDChk.Location = new System.Drawing.Point(279, 242);
this.btSIDChk.Location = new System.Drawing.Point(279, 268);
this.btSIDChk.Name = "btSIDChk";
this.btSIDChk.Size = new System.Drawing.Size(196, 34);
this.btSIDChk.TabIndex = 41;
this.btSIDChk.TabIndex = 26;
this.btSIDChk.Text = "SID 검사(SPR/NR)";
this.btSIDChk.UseVisualStyleBackColor = false;
this.btSIDChk.Click += new System.EventHandler(this.btSIDChk_Click);
//
// tbLineCode
//
this.tbLineCode.Location = new System.Drawing.Point(93, 395);
this.tbLineCode.Margin = new System.Windows.Forms.Padding(4);
this.tbLineCode.Name = "tbLineCode";
this.tbLineCode.Size = new System.Drawing.Size(381, 27);
this.tbLineCode.TabIndex = 36;
//
// 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, 206);
this.tbStorage.Location = new System.Drawing.Point(370, 238);
this.tbStorage.Margin = new System.Windows.Forms.Padding(4);
this.tbStorage.Name = "tbStorage";
this.tbStorage.Size = new System.Drawing.Size(104, 27);
this.tbStorage.TabIndex = 39;
this.tbStorage.TabIndex = 23;
//
// tbCostCenter
//
this.tbCostCenter.Location = new System.Drawing.Point(93, 366);
this.tbCostCenter.Margin = new System.Windows.Forms.Padding(4);
this.tbCostCenter.Name = "tbCostCenter";
this.tbCostCenter.Size = new System.Drawing.Size(381, 27);
this.tbCostCenter.TabIndex = 34;
//
// tbPumPriceD
//
this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue;
this.tbPumPriceD.Location = new System.Drawing.Point(94, 176);
this.tbPumPriceD.Location = new System.Drawing.Point(94, 208);
this.tbPumPriceD.Margin = new System.Windows.Forms.Padding(4);
this.tbPumPriceD.Name = "tbPumPriceD";
this.tbPumPriceD.Size = new System.Drawing.Size(178, 27);
this.tbPumPriceD.TabIndex = 36;
this.tbPumPriceD.TabIndex = 19;
this.tbPumPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.tbPumPriceD.TextChanged += new System.EventHandler(this.tbDolloerPrice_TextChanged);
//
// button3
//
this.button3.Location = new System.Drawing.Point(9, 320);
this.button3.Location = new System.Drawing.Point(9, 336);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(80, 27);
this.button3.TabIndex = 34;
this.button3.TabIndex = 30;
this.button3.Text = "프로젝트";
this.toolTip1.SetToolTip(this.button3, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들");
this.button3.UseVisualStyleBackColor = true;
@@ -705,10 +715,10 @@
//
// button2
//
this.button2.Location = new System.Drawing.Point(9, 283);
this.button2.Location = new System.Drawing.Point(9, 306);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(80, 27);
this.button2.TabIndex = 33;
this.button2.TabIndex = 27;
this.button2.Text = "공급처";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click_1);
@@ -718,7 +728,7 @@
this.button1.Location = new System.Drawing.Point(9, 88);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(80, 27);
this.button1.TabIndex = 32;
this.button1.TabIndex = 6;
this.button1.Text = "품명";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
@@ -747,38 +757,22 @@
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, 573);
this.groupBox2.TabIndex = 2;
this.groupBox2.Size = new System.Drawing.Size(409, 420);
this.groupBox2.TabIndex = 7;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "추가정보";
//
// button7
//
this.button7.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button7.Location = new System.Drawing.Point(4, 534);
this.button7.Location = new System.Drawing.Point(4, 381);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(401, 35);
this.button7.TabIndex = 37;
this.button7.TabIndex = 16;
this.button7.Text = "견적서폴더";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click_1);
//
// tbLineCode
//
this.tbLineCode.Location = new System.Drawing.Point(93, 385);
this.tbLineCode.Margin = new System.Windows.Forms.Padding(4);
this.tbLineCode.Name = "tbLineCode";
this.tbLineCode.Size = new System.Drawing.Size(381, 27);
this.tbLineCode.TabIndex = 21;
//
// tbCostCenter
//
this.tbCostCenter.Location = new System.Drawing.Point(93, 353);
this.tbCostCenter.Margin = new System.Windows.Forms.Padding(4);
this.tbCostCenter.Name = "tbCostCenter";
this.tbCostCenter.Size = new System.Drawing.Size(381, 27);
this.tbCostCenter.TabIndex = 19;
//
// tbInRemar
//
this.tbInRemar.Location = new System.Drawing.Point(104, 261);
@@ -786,7 +780,7 @@
this.tbInRemar.Multiline = true;
this.tbInRemar.Name = "tbInRemar";
this.tbInRemar.Size = new System.Drawing.Size(286, 70);
this.tbInRemar.TabIndex = 17;
this.tbInRemar.TabIndex = 15;
this.tbInRemar.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
//
// tbInQty
@@ -795,7 +789,7 @@
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 27);
this.tbInQty.TabIndex = 15;
this.tbInQty.TabIndex = 13;
//
// tbOrderNo
//
@@ -804,7 +798,34 @@
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;
this.tbOrderNo.TabIndex = 7;
//
// timer1
//
this.timer1.Interval = 250;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// chk2
//
this.chk2.AutoSize = true;
this.chk2.Enabled = false;
this.chk2.Location = new System.Drawing.Point(369, 448);
this.chk2.Name = "chk2";
this.chk2.Size = new System.Drawing.Size(133, 24);
this.chk2.TabIndex = 2;
this.chk2.Text = "구매담당자확인";
this.chk2.UseVisualStyleBackColor = true;
//
// chk1
//
this.chk1.AutoSize = true;
this.chk1.Enabled = false;
this.chk1.Location = new System.Drawing.Point(262, 448);
this.chk1.Name = "chk1";
this.chk1.Size = new System.Drawing.Size(103, 24);
this.chk1.TabIndex = 1;
this.chk1.Text = "요청자확인";
this.chk1.UseVisualStyleBackColor = true;
//
// dsPurchase
//
@@ -820,32 +841,48 @@
//
this.purchaseTableAdapter.ClearBeforeFill = true;
//
// timer1
// tbBigoChk
//
this.timer1.Interval = 250;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
this.tbBigoChk.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbBigoChk.Location = new System.Drawing.Point(11, 591);
this.tbBigoChk.Margin = new System.Windows.Forms.Padding(4);
this.tbBigoChk.MaxLength = 500;
this.tbBigoChk.Multiline = true;
this.tbBigoChk.Name = "tbBigoChk";
this.tbBigoChk.Size = new System.Drawing.Size(490, 77);
this.tbBigoChk.TabIndex = 6;
this.tbBigoChk.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigoChk, resources.GetString("tbBigoChk.ToolTip"));
//
// chk2
// label12
//
this.chk2.AutoSize = true;
this.chk2.Enabled = false;
this.chk2.Location = new System.Drawing.Point(369, 434);
this.chk2.Name = "chk2";
this.chk2.Size = new System.Drawing.Size(133, 24);
this.chk2.TabIndex = 44;
this.chk2.Text = "구매담당자확인";
this.chk2.UseVisualStyleBackColor = true;
label12.AutoSize = true;
label12.Location = new System.Drawing.Point(13, 564);
label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label12.Name = "label12";
label12.Size = new System.Drawing.Size(119, 20);
label12.TabIndex = 5;
label12.Text = "구매담당자 비고";
this.toolTip1.SetToolTip(label12, resources.GetString("label12.ToolTip"));
//
// chk1
// tbpumqtyReq
//
this.chk1.AutoSize = true;
this.chk1.Enabled = false;
this.chk1.Location = new System.Drawing.Point(262, 434);
this.chk1.Name = "chk1";
this.chk1.Size = new System.Drawing.Size(103, 24);
this.chk1.TabIndex = 43;
this.chk1.Text = "요청자확인";
this.chk1.UseVisualStyleBackColor = true;
this.tbpumqtyReq.Location = new System.Drawing.Point(341, 148);
this.tbpumqtyReq.Margin = new System.Windows.Forms.Padding(4);
this.tbpumqtyReq.Name = "tbpumqtyReq";
this.tbpumqtyReq.Size = new System.Drawing.Size(133, 27);
this.tbpumqtyReq.TabIndex = 15;
this.tbpumqtyReq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label13
//
label13.AutoSize = true;
label13.Location = new System.Drawing.Point(242, 152);
label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label13.Name = "label13";
label13.Size = new System.Drawing.Size(89, 20);
label13.TabIndex = 14;
label13.Text = "실 구매수량";
//
// fPurchaseCR_Add
//
@@ -853,6 +890,8 @@
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, 681);
this.Controls.Add(this.tbBigoChk);
this.Controls.Add(label12);
this.Controls.Add(this.chk2);
this.Controls.Add(this.chk1);
this.Controls.Add(this.groupBox2);
@@ -901,7 +940,6 @@
private System.Windows.Forms.ComboBox cmbState;
private System.Windows.Forms.ComboBox cmbRequest;
private System.Windows.Forms.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbPumStock;
private System.Windows.Forms.TextBox tbPumIDX;
private System.Windows.Forms.DateTimePicker dtInDate;
private System.Windows.Forms.CheckBox chkInDate;
@@ -929,5 +967,7 @@
private System.Windows.Forms.TextBox tbLineCode;
private System.Windows.Forms.TextBox tbCostCenter;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.TextBox tbBigoChk;
private System.Windows.Forms.TextBox tbpumqtyReq;
}
}

View File

@@ -190,7 +190,9 @@ namespace FEQ0000
tbPumModel.Text = dr.pumscale;
tbPumQty.Text = dr.pumqty.ToString();
tbPumStock.Text = "--";
if (dr.IspumqtyReqNull()) tbpumqtyReq.Text = "0"; //230817
else tbpumqtyReq.Text = dr.pumqtyReq.ToString();
if (dr.IspumidxNull()) tbPumIDX.Text = "-1";
else tbPumIDX.Text = dr.pumidx.ToString();
tbPumPrice.Text = dr.pumprice.ToString();
@@ -231,6 +233,8 @@ namespace FEQ0000
tbPO.Text = dr.po;
tbOrderNo.Text = dr.orderno;
tbBigo.Text = dr.bigo;
if (dr.IschkremarkNull()) tbBigoChk.Text = string.Empty;
else tbBigoChk.Text = dr.chkremark;
dtInDate.Text = dr.indate;
dtExpDate.Text = dr.edate;
@@ -270,6 +274,13 @@ namespace FEQ0000
groupBox1.Enabled = false;
groupBox2.Enabled = false;
}
tbBigoChk.Enabled = false;
tbpumqtyReq.Enabled = false;
}
else
{
tbBigoChk.Enabled = true;
tbpumqtyReq.Enabled = true;
}
if (advInput == false)
@@ -305,13 +316,13 @@ namespace FEQ0000
//복사된 자료는 isd가 잇으면 sid가 잇다면 자동 처리해준다.
if (tbSID.Text.StartsWith("10") && tbSID.TextLength == 9)
dbchk1 = tbPumName.Text.Trim();
}
}
else
{
sidchk1 = tbSID.Text.Trim();
sidchk1 = tbSID.Text.Trim();
dbchk1 = tbPumName.Text.Trim();
}
timer1.Start();
@@ -502,7 +513,7 @@ namespace FEQ0000
return false;
}
if(tbSID.Text.Equals("신규") || tbSID.Text.isEmpty())
if (tbSID.Text.Equals("신규") || tbSID.Text.isEmpty())
{
//FCOMMON.Util.MsgI($"신규 SID로 인해 SID 검사를 진행하지 않습니다");
}
@@ -524,7 +535,7 @@ namespace FEQ0000
}
}
//if (cbProcess.Text.Trim() == "")
//{
@@ -548,14 +559,26 @@ namespace FEQ0000
}
if (tbPumQty.Text == "")
{
FCOMMON.Util.MsgE("수량을 입력하세요.");
FCOMMON.Util.MsgE("수량(요청)을 입력하세요.");
tbPumQty.Focus();
return false;
}
if (tbBigoChk.Enabled && (cmbState.Text == "PO" || cmbState.Text == "PR"))
{
var qtycnv = int.TryParse(tbpumqtyReq.Text, out int qtyreq);
if (qtycnv == false || qtyreq < 1)
{
FCOMMON.Util.MsgE("수량(실 구매)을 입력하세요.");
tbpumqtyReq.Focus();
return false;
}
}
if (int.TryParse(tbProjectIndex.Text, out int pidx) == false || pidx < 1)
{
if(tbBigo.Text.isEmpty() == true)
if (tbBigo.Text.isEmpty() == true)
{
FCOMMON.Util.MsgE("프로젝트가 선택되지 않았습니다. 직접입력은 허용되지 않습니다.\n" +
"프로젝트 명을 입력하고 Enter 키를 눌러서 관련 프로젝트를 선택하세요\n" +
@@ -564,7 +587,7 @@ namespace FEQ0000
tbProject.SelectAll();
return false;
}
}
if (tbOrderNo.Text.isEmpty())
@@ -716,10 +739,17 @@ namespace FEQ0000
}
}
if (tbPumQty.Text.isEmpty()) tbPumQty.Text = "0";
if (tbPumPrice.Text.isEmpty()) tbPumPrice.Text = "0";
dr.pumqty = int.Parse(tbPumQty.Text);
dr.pumprice = decimal.Parse(tbPumPrice.Text);
if (int.TryParse(tbPumQty.Text, out int vqty) == false)
tbPumQty.Text = "0";
if (int.TryParse(tbpumqtyReq.Text, out int vqtyreq) == false)
tbpumqtyReq.Text = "0";
if (decimal.TryParse(tbPumPrice.Text, out decimal vpumprice) == false)
tbPumPrice.Text = "0";
dr.pumqty = vqty;// int.Parse(tbPumQty.Text);
dr.pumqtyReq = vqtyreq;// int.Parse(tbpumqtyReq.Text);
dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text);
if (int.TryParse(tbInQty.Text, out int inqty))
{
@@ -788,6 +818,7 @@ namespace FEQ0000
dr.po = tbPO.Text;
dr.orderno = tbOrderNo.Text;
dr.bigo = tbBigo.Text;
dr.chkremark = tbBigoChk.Text;
//품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교)
//품정보가 없다면 그대로 생성을 해준다.
@@ -1026,7 +1057,7 @@ namespace FEQ0000
{
var sid = tbSID.Text.Trim();
if(sid.Equals("신규") || sid.isEmpty())
if (sid.Equals("신규") || sid.isEmpty())
{
Util.MsgI($"신규SID는 검사를 진행하지 않습니다");
return;
@@ -1048,7 +1079,7 @@ namespace FEQ0000
{
dr.chk1 = true;
this.sidchk1 = sid;
}
}
else
{
Util.MsgE("목록표시 창에서 '확인' 버튼을 눌러야 SID검색이 완료됩니다.");

View File

@@ -194,6 +194,12 @@
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="label13.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>674, 17</value>
</metadata>
<metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
@@ -203,9 +209,23 @@
<metadata name="purchaseTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>313, 17</value>
</metadata>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>674, 17</value>
<data name="tbBigoChk.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등)
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="label12.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<data name="label12.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
* 공정 정비 파트 / 상세한 사유 작성 (본인 담당의 주, 보조 공정에서 사용되는 것들. Feeder wheel, O/H, 장비 교체 파트 등)
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,7 @@
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>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)))</CommandText>
<CommandText>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)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -92,13 +92,17 @@
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_linecode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chkremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<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</CommandText>
<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], [pumqtyReq], [chkremark]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode, @pumqtyReq, @chkremark);
SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -141,6 +145,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chk2" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -148,7 +154,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark,
winuid, windate, chk1, chk2, costcenter, linecode
winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark
FROM Purchase
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC</CommandText>
@@ -158,60 +164,136 @@ ORDER BY pdate DESC, idx DESC</CommandText>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<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</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<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, [pumqtyReq] = @pumqtyReq, [chkremark] = @chkremark WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)));
SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="state" ColumnName="state" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="receive" ColumnName="receive" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@receive" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sc" ColumnName="sc" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@sc" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="request" ColumnName="request" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="sid" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumname" ColumnName="pumname" DataSourceName="EE.dbo.Purchase" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@pumname" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="pumname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumscale" ColumnName="pumscale" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumunit" ColumnName="pumunit" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumqty" ColumnName="pumqty" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumprice" ColumnName="pumprice" DataSourceName="EE.dbo.Purchase" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumamt" ColumnName="pumamt" DataSourceName="EE.dbo.Purchase" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="supply" ColumnName="supply" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="supplyidx" ColumnName="supplyidx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="project" ColumnName="project" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@project" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="projectidx" ColumnName="projectidx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@projectidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="asset" ColumnName="asset" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="indate" ColumnName="indate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@indate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="po" ColumnName="po" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@po" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="dept" ColumnName="dept" DataSourceName="EE.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="EE.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="EE.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bigo" ColumnName="bigo" DataSourceName="EE.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="inqty" ColumnName="inqty" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumpriceD" ColumnName="pumpriceD" DataSourceName="EE.dbo.Purchase" DataTypeServer="decimal(18, 2)" DbType="Decimal" Direction="Input" ParameterName="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="9" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="inremark" ColumnName="inremark" DataSourceName="EE.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="winuid" ColumnName="winuid" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@winuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="winuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="windate" ColumnName="windate" DataSourceName="EE.dbo.Purchase" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@windate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="windate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="chk1" ColumnName="chk1" DataSourceName="EE.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@chk1" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="chk1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="chk2" ColumnName="chk2" DataSourceName="EE.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@chk2" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="costcenter" ColumnName="costcenter" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="linecode" ColumnName="linecode" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="original_gcode" ColumnName="gcode" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@receive" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pumname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pumname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@project" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@indate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@po" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@winuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="winuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@windate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="windate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chk1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chk2" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_state" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_receive" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_receive" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumname" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumname" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pumname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pumname" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumscale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumunit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumprice" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumprice" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumamt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumamt" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_asset" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_indate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_indate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_po" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_po" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_isdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bigo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manuproc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manuproc" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_orderno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_place" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumpriceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_winuid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="winuid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_winuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="winuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_windate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="windate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_windate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="windate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chk1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chk1" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_chk1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chk2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_chk2" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_costcenter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_linecode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chkremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -262,6 +344,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Mapping SourceColumn="chk2" DataSetColumn="chk2" />
<Mapping SourceColumn="costcenter" DataSetColumn="costcenter" />
<Mapping SourceColumn="linecode" DataSetColumn="linecode" />
<Mapping SourceColumn="pumqtyReq" DataSetColumn="pumqtyReq" />
<Mapping SourceColumn="chkremark" DataSetColumn="chkremark" />
</Mappings>
<Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CoutImport" Modifier="Public" Name="CoutImport" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CoutImport">
@@ -301,7 +385,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByDateExceptCR" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByDateExceptCR" GeneratorSourceName="FillByDateExceptCR" GetMethodModifier="Public" GetMethodName="GetByDateExceptCR" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByDateExceptCR" UserSourceName="FillByDateExceptCR">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<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</CommandText>
<CommandText>SELECT asset, bigo, chk1, chk2, chkremark, 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, pumqtyReq, 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</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -313,7 +397,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdx" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByIdx" GeneratorSourceName="FillByIdx" GetMethodModifier="Public" GetMethodName="GetByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByIdx" UserSourceName="FillByIdx">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<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)</CommandText>
<CommandText>SELECT asset, bigo, chk1, chk2, chkremark, 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, pumqtyReq, 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)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -323,7 +407,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDate" GeneratorSourceName="FillDate" GetMethodModifier="Public" GetMethodName="GetDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDate" UserSourceName="FillDate">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<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</CommandText>
<CommandText>SELECT asset, bigo, chk1, chk2, chkremark, 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, pumqtyReq, 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</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -339,7 +423,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EETGW_PurchaseCR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [EETGW_PurchaseCR] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_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)))</CommandText>
<CommandText>DELETE FROM [EETGW_PurchaseCR] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -419,13 +503,17 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_linecode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chkremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<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</CommandText>
<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], [pumqtyReq], [chkremark]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @wuid, @wdate, @import, @pumidx, @isdel, @bigo, @manuproc, @orderno, @gcode, @place, @inqty, @pumpriceD, @inremark, @winuid, @windate, @chk1, @chk2, @costcenter, @linecode, @pumqtyReq, @chkremark);
SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -468,6 +556,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chk2" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -475,7 +565,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark,
winuid, windate, chk1, chk2, costcenter, linecode
winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark
FROM EETGW_PurchaseCR
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC</CommandText>
@@ -485,60 +575,136 @@ ORDER BY pdate DESC, idx DESC</CommandText>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<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</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<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, [pumqtyReq] = @pumqtyReq, [chkremark] = @chkremark WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) AND ((@IsNull_winuid = 1 AND [winuid] IS NULL) OR ([winuid] = @Original_winuid)) AND ((@IsNull_windate = 1 AND [windate] IS NULL) OR ([windate] = @Original_windate)) AND ((@IsNull_chk1 = 1 AND [chk1] IS NULL) OR ([chk1] = @Original_chk1)) AND ((@IsNull_chk2 = 1 AND [chk2] IS NULL) OR ([chk2] = @Original_chk2)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)));
SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD, inremark, winuid, windate, chk1, chk2, costcenter, linecode, pumqtyReq, chkremark FROM EETGW_PurchaseCR WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="state" ColumnName="state" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="receive" ColumnName="receive" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@receive" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sc" ColumnName="sc" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@sc" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="request" ColumnName="request" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="sid" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumname" ColumnName="pumname" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@pumname" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="pumname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumscale" ColumnName="pumscale" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumunit" ColumnName="pumunit" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumqty" ColumnName="pumqty" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumprice" ColumnName="pumprice" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumamt" ColumnName="pumamt" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="supply" ColumnName="supply" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="supplyidx" ColumnName="supplyidx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="project" ColumnName="project" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@project" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="projectidx" ColumnName="projectidx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@projectidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="asset" ColumnName="asset" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="indate" ColumnName="indate" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@indate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="po" ColumnName="po" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@po" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="dept" ColumnName="dept" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bigo" ColumnName="bigo" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="inqty" ColumnName="inqty" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pumpriceD" ColumnName="pumpriceD" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="decimal(18, 2)" DbType="Decimal" Direction="Input" ParameterName="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="9" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="inremark" ColumnName="inremark" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="winuid" ColumnName="winuid" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@winuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="winuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="windate" ColumnName="windate" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@windate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="windate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="chk1" ColumnName="chk1" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@chk1" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="chk1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="chk2" ColumnName="chk2" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@chk2" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="costcenter" ColumnName="costcenter" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="linecode" ColumnName="linecode" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@receive" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pumname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pumname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@project" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@indate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@po" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@winuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="winuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@windate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="windate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chk1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chk2" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_state" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_receive" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_receive" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumname" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumname" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pumname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pumname" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumscale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumunit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumprice" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumprice" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumamt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumamt" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_asset" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_indate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_indate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_po" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_po" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_isdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bigo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manuproc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manuproc" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_orderno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_place" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumpriceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_winuid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="winuid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_winuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="winuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_windate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="windate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_windate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="windate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chk1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chk1" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_chk1" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chk2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_chk2" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chk2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_costcenter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_costcenter" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="costcenter" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_linecode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_linecode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="linecode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pumqtyReq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumqtyReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chkremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -589,6 +755,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Mapping SourceColumn="chk2" DataSetColumn="chk2" />
<Mapping SourceColumn="costcenter" DataSetColumn="costcenter" />
<Mapping SourceColumn="linecode" DataSetColumn="linecode" />
<Mapping SourceColumn="pumqtyReq" DataSetColumn="pumqtyReq" />
<Mapping SourceColumn="chkremark" DataSetColumn="chkremark" />
</Mappings>
<Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CoutImport" Modifier="Public" Name="CoutImport" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CoutImport">
@@ -629,7 +797,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EETGW_PurchaseCR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdx" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByIdx" GeneratorSourceName="FillByIdx" GetMethodModifier="Public" GetMethodName="GetByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByIdx" UserSourceName="FillByIdx">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<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)</CommandText>
<CommandText>SELECT asset, bigo, chk1, chk2, chkremark, 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, pumqtyReq, 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)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -641,7 +809,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty,
pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid, inremark,
winuid, windate, chk1, chk2
winuid, windate, chk1, chk2, pumqtyReq, chkremark, costcenter, linecode
FROM EETGW_PurchaseCR
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (state IN ('PO', 'Received'))
ORDER BY pdate DESC, idx DESC</CommandText>
@@ -941,20 +1109,28 @@ ORDER BY source DESC, request, wdate DESC</CommandText>
<xs:element name="windate" msprop:Generator_ColumnPropNameInTable="windateColumn" msprop:Generator_ColumnPropNameInRow="windate" msprop:Generator_UserColumnName="windate" msprop:Generator_ColumnVarNameInTable="columnwindate" type="xs:dateTime" minOccurs="0" />
<xs:element name="chk1" msprop:Generator_ColumnPropNameInTable="chk1Column" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="chk1" msprop:Generator_UserColumnName="chk1" msprop:Generator_ColumnVarNameInTable="columnchk1" type="xs:boolean" minOccurs="0" />
<xs:element name="chk2" msprop:Generator_ColumnPropNameInTable="chk2Column" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="chk2" msprop:Generator_UserColumnName="chk2" msprop:Generator_ColumnVarNameInTable="columnchk2" type="xs:boolean" minOccurs="0" />
<xs:element name="costcenter" msprop:Generator_ColumnPropNameInRow="costcenter" msprop:Generator_ColumnPropNameInTable="costcenterColumn" msprop:Generator_ColumnVarNameInTable="columncostcenter" msprop:Generator_UserColumnName="costcenter" minOccurs="0">
<xs:element name="costcenter" msprop:Generator_UserColumnName="costcenter" msprop:Generator_ColumnPropNameInTable="costcenterColumn" msprop:Generator_ColumnPropNameInRow="costcenter" msprop:Generator_ColumnVarNameInTable="columncostcenter" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="linecode" msprop:Generator_ColumnPropNameInRow="linecode" msprop:Generator_ColumnPropNameInTable="linecodeColumn" msprop:Generator_ColumnVarNameInTable="columnlinecode" msprop:Generator_UserColumnName="linecode" minOccurs="0">
<xs:element name="linecode" msprop:Generator_UserColumnName="linecode" msprop:Generator_ColumnPropNameInTable="linecodeColumn" msprop:Generator_ColumnPropNameInRow="linecode" msprop:Generator_ColumnVarNameInTable="columnlinecode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumqtyReq" msprop:Generator_ColumnPropNameInRow="pumqtyReq" msprop:Generator_ColumnPropNameInTable="pumqtyReqColumn" msprop:Generator_ColumnVarNameInTable="columnpumqtyReq" msprop:Generator_UserColumnName="pumqtyReq" type="xs:int" minOccurs="0" />
<xs:element name="chkremark" msprop:Generator_ColumnPropNameInRow="chkremark" msprop:Generator_ColumnPropNameInTable="chkremarkColumn" msprop:Generator_ColumnVarNameInTable="columnchkremark" msprop:Generator_UserColumnName="chkremark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -1166,20 +1342,28 @@ ORDER BY source DESC, request, wdate DESC</CommandText>
<xs:element name="windate" msprop:Generator_ColumnPropNameInTable="windateColumn" msprop:Generator_ColumnPropNameInRow="windate" msprop:Generator_UserColumnName="windate" msprop:Generator_ColumnVarNameInTable="columnwindate" type="xs:dateTime" minOccurs="0" />
<xs:element name="chk1" msprop:Generator_ColumnPropNameInTable="chk1Column" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="chk1" msprop:Generator_UserColumnName="chk1" msprop:Generator_ColumnVarNameInTable="columnchk1" type="xs:boolean" minOccurs="0" />
<xs:element name="chk2" msprop:Generator_ColumnPropNameInTable="chk2Column" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="chk2" msprop:Generator_UserColumnName="chk2" msprop:Generator_ColumnVarNameInTable="columnchk2" type="xs:boolean" minOccurs="0" />
<xs:element name="costcenter" msprop:Generator_ColumnPropNameInRow="costcenter" msprop:Generator_ColumnPropNameInTable="costcenterColumn" msprop:Generator_ColumnVarNameInTable="columncostcenter" msprop:Generator_UserColumnName="costcenter" minOccurs="0">
<xs:element name="costcenter" msprop:Generator_UserColumnName="costcenter" msprop:Generator_ColumnPropNameInTable="costcenterColumn" msprop:Generator_ColumnPropNameInRow="costcenter" msprop:Generator_ColumnVarNameInTable="columncostcenter" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="linecode" msprop:Generator_ColumnPropNameInRow="linecode" msprop:Generator_ColumnPropNameInTable="linecodeColumn" msprop:Generator_ColumnVarNameInTable="columnlinecode" msprop:Generator_UserColumnName="linecode" minOccurs="0">
<xs:element name="linecode" msprop:Generator_UserColumnName="linecode" msprop:Generator_ColumnPropNameInTable="linecodeColumn" msprop:Generator_ColumnPropNameInRow="linecode" msprop:Generator_ColumnVarNameInTable="columnlinecode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumqtyReq" msprop:Generator_ColumnPropNameInRow="pumqtyReq" msprop:Generator_ColumnPropNameInTable="pumqtyReqColumn" msprop:Generator_ColumnVarNameInTable="columnpumqtyReq" msprop:Generator_UserColumnName="pumqtyReq" type="xs:int" minOccurs="0" />
<xs:element name="chkremark" msprop:Generator_ColumnPropNameInRow="chkremark" msprop:Generator_ColumnPropNameInTable="chkremarkColumn" msprop:Generator_ColumnVarNameInTable="columnchkremark" msprop:Generator_UserColumnName="chkremark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>