파파트리스트 에서 nr구매등록

This commit is contained in:
chi
2023-08-21 11:00:58 +09:00
parent b98a125f78
commit e4f776724b
8 changed files with 4884 additions and 2644 deletions

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("23.08.17.1150")]
[assembly: AssemblyFileVersion("23.08.17.1150")]
[assembly: AssemblyVersion("23.08.21.1100")]
[assembly: AssemblyFileVersion("23.08.21.1100")]

View File

@@ -39,29 +39,29 @@
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label2;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList));
FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer();
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer2 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer();
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer3 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer4 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
@@ -134,6 +134,7 @@
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
pdateLabel = new System.Windows.Forms.Label();
requestLabel = new System.Windows.Forms.Label();
reqstaffLabel = new System.Windows.Forms.Label();
@@ -567,7 +568,7 @@
this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb2.GradientRepeatBG = false;
this.prb2.isButton = false;
this.prb2.Location = new System.Drawing.Point(273, 5);
this.prb2.Location = new System.Drawing.Point(274, 5);
this.prb2.Margin = new System.Windows.Forms.Padding(5);
this.prb2.MouseDownColor = System.Drawing.Color.Yellow;
this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
@@ -589,7 +590,7 @@
this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb2.SignColor = System.Drawing.Color.Yellow;
this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb2.Size = new System.Drawing.Size(258, 41);
this.prb2.Size = new System.Drawing.Size(259, 41);
this.prb2.TabIndex = 32;
this.prb2.Text = "구매요청건";
this.prb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -635,7 +636,7 @@
this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb1.SignColor = System.Drawing.Color.Yellow;
this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb1.Size = new System.Drawing.Size(258, 41);
this.prb1.Size = new System.Drawing.Size(259, 41);
this.prb1.TabIndex = 32;
this.prb1.Text = "비 구매";
this.prb1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -660,7 +661,7 @@
this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb5.GradientRepeatBG = false;
this.prb5.isButton = false;
this.prb5.Location = new System.Drawing.Point(1077, 5);
this.prb5.Location = new System.Drawing.Point(1081, 5);
this.prb5.Margin = new System.Windows.Forms.Padding(5);
this.prb5.MouseDownColor = System.Drawing.Color.Yellow;
this.prb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
@@ -682,7 +683,7 @@
this.prb5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb5.SignColor = System.Drawing.Color.Yellow;
this.prb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb5.Size = new System.Drawing.Size(263, 41);
this.prb5.Size = new System.Drawing.Size(259, 41);
this.prb5.TabIndex = 32;
this.prb5.Text = "구매 완료";
this.prb5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -707,7 +708,7 @@
this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb4.GradientRepeatBG = false;
this.prb4.isButton = false;
this.prb4.Location = new System.Drawing.Point(809, 5);
this.prb4.Location = new System.Drawing.Point(812, 5);
this.prb4.Margin = new System.Windows.Forms.Padding(5);
this.prb4.MouseDownColor = System.Drawing.Color.Yellow;
this.prb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
@@ -729,7 +730,7 @@
this.prb4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb4.SignColor = System.Drawing.Color.Yellow;
this.prb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb4.Size = new System.Drawing.Size(258, 41);
this.prb4.Size = new System.Drawing.Size(259, 41);
this.prb4.TabIndex = 32;
this.prb4.Text = "구매진행중";
this.prb4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -754,7 +755,7 @@
this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb3.GradientRepeatBG = false;
this.prb3.isButton = false;
this.prb3.Location = new System.Drawing.Point(541, 5);
this.prb3.Location = new System.Drawing.Point(543, 5);
this.prb3.Margin = new System.Windows.Forms.Padding(5);
this.prb3.MouseDownColor = System.Drawing.Color.Yellow;
this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
@@ -776,7 +777,7 @@
this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb3.SignColor = System.Drawing.Color.Yellow;
this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb3.Size = new System.Drawing.Size(258, 41);
this.prb3.Size = new System.Drawing.Size(259, 41);
this.prb3.TabIndex = 32;
this.prb3.Text = "PO대기";
this.prb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -791,7 +792,7 @@
this.toolStripMenuItem1,
this.exportListToolStripMenuItem});
this.cm1.Name = "cm1";
this.cm1.Size = new System.Drawing.Size(243, 82);
this.cm1.Size = new System.Drawing.Size(241, 82);
//
// columnSizeToolStripMenuItem
//
@@ -801,14 +802,14 @@
this.saveToolStripMenuItem,
this.loadToolStripMenuItem});
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(240, 36);
this.columnSizeToolStripMenuItem.Text = "열 너비 조정";
//
// autoToolStripMenuItem
//
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
this.autoToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
this.autoToolStripMenuItem.Size = new System.Drawing.Size(192, 36);
this.autoToolStripMenuItem.Text = "자동 조정";
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
//
@@ -816,7 +817,7 @@
//
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
this.resetToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
this.resetToolStripMenuItem.Size = new System.Drawing.Size(192, 36);
this.resetToolStripMenuItem.Text = "초기화";
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
//
@@ -824,7 +825,7 @@
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
this.saveToolStripMenuItem.Size = new System.Drawing.Size(192, 36);
this.saveToolStripMenuItem.Text = "저장";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
@@ -832,19 +833,19 @@
//
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
this.loadToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
this.loadToolStripMenuItem.Size = new System.Drawing.Size(192, 36);
this.loadToolStripMenuItem.Text = "불러오기";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6);
this.toolStripMenuItem1.Size = new System.Drawing.Size(237, 6);
//
// exportListToolStripMenuItem
//
this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(240, 36);
this.exportListToolStripMenuItem.Text = "목록 내보내기";
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
//
@@ -884,6 +885,7 @@
this.toolStripSeparator2,
this.toolStripButton3,
this.toolStripButton4,
this.toolStripButton5,
this.toolStripButton1});
this.bn.Location = new System.Drawing.Point(0, 614);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
@@ -1119,12 +1121,12 @@
this.fpSpread1.ContextMenuStrip = this.cm1;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.EditModeReplace = true;
this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1;
this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer2;
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
this.fpSpread1.HorizontalScrollBar.Name = "";
flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1;
flatScrollBarRenderer3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer3;
this.fpSpread1.Location = new System.Drawing.Point(0, 170);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
@@ -1137,8 +1139,8 @@
this.fpSpread1.TitleInfo.Value = "PartList";
this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
this.fpSpread1.VerticalScrollBar.Name = "";
flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2;
flatScrollBarRenderer4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer4;
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff);
//
// fpSpread1_Sheet1
@@ -1202,25 +1204,25 @@
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F;
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 31F;
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ItemGroup";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "중";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "option1";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "소";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 93F;
numberCellType1.DecimalPlaces = 0;
numberCellType1.NegativeRed = true;
numberCellType1.NullDisplay = "--";
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1;
numberCellType11.DecimalPlaces = 0;
numberCellType11.NegativeRed = true;
numberCellType11.NullDisplay = "--";
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType11;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "no";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemSid";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
@@ -1228,39 +1230,39 @@
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemName";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemModel";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "모델";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ItemManu";
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 = "manu";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "ItemUnit";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(7).Tag = "unit";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Width = 93F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.MaximumValue = 9999999999999.99D;
numberCellType2.MinimumValue = -9999999999999.99D;
numberCellType2.NegativeRed = true;
numberCellType2.NullDisplay = "0";
numberCellType2.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2;
numberCellType12.DecimalPlaces = 0;
numberCellType12.MaximumValue = 9999999999999.99D;
numberCellType12.MinimumValue = -9999999999999.99D;
numberCellType12.NegativeRed = true;
numberCellType12.NullDisplay = "0";
numberCellType12.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType12;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "price";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가";
@@ -1268,25 +1270,25 @@
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
numberCellType3.DecimalPlaces = 0;
numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType3.MaximumValue = 2147483647D;
numberCellType3.MinimumValue = -2147483648D;
numberCellType3.NegativeRed = true;
numberCellType3.Separator = ",";
numberCellType3.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3;
numberCellType13.DecimalPlaces = 0;
numberCellType13.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType13.MaximumValue = 2147483647D;
numberCellType13.MinimumValue = -2147483648D;
numberCellType13.NegativeRed = true;
numberCellType13.Separator = ",";
numberCellType13.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType13;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "qty";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Label = "수량";
this.fpSpread1_Sheet1.Columns.Get(9).Tag = "qty";
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 93F;
numberCellType4.DecimalPlaces = 0;
numberCellType4.NegativeRed = true;
numberCellType4.Separator = ",";
numberCellType4.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4;
numberCellType14.DecimalPlaces = 0;
numberCellType14.NegativeRed = true;
numberCellType14.Separator = ",";
numberCellType14.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType14;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "qtyn";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "수량(N)";
@@ -1294,14 +1296,14 @@
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 9999999999999.99D;
numberCellType5.MinimumValue = -9999999999999.99D;
numberCellType5.NegativeRed = true;
numberCellType5.NullDisplay = "--";
numberCellType5.Separator = ",";
numberCellType5.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType5;
numberCellType15.DecimalPlaces = 0;
numberCellType15.MaximumValue = 9999999999999.99D;
numberCellType15.MinimumValue = -9999999999999.99D;
numberCellType15.NegativeRed = true;
numberCellType15.NullDisplay = "--";
numberCellType15.Separator = ",";
numberCellType15.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType15;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "amt";
this.fpSpread1_Sheet1.Columns.Get(11).Formula = "RC[-3]*RC[-2]";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
@@ -1310,7 +1312,7 @@
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType15;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "amtn";
this.fpSpread1_Sheet1.Columns.Get(12).Formula = "RC[-4]*RC[-2]";
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
@@ -1318,7 +1320,7 @@
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "amtn";
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "qtyjago";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
@@ -1330,14 +1332,14 @@
this.fpSpread1_Sheet1.Columns.Get(14).Tag = "ItemSupply";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Width = 88F;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(15).Tag = "memo";
this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType6.DecimalPlaces = 0;
numberCellType6.MaximumValue = 10000000D;
numberCellType6.MinimumValue = -10000000D;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType6;
numberCellType16.DecimalPlaces = 0;
numberCellType16.MaximumValue = 10000000D;
numberCellType16.MinimumValue = -10000000D;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType16;
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).Locked = false;
@@ -1345,23 +1347,23 @@
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType7.DecimalPlaces = 0;
numberCellType7.MaximumValue = 10000000D;
numberCellType7.MinimumValue = -10000000D;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType7;
numberCellType17.DecimalPlaces = 0;
numberCellType17.MaximumValue = 10000000D;
numberCellType17.MinimumValue = -10000000D;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType17;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "입고";
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "구매입고";
this.fpSpread1_Sheet1.Columns.Get(17).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType8;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType18;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "Item";
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "item";
this.fpSpread1_Sheet1.Columns.Get(18).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(18).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType9;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType19;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "ItemSupplyidx";
this.fpSpread1_Sheet1.Columns.Get(19).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(19).Width = 93F;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType10;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType20;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Tag = "idx";
@@ -1377,11 +1379,11 @@
this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat";
this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -";
this.fpSpread1_Sheet1.PrintInfo.Header = "PartList";
noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148);
noPrinterPrintInfo1.HardMarginX = 0F;
noPrinterPrintInfo1.HardMarginY = 0F;
noPrinterPrintInfo1.SupportColor = true;
this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1;
noPrinterPrintInfo2.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148);
noPrinterPrintInfo2.HardMarginX = 0F;
noPrinterPrintInfo2.HardMarginY = 0F;
noPrinterPrintInfo2.SupportColor = true;
this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo2;
this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
@@ -1395,6 +1397,16 @@
this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist";
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// toolStripButton5
//
this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton5.Name = "toolStripButton5";
this.toolStripButton5.Size = new System.Drawing.Size(115, 44);
this.toolStripButton5.Text = "NR구매요청";
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
//
// fPartList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -1499,5 +1511,6 @@
private System.Windows.Forms.ToolStripDropDownButton toolStripButton1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton5;
}
}

View File

@@ -678,7 +678,7 @@ namespace FPJ0000
return;
}
var f = new fProjectPartToPurchaseCR(ProjectIndex, idxlist);
var f = new fProjectPartToPurchaseCR(ProjectIndex, idxlist,true);
f.ShowDialog();
//this.fpSpread1.ActiveSheet.ClearSelection();
}
@@ -830,5 +830,46 @@ namespace FPJ0000
{
}
private void toolStripButton5_Click(object sender, EventArgs e)
{
var chg = this.dsPRJ.ProjectsPart.GetChanges();
if (chg != null)
{
FCOMMON.Util.MsgE("변경된 자료가 있습니다. \n 해당 자료를 먼저 저장하세요");
return;
}
//if (string.IsNullOrEmpty(tbOrderNo.Text))
//{
// FCOMMON.Util.MsgE("SCR/CF 값이 없습니다. CR구매시 해당 값은 필수 입니다\n프로젝트 정보에서 값을 입력 후 다시 시도하세요");
// return;
//}
var selcnt = this.fpSpread1.ActiveSheet.SelectionCount;
var sels = this.fpSpread1.ActiveSheet.GetSelections();
//var sel2 = this.fpSpread1.ActiveSheet.GetSelection(0);
var idxColumn = this.fpSpread1.ActiveSheet.Columns["idx"].Index;
List<int> idxlist = new List<int>();
foreach (var sel in sels)
{
for (int r = sel.Row; r < (sel.Row + sel.RowCount); r++)
{
var idx = (int)this.fpSpread1.ActiveSheet.Cells[r, idxColumn].Value;
if (idx < 0) continue;
if (idxlist.Contains(idx) == false) idxlist.Add(idx);
}
}
if (idxlist.Any() == false)
{
FCOMMON.Util.MsgE("선택된 대상이 없습니다");
return;
}
var f = new fProjectPartToPurchaseCR(ProjectIndex, idxlist,false);
f.ShowDialog();
//this.fpSpread1.ActiveSheet.ClearSelection();
}
}
}

View File

@@ -148,7 +148,7 @@
<data name="button4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAi
mgAAIpoBvt37KgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGHSURBVFhH7ZUx
mQAAIpkBE2TaRwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGHSURBVFhH7ZUx
SgNhFIT3aLaKB7CyVywEK7t4ASshjSA21jYWNmJhK3gEb6Ct1epn3vB+wiDBhZdd2IFpJjP/+wpNullD
dXu8txizAezH7OkAvi3P+v7lehSGZQYc4hlwqC3gWD0JwNW39tHus8LHxeFWrPvBsvolkSL4Lbi/iwrr
PiyBlSJUwY0rrPuwBFaKUAU3rrDuwxJYKUIV3LjCug9LYKUIVXDjdb/fXfSvV6cbma57Y926D0tgpQhV
@@ -161,7 +161,7 @@
<data name="button3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAkBJREFUSEvt1u9LE3EcB/B7XA/6U3rQv2AFouxBRVvD9EE9KbAHISwoC6IpDVx0
wgAADsIBFShKgAAAAkBJREFUSEvt1u9LE3EcB/B7XA/6U3rQv2AFouxBRVvD9EE9KbAHISwoC6IpDVx0
bm2IgkkxzMIfiaFECYp33o/9aC3O0+XImei2s83Vft19uru+F6tuxfTOHugb3tzY7njx/ex7x2EHM+cf
0m0XH7Gx/ejZB4tXEIthdi/b/TRcAh8tmlrFsOKUB7EHFR6PFWBiSTK1ivEHHP2UBbOjGIfwIQypbBGo
FeHnZ0cgVneV66rz31ZM8Bk44yafIXb/4Al2A5pdBINY40cdWEiq1/0ecjkDvdPxOGLNWXE6V4S+twno
@@ -177,7 +177,7 @@
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAG
7AAABuwBHnU4NQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFNSURBVFhH7ZLN
6wAABusBTDGeSgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFNSURBVFhH7ZLN
S8MwGIf7Z3sXvHSIIlU2u01oL0rXzTm/ceuGzM+rB0FchTEQbx1MwUrllbTLIV3bZUknyQPPpdD+HtIo
kkVRXGsMm8YN0Xbj2QvdLDV9s977mUfDdnxwXbO/KoVWAU2nw65eD16evIBk/2IUuWd1grcPj0qj3g3u
Ou5nRW1to/lkeAfCdzNFsghcUfVI/HkYCEJkWT3WUEY8eQWC9447SYzMMxC8bb/O/t15B4IzI5chEIyN
@@ -189,7 +189,7 @@
<data name="button1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAG
7AAABuwBHnU4NQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAVsSURBVFhH3VhZ
6wAABusBTDGeSgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAVsSURBVFhH3VhZ
TxtXFJ6qfWr7Q1pVrSK1PyAvSaUWAqZsITg4tC8EUvWhUpUAqVMgYLOTsENMqzSYNSyChLAFSAqhNuAQ
A0ElQMJOKPsYg8fTe8Z3wtg+GIOBh37SJ4/mnuXzzF3OGeZ/i7zob766l3QuvToj4NHD3NCnjzUKQ0dJ
+CiwrVhhgHvV6QFNxCY1J/bsl9TteJGtPP2xNlmmbswN0Rvrflr+t0fJb/YluCTYvKj9cRl8ylL8VMk/
@@ -219,6 +219,12 @@
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
@@ -276,7 +282,7 @@
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
wgAADsIBFShKgAAAAUpJREFUOE9jGLzg7gL2/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
@@ -288,7 +294,7 @@
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
wgAADsIBFShKgAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
@@ -300,7 +306,7 @@
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -311,7 +317,7 @@
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -320,7 +326,7 @@
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
@@ -329,7 +335,7 @@
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -360,20 +366,20 @@
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSalFRL0pTmxrY
zVTMvM0pmtrQhUG2mIvMS2iiAwtRCl9UqJVObd7mnNtwRuYyNa/zAl6Wuss5ujP99pyzpQZCP/jwvHjO
98P5fc/hsRP8SJ1wtViviijR/w6R6ily0hyl7GmgI4p1dNhzremCRFPuG/nuEBfaP6FP+zTLVnrVZDK5
LPZNWGx7rFpZaPxctCL/kxkxJaMOQabSyxN1T3ihdpkN62acMMwyMJgZ6GcYaKe3oP61ibYROzYZoHmU
Qn7TLJJfmqh/JCHSNmrDsYXBORe+zjHkZDDASbbQO7GJLyMOItjG4KILhgUn5EozAh921XPh6NKAqdvS
yB1R1U0kV95CZXsdChpKESj1QwBBID+PYNkZlDWXcavYaAZLaw4Ex/cynCCqOPBD13ALWsZfo1Kfy0ni
K8KQ+zYOWXUxECquIUmRhOahJbSYbPj8fQPrpKcQWR/NCQTlAi9fabZLP9aDN8MyFKkzOUlCVTgJX0da
dSo0E3Zulc5xCirSw5rdiZCCfreAndDCXlpckwjjhBYKwwM868hBdOllJFREwjjjgJEUyxasmXR3YiGC
YNk+wcXHUufZvGOIKxdgcFIHeU86ZEoxYl4EoU79Ed/mGRhJsbppJ/oJy1YnAp94BKck3iK+5CiyamNx
pyoUsWVXOIlYGQdJQyp5kyCw94NmFwbYT0ywkiL9s7VuAV9yeJ4vOUIe8gY/1xs3ioKQ8SoRmhEV5Ko8
pL9PhLAqCkYiMJB/Q08EtHObCNR7K1zK7qMX12kMzbs4escWcL8mDSkkKFLEIKf23u4di2PLRQSNewLW
NmfZE/wPO7tC6j7BOXG3o7q+aeeghw+iu7t7+0R8s80TJ0WmdUzNbjis7MXUCoWpZQoTHlZsTg62eRvt
DlMUte5zt/WHJ87jnU5rz/AXtnWcFKks/qJGepcUN35/ETbSPsLWteNJrZ1+icpkHo/H+wMUXJ4nAsHB
vwAAAABJRU5ErkJggg==
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALrSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSyqioF+VSmxrY
zVTMdDqnaGpDFwbZYhqZl9BEpQuidHlRoV10avM253TDGZnL1Ob9Ak6Xuss5bmf67TlnyxkI/eDD8+I5
3w/n9z2Hx07IXVXihRKtMrJU+ztUpqXISXOUsaeOjizpp8MfaQynpeoKv6i3e7jQzgl70Ks2WegVg8Hg
Mts2YLZ6WbGw0Pi5aEH+p1nElo7aBZmKvZ6oeyKKNCY23D/thG6GgW6WgXaagWbKAdWvDbSO2LDBAE2j
FPI/zCD5iYH6RxIqa6XW7Q4MzrnwdY4hJ4MBTuJAj3EDX0bsRLCJwUUXdAtOFCpmwb/T+YYLx5QFTV6T
RW2Jq68gueoqqtrqUdBQBr7MH0EEQeEphMiPo7ypnFvFSjNYWrUjJKGH4QTRJfz3ncPNaB5/gSptLidJ
qAxH7qt4ZNXHQlRzEUk1SWgaWkKzwYrP39exRnoKlffSnEBQIdjrJ8t2ace68XJYjmJVJidJrI4g4UtI
e5YKtdHGrdIxTkFJeli1ORFa0OcWsBNW1ENLaoXQGzWo0d3Gw/YcxJSdQ2JlFPTTduhJsWzB6gl3J2Yi
CJHvEJy5J3OeyDuI+AoBBif6UdidDrlCgtjHwahXfcS3eQZ6Umz/lBN9BJPFCf59j+Co1EccKD2ArLo4
XK8OQ1z5eU4iUcRD2pBK3iQY7P3grAsD7CcmWEiRAdkatyBQum8+ULqfPOSDwFwfXC4ORsZzIdQjShQq
85D+TghRdTT0RKAj/4aWCGjnJhGovCucze6lF9doDM27OHrGFnCrNg0pJCiuiUVO3c3tOxa7w0UEjV4B
a5szewX/w8aukLpDcFLSZX/6unFrt4d3o6ura/NwQpPVEydFprVPzqzbLezF5DKFSRMFo4dlq5ODbd5K
u8MURa353mj54YnzeMfS2jICRK3tR8RKc4C4kd4mxY3/X0SNtK+oZfVQUkuHv1CRzOPxeH8AEjGeJMnL
9/8AAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -390,6 +396,37 @@
4PP5KGnqmfqFyWSisPDEcgfLVReWv7hBcOReQMgN4abq6g/2gDQWZmd8fHzY4XB8lcjD7IOMe+/68LkW
ZORzJCpe3FIpzsKcmJjQSr8lG1epVML8/DxLWqPRYGRkBLdfXYddfAaLOMjIlszgZQfnGB0dhdFohE6n
u+SAVypMDx09cIrPmTLtdL7I4F/AK69Z+1SK72SbdjpzHMf9Asu3+BhNj8g8AAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJiSURBVDhPvVLfa1JhGD5/QNBt3nTbbkbs5nTR5aBugogu
ghGxohpo1G5GSv5I0un80XE60Zwb6H6BjulUch4d6OY2HLsQlTYczMa27s1BiNLTeb+dLXZTXfXAx8f3
nu/5nud93sP9d8zMzGB6ehqBQABer/cxt7GxAVrr6+vI5/NYXV2FKIpIp9NIJpOIxWKIRqNYWFhAOBxm
dzudDo6Pj+FyuWpcsVhEt9tFu93+42q1WpiamjppNpvY29uD3W5vjI2NKbm1tTVWODo6wtbWFg4PD0G1
RqOBbDaL/f19pFIpdmdxcRG1Wo05ksj9clccl8vlsLm5SZb5QqGApaUlnshzc3M8tTE5OckT2e1281KN
9W82m3tkOsetrKygUqmwDA4ODlgGpEzk3d3dC+XZ2VmUy2VSh8FguCLTzxCPx3F6eopMJsOUE4kEUya7
TqeTJ7LVauWDwSD0ej1k2m9EIhHt9vY26vU6iEzKUg3VahU0OlKWHsTOzg7UavVPmXYZoVCIkobf74fH
44EgCLDZbNQv1LbXeOMZwMuP9zHwoR933/ZqZdrfMSQ8eG+MPkWq5kX5mwghq8QjoRe8SuFgF6S+bnyS
4PP5KGnqmfqFyWSisPDEcgfLVReWv7hBcOReQMgN4abq6g/2gDQWZmd8fHzY4XB8lcjD7IOMe+/68LkW
ZORzJCpe3FIpzsKcmJjQSr8lG1epVML8/DxLWqPRYGRkBLdfXYddfAaLOMjIlszgZQfnGB0dhdFohE6n
u+SAVypMDx09cIrPmTLtdL7I4F/AK69Z+1SK72SbdjpzHMf9Asu3+BhNj8g8AAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton1.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">
@@ -414,21 +451,6 @@
dTVtOHAdQcU/0ec9yYFgz7Gsob9cEFxHUPEfnfmxRt2qmzAMcSVHZCwORM97rhs43QnDfgcfNTK35BJx
OoVFHemLDk6YMYYkznY9rVHQcuYScTKmfXt4qsoVcIMsiPSodQUsSS/kN21kJSck8Etm4mYkpSNCaG8N
BgGCOU5VYvilbNH5lf3kX6KTANNGykSfZM56Xqk9aojF/gULrkqYb3L8uAAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton1.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="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@@ -443,4 +465,7 @@
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>711, 18</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>614, 18</value>
</metadata>
</root>

View File

@@ -36,7 +36,6 @@
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label2;
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchaseCR));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
@@ -44,6 +43,7 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchaseCR));
this.tbProject = new System.Windows.Forms.TextBox();
this.tbProjectIndex = new System.Windows.Forms.TextBox();
this.dtPdate = new System.Windows.Forms.DateTimePicker();
@@ -60,6 +60,13 @@
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.dv1 = new arCtl.arDatagridView();
this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
@@ -69,13 +76,6 @@
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.taProject = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
projectLabel = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label();
@@ -331,6 +331,64 @@
this.dv1.Size = new System.Drawing.Size(968, 370);
this.dv1.TabIndex = 27;
//
// dvc_sid
//
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1;
this.dvc_sid.HeaderText = "SID";
this.dvc_sid.Name = "dvc_sid";
this.dvc_sid.ReadOnly = true;
//
// dvc_name
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2;
this.dvc_name.HeaderText = "품명";
this.dvc_name.Name = "dvc_name";
this.dvc_name.ReadOnly = true;
//
// dvc_model
//
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3;
this.dvc_model.HeaderText = "모델";
this.dvc_model.Name = "dvc_model";
this.dvc_model.ReadOnly = true;
//
// dvc_price
//
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle4.Format = "N0";
this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4;
this.dvc_price.HeaderText = "단가";
this.dvc_price.Name = "dvc_price";
//
// dvc_qty
//
dataGridViewCellStyle5.Format = "N0";
this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5;
this.dvc_qty.HeaderText = "구매수량";
this.dvc_qty.Name = "dvc_qty";
//
// dvc_amt
//
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle6.Format = "N0";
this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6;
this.dvc_amt.HeaderText = "구매금액";
this.dvc_amt.Name = "dvc_amt";
this.dvc_amt.ReadOnly = true;
//
// dvc_remark
//
this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7;
this.dvc_remark.HeaderText = "비고";
this.dvc_remark.Name = "dvc_remark";
//
// toolStrip1
//
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
@@ -409,69 +467,11 @@
//
this.taPart.ClearBeforeFill = true;
//
// dvc_sid
//
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1;
this.dvc_sid.HeaderText = "SID";
this.dvc_sid.Name = "dvc_sid";
this.dvc_sid.ReadOnly = true;
//
// dvc_name
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2;
this.dvc_name.HeaderText = "품명";
this.dvc_name.Name = "dvc_name";
this.dvc_name.ReadOnly = true;
//
// dvc_model
//
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3;
this.dvc_model.HeaderText = "모델";
this.dvc_model.Name = "dvc_model";
this.dvc_model.ReadOnly = true;
//
// dvc_price
//
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle4.Format = "N0";
this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4;
this.dvc_price.HeaderText = "단가";
this.dvc_price.Name = "dvc_price";
//
// dvc_qty
//
dataGridViewCellStyle5.Format = "N0";
this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5;
this.dvc_qty.HeaderText = "구매수량";
this.dvc_qty.Name = "dvc_qty";
//
// dvc_amt
//
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle6.Format = "N0";
this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6;
this.dvc_amt.HeaderText = "구매금액";
this.dvc_amt.Name = "dvc_amt";
this.dvc_amt.ReadOnly = true;
//
// dvc_remark
//
this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7;
this.dvc_remark.HeaderText = "비고";
this.dvc_remark.Name = "dvc_remark";
//
// fProjectPartToPurchaseCR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ClientSize = new System.Drawing.Size(984, 636);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.panel1);

View File

@@ -14,7 +14,8 @@ namespace FPJ0000
{
int ProjectIndex = -1;
List<int> IDXList;
public fProjectPartToPurchaseCR(int pidx, List<int> idxlist)
bool isCR = false;
public fProjectPartToPurchaseCR(int pidx, List<int> idxlist, bool isCR)
{
InitializeComponent();
// dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
@@ -22,6 +23,7 @@ namespace FPJ0000
this.ProjectIndex = pidx;
this.KeyPreview = true;
this.StartPosition = FormStartPosition.CenterScreen;
this.isCR = isCR;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
@@ -31,6 +33,9 @@ namespace FPJ0000
Col_Price = dv1.Columns["dvc_price"].Index;
Col_Qty = dv1.Columns["dvc_qty"].Index;
Col_amt = dv1.Columns["dvc_amt"].Index;
this.Text = isCR ? "파트리스트 CR등록" : "파트리스트 NR등록";
this.panel1.BackColor = isCR ? Color.FromArgb(192, 192, 255) : Color.FromArgb(192, 255, 255);
toolStripButton4.Text = isCR ? "CR구매등록" : "NR구매등록";
}
int Col_Price = -1;
@@ -225,19 +230,23 @@ namespace FPJ0000
return false;
}
if (tbProject.Text == "")
if (isCR)
{
FCOMMON.Util.MsgE("프로젝트 정보를 입력하세요.");
tbProject.Focus();
return false;
if (tbProject.Text == "")
{
FCOMMON.Util.MsgE("프로젝트 정보를 입력하세요.");
tbProject.Focus();
return false;
}
if (string.IsNullOrEmpty(tbCr.Text))
{
FCOMMON.Util.MsgE("SCR/CF값이 없습니다. 프로젝트 정보를 확인하세요");
tbCr.Focus();
return false;
}
}
if (string.IsNullOrEmpty(tbCr.Text))
{
FCOMMON.Util.MsgE("SCR/CF값이 없습니다. 프로젝트 정보를 확인하세요");
tbCr.Focus();
return false;
}
int itemCount = 0;
@@ -250,7 +259,7 @@ namespace FPJ0000
}
//part 목록을 조회해서 NR에 등록해줘야 함
var dlg2 = FCOMMON.Util.MsgQ("해당 파트리스트를 CR구매 목록에 등록 하시겠습니까?\n" +
var dlg2 = FCOMMON.Util.MsgQ("해당 파트리스트를 " + (isCR ? "CR" : "NR") + "구매 목록에 등록 하시겠습니까?\n" +
itemCount.ToString() + "건 " + itemAmt.ToString("N0") + "원");
if (dlg2 != System.Windows.Forms.DialogResult.Yes) return false;
@@ -283,14 +292,15 @@ namespace FPJ0000
//}
var fProg = new FCOMMON.fProgress();
fProg.Title = "CR구매파트 자료 집계 중";
fProg.Title = (isCR ? "CR" : "NR") + "구매파트 자료 집계 중";
fProg.SetProgress(0, itemCount);
fProg.Show();
fProg.Refresh();
//데이터를 넣는다
var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
var dt = new dsPurchase.EETGW_PurchaseCRDataTable();
var dtCR = new dsPurchase.EETGW_PurchaseCRDataTable();
var dtNR = new dsPurchase.PurchaseDataTable();
foreach (DataGridViewRow item in dv1.Rows)
{
@@ -298,76 +308,157 @@ namespace FPJ0000
var sid = dr.ItemSid.Replace(" ", "").Trim();
bool newadd = false;
var newdr = dt.Where(t => t.sid == sid).FirstOrDefault();
//insert query
if (newdr == null)
if(isCR)
{
newdr = dt.NewEETGW_PurchaseCRRow();
newadd = true;
}
// newdr.asset = cbEQModel.Text.Trim();
// newdr.dept = cbEQModel.Text.Trim();
///newdr.manuproc = cbManuProc.Text.Trim();
var o_price = item.Cells[Col_Price].Value;
var o_qty = item.Cells[Col_Qty].Value;
decimal v_price = 0;
int v_qty = 0;
if (o_price != null) v_price = decimal.Parse(o_price.ToString());
if (o_qty != null) v_qty = int.Parse(o_qty.ToString());
var newdr = dtCR.Where(t => t.sid == sid).FirstOrDefault();
//insert query
if (newdr == null)
{
newdr = dtCR.NewEETGW_PurchaseCRRow();
newadd = true;
}
// newdr.asset = cbEQModel.Text.Trim();
// newdr.dept = cbEQModel.Text.Trim();
///newdr.manuproc = cbManuProc.Text.Trim();
var o_price = item.Cells[Col_Price].Value;
var o_qty = item.Cells[Col_Qty].Value;
decimal v_price = 0;
int v_qty = 0;
if (o_price != null) v_price = decimal.Parse(o_price.ToString());
if (o_qty != null) v_qty = int.Parse(o_qty.ToString());
if (newadd)
{
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.pdate = dtPdate.Value.ToShortDateString();
newdr.state = "---";// cmbState.Text.Trim();
newdr.request = userNo.Trim();
newdr.sid = dr.ItemSid.Replace(" ", "").Trim();
newdr.pumname = dr.ItemName.Trim();
newdr.pumidx = dr.Item;
newdr.pumscale = dr.ItemModel;
newdr.pumunit = dr.ItemUnit;
newdr.pumprice = v_price;// (decimal)item.Cells[Col_Price].Value;//dr.price;
newdr.pumqty = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt = v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.supply = dr.ItemSupply.Trim();
newdr.supplyidx = dr.ItemSupplyidx;
newdr.project = tbProject.Text.Trim();
newdr.projectidx = int.Parse(tbProjectIndex.Text);
newdr.import = true;
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.orderno = tbCr.Text.Trim();
newdr.bigo = item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
dt.AddEETGW_PurchaseCRRow(newdr);
if (newadd)
{
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.pdate = dtPdate.Value.ToShortDateString();
newdr.state = "---";// cmbState.Text.Trim();
newdr.request = userNo.Trim();
newdr.sid = dr.ItemSid.Replace(" ", "").Trim();
newdr.pumname = dr.ItemName.Trim();
newdr.pumidx = dr.Item;
newdr.pumscale = dr.ItemModel;
newdr.pumunit = dr.ItemUnit;
newdr.pumprice = v_price;// (decimal)item.Cells[Col_Price].Value;//dr.price;
newdr.pumqty = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt = v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.supply = dr.ItemSupply.Trim();
newdr.supplyidx = dr.ItemSupplyidx;
newdr.project = tbProject.Text.Trim();
newdr.projectidx = int.Parse(tbProjectIndex.Text);
newdr.import = true;
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.orderno = tbCr.Text.Trim();
newdr.bigo = item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
dtCR.AddEETGW_PurchaseCRRow(newdr);
}
else
{
newdr.pumqty += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt += v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.bigo += "," + item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
}
//if (radioButton1.Checked)
//
//}
//else
//{
// //실제 구매에 필요한 수량으로 처리
// newdr.pumqty = dr.qtybuy;
// newdr.pumamt = dr.qtybuy * dr.price;
//}
}
else
{
newdr.pumqty += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt += v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.bigo += "," + item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
var newdr = dtNR.Where(t => t.sid == sid).FirstOrDefault();
//insert query
if (newdr == null)
{
newdr = dtNR.NewPurchaseRow();
newadd = true;
}
// newdr.asset = cbEQModel.Text.Trim();
// newdr.dept = cbEQModel.Text.Trim();
///newdr.manuproc = cbManuProc.Text.Trim();
var o_price = item.Cells[Col_Price].Value;
var o_qty = item.Cells[Col_Qty].Value;
decimal v_price = 0;
int v_qty = 0;
if (o_price != null) v_price = decimal.Parse(o_price.ToString());
if (o_qty != null) v_qty = int.Parse(o_qty.ToString());
if (newadd)
{
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.pdate = dtPdate.Value.ToShortDateString();
newdr.state = "---";// cmbState.Text.Trim();
newdr.request = userNo.Trim();
newdr.sid = dr.ItemSid.Replace(" ", "").Trim();
newdr.pumname = dr.ItemName.Trim();
newdr.pumidx = dr.Item;
newdr.pumscale = dr.ItemModel;
newdr.pumunit = dr.ItemUnit;
newdr.pumprice = v_price;// (decimal)item.Cells[Col_Price].Value;//dr.price;
newdr.pumqty = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt = v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.supply = dr.ItemSupply.Trim();
newdr.supplyidx = dr.ItemSupplyidx;
newdr.project = tbProject.Text.Trim();
newdr.projectidx = int.Parse(tbProjectIndex.Text);
newdr.import = true;
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.orderno = tbCr.Text.Trim();
newdr.bigo = item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
dtNR.AddPurchaseRow(newdr);
}
else
{
newdr.pumqty += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt += v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.bigo += "," + item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
}
//if (radioButton1.Checked)
//
//}
//else
//{
// //실제 구매에 필요한 수량으로 처리
// newdr.pumqty = dr.qtybuy;
// newdr.pumamt = dr.qtybuy * dr.price;
//}
}
//if (radioButton1.Checked)
//
//}
//else
//{
// //실제 구매에 필요한 수량으로 처리
// newdr.pumqty = dr.qtybuy;
// newdr.pumamt = dr.qtybuy * dr.price;
//}
// Console.WriteLine(SQL);
fProg.IncProgress();
}
var addcnt = ta.Update(dt);
int addcnt = 0;
if(isCR)
{
var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
addcnt = ta.Update(dtCR);
}
else
{
var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter();
addcnt = ta.Update(dtNR);
}
FCOMMON.Util.MsgI(string.Format("{0}/{1}건의 자료가 생성 되었습니다.\n\n구매등록 화면에서 내용을 확인하세요.", addcnt, itemCount));
fProg.Close();
fProg.Dispose();

File diff suppressed because it is too large Load Diff

View File

@@ -9,12 +9,13 @@
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PurchaseTableAdapter" GeneratorDataComponentClassName="PurchaseTableAdapter" Name="Purchase" UserDataComponentName="PurchaseTableAdapter">
<MainSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.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">
<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_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
<CommandText>DELETE FROM [Purchase] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) 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_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) 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>
<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="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_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" />
@@ -29,6 +30,8 @@
<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_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_pumscale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -37,8 +40,12 @@
<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_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_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_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_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" />
@@ -67,16 +74,37 @@
<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_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="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="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="DateTime" Scale="0" Size="0" SourceColumn="wdate" 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_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_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_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="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" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Purchase] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [manuproc], [edate], [indate], [po], [dept], [bigo], [import], [isdel], [orderno], [wuid], [wdate]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @manuproc, @edate, @indate, @po, @dept, @bigo, @import, @isdel, @orderno, @wuid, @wdate);
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, wuid, wdate FROM Purchase WHERE (idx = SCOPE_IDENTITY())</CommandText>
<CommandText>INSERT INTO [Purchase] ([gcode], [pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumqtyReq], [pumprice], [pumpriceD], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [manuproc], [edate], [indate], [po], [dept], [bigo], [import], [isdel], [orderno], [place], [wuid], [wdate], [inqty], [inremark], [winuid], [windate], [chk1], [chk2], [chkremark], [costcenter], [linecode]) VALUES (@gcode, @pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumqtyReq, @pumprice, @pumpriceD, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @manuproc, @edate, @indate, @po, @dept, @bigo, @import, @isdel, @orderno, @place, @wuid, @wdate, @inqty, @inremark, @winuid, @windate, @chk1, @chk2, @chkremark, @costcenter, @linecode);
SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumqtyReq, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, winuid, windate, chk1, chk2, chkremark, costcenter, linecode FROM Purchase WHERE (idx = SCOPE_IDENTITY())</CommandText>
<Parameters>
<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="@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" />
@@ -84,12 +112,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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="AnsiString" Direction="Input" ParameterName="@pumname" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumname" 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="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="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="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="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="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" 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" />
@@ -105,23 +135,35 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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="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="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" 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="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="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" 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="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="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" 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" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Purchase.*
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumqtyReq, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx,
asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, winuid, windate, chk1, chk2, chkremark, costcenter, linecode
FROM Purchase</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<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, [pumidx] = @pumidx, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumprice] = @pumprice, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [manuproc] = @manuproc, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [bigo] = @bigo, [import] = @import, [isdel] = @isdel, [orderno] = @orderno, [wuid] = @wuid, [wdate] = @wdate 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_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, wuid, wdate FROM Purchase WHERE (idx = @idx)</CommandText>
<CommandText>UPDATE [Purchase] SET [gcode] = @gcode, [pdate] = @pdate, [state] = @state, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] = @pumname, [pumidx] = @pumidx, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumqtyReq] = @pumqtyReq, [pumprice] = @pumprice, [pumpriceD] = @pumpriceD, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [manuproc] = @manuproc, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [bigo] = @bigo, [import] = @import, [isdel] = @isdel, [orderno] = @orderno, [place] = @place, [wuid] = @wuid, [wdate] = @wdate, [inqty] = @inqty, [inremark] = @inremark, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2, [chkremark] = @chkremark, [costcenter] = @costcenter, [linecode] = @linecode WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) 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_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)));
SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumqtyReq, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, winuid, windate, chk1, chk2, chkremark, costcenter, linecode FROM Purchase WHERE (idx = @idx)</CommandText>
<Parameters>
<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="@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" />
@@ -129,12 +171,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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="AnsiString" Direction="Input" ParameterName="@pumname" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pumname" 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="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="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="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="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="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" 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" />
@@ -150,9 +194,20 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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="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="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" 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="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="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" 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="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="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" 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="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="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_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" />
@@ -167,6 +222,8 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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_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_pumscale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -175,8 +232,12 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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_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_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_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_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" />
@@ -205,9 +266,29 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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_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="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="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="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
<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_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_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_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="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="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>
@@ -245,6 +326,19 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<Mapping SourceColumn="orderno" DataSetColumn="orderno" />
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
<Mapping SourceColumn="gcode" DataSetColumn="gcode" />
<Mapping SourceColumn="pumqtyReq" DataSetColumn="pumqtyReq" />
<Mapping SourceColumn="pumpriceD" DataSetColumn="pumpriceD" />
<Mapping SourceColumn="place" DataSetColumn="place" />
<Mapping SourceColumn="inqty" DataSetColumn="inqty" />
<Mapping SourceColumn="inremark" DataSetColumn="inremark" />
<Mapping SourceColumn="winuid" DataSetColumn="winuid" />
<Mapping SourceColumn="windate" DataSetColumn="windate" />
<Mapping SourceColumn="chk1" DataSetColumn="chk1" />
<Mapping SourceColumn="chk2" DataSetColumn="chk2" />
<Mapping SourceColumn="chkremark" DataSetColumn="chkremark" />
<Mapping SourceColumn="costcenter" DataSetColumn="costcenter" />
<Mapping SourceColumn="linecode" DataSetColumn="linecode" />
</Mappings>
<Sources />
</TableAdapter>
@@ -253,7 +347,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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 ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)))</CommandText>
<CommandText>DELETE FROM [EETGW_PurchaseCR] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) 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_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) 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>
<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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -281,6 +375,8 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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_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_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_pumpriceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -321,13 +417,27 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, p
<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_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_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="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" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [EETGW_PurchaseCR] ([gcode], [pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumprice], [pumpriceD], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [manuproc], [edate], [indate], [po], [dept], [bigo], [import], [isdel], [orderno], [place], [wuid], [wdate], [inqty], [inremark]) VALUES (@gcode, @pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumprice, @pumpriceD, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @manuproc, @edate, @indate, @po, @dept, @bigo, @import, @isdel, @orderno, @place, @wuid, @wdate, @inqty, @inremark);
SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY())</CommandText>
<CommandText>INSERT INTO [EETGW_PurchaseCR] ([gcode], [pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumqtyReq], [pumprice], [pumpriceD], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [manuproc], [edate], [indate], [po], [dept], [bigo], [import], [isdel], [orderno], [place], [wuid], [wdate], [inqty], [inremark], [winuid], [windate], [chk1], [chk2], [chkremark], [costcenter], [linecode]) VALUES (@gcode, @pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumqtyReq, @pumprice, @pumpriceD, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @manuproc, @edate, @indate, @po, @dept, @bigo, @import, @isdel, @orderno, @place, @wuid, @wdate, @inqty, @inremark, @winuid, @windate, @chk1, @chk2, @chkremark, @costcenter, @linecode);
SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumqtyReq, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, winuid, windate, chk1, chk2, chkremark, costcenter, linecode FROM EETGW_PurchaseCR WHERE (idx = SCOPE_IDENTITY())</CommandText>
<Parameters>
<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="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -342,6 +452,7 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<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="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="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="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" 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" />
@@ -364,20 +475,28 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<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="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="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="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" 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" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT EETGW_PurchaseCR.*
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumqtyReq, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx,
asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, winuid, windate, chk1, chk2, chkremark, costcenter, linecode
FROM EETGW_PurchaseCR</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [EETGW_PurchaseCR] SET [gcode] = @gcode, [pdate] = @pdate, [state] = @state, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] = @pumname, [pumidx] = @pumidx, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumprice] = @pumprice, [pumpriceD] = @pumpriceD, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [manuproc] = @manuproc, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [bigo] = @bigo, [import] = @import, [isdel] = @isdel, [orderno] = @orderno, [place] = @place, [wuid] = @wuid, [wdate] = @wdate, [inqty] = @inqty, [inremark] = @inremark WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)));
SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark FROM EETGW_PurchaseCR WHERE (idx = @idx)</CommandText>
<CommandText>UPDATE [EETGW_PurchaseCR] SET [gcode] = @gcode, [pdate] = @pdate, [state] = @state, [process] = @process, [receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] = @pumname, [pumidx] = @pumidx, [pumscale] = @pumscale, [pumunit] = @pumunit, [pumqty] = @pumqty, [pumqtyReq] = @pumqtyReq, [pumprice] = @pumprice, [pumpriceD] = @pumpriceD, [pumamt] = @pumamt, [supply] = @supply, [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [asset] = @asset, [manuproc] = @manuproc, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [bigo] = @bigo, [import] = @import, [isdel] = @isdel, [orderno] = @orderno, [place] = @place, [wuid] = @wuid, [wdate] = @wdate, [inqty] = @inqty, [inremark] = @inremark, [winuid] = @winuid, [windate] = @windate, [chk1] = @chk1, [chk2] = @chk2, [chkremark] = @chkremark, [costcenter] = @costcenter, [linecode] = @linecode WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumqtyReq = 1 AND [pumqtyReq] IS NULL) OR ([pumqtyReq] = @Original_pumqtyReq)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)) 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_chkremark = 1 AND [chkremark] IS NULL) OR ([chkremark] = @Original_chkremark)) AND ((@IsNull_costcenter = 1 AND [costcenter] IS NULL) OR ([costcenter] = @Original_costcenter)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)));
SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumqtyReq, pumprice, pumpriceD, pumamt, supply, supplyidx, project, projectidx, asset, manuproc, edate, indate, po, dept, bigo, import, isdel, orderno, place, wuid, wdate, inqty, inremark, winuid, windate, chk1, chk2, chkremark, costcenter, linecode FROM EETGW_PurchaseCR WHERE (idx = @idx)</CommandText>
<Parameters>
<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="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -392,6 +511,7 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<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="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="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="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" 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" />
@@ -414,6 +534,13 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<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="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="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="String" Direction="Input" ParameterName="@chkremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkremark" 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="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="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_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -440,6 +567,8 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<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_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_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_pumpriceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -480,6 +609,20 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<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_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_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="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="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>
@@ -523,6 +666,14 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
<Mapping SourceColumn="inqty" DataSetColumn="inqty" />
<Mapping SourceColumn="inremark" DataSetColumn="inremark" />
<Mapping SourceColumn="pumqtyReq" DataSetColumn="pumqtyReq" />
<Mapping SourceColumn="winuid" DataSetColumn="winuid" />
<Mapping SourceColumn="windate" DataSetColumn="windate" />
<Mapping SourceColumn="chk1" DataSetColumn="chk1" />
<Mapping SourceColumn="chk2" DataSetColumn="chk2" />
<Mapping SourceColumn="chkremark" DataSetColumn="chkremark" />
<Mapping SourceColumn="costcenter" DataSetColumn="costcenter" />
<Mapping SourceColumn="linecode" DataSetColumn="linecode" />
</Mappings>
<Sources />
</TableAdapter>
@@ -531,355 +682,442 @@ SELECT idx, gcode, pdate, state, process, receive, sc, request, sid, pumname, pu
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase">
<xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_UserDSName="dsPurchase" msprop:Generator_DataSetName="dsPurchase">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent">
<xs:element name="Purchase" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_UserTableName="Purchase">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="pdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="state" msprop:Generator_ColumnVarNameInTable="columnstate" msprop:Generator_ColumnPropNameInRow="state" msprop:Generator_ColumnPropNameInTable="stateColumn" msprop:Generator_UserColumnName="state" minOccurs="0">
<xs:element name="state" msprop:Generator_ColumnPropNameInRow="state" msprop:Generator_ColumnPropNameInTable="stateColumn" msprop:Generator_ColumnVarNameInTable="columnstate" msprop:Generator_UserColumnName="state" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="process" msprop:Generator_ColumnVarNameInTable="columnprocess" msprop:Generator_ColumnPropNameInRow="process" msprop:Generator_ColumnPropNameInTable="processColumn" msprop:Generator_UserColumnName="process" minOccurs="0">
<xs:element name="process" msprop:Generator_ColumnPropNameInRow="process" msprop:Generator_ColumnPropNameInTable="processColumn" msprop:Generator_ColumnVarNameInTable="columnprocess" msprop:Generator_UserColumnName="process" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="receive" msprop:Generator_ColumnVarNameInTable="columnreceive" msprop:Generator_ColumnPropNameInRow="receive" msprop:Generator_ColumnPropNameInTable="receiveColumn" msprop:Generator_UserColumnName="receive" minOccurs="0">
<xs:element name="receive" msprop:Generator_ColumnPropNameInRow="receive" msprop:Generator_ColumnPropNameInTable="receiveColumn" msprop:Generator_ColumnVarNameInTable="columnreceive" msprop:Generator_UserColumnName="receive" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sc" msprop:Generator_ColumnVarNameInTable="columnsc" msprop:Generator_ColumnPropNameInRow="sc" msprop:Generator_ColumnPropNameInTable="scColumn" msprop:Generator_UserColumnName="sc" minOccurs="0">
<xs:element name="sc" msprop:Generator_ColumnPropNameInRow="sc" msprop:Generator_ColumnPropNameInTable="scColumn" msprop:Generator_ColumnVarNameInTable="columnsc" msprop:Generator_UserColumnName="sc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="request" msprop:Generator_ColumnVarNameInTable="columnrequest" msprop:Generator_ColumnPropNameInRow="request" msprop:Generator_ColumnPropNameInTable="requestColumn" msprop:Generator_UserColumnName="request" minOccurs="0">
<xs:element name="request" msprop:Generator_ColumnPropNameInRow="request" msprop:Generator_ColumnPropNameInTable="requestColumn" msprop:Generator_ColumnVarNameInTable="columnrequest" msprop:Generator_UserColumnName="request" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0">
<xs:element name="sid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_UserColumnName="sid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumname" msprop:Generator_ColumnVarNameInTable="columnpumname" msprop:Generator_ColumnPropNameInRow="pumname" msprop:Generator_ColumnPropNameInTable="pumnameColumn" msprop:Generator_UserColumnName="pumname" minOccurs="0">
<xs:element name="pumname" msprop:Generator_ColumnPropNameInRow="pumname" msprop:Generator_ColumnPropNameInTable="pumnameColumn" msprop:Generator_ColumnVarNameInTable="columnpumname" msprop:Generator_UserColumnName="pumname" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumidx" msprop:Generator_ColumnVarNameInTable="columnpumidx" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_UserColumnName="pumidx" type="xs:int" minOccurs="0" />
<xs:element name="pumscale" msprop:Generator_ColumnVarNameInTable="columnpumscale" msprop:Generator_ColumnPropNameInRow="pumscale" msprop:Generator_ColumnPropNameInTable="pumscaleColumn" msprop:Generator_UserColumnName="pumscale" minOccurs="0">
<xs:element name="pumidx" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_ColumnVarNameInTable="columnpumidx" msprop:Generator_UserColumnName="pumidx" type="xs:int" minOccurs="0" />
<xs:element name="pumscale" msprop:Generator_ColumnPropNameInRow="pumscale" msprop:Generator_ColumnPropNameInTable="pumscaleColumn" msprop:Generator_ColumnVarNameInTable="columnpumscale" msprop:Generator_UserColumnName="pumscale" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumunit" msprop:Generator_ColumnVarNameInTable="columnpumunit" msprop:Generator_ColumnPropNameInRow="pumunit" msprop:Generator_ColumnPropNameInTable="pumunitColumn" msprop:Generator_UserColumnName="pumunit" minOccurs="0">
<xs:element name="pumunit" msprop:Generator_ColumnPropNameInRow="pumunit" msprop:Generator_ColumnPropNameInTable="pumunitColumn" msprop:Generator_ColumnVarNameInTable="columnpumunit" msprop:Generator_UserColumnName="pumunit" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumqty" msprop:Generator_ColumnVarNameInTable="columnpumqty" msprop:Generator_ColumnPropNameInRow="pumqty" msprop:Generator_ColumnPropNameInTable="pumqtyColumn" msprop:Generator_UserColumnName="pumqty" type="xs:int" minOccurs="0" />
<xs:element name="pumprice" msprop:Generator_ColumnVarNameInTable="columnpumprice" msprop:Generator_ColumnPropNameInRow="pumprice" msprop:Generator_ColumnPropNameInTable="pumpriceColumn" msprop:Generator_UserColumnName="pumprice" type="xs:decimal" minOccurs="0" />
<xs:element name="pumamt" msprop:Generator_ColumnVarNameInTable="columnpumamt" msprop:Generator_ColumnPropNameInRow="pumamt" msprop:Generator_ColumnPropNameInTable="pumamtColumn" msprop:Generator_UserColumnName="pumamt" type="xs:decimal" minOccurs="0" />
<xs:element name="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0">
<xs:element name="pumqty" msprop:Generator_ColumnPropNameInRow="pumqty" msprop:Generator_ColumnPropNameInTable="pumqtyColumn" msprop:Generator_ColumnVarNameInTable="columnpumqty" msprop:Generator_UserColumnName="pumqty" type="xs:int" minOccurs="0" />
<xs:element name="pumprice" msprop:Generator_ColumnPropNameInRow="pumprice" msprop:Generator_ColumnPropNameInTable="pumpriceColumn" msprop:Generator_ColumnVarNameInTable="columnpumprice" msprop:Generator_UserColumnName="pumprice" type="xs:decimal" minOccurs="0" />
<xs:element name="pumamt" msprop:Generator_ColumnPropNameInRow="pumamt" msprop:Generator_ColumnPropNameInTable="pumamtColumn" msprop:Generator_ColumnVarNameInTable="columnpumamt" msprop:Generator_UserColumnName="pumamt" type="xs:decimal" minOccurs="0" />
<xs:element name="supply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_UserColumnName="supply" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="supplyidx" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" />
<xs:element name="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" minOccurs="0">
<xs:element name="supplyidx" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" />
<xs:element name="project" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_UserColumnName="project" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="projectidx" msprop:Generator_ColumnVarNameInTable="columnprojectidx" msprop:Generator_ColumnPropNameInRow="projectidx" msprop:Generator_ColumnPropNameInTable="projectidxColumn" msprop:Generator_UserColumnName="projectidx" type="xs:int" minOccurs="0" />
<xs:element name="asset" msprop:Generator_ColumnVarNameInTable="columnasset" msprop:Generator_ColumnPropNameInRow="asset" msprop:Generator_ColumnPropNameInTable="assetColumn" msprop:Generator_UserColumnName="asset" minOccurs="0">
<xs:element name="projectidx" msprop:Generator_ColumnPropNameInRow="projectidx" msprop:Generator_ColumnPropNameInTable="projectidxColumn" msprop:Generator_ColumnVarNameInTable="columnprojectidx" msprop:Generator_UserColumnName="projectidx" type="xs:int" minOccurs="0" />
<xs:element name="asset" msprop:Generator_ColumnPropNameInRow="asset" msprop:Generator_ColumnPropNameInTable="assetColumn" msprop:Generator_ColumnVarNameInTable="columnasset" msprop:Generator_UserColumnName="asset" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="manuproc" msprop:Generator_ColumnVarNameInTable="columnmanuproc" msprop:Generator_ColumnPropNameInRow="manuproc" msprop:Generator_ColumnPropNameInTable="manuprocColumn" msprop:Generator_UserColumnName="manuproc" minOccurs="0">
<xs:element name="manuproc" msprop:Generator_ColumnPropNameInRow="manuproc" msprop:Generator_ColumnPropNameInTable="manuprocColumn" msprop:Generator_ColumnVarNameInTable="columnmanuproc" msprop:Generator_UserColumnName="manuproc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="edate" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_UserColumnName="edate" minOccurs="0">
<xs:element name="edate" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_UserColumnName="edate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="indate" msprop:Generator_ColumnVarNameInTable="columnindate" msprop:Generator_ColumnPropNameInRow="indate" msprop:Generator_ColumnPropNameInTable="indateColumn" msprop:Generator_UserColumnName="indate" minOccurs="0">
<xs:element name="indate" msprop:Generator_ColumnPropNameInRow="indate" msprop:Generator_ColumnPropNameInTable="indateColumn" msprop:Generator_ColumnVarNameInTable="columnindate" msprop:Generator_UserColumnName="indate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="po" msprop:Generator_ColumnVarNameInTable="columnpo" msprop:Generator_ColumnPropNameInRow="po" msprop:Generator_ColumnPropNameInTable="poColumn" msprop:Generator_UserColumnName="po" minOccurs="0">
<xs:element name="po" msprop:Generator_ColumnPropNameInRow="po" msprop:Generator_ColumnPropNameInTable="poColumn" msprop:Generator_ColumnVarNameInTable="columnpo" msprop:Generator_UserColumnName="po" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept" minOccurs="0">
<xs:element name="dept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_UserColumnName="dept" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bigo" msprop:Generator_ColumnVarNameInTable="columnbigo" msprop:Generator_ColumnPropNameInRow="bigo" msprop:Generator_ColumnPropNameInTable="bigoColumn" msprop:Generator_UserColumnName="bigo" minOccurs="0">
<xs:element name="bigo" msprop:Generator_ColumnPropNameInRow="bigo" msprop:Generator_ColumnPropNameInTable="bigoColumn" msprop:Generator_ColumnVarNameInTable="columnbigo" msprop:Generator_UserColumnName="bigo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="import" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" />
<xs:element name="isdel" msprop:Generator_ColumnVarNameInTable="columnisdel" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_UserColumnName="isdel" type="xs:boolean" minOccurs="0" />
<xs:element name="orderno" msprop:Generator_ColumnVarNameInTable="columnorderno" msprop:Generator_ColumnPropNameInRow="orderno" msprop:Generator_ColumnPropNameInTable="ordernoColumn" msprop:Generator_UserColumnName="orderno" minOccurs="0">
<xs:element name="import" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" />
<xs:element name="isdel" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_ColumnVarNameInTable="columnisdel" msprop:Generator_UserColumnName="isdel" type="xs:boolean" minOccurs="0" />
<xs:element name="orderno" msprop:Generator_ColumnPropNameInRow="orderno" msprop:Generator_ColumnPropNameInTable="ordernoColumn" msprop:Generator_ColumnVarNameInTable="columnorderno" msprop:Generator_UserColumnName="orderno" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
<xs:element name="wuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_UserColumnName="wuid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_UserColumnName="gcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</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="pumpriceD" msprop:Generator_ColumnPropNameInRow="pumpriceD" msprop:Generator_ColumnPropNameInTable="pumpriceDColumn" msprop:Generator_ColumnVarNameInTable="columnpumpriceD" msprop:Generator_UserColumnName="pumpriceD" type="xs:decimal" minOccurs="0" />
<xs:element name="place" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_UserColumnName="place" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="inqty" msprop:Generator_ColumnPropNameInRow="inqty" msprop:Generator_ColumnPropNameInTable="inqtyColumn" msprop:Generator_ColumnVarNameInTable="columninqty" msprop:Generator_UserColumnName="inqty" type="xs:int" minOccurs="0" />
<xs:element name="inremark" msprop:Generator_ColumnPropNameInRow="inremark" msprop:Generator_ColumnPropNameInTable="inremarkColumn" msprop:Generator_ColumnVarNameInTable="columninremark" msprop:Generator_UserColumnName="inremark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="winuid" msprop:Generator_ColumnPropNameInRow="winuid" msprop:Generator_ColumnPropNameInTable="winuidColumn" msprop:Generator_ColumnVarNameInTable="columnwinuid" msprop:Generator_UserColumnName="winuid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="windate" msprop:Generator_ColumnPropNameInRow="windate" msprop:Generator_ColumnPropNameInTable="windateColumn" msprop:Generator_ColumnVarNameInTable="columnwindate" msprop:Generator_UserColumnName="windate" type="xs:dateTime" minOccurs="0" />
<xs:element name="chk1" msprop:Generator_ColumnPropNameInRow="chk1" msprop:Generator_ColumnPropNameInTable="chk1Column" msprop:Generator_ColumnVarNameInTable="columnchk1" msprop:Generator_UserColumnName="chk1" type="xs:boolean" minOccurs="0" />
<xs:element name="chk2" msprop:Generator_ColumnPropNameInRow="chk2" msprop:Generator_ColumnPropNameInTable="chk2Column" msprop:Generator_ColumnVarNameInTable="columnchk2" msprop:Generator_UserColumnName="chk2" type="xs:boolean" 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:element name="costcenter" msprop:Generator_ColumnPropNameInRow="costcenter" msprop:Generator_ColumnPropNameInTable="costcenterColumn" msprop:Generator_ColumnVarNameInTable="columncostcenter" msprop:Generator_UserColumnName="costcenter" 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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_PurchaseCR" msprop:Generator_TableClassName="EETGW_PurchaseCRDataTable" msprop:Generator_TableVarName="tableEETGW_PurchaseCR" msprop:Generator_TablePropName="EETGW_PurchaseCR" msprop:Generator_RowDeletingName="EETGW_PurchaseCRRowDeleting" msprop:Generator_RowChangingName="EETGW_PurchaseCRRowChanging" msprop:Generator_RowEvHandlerName="EETGW_PurchaseCRRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_PurchaseCRRowDeleted" msprop:Generator_UserTableName="EETGW_PurchaseCR" msprop:Generator_RowChangedName="EETGW_PurchaseCRRowChanged" msprop:Generator_RowEvArgName="EETGW_PurchaseCRRowChangeEvent" msprop:Generator_RowClassName="EETGW_PurchaseCRRow">
<xs:element name="EETGW_PurchaseCR" msprop:Generator_RowClassName="EETGW_PurchaseCRRow" msprop:Generator_RowEvHandlerName="EETGW_PurchaseCRRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_PurchaseCRRowDeleted" msprop:Generator_RowDeletingName="EETGW_PurchaseCRRowDeleting" msprop:Generator_RowEvArgName="EETGW_PurchaseCRRowChangeEvent" msprop:Generator_TablePropName="EETGW_PurchaseCR" msprop:Generator_RowChangedName="EETGW_PurchaseCRRowChanged" msprop:Generator_RowChangingName="EETGW_PurchaseCRRowChanging" msprop:Generator_TableClassName="EETGW_PurchaseCRDataTable" msprop:Generator_UserTableName="EETGW_PurchaseCR" msprop:Generator_TableVarName="tableEETGW_PurchaseCR">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_UserColumnName="gcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:element name="pdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="state" msprop:Generator_ColumnVarNameInTable="columnstate" msprop:Generator_ColumnPropNameInRow="state" msprop:Generator_ColumnPropNameInTable="stateColumn" msprop:Generator_UserColumnName="state" minOccurs="0">
<xs:element name="state" msprop:Generator_ColumnPropNameInRow="state" msprop:Generator_ColumnPropNameInTable="stateColumn" msprop:Generator_ColumnVarNameInTable="columnstate" msprop:Generator_UserColumnName="state" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="process" msprop:Generator_ColumnVarNameInTable="columnprocess" msprop:Generator_ColumnPropNameInRow="process" msprop:Generator_ColumnPropNameInTable="processColumn" msprop:Generator_UserColumnName="process" minOccurs="0">
<xs:element name="process" msprop:Generator_ColumnPropNameInRow="process" msprop:Generator_ColumnPropNameInTable="processColumn" msprop:Generator_ColumnVarNameInTable="columnprocess" msprop:Generator_UserColumnName="process" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="receive" msprop:Generator_ColumnVarNameInTable="columnreceive" msprop:Generator_ColumnPropNameInRow="receive" msprop:Generator_ColumnPropNameInTable="receiveColumn" msprop:Generator_UserColumnName="receive" minOccurs="0">
<xs:element name="receive" msprop:Generator_ColumnPropNameInRow="receive" msprop:Generator_ColumnPropNameInTable="receiveColumn" msprop:Generator_ColumnVarNameInTable="columnreceive" msprop:Generator_UserColumnName="receive" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sc" msprop:Generator_ColumnVarNameInTable="columnsc" msprop:Generator_ColumnPropNameInRow="sc" msprop:Generator_ColumnPropNameInTable="scColumn" msprop:Generator_UserColumnName="sc" minOccurs="0">
<xs:element name="sc" msprop:Generator_ColumnPropNameInRow="sc" msprop:Generator_ColumnPropNameInTable="scColumn" msprop:Generator_ColumnVarNameInTable="columnsc" msprop:Generator_UserColumnName="sc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="request" msprop:Generator_ColumnVarNameInTable="columnrequest" msprop:Generator_ColumnPropNameInRow="request" msprop:Generator_ColumnPropNameInTable="requestColumn" msprop:Generator_UserColumnName="request" minOccurs="0">
<xs:element name="request" msprop:Generator_ColumnPropNameInRow="request" msprop:Generator_ColumnPropNameInTable="requestColumn" msprop:Generator_ColumnVarNameInTable="columnrequest" msprop:Generator_UserColumnName="request" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0">
<xs:element name="sid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_UserColumnName="sid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumname" msprop:Generator_ColumnVarNameInTable="columnpumname" msprop:Generator_ColumnPropNameInRow="pumname" msprop:Generator_ColumnPropNameInTable="pumnameColumn" msprop:Generator_UserColumnName="pumname" minOccurs="0">
<xs:element name="pumname" msprop:Generator_ColumnPropNameInRow="pumname" msprop:Generator_ColumnPropNameInTable="pumnameColumn" msprop:Generator_ColumnVarNameInTable="columnpumname" msprop:Generator_UserColumnName="pumname" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumidx" msprop:Generator_ColumnVarNameInTable="columnpumidx" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_UserColumnName="pumidx" type="xs:int" minOccurs="0" />
<xs:element name="pumscale" msprop:Generator_ColumnVarNameInTable="columnpumscale" msprop:Generator_ColumnPropNameInRow="pumscale" msprop:Generator_ColumnPropNameInTable="pumscaleColumn" msprop:Generator_UserColumnName="pumscale" minOccurs="0">
<xs:element name="pumidx" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_ColumnVarNameInTable="columnpumidx" msprop:Generator_UserColumnName="pumidx" type="xs:int" minOccurs="0" />
<xs:element name="pumscale" msprop:Generator_ColumnPropNameInRow="pumscale" msprop:Generator_ColumnPropNameInTable="pumscaleColumn" msprop:Generator_ColumnVarNameInTable="columnpumscale" msprop:Generator_UserColumnName="pumscale" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumunit" msprop:Generator_ColumnVarNameInTable="columnpumunit" msprop:Generator_ColumnPropNameInRow="pumunit" msprop:Generator_ColumnPropNameInTable="pumunitColumn" msprop:Generator_UserColumnName="pumunit" minOccurs="0">
<xs:element name="pumunit" msprop:Generator_ColumnPropNameInRow="pumunit" msprop:Generator_ColumnPropNameInTable="pumunitColumn" msprop:Generator_ColumnVarNameInTable="columnpumunit" msprop:Generator_UserColumnName="pumunit" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pumqty" msprop:Generator_ColumnVarNameInTable="columnpumqty" msprop:Generator_ColumnPropNameInRow="pumqty" msprop:Generator_ColumnPropNameInTable="pumqtyColumn" msprop:Generator_UserColumnName="pumqty" type="xs:int" minOccurs="0" />
<xs:element name="pumprice" msprop:Generator_ColumnVarNameInTable="columnpumprice" msprop:Generator_ColumnPropNameInRow="pumprice" msprop:Generator_ColumnPropNameInTable="pumpriceColumn" msprop:Generator_UserColumnName="pumprice" type="xs:decimal" minOccurs="0" />
<xs:element name="pumpriceD" msprop:Generator_ColumnVarNameInTable="columnpumpriceD" msprop:Generator_ColumnPropNameInRow="pumpriceD" msprop:Generator_ColumnPropNameInTable="pumpriceDColumn" msprop:Generator_UserColumnName="pumpriceD" type="xs:decimal" minOccurs="0" />
<xs:element name="pumamt" msprop:Generator_ColumnVarNameInTable="columnpumamt" msprop:Generator_ColumnPropNameInRow="pumamt" msprop:Generator_ColumnPropNameInTable="pumamtColumn" msprop:Generator_UserColumnName="pumamt" type="xs:decimal" minOccurs="0" />
<xs:element name="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0">
<xs:element name="pumqty" msprop:Generator_ColumnPropNameInRow="pumqty" msprop:Generator_ColumnPropNameInTable="pumqtyColumn" msprop:Generator_ColumnVarNameInTable="columnpumqty" msprop:Generator_UserColumnName="pumqty" type="xs:int" minOccurs="0" />
<xs:element name="pumprice" msprop:Generator_ColumnPropNameInRow="pumprice" msprop:Generator_ColumnPropNameInTable="pumpriceColumn" msprop:Generator_ColumnVarNameInTable="columnpumprice" msprop:Generator_UserColumnName="pumprice" type="xs:decimal" minOccurs="0" />
<xs:element name="pumpriceD" msprop:Generator_ColumnPropNameInRow="pumpriceD" msprop:Generator_ColumnPropNameInTable="pumpriceDColumn" msprop:Generator_ColumnVarNameInTable="columnpumpriceD" msprop:Generator_UserColumnName="pumpriceD" type="xs:decimal" minOccurs="0" />
<xs:element name="pumamt" msprop:Generator_ColumnPropNameInRow="pumamt" msprop:Generator_ColumnPropNameInTable="pumamtColumn" msprop:Generator_ColumnVarNameInTable="columnpumamt" msprop:Generator_UserColumnName="pumamt" type="xs:decimal" minOccurs="0" />
<xs:element name="supply" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_UserColumnName="supply" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="supplyidx" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" />
<xs:element name="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" minOccurs="0">
<xs:element name="supplyidx" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" />
<xs:element name="project" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_UserColumnName="project" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="projectidx" msprop:Generator_ColumnVarNameInTable="columnprojectidx" msprop:Generator_ColumnPropNameInRow="projectidx" msprop:Generator_ColumnPropNameInTable="projectidxColumn" msprop:Generator_UserColumnName="projectidx" type="xs:int" minOccurs="0" />
<xs:element name="asset" msprop:Generator_ColumnVarNameInTable="columnasset" msprop:Generator_ColumnPropNameInRow="asset" msprop:Generator_ColumnPropNameInTable="assetColumn" msprop:Generator_UserColumnName="asset" minOccurs="0">
<xs:element name="projectidx" msprop:Generator_ColumnPropNameInRow="projectidx" msprop:Generator_ColumnPropNameInTable="projectidxColumn" msprop:Generator_ColumnVarNameInTable="columnprojectidx" msprop:Generator_UserColumnName="projectidx" type="xs:int" minOccurs="0" />
<xs:element name="asset" msprop:Generator_ColumnPropNameInRow="asset" msprop:Generator_ColumnPropNameInTable="assetColumn" msprop:Generator_ColumnVarNameInTable="columnasset" msprop:Generator_UserColumnName="asset" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="manuproc" msprop:Generator_ColumnVarNameInTable="columnmanuproc" msprop:Generator_ColumnPropNameInRow="manuproc" msprop:Generator_ColumnPropNameInTable="manuprocColumn" msprop:Generator_UserColumnName="manuproc" minOccurs="0">
<xs:element name="manuproc" msprop:Generator_ColumnPropNameInRow="manuproc" msprop:Generator_ColumnPropNameInTable="manuprocColumn" msprop:Generator_ColumnVarNameInTable="columnmanuproc" msprop:Generator_UserColumnName="manuproc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="edate" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_UserColumnName="edate" minOccurs="0">
<xs:element name="edate" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_UserColumnName="edate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="indate" msprop:Generator_ColumnVarNameInTable="columnindate" msprop:Generator_ColumnPropNameInRow="indate" msprop:Generator_ColumnPropNameInTable="indateColumn" msprop:Generator_UserColumnName="indate" minOccurs="0">
<xs:element name="indate" msprop:Generator_ColumnPropNameInRow="indate" msprop:Generator_ColumnPropNameInTable="indateColumn" msprop:Generator_ColumnVarNameInTable="columnindate" msprop:Generator_UserColumnName="indate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="po" msprop:Generator_ColumnVarNameInTable="columnpo" msprop:Generator_ColumnPropNameInRow="po" msprop:Generator_ColumnPropNameInTable="poColumn" msprop:Generator_UserColumnName="po" minOccurs="0">
<xs:element name="po" msprop:Generator_ColumnPropNameInRow="po" msprop:Generator_ColumnPropNameInTable="poColumn" msprop:Generator_ColumnVarNameInTable="columnpo" msprop:Generator_UserColumnName="po" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept" minOccurs="0">
<xs:element name="dept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_UserColumnName="dept" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bigo" msprop:Generator_ColumnVarNameInTable="columnbigo" msprop:Generator_ColumnPropNameInRow="bigo" msprop:Generator_ColumnPropNameInTable="bigoColumn" msprop:Generator_UserColumnName="bigo" minOccurs="0">
<xs:element name="bigo" msprop:Generator_ColumnPropNameInRow="bigo" msprop:Generator_ColumnPropNameInTable="bigoColumn" msprop:Generator_ColumnVarNameInTable="columnbigo" msprop:Generator_UserColumnName="bigo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="import" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" />
<xs:element name="isdel" msprop:Generator_ColumnVarNameInTable="columnisdel" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_UserColumnName="isdel" type="xs:boolean" minOccurs="0" />
<xs:element name="orderno" msprop:Generator_ColumnVarNameInTable="columnorderno" msprop:Generator_ColumnPropNameInRow="orderno" msprop:Generator_ColumnPropNameInTable="ordernoColumn" msprop:Generator_UserColumnName="orderno" minOccurs="0">
<xs:element name="import" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" />
<xs:element name="isdel" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_ColumnVarNameInTable="columnisdel" msprop:Generator_UserColumnName="isdel" type="xs:boolean" minOccurs="0" />
<xs:element name="orderno" msprop:Generator_ColumnPropNameInRow="orderno" msprop:Generator_ColumnPropNameInTable="ordernoColumn" msprop:Generator_ColumnVarNameInTable="columnorderno" msprop:Generator_UserColumnName="orderno" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="place" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_UserColumnName="place" minOccurs="0">
<xs:element name="place" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_UserColumnName="place" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
<xs:element name="wuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_UserColumnName="wuid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="inqty" msprop:Generator_ColumnVarNameInTable="columninqty" msprop:Generator_ColumnPropNameInRow="inqty" msprop:Generator_ColumnPropNameInTable="inqtyColumn" msprop:Generator_UserColumnName="inqty" type="xs:int" minOccurs="0" />
<xs:element name="inremark" msprop:Generator_ColumnVarNameInTable="columninremark" msprop:Generator_ColumnPropNameInRow="inremark" msprop:Generator_ColumnPropNameInTable="inremarkColumn" msprop:Generator_UserColumnName="inremark" minOccurs="0">
<xs:element name="wdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="inqty" msprop:Generator_ColumnPropNameInRow="inqty" msprop:Generator_ColumnPropNameInTable="inqtyColumn" msprop:Generator_ColumnVarNameInTable="columninqty" msprop:Generator_UserColumnName="inqty" type="xs:int" minOccurs="0" />
<xs:element name="inremark" msprop:Generator_ColumnPropNameInRow="inremark" msprop:Generator_ColumnPropNameInTable="inremarkColumn" msprop:Generator_ColumnVarNameInTable="columninremark" msprop:Generator_UserColumnName="inremark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</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="winuid" msprop:Generator_ColumnPropNameInRow="winuid" msprop:Generator_ColumnPropNameInTable="winuidColumn" msprop:Generator_ColumnVarNameInTable="columnwinuid" msprop:Generator_UserColumnName="winuid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="windate" msprop:Generator_ColumnPropNameInRow="windate" msprop:Generator_ColumnPropNameInTable="windateColumn" msprop:Generator_ColumnVarNameInTable="columnwindate" msprop:Generator_UserColumnName="windate" type="xs:dateTime" minOccurs="0" />
<xs:element name="chk1" msprop:Generator_ColumnPropNameInRow="chk1" msprop:Generator_ColumnPropNameInTable="chk1Column" msprop:Generator_ColumnVarNameInTable="columnchk1" msprop:Generator_UserColumnName="chk1" type="xs:boolean" minOccurs="0" />
<xs:element name="chk2" msprop:Generator_ColumnPropNameInRow="chk2" msprop:Generator_ColumnPropNameInTable="chk2Column" msprop:Generator_ColumnVarNameInTable="columnchk2" msprop:Generator_UserColumnName="chk2" type="xs:boolean" 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:element name="costcenter" msprop:Generator_ColumnPropNameInRow="costcenter" msprop:Generator_ColumnPropNameInTable="costcenterColumn" msprop:Generator_ColumnVarNameInTable="columncostcenter" msprop:Generator_UserColumnName="costcenter" 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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>