..
This commit is contained in:
284
SubProject/FCM0000/Item/fItems.Designer.cs
generated
284
SubProject/FCM0000/Item/fItems.Designer.cs
generated
@@ -86,6 +86,7 @@
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.memoTextBox = new System.Windows.Forms.TextBox();
|
||||
@@ -119,7 +120,7 @@
|
||||
this.taPurchase = new FCM0000.dsMSSQLTableAdapters.PurchaseTableAdapter();
|
||||
this.bsStaff = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.taStaff = new FCM0000.dsMSSQLTableAdapters.StaffTableAdapter();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
@@ -127,12 +128,12 @@
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.panIMage.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.toolStrip2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
@@ -159,7 +160,8 @@
|
||||
this.toolStripSeparator2,
|
||||
this.toolStripLabel3,
|
||||
this.tbFind,
|
||||
this.btFind});
|
||||
this.btFind,
|
||||
this.toolStripButton4});
|
||||
this.bn.Location = new System.Drawing.Point(0, 660);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
@@ -511,6 +513,139 @@
|
||||
this.fpSpread1.Size = new System.Drawing.Size(877, 623);
|
||||
this.fpSpread1.TabIndex = 3;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 14;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "보관소";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "모델명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "단가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단가($)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "제조사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "단위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "공급처";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "disable";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "숨김";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "cate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name";
|
||||
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 = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "model";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "모델명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F;
|
||||
currencyCellType1.DecimalPlaces = 0;
|
||||
currencyCellType1.MaximumValue = new decimal(new int[] {
|
||||
10000000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
currencyCellType1.MinimumValue = new decimal(new int[] {
|
||||
10000000,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
currencyCellType1.NegativeRed = true;
|
||||
currencyCellType1.NullDisplay = "--";
|
||||
currencyCellType1.Separator = ",";
|
||||
currencyCellType1.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = currencyCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 123F;
|
||||
numberCellType2.DecimalPlaces = 2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "priceD";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).ForeColor = System.Drawing.Color.Blue;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가($)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 94F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "manu";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 113F;
|
||||
numberCellType3.MaximumValue = 999999999999999D;
|
||||
numberCellType3.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "scale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "unit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "supplyname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "공급처";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
@@ -793,138 +928,16 @@
|
||||
//
|
||||
this.taStaff.ClearBeforeFill = true;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
// toolStripButton4
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 14;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "보관소";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "모델명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "단가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단가($)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "제조사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "단위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "공급처";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "disable";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "숨김";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "cate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name";
|
||||
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 = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "model";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "모델명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F;
|
||||
currencyCellType1.DecimalPlaces = 0;
|
||||
currencyCellType1.MaximumValue = new decimal(new int[] {
|
||||
10000000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
currencyCellType1.MinimumValue = new decimal(new int[] {
|
||||
10000000,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
currencyCellType1.NegativeRed = true;
|
||||
currencyCellType1.NullDisplay = "--";
|
||||
currencyCellType1.Separator = ",";
|
||||
currencyCellType1.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = currencyCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 123F;
|
||||
numberCellType2.DecimalPlaces = 2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "priceD";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).ForeColor = System.Drawing.Color.Blue;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가($)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 94F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "manu";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 113F;
|
||||
numberCellType3.MaximumValue = 999999999999999D;
|
||||
numberCellType3.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "scale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "unit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "supplyname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "공급처";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
this.toolStripButton4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
|
||||
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton4.Name = "toolStripButton4";
|
||||
this.toolStripButton4.Size = new System.Drawing.Size(34, 34);
|
||||
this.toolStripButton4.Text = "엑셀에서가져오기";
|
||||
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
|
||||
//
|
||||
// fItems
|
||||
//
|
||||
@@ -948,6 +961,7 @@
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.panIMage.ResumeLayout(false);
|
||||
@@ -956,7 +970,6 @@
|
||||
this.toolStrip2.ResumeLayout(false);
|
||||
this.toolStrip2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsStaff)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -1040,5 +1053,6 @@
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel6;
|
||||
private System.Windows.Forms.ToolStripTextBox tbSearch;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,8 @@ using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.ServiceModel.Activation.Configuration;
|
||||
using System.ServiceModel.Configuration;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using util = FCOMMON.Util;
|
||||
@@ -81,10 +83,10 @@ namespace FCM0000
|
||||
else
|
||||
{
|
||||
if (skey.StartsWith("%") == false) skey = "%" + skey;
|
||||
if (skey.EndsWith("%") == false) skey += "%";
|
||||
if (skey.EndsWith("%") == false) skey += "%";
|
||||
}
|
||||
|
||||
this.ta.FillNoImage(this.dsMSSQL.Items, FCOMMON.info.Login.gcode, cateSearch,skey);
|
||||
this.ta.FillNoImage(this.dsMSSQL.Items, FCOMMON.info.Login.gcode, cateSearch, skey);
|
||||
}
|
||||
else
|
||||
this.ta.FillDupCheck(this.dsMSSQL.Items, FCOMMON.info.Login.gcode, cateSearch);
|
||||
@@ -132,7 +134,7 @@ namespace FCM0000
|
||||
tbSearch.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
refreshData();
|
||||
}
|
||||
|
||||
@@ -425,5 +427,125 @@ namespace FCM0000
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter) toolStripButton2.PerformClick();
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
var msg = "이 기능은 엑셀 파일에서 품목정보를 읽어들여 업데이트 하는 기능 입니다\n" +
|
||||
"엑셀파일의 열 구성은 다음과 같이 합니다\n" +
|
||||
"SID,품명,모델,단가,공급처,제조\n" +
|
||||
"1번줄에는 제목 줄이며, 실제 자료는 2번 줄 부터 시작합니다\n" +
|
||||
"SID는 9자리이며, (SID/품명이) 없는 자료는 입력되지 않습니다\n1번시트에 데이가 있어야 합니다\n계속 할까요?";
|
||||
if (util.MsgQ(msg) != DialogResult.Yes) return;
|
||||
var od = new OpenFileDialog();
|
||||
od.Filter = "excel|*.xlsx|allfiles|*.*";
|
||||
if (od.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
|
||||
|
||||
|
||||
libxl.Book book;// = new libxl.BinBook();
|
||||
book = new libxl.XmlBook();
|
||||
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
var ta = new dsMSSQLTableAdapters.ItemsTableAdapter();
|
||||
var dt = new dsMSSQL.ItemsDataTable();
|
||||
try
|
||||
{
|
||||
book.load(od.FileName);
|
||||
if (book.sheetCount() < 1)
|
||||
{
|
||||
util.MsgE("1번 시트가 없습니다. 파일을 확인하세요");
|
||||
return;
|
||||
}
|
||||
var sheet = book.getSheet(0);
|
||||
var maxrow = sheet.lastRow();
|
||||
var icnt = 0;
|
||||
var ucnt = 0;
|
||||
|
||||
if (util.MsgQ($"입력을 시작할까요? 전체({maxrow})건\n시간이 오래 걸릴 수 있으므로 기다려 주세요") != DialogResult.Yes) return;
|
||||
|
||||
|
||||
var f = new Form();
|
||||
f.Text = "data input";
|
||||
f.Size = new Size(400, 100);
|
||||
f.ControlBox = false;
|
||||
f.Padding = new Padding(10, 10, 10, 10);
|
||||
var p = new ProgressBar();
|
||||
p.Dock = DockStyle.Fill;
|
||||
p.Maximum = maxrow;
|
||||
p.Value = 0;
|
||||
f.StartPosition = FormStartPosition.CenterScreen;
|
||||
f.Controls.Add(p);
|
||||
f.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
for (int i = 1; i < maxrow; i++)
|
||||
{
|
||||
var sid = sheet.readStr(i, 0); if (sid.isEmpty()) continue;
|
||||
var name = sheet.readStr(i, 1); if (name.isEmpty()) continue;
|
||||
var model = sheet.readStr(i, 2); if (model.isEmpty()) model = name;
|
||||
if (name.Equals(model)) model = ".";
|
||||
|
||||
f.Text = $"입력중 기다려주세요({i}/{maxrow})";
|
||||
p.Value = i;
|
||||
|
||||
decimal price = 0;
|
||||
if (sheet.cellType(i, 3) == libxl.CellType.CELLTYPE_STRING)
|
||||
{
|
||||
var vprice = sheet.readStr(i, 3).Replace(",", "");
|
||||
decimal.TryParse(vprice, out price);
|
||||
}
|
||||
else
|
||||
{
|
||||
price = (decimal)(sheet.readNum(i, 3));
|
||||
}
|
||||
|
||||
var supp = sheet.readStr(i, 4);
|
||||
var manu = sheet.readStr(i, 5);
|
||||
var dr = ta.GetBySID(FCOMMON.info.Login.gcode, sid).FirstOrDefault();
|
||||
if (dr == null)
|
||||
{
|
||||
dr = dt.NewItemsRow();
|
||||
dr.gcode = FCOMMON.info.Login.gcode;
|
||||
dr.disable = false;
|
||||
dr.import = "1";
|
||||
dr.sid = sid;
|
||||
dr.name = name;
|
||||
dr.model = model;
|
||||
dr.supply = supp;
|
||||
dr.manu = manu;
|
||||
dr.price = price;
|
||||
dr.wdate = DateTime.Now;
|
||||
dr.wuid = FCOMMON.info.Login.no;
|
||||
dt.AddItemsRow(dr);
|
||||
icnt += ta.Update(dr);
|
||||
//icnt += 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dr.name.Equals(name) == false) dr.name = name;
|
||||
if (dr.model.isEmpty() || model.Length > dr.model.Length) dr.model = model;
|
||||
if (price > 0) dr.price = price;
|
||||
if (supp.isEmpty() == false) dr.supply = supp;
|
||||
if (manu.isEmpty() == false) dr.manu = manu;
|
||||
dr.EndEdit();
|
||||
ucnt += ta.Update(dr);
|
||||
//ucnt += 1;
|
||||
}
|
||||
|
||||
if(i % 2 ==0) Application.DoEvents();
|
||||
|
||||
}
|
||||
|
||||
f.Dispose();
|
||||
util.MsgI($"입력수:{icnt}\n변경수:{ucnt}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
return;
|
||||
}
|
||||
ta.Dispose();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
vwAADr8BOAVTJAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
@@ -170,7 +170,7 @@
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
vwAADr8BOAVTJAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
@@ -179,7 +179,7 @@
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
vwAADr8BOAVTJAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
@@ -188,7 +188,7 @@
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
vwAADr8BOAVTJAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
@@ -222,20 +222,38 @@
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVEhLtVZbTxNBFCZeYrxEjY8++KKiMfHFRAgvCv4H
|
||||
o/4Bn9RoDBETzcQgRmjLtrbQVuwFygKloZRud5dLvYRCdxcewNALBJSbKbyY4BMkYtY9zTQxZqA7sP2S
|
||||
L5OdPfN9mXNmzm6ZEXhiCR59bnZfftXSUwMjPONXxuN2b+9BJiA89guyGBrPrsTlta2xxV8qjPDs0eaZ
|
||||
ztgjhNABvGT/aGoPV/kHFUlJr21//amqO1FJ57a9vJR80x6twkv3DiYg3otOflshGe3EsDS7bGWFu1iC
|
||||
HiZv9HpEmVsiiRdjeGLhRxO7h51DTSG9JFG9hLRT1xwOUrGaFqOcym3DgcOS+uDjpUGSGC39vCxiyeJ4
|
||||
auo4Hk5kVklCtISrpvue1zZ+uPRRWd8iCdGyf2pts7bRexFL7w7U2nVrbHGDKETLxPcNFdm7q7H07qgz
|
||||
vy/vn1rfJAnREnZcZ2m7gKV3B0LuY1AbkhAt+5LZZapeDr2XJERLnyjzWFIf4P5B7yWJ6aW8mPtt7eAf
|
||||
YEl9gI7jEffXuXyCNE7dubQFh8y+gZEBeY4oWoyRiYVV6l790GY70twR4bjkjBqMT6rRiXmi+E6ErxPT
|
||||
zd/BcvoAJ9rk7xc5aUYVlIzKJVNqky+S8HBJCXovyahAqCmk1+SJVGI5fUCM77S200RMSuVNYTR7I0OQ
|
||||
AagVHDivKAtwReB+wh8IjGEpuwQ9GQ4SfU0tbWfsLD8ak9N5U15Kq80Bbph0B2EOmgxydlfDuOd/LmTv
|
||||
Omvv4hWhYKqkVSsbG0UOxwkcYjzqbf7zjiA/zWuGYArm1s7oJGQAhxiPBmfgijM4lMob5neaUR0sPw0Z
|
||||
wCHG47Wr55orFM8UTIHOkDiFrO3ncIjxqHd13nD1jcz/Z5rRPl/lOMR4PHvrPtUais/9a9oWjmdf2INX
|
||||
cUhp8JLxVIY+ff5TMPVoO0fv2Ar8unS473YfZgLcl17N3N03PNvQwt7Er0oPMEcWfwWyBU7iqRKjrOwv
|
||||
mt1Z7u+KDIgAAAAASUVORK5CYII=
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVEhLtVZbTxNBFCZeYrxEjY8++KKiMfHFRAgviv4H
|
||||
o/4Bn9RoDBETzcQgRmjLtrbQ1toLlKWUhlK63V0u9RIK3V14AENpIaDcRHgxwSdIxKx7mmlizEB3YPsl
|
||||
XyY7e+b7MufMnN0yI/DYEj78zOy++LK58waM8IxfGY9bXV37maDwKCDIYmQkt5SUVzeH53+pMMKzV5tn
|
||||
2hMPEUL78JK9o7E1WhXoUyQl82Pry09V3Y5KZmXLx0vp163xKrx092CC4t342NclktF2jErTi1ZWuIMl
|
||||
6GHyxa/GlJkFkngxRkfnvjeyu9g51BTSSxLVS0g7dc3hIBWraTHKWs3hwGFJffDzUh9JjJYBXhaxZHE8
|
||||
MbUdjaayyyQhWsJV033PaxreX/ggr22ShGjZM766UdPgO4+ldwZq6bg5PL9OFKJl6tu6iuyhaiy9M2rN
|
||||
78p7xtc2SEK0hB3XWjznsPTOQMh9BGpDEqJldzq3SNXLofeShGjpF2UeS+oD3D/ovSQxvZTnV35b2/j7
|
||||
WFIfoON4xb11Lr8gjVB3Lm3BAbO/d7BXniGKFmNsdG6Zulc/sNkONbXFOC49qYaTY2p8dJYovh3h68SE
|
||||
+NtYTh/gRJsCPSInTaqCklW5dEZt9MdSXi4tQe8lGRUINYX0mryxSiynD4jxn9R2mkpImbwpjGZfrB8y
|
||||
ALWCA+cTZQGuCNxP+AOBMSrlFqAnw0Gir6nFc8rO8kMJeSpvyktTalOQGyDdQZiDJoOcoWoYd/3Phewd
|
||||
p+0dvCIUTJUp1comhpDDcQyHGI86W+CsI8xP8JohmIK5tT0+BhnAIcaj3hm85Az3Z/KG+Z1mVQfLT0AG
|
||||
cIjxeOXqvOKKJLMFU6AzIo4ja+sZHGI86lzt11zdg7P/mWa1z1c5DjEeT9+4T7REkjP/mnqiydxze/gy
|
||||
DikNXjDeysjHT38Kpl5t5+gtW4Fflw733O6DTJD73KWZu7sHpuub2ev4VekB5sgSqEC24HE8VWKUlf0F
|
||||
G4pZ4ZTG6PwAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALUSURBVFhH7dX/SxNxGMBxf+uf6Mf+jYiIZAhFkhZhBKU/
|
||||
TGbWD35Za+ZuFS7H9LYytfVlNTan2LbcEpdZkRrYN7IIColZUAh9ISqs22172rM+t5Z3t925z2XB3vKg
|
||||
ewa7F9x9XMV/lTnY6zoe6XOXOsaQY7wx0LGZfCy9rsyE40Ah39w1YK67uOYhZgv5aDrRAvrnxmAiPglM
|
||||
1MkZ/MxW8vGlRxN4Y3GKPpI2ECcWvwnWcRcdpBZAqkitgNSQWgKpILUG4pSEpAUM3I/C4KxPds5Oe0Hv
|
||||
PZYgl1UeLaCS8FrkssorA/MqA0ttzYEcnwDv3TCk02my+bM1BSLuiM8OtvAA2YjTDBh7Mg0/eI68Eifg
|
||||
ukL9kEqnyFacZkD7mBv058yw9Pk92fxOKQ7TDIhFH92CXT1N8PDVM7IB4JM8mIcccOLqGUimkmQrn6ZA
|
||||
7OnrF7C7txkCsxFIqMRhmgMxvM2N7o4sVMltzS/wYOxdVW29EYdcvnhqgdg3bhkckQvAJRNkoyw2dPHr
|
||||
QVP3W4Pp1FLltr06QiicWiCfuZ2dIyzUOAzZ3/haSR8+foKG1o7U+dEpwKnTt73cpKteTxjyqQEKuKOZ
|
||||
Z2+Z+577G5/HQvF8EoyMHQYCsSwOZ3A4BtvrGu9t0OnWEYp0SoH5OAEktZPKxg4CeymUwwnDesKpqpr6
|
||||
UUKRTglQgOCsvKXCe5YRJ6QzPysbDkahq88nwgljdV7+UrXzQDvhiCsGzOGG5Z833AfnJkTfwY/nn4PZ
|
||||
1icJy58mk03+0BQDWkdPF8TJhYeipdMuCZIa2UNTDDg5P6Mah4eifcWhKDZ4aKqlDo3SQ6ImxsaCoc0K
|
||||
ppOu3HT3+0UofP4aDlkWhNnTcPjNxsraIUL7lRZAqVotPSLg/iZz8a++MpBUBpbaqoEtI90ec5ANaDnO
|
||||
O57beiOTWBXwb4WYfxpYuWPfYv7/PBzckbfzqqj4CdOAWx6PBjF3AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
@@ -282,25 +300,25 @@
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQjSURBVEhLtVdbT1NZGD1xxjg/wUsmceLddy+JD75OdDKI
|
||||
YioKxdIq9YpipQqSg1WR9gCtWkTEKgi03tAJOlSKDSBtaakKzEwsKtqCipcoBWb0TWvXYW96hOpQOa5k
|
||||
pyf51v5W9+W7bCZWrF176Yff9/4xfU1O/ZLVOfXL4rJv/rycbfyRmMWFhG2YKyt0cVtLOu27Tb6eXaYH
|
||||
/exZ38eDNX2hzLJ/3idq7CsIVRxI2MaZ8mNey77zj97q6oIhzjowZhy+9iq0XtPwG5kycUh1TpWq4uEz
|
||||
zhpdkI7RwlJtiz39VGdg9EjKd/SuybHGEdpY4AxTda7S3Oq+d0IBrDjT0jO4o/Rv1xZju0VhaCtTGDym
|
||||
TQZ3bQJ7azGZzmwr6awXzsNQlQdeJnPOZEKJDojm1XZ/oJN0dQMhdUX389RCT6kkr2EuoX0RY4WDIWlB
|
||||
ay0xRwe2V7hS7Z/9obTj3uYkrvkXQvlfRFtxRnXXu5R8505C+Ry4SMNnGhGV69uu/rqjbgqhjAtUWG0J
|
||||
BPNv9I+Iq8p9vVEXoDC4L9CLhO1NO3GnKVZRAMI406T8FrnS2O6iwvCpKPJWEtowNmjs8xAylIQzjWV7
|
||||
hdhw1NGUxDnX4XuVpmkBfFG/qvInLxM1tjk8EZBxLo7GKX5lRZ5TxBQz4tTWmeSTh0LvORsJybDvcCIi
|
||||
JoZBRqL/KtvsH1ot/FcTBCIh0+wfpP63FHfYeAPiFmmQGnaWdDh5g4jYfvIvN/UPLT63r8y6PmN/xZMB
|
||||
alAa710gfNGgPH7vIvW/v8I/gCLDxLO2pQdrukYSRqreW0r4ogE+qX8Ul/gs21IG5S23xvddhTcZ2k5T
|
||||
/7lXfB/ic+oW8VstPPw0o1f8rS5uv0z9o6SuUN2YymzefGey8HLhIhC+aBBeroyyLj8uNG9Qnmy/RQ2Z
|
||||
5sCgmOGUyDbOzzb3DFH/W0s6GogpfPgF7gJhkCPoiYnH6KQQC+RFnjPC5CTlnFpiYpiEA/Z5eyofv6b/
|
||||
Cmku4cjthbAh/SEN8sQYgZZJXfngBfWbUfX4TULezdnEPAy53mNBIqekcJFwJh5tku6tetSHxE9o40Y4
|
||||
SfwEHxGfQVS7KmKOQKKzz9p97v5TKoySpjYHgviOVRiiMr27FqWV+ttzztcrCXekhPI5UrQOZW6N/19K
|
||||
piMWYWyv0njXIRRlr3T/Jy1oSSeU6EgpbL0euWjjF5ZobAvkhR4TzlR4ZGijUjjH16tdsrZZgjMVimII
|
||||
hdHYocFDo4eGT1nccRFxesAcGKK3lw6sFKIjcRsNaD3RgkZrTdGyEhqDVhYtrVBg7AiGVOEzTda17CLT
|
||||
Jo6vCWPFCBmZvq36ixfpW4HnCp4teL6g0iD3ppt8AWS/jVyrVnLIPotQxQWKOB5qeLChssVnWaexLDuJ
|
||||
mMcJhvkEj8Lzq4oHQwoAAAAASUVORK5CYII=
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQmSURBVEhLtVftT1NXHL7ZXNyf4LaYaHxh7vvUxA9+NbqI
|
||||
IKRjQFlpkfqKYqETJBerQ9oLtLoiIlZAoPUNXVCpFBtgtKWlTsAtVIfawpSxZaPA5r5p7XM5h16hKpXr
|
||||
k5z0Jr/n/J6el9/LYWJFcvKlD7fm/fjp9qK2dYlFbRviC28t3ch2LCJmcSFh21fLyl3crqoB+wGTb3i/
|
||||
6cE4axp8caR5NJRf8+v/KRr7ZkIVBxK2Y5n8hNfy3fmhf3StwRBnnZgzjl37M/SNpv0rMmXhkOqcKlX9
|
||||
b084a3RBOmYLS7Xd9pzTA4HZI63UMbK9yBpPaHOBM8zUuaqLm0afCQWw4nzL8OTe6l9cO419FoWht0Zh
|
||||
8JiyDO6WJPb2WjKd2V010Cach6GqC4ylc850QokOiJa0DD2nk3StEyF1/cOnmeWeaklJ+2pCey3mCgdD
|
||||
0rKeFmKODmyvcKXam+Oh7JPerjSuazmhvBXRVpzbdP9ZRqlzH6G8Clyk6TONiMr1vVc37W1dTCjzAhVW
|
||||
WwLB0hvjM+KqOt9I1AUoDO4L9CJhe7N/uNMZqygAYZxpWmm3XGnsc1Fh+FRUeBsIbRqpGnscQoaScKax
|
||||
bK8QqccdnWmc82t8b9N0roEv6ldV93gsRWNbxRMBGefiaJziV1bhOU1MMSNebV1GPnko9J5zkZAM+w4n
|
||||
ImJiGGQk+q8Kzf6pROG/WiAQCflm/yT1v7Oy38YbELdIg9Swr6rfyRtExJ5T99zUP7T43L6l4Ppnh+of
|
||||
T1CD0nj3AuGLBuXJuxep/0P1/gkUGSaBta0/0uybSRiZem814YsG+KT+UVwSCmzrGZS34ubB9yqcZeg9
|
||||
Q/0XXxl8nlDU+iW/1cLDzzZ6xd/qyr7L1D9K6mbVjSXMjh13PhJeLlwEwhcNwsuVW3PfjwvNG5Sn+m5T
|
||||
Q745MClmOKWwHZ8XmoenqP9dVf3txBQ+/DJ3mTDIEfTExGN2UogF8grPWWFyknJOLTExTNJhe9zBhkd/
|
||||
0X+FNJf0/U9fwIb0hzTIE2MEWiZ1w4M/qN/cxkd/J5XcWknM05DrPRYkckoKFwlnyvFOaV7j0CgSP6HN
|
||||
G+Ek8TF8RHwGUe0aiTkCic6+4kDt4O9UGCVNbQ4E8R2rMERlencLSiv1d7DWNyIJd6SE8ioytA5lcbP/
|
||||
X0qmIxZhbK/S+LNDKMpeefiftKw7h1CiI6O853rkos1fWKKxrZGXe0w4U+GRoY3K4Bxvrnbp2i4JzlQo
|
||||
iiEURmOHBg+NHho+ZWX/RcTpYXNgit5eOrBSiM7EbTSg9UQLGq01RctKaAxaWbS0QoG5IxhShc80Xde9
|
||||
n0xbON4kjBUjZGT63qbXXqR3BZ4reLbg+YJKg9ybY/IFkP2+5Xq0kqP2FYQqLlDE8VDDgw2VLaHA+gnL
|
||||
sh8Q8zzBMC8BQcHzoN65zegAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
||||
174
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
174
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
@@ -10986,7 +10986,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[13];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" +
|
||||
@@ -11016,7 +11016,15 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
|
||||
this._commandCollection[4].CommandText = "SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" +
|
||||
"lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, b" +
|
||||
"arcode\r\nFROM Items\r\nWHERE (gcode = @gcode) and sid = @sid";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
|
||||
FROM Items
|
||||
WHERE (sid IN
|
||||
(SELECT sid
|
||||
@@ -11024,25 +11032,25 @@ WHERE (sid IN
|
||||
GROUP BY sid
|
||||
HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (gcode = @gcode) AND (ISNULL(cate, '') LIKE @cate)
|
||||
ORDER BY sid, name, idx";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
|
||||
FROM Items
|
||||
WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR
|
||||
ISNULL(model, N'') LIKE @search OR
|
||||
ISNULL(sid, N'') LIKE @search OR
|
||||
ISNULL(manu, N'') LIKE @search)
|
||||
ORDER BY name, idx";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
|
||||
this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[7].Connection = this.Connection;
|
||||
this._commandCollection[7].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
|
||||
FROM Items
|
||||
WHERE (ISNULL(name, N'') LIKE @search OR
|
||||
ISNULL(sid, N'') LIKE @search OR
|
||||
@@ -11054,12 +11062,12 @@ WHERE (ISNULL(name, N'') LIKE @search OR
|
||||
ISNULL(model, N'') LIKE @search OR
|
||||
ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode)
|
||||
ORDER BY name, idx";
|
||||
this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[7].Connection = this.Connection;
|
||||
this._commandCollection[7].CommandText = @"SELECT Storage, barcode, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid
|
||||
this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[8].Connection = this.Connection;
|
||||
this._commandCollection[8].CommandText = @"SELECT Storage, barcode, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid
|
||||
FROM Items
|
||||
WHERE (ISNULL(name, N'') LIKE @search OR
|
||||
ISNULL(sid, N'') LIKE @search OR
|
||||
@@ -11071,41 +11079,41 @@ WHERE (ISNULL(name, N'') LIKE @search OR
|
||||
ISNULL(model, N'') LIKE @search OR
|
||||
ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0)
|
||||
ORDER BY name, idx";
|
||||
this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[8].Connection = this.Connection;
|
||||
this._commandCollection[8].CommandText = "SELECT Storage\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (ISNULL(disable, 0) " +
|
||||
"= 0) AND (ISNULL(Storage, \'\') <> \'\')\r\nGROUP BY Storage\r\nORDER BY Storage";
|
||||
this._commandCollection[8].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[9].Connection = this.Connection;
|
||||
this._commandCollection[9].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" +
|
||||
"ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, b" +
|
||||
"arcode\r\nFROM Items\r\nWHERE (idx = @idx)";
|
||||
this._commandCollection[9].CommandText = "SELECT Storage\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (ISNULL(disable, 0) " +
|
||||
"= 0) AND (ISNULL(Storage, \'\') <> \'\')\r\nGROUP BY Storage\r\nORDER BY Storage";
|
||||
this._commandCollection[9].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[10].Connection = this.Connection;
|
||||
this._commandCollection[10].CommandText = "SELECT ISNULL(idx, - 1) AS Expr1\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (I" +
|
||||
"SNULL(name, N\'\') = @name) AND (ISNULL(model, N\'\') = @model)";
|
||||
this._commandCollection[10].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" +
|
||||
"ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, b" +
|
||||
"arcode\r\nFROM Items\r\nWHERE (idx = @idx)";
|
||||
this._commandCollection[10].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[11].Connection = this.Connection;
|
||||
this._commandCollection[11].CommandText = "dbo.UpdateItem";
|
||||
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].CommandText = "SELECT ISNULL(idx, - 1) AS Expr1\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (I" +
|
||||
"SNULL(name, N\'\') = @name) AND (ISNULL(model, N\'\') = @model)";
|
||||
this._commandCollection[11].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[12].Connection = this.Connection;
|
||||
this._commandCollection[12].CommandText = "dbo.UpdateItem";
|
||||
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -11148,7 +11156,7 @@ ORDER BY name, idx";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillDupCheck(dsMSSQL.ItemsDataTable dataTable, string gcode, string cate) {
|
||||
public virtual int FillBySID(dsMSSQL.ItemsDataTable dataTable, string gcode, string sid) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
@@ -11156,6 +11164,54 @@ ORDER BY name, idx";
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((sid == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sid));
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetBySID(string gcode, string sid) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((sid == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sid));
|
||||
}
|
||||
dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillDupCheck(dsMSSQL.ItemsDataTable dataTable, string gcode, string cate) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
|
||||
}
|
||||
if ((cate == null)) {
|
||||
throw new global::System.ArgumentNullException("cate");
|
||||
}
|
||||
@@ -11174,7 +11230,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetDupCheck(string gcode, string cate) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -11197,7 +11253,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillNoImage(dsMSSQL.ItemsDataTable dataTable, string code, string cate, string search) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[6];
|
||||
if ((code == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -11228,7 +11284,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetNoImage(string code, string cate, string search) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[6];
|
||||
if ((code == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -11257,7 +11313,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillSearch(dsMSSQL.ItemsDataTable dataTable, string search, string gcode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[6];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[7];
|
||||
if ((search == null)) {
|
||||
throw new global::System.ArgumentNullException("search");
|
||||
}
|
||||
@@ -11282,7 +11338,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetSearch(string search, string gcode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[6];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[7];
|
||||
if ((search == null)) {
|
||||
throw new global::System.ArgumentNullException("search");
|
||||
}
|
||||
@@ -11305,7 +11361,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillSearchNoDisable(dsMSSQL.ItemsDataTable dataTable, string search, string gcode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[7];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[8];
|
||||
if ((search == null)) {
|
||||
throw new global::System.ArgumentNullException("search");
|
||||
}
|
||||
@@ -11330,7 +11386,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetSearchNoDisable(string search, string gcode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[7];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[8];
|
||||
if ((search == null)) {
|
||||
throw new global::System.ArgumentNullException("search");
|
||||
}
|
||||
@@ -11353,7 +11409,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
|
||||
public virtual int FillStorageList(dsMSSQL.ItemsDataTable dataTable, string gcode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[8];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[9];
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -11372,7 +11428,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetStorageList(string gcode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[8];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[9];
|
||||
if ((gcode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -11389,7 +11445,7 @@ ORDER BY name, idx";
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual dsMSSQL.ItemsDataTable GetbyIDX(int idx) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[9];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[10];
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
|
||||
dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
@@ -12307,7 +12363,7 @@ ORDER BY name, idx";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual global::System.Nullable<int> ReadIDX(string gcode, string name, string model) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
|
||||
if ((gcode == null)) {
|
||||
command.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -12353,7 +12409,7 @@ ORDER BY name, idx";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int UpdateItem(string gcode, string sid, string name, string cate, global::System.Nullable<bool> disable, string unit) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
|
||||
if ((gcode == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
|
||||
@@ -241,6 +241,19 @@ where gcode = @gcode and sid = @sid and isnull(sid,'') <> ''</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBySID" GeneratorSourceName="FillBySID" GetMethodModifier="Public" GetMethodName="GetBySID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBySID" UserSourceName="FillBySID">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, barcode
|
||||
FROM Items
|
||||
WHERE (gcode = @gcode) and sid = @sid</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="sid" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
|
||||
Reference in New Issue
Block a user