목록화면들에서 목록 조회 후 컬럼 너비를 다시 불러오게 함
This commit is contained in:
		| @@ -1,4 +1,6 @@ | |||||||
| * 주간내역이 업데이트 되지 않는 데이터를 강조시키고 알림을 띄울 방안 확인 | * 주간내역이 업데이트 되지 않는 데이터를 강조시키고 알림을 띄울 방안 확인 | ||||||
|  | 190718	chi	목록조회화면에서 열 너비가 자동 불러오게 함 | ||||||
|  | 190711	chi	프로젝트목록 엑셀저장시 컬럼도 저장되게 | ||||||
| 190423	chi	프로젝트 편집창에 FTP Explorer 기능 추가 | 190423	chi	프로젝트 편집창에 FTP Explorer 기능 추가 | ||||||
| 190417	chi	No# => CR/CF# | 190417	chi	No# => CR/CF# | ||||||
| 190416	chi	OrderNo 를 구매와 프로젝트에 추가함 | 190416	chi	OrderNo 를 구매와 프로젝트에 추가함 | ||||||
|   | |||||||
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | |||||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||||
| // 지정되도록 할 수 있습니다. | // 지정되도록 할 수 있습니다. | ||||||
| // [assembly: AssemblyVersion("1.0.*")] | // [assembly: AssemblyVersion("1.0.*")] | ||||||
| [assembly: AssemblyVersion("19.05.29.1400")] | [assembly: AssemblyVersion("19.07.18.0830")] | ||||||
| [assembly: AssemblyFileVersion("19.05.29.1400")] | [assembly: AssemblyFileVersion("19.07.18.0830")] | ||||||
|   | |||||||
							
								
								
									
										176
									
								
								SubProject/FCM0000/fCustoms.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										176
									
								
								SubProject/FCM0000/fCustoms.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,12 +30,6 @@ | |||||||
|         { |         { | ||||||
|             this.components = new System.ComponentModel.Container(); |             this.components = new System.ComponentModel.Container(); | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fCustoms)); |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fCustoms)); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
| @@ -45,6 +39,12 @@ | |||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             this.dsMSSQL = new FCM0000.dsMSSQL(); |             this.dsMSSQL = new FCM0000.dsMSSQL(); | ||||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter(); |             this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter(); | ||||||
| @@ -75,6 +75,7 @@ | |||||||
|             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); |             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||||
|  |             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); |             this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||||
|             this.fpSpread2 = new FarPoint.Win.Spread.FpSpread(); |             this.fpSpread2 = new FarPoint.Win.Spread.FpSpread(); | ||||||
|             this.cm2 = new System.Windows.Forms.ContextMenuStrip(this.components); |             this.cm2 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
| @@ -99,13 +100,13 @@ | |||||||
|             this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator(); |             this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); |             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); |             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|             this.bn.SuspendLayout(); |             this.bn.SuspendLayout(); | ||||||
|             this.cm1.SuspendLayout(); |             this.cm1.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||||
|             this.groupBox1.SuspendLayout(); |             this.groupBox1.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit(); | ||||||
|             this.cm2.SuspendLayout(); |             this.cm2.SuspendLayout(); | ||||||
| @@ -113,7 +114,6 @@ | |||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); | ||||||
|             this.bindingNavigator1.SuspendLayout(); |             this.bindingNavigator1.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); |  | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
|             // dsMSSQL |             // dsMSSQL | ||||||
| @@ -137,11 +137,13 @@ | |||||||
|             this.tam.BoardTableAdapter = null; |             this.tam.BoardTableAdapter = null; | ||||||
|             this.tam.CommonTableAdapter = null; |             this.tam.CommonTableAdapter = null; | ||||||
|             this.tam.CustomsTableAdapter = this.ta; |             this.tam.CustomsTableAdapter = this.ta; | ||||||
|  |             this.tam.HolidayLIstTableAdapter = null; | ||||||
|             this.tam.InventoryTableAdapter = null; |             this.tam.InventoryTableAdapter = null; | ||||||
|             this.tam.ItemsTableAdapter = null; |             this.tam.ItemsTableAdapter = null; | ||||||
|             this.tam.MailDataTableAdapter = null; |             this.tam.MailDataTableAdapter = null; | ||||||
|             this.tam.MailFormTableAdapter = null; |             this.tam.MailFormTableAdapter = null; | ||||||
|             this.tam.ProjectsTableAdapter = null; |             this.tam.ProjectsTableAdapter = null; | ||||||
|  |             this.tam.PurchaseTableAdapter = null; | ||||||
|             this.tam.RequestItemTableAdapter = null; |             this.tam.RequestItemTableAdapter = null; | ||||||
|             this.tam.StaffTableAdapter = this.taStaff; |             this.tam.StaffTableAdapter = this.taStaff; | ||||||
|             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; |             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||||
| @@ -380,6 +382,84 @@ | |||||||
|             this.fpSpread1.Size = new System.Drawing.Size(1134, 449); |             this.fpSpread1.Size = new System.Drawing.Size(1134, 449); | ||||||
|             this.fpSpread1.TabIndex = 2; |             this.fpSpread1.TabIndex = 2; | ||||||
|             //  |             //  | ||||||
|  |             // 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 = 9; | ||||||
|  |             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||||
|  |             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||||
|  |             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||||
|  |             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 = "팩스"; | ||||||
|  |             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.Rows.Get(0).Height = 34F; | ||||||
|  |             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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(0).Width = 88F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "grp"; | ||||||
|  |             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 = 113F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "name"; | ||||||
|  |             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 = 113F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "name2"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).Label = "보조명칭"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).Width = 77F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "tel"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).Label = "전화"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "fax"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).Label = "팩스"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "email"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             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; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "address"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).Label = "주소"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).Width = 113F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Label = "비고"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Width = 113F; | ||||||
|  |             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; | ||||||
|  |             //  | ||||||
|             // groupBox1 |             // groupBox1 | ||||||
|             //  |             //  | ||||||
|             this.groupBox1.Controls.Add(this.fpSpread2); |             this.groupBox1.Controls.Add(this.fpSpread2); | ||||||
| @@ -633,84 +713,6 @@ | |||||||
|             this.toolStripButton3.Text = "담당자 저장"; |             this.toolStripButton3.Text = "담당자 저장"; | ||||||
|             this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); |             this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); | ||||||
|             //  |             //  | ||||||
|             // fpSpread1_Sheet1 |  | ||||||
|             //  |  | ||||||
|             this.fpSpread1_Sheet1.Reset(); |  | ||||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; |  | ||||||
|             // Formulas and custom names must be loaded with R1C1 reference style |  | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnCount = 9; |  | ||||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; |  | ||||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; |  | ||||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; |  | ||||||
|             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 = "팩스"; |  | ||||||
|             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.Rows.Get(0).Height = 34F; |  | ||||||
|             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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 88F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "grp"; |  | ||||||
|             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 = 113F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "name"; |  | ||||||
|             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 = 113F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "name2"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "보조명칭"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 77F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "tel"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "전화"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "fax"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "팩스"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "email"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             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; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "address"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "주소"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 113F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "비고"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 113F; |  | ||||||
|             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; |  | ||||||
|             //  |  | ||||||
|             // fCustoms |             // fCustoms | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
| @@ -729,6 +731,7 @@ | |||||||
|             this.bn.PerformLayout(); |             this.bn.PerformLayout(); | ||||||
|             this.cm1.ResumeLayout(false); |             this.cm1.ResumeLayout(false); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||||
|             this.groupBox1.ResumeLayout(false); |             this.groupBox1.ResumeLayout(false); | ||||||
|             this.groupBox1.PerformLayout(); |             this.groupBox1.PerformLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit(); | ||||||
| @@ -738,7 +741,6 @@ | |||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); | ||||||
|             this.bindingNavigator1.ResumeLayout(false); |             this.bindingNavigator1.ResumeLayout(false); | ||||||
|             this.bindingNavigator1.PerformLayout(); |             this.bindingNavigator1.PerformLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); |  | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
|             this.PerformLayout(); |             this.PerformLayout(); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -27,8 +27,7 @@ namespace FCM0000 | |||||||
|              |              | ||||||
|             refreshData(); |             refreshData(); | ||||||
|             refreshDataS(); |             refreshDataS(); | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); |          | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread2, fn_fpcolsize2); |  | ||||||
|             this.dsMSSQL.Customs.TableNewRow += Customs_TableNewRow; |             this.dsMSSQL.Customs.TableNewRow += Customs_TableNewRow; | ||||||
|             this.dsMSSQL.Staff.TableNewRow += Staff_TableNewRow; |             this.dsMSSQL.Staff.TableNewRow += Staff_TableNewRow; | ||||||
|         } |         } | ||||||
| @@ -53,6 +52,8 @@ namespace FCM0000 | |||||||
|             { |             { | ||||||
|                 this.ta.Fill(this.dsMSSQL.Customs); |                 this.ta.Fill(this.dsMSSQL.Customs); | ||||||
|                // this.taStaff.Fill(this.dsMSSQL.Staff); |                // this.taStaff.Fill(this.dsMSSQL.Staff); | ||||||
|  |                 FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||||
|  |                 | ||||||
|             }catch (Exception ex) |             }catch (Exception ex) | ||||||
|             { |             { | ||||||
|                 FCOMMON.Util.MsgE(ex.Message); |                 FCOMMON.Util.MsgE(ex.Message); | ||||||
| @@ -64,6 +65,7 @@ namespace FCM0000 | |||||||
|             { |             { | ||||||
|                // this.ta.Fill(this.dsMSSQL.Customs); |                // this.ta.Fill(this.dsMSSQL.Customs); | ||||||
|                 this.taStaff.Fill(this.dsMSSQL.Staff); |                 this.taStaff.Fill(this.dsMSSQL.Staff); | ||||||
|  |                 FPUtil.ColSizeLoad(ref this.fpSpread2, fn_fpcolsize2); | ||||||
|             } |             } | ||||||
|             catch (Exception ex) |             catch (Exception ex) | ||||||
|             { |             { | ||||||
|   | |||||||
| @@ -119,7 +119,7 @@ namespace FEQ0000 | |||||||
|             } |             } | ||||||
|              |              | ||||||
|             refreshData(); |             refreshData(); | ||||||
|             FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); |             | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -176,6 +176,7 @@ namespace FEQ0000 | |||||||
|                 da.Fill(this.dsPurchase.Purchase); |                 da.Fill(this.dsPurchase.Purchase); | ||||||
|                 this.dsPurchase.AcceptChanges(); |                 this.dsPurchase.AcceptChanges(); | ||||||
|                 showSummary(); |                 showSummary(); | ||||||
|  |                 FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|             } |             } | ||||||
|             catch (System.Exception ex) |             catch (System.Exception ex) | ||||||
|             { |             { | ||||||
| @@ -329,7 +330,22 @@ namespace FEQ0000 | |||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 this.dsPurchase.Purchase.AddPurchaseRow(newdr); |                 this.dsPurchase.Purchase.AddPurchaseRow(newdr); | ||||||
|                 this.ta.Update(newdr); |                  | ||||||
|  |                 int cnt = this.ta.Update(newdr); | ||||||
|  |                 if(cnt == 1) | ||||||
|  |                 { | ||||||
|  |                     if (f.repeatAdd) | ||||||
|  |                     { | ||||||
|  |                         FCOMMON.Util.MsgI("저장 완료\n\n연속 저장 모드이므로 직전에 입력된 자료가 자동으로 설정 됩니다."); | ||||||
|  |  | ||||||
|  |                     } else  FCOMMON.Util.MsgI("저장 완료"); | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     FCOMMON.Util.MsgE("저장 실패\n\n다시 시도하시고 증상이 반복되면 chikyun.kim@amkor.co.kr 로 문의 주십시요"); | ||||||
|  |                 } | ||||||
|  |  | ||||||
|  |  | ||||||
|                 newdr.AcceptChanges(); |                 newdr.AcceptChanges(); | ||||||
|                 if (f.repeatAdd) |                 if (f.repeatAdd) | ||||||
|                 { |                 { | ||||||
| @@ -594,6 +610,7 @@ namespace FEQ0000 | |||||||
|             { |             { | ||||||
|                 fpSpread1.SaveExcel(sd.FileName, |                 fpSpread1.SaveExcel(sd.FileName, | ||||||
|                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|                 FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); |                 FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); | ||||||
| @@ -656,11 +673,12 @@ namespace FEQ0000 | |||||||
|             //현재 데이터를 입력하여 신규 추가를 한다. |             //현재 데이터를 입력하여 신규 추가를 한다. | ||||||
|             var newdr = this.dsPurchase.Purchase.NewPurchaseRow(); |             var newdr = this.dsPurchase.Purchase.NewPurchaseRow(); | ||||||
|             FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); |             FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); | ||||||
|  |             newdr.pdate = DateTime.Now.ToShortDateString(); | ||||||
|             newdr.wdate = DateTime.Now; |             newdr.wdate = DateTime.Now; | ||||||
|             newdr.wuid = FCOMMON.info.Login.no; |             newdr.wuid = FCOMMON.info.Login.no; | ||||||
|             newdr.state = "---"; |             newdr.state = "---"; | ||||||
|             newdr.request = FCOMMON.info.Login.nameK; |             newdr.request = FCOMMON.info.Login.nameK; | ||||||
|             newdr.receive = FCOMMON.info.Login.nameK; |             newdr.receive = "";// FCOMMON.info.Login.nameK; | ||||||
|             newdr.sc = string.Empty; |             newdr.sc = string.Empty; | ||||||
|             newdr.po = string.Empty; |             newdr.po = string.Empty; | ||||||
|             newdr.indate = string.Empty; |             newdr.indate = string.Empty; | ||||||
|   | |||||||
| @@ -133,7 +133,7 @@ namespace FEQ0000 | |||||||
|                 cbEQModel.Text = dr.asset;  //제조모델명 |                 cbEQModel.Text = dr.asset;  //제조모델명 | ||||||
|                 if (cbEQModel.SelectedIndex == -1) |                 if (cbEQModel.SelectedIndex == -1) | ||||||
|                 { |                 { | ||||||
|                     FCOMMON.Util.MsgE("모델을 다시 선택하세요"); |                     //FCOMMON.Util.MsgE("모델을 다시 선택하세요"); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
| @@ -397,12 +397,12 @@ namespace FEQ0000 | |||||||
|  |  | ||||||
|             tbSID.Text = sidTrim(tbSID.Text); |             tbSID.Text = sidTrim(tbSID.Text); | ||||||
|  |  | ||||||
|             if (cbProcess.Text.Trim() == "") |             //if (cbProcess.Text.Trim() == "") | ||||||
|             { |             //{ | ||||||
|                 FCOMMON.Util.MsgE("프로세스를 선택하세요."); |             //    FCOMMON.Util.MsgE("추가정보내의 [공정]을 선택하세요."); | ||||||
|                 cbProcess.Focus(); |             //    cbProcess.Focus(); | ||||||
|                 return false; |             //    return false; | ||||||
|             } |             //} | ||||||
|  |  | ||||||
|             if (tbPumName.Text.isEmpty()) |             if (tbPumName.Text.isEmpty()) | ||||||
|             { |             { | ||||||
| @@ -433,7 +433,7 @@ namespace FEQ0000 | |||||||
|             var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); |             var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); | ||||||
|             if (overtime.TotalSeconds > 0) |             if (overtime.TotalSeconds > 0) | ||||||
|             { |             { | ||||||
|                 if (this.cbProcess.SelectedIndex == -1) |                 if (this.cbProcess.Text.Trim()=="") | ||||||
|                 { |                 { | ||||||
|                     if (FCOMMON.info.Login.level >= 5) |                     if (FCOMMON.info.Login.level >= 5) | ||||||
|                     { |                     { | ||||||
| @@ -458,11 +458,11 @@ namespace FEQ0000 | |||||||
|                         return false; |                         return false; | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 if (cbManuProc.SelectedIndex == -1) |                 if (cbManuProc.Text.Trim() == "") | ||||||
|                 { |                 { | ||||||
|                     if (FCOMMON.info.Login.level >= 5) |                     if (FCOMMON.info.Login.level >= 5) | ||||||
|                     { |                     { | ||||||
|                         var dlg = FCOMMON.Util.MsgQ("제조공정을 입력하지 않고 진행 하시겠습니까?\n\n" + |                         var dlg = FCOMMON.Util.MsgQ("[제조공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + | ||||||
|                        "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                        "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
|                        "BongSeok Jung(T.7191)\n" + |                        "BongSeok Jung(T.7191)\n" + | ||||||
|                        "BongSeok.Jung@amkor.co.kr"); |                        "BongSeok.Jung@amkor.co.kr"); | ||||||
| @@ -474,7 +474,7 @@ namespace FEQ0000 | |||||||
|                     } |                     } | ||||||
|                     else |                     else | ||||||
|                     { |                     { | ||||||
|                         FCOMMON.Util.MsgE("제조공정을 선택하세요\n\n" + |                         FCOMMON.Util.MsgE("[제조공정]을 선택하세요\n\n" + | ||||||
|                         "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                         "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
|                         "BongSeok Jung(T.7191)\n" + |                         "BongSeok Jung(T.7191)\n" + | ||||||
|                         "BongSeok.Jung@amkor.co.kr"); |                         "BongSeok.Jung@amkor.co.kr"); | ||||||
| @@ -483,11 +483,11 @@ namespace FEQ0000 | |||||||
|                         return false; |                         return false; | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 if (this.cbEQManu.SelectedIndex == -1) |                 if (this.cbEQManu.Text.Trim() == "") | ||||||
|                 { |                 { | ||||||
|                     if (FCOMMON.info.Login.level >= 5) |                     if (FCOMMON.info.Login.level >= 5) | ||||||
|                     { |                     { | ||||||
|                         var dlg = FCOMMON.Util.MsgQ("장비제조사를 입력하지 않고 진행 하시겠습니까?\n\n" + |                         var dlg = FCOMMON.Util.MsgQ("[장비제조사]를 입력하지 않고 진행 하시겠습니까?\n\n" + | ||||||
|                         "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                         "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
|                         "BongSeok Jung(T.7191)\n" + |                         "BongSeok Jung(T.7191)\n" + | ||||||
|                         "BongSeok.Jung@amkor.co.kr"); |                         "BongSeok.Jung@amkor.co.kr"); | ||||||
| @@ -499,7 +499,7 @@ namespace FEQ0000 | |||||||
|                     } |                     } | ||||||
|                     else |                     else | ||||||
|                     { |                     { | ||||||
|                         FCOMMON.Util.MsgE("장비 제조사를 선택하세요.\n\n" + |                         FCOMMON.Util.MsgE("[장비제조사]를 선택하세요.\n\n" + | ||||||
|                         "선택 대상이 없는 경우 문의 바랍니다.\n\n" + |                         "선택 대상이 없는 경우 문의 바랍니다.\n\n" + | ||||||
|                         "BongSeok Jung(T.7191)\n" + |                         "BongSeok Jung(T.7191)\n" + | ||||||
|                         "BongSeok.Jung@amkor.co.kr"); |                         "BongSeok.Jung@amkor.co.kr"); | ||||||
|   | |||||||
							
								
								
									
										323
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										323
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -2075,45 +2075,13 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.UpdateCommand.Connection = this.Connection; |             this._adapter.UpdateCommand.Connection = this.Connection; | ||||||
|             this._adapter.UpdateCommand.CommandText = "UPDATE Purchase\r\nSET        pdate = @pdate, state = @state, process = @process, r" + |             this._adapter.UpdateCommand.CommandText = @"UPDATE Purchase | ||||||
|                 "eceive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname," + | SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | ||||||
|                 " pumscale = @pumscale, pumunit = @pumunit, \r\n               pumqty = @pumqty, pu" + |                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  | ||||||
|                 "mprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, " + |                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  | ||||||
|                 "project = @project, projectidx = @projectidx, asset = @asset, edate = @edate, \r\n" + |                orderno = @orderno | ||||||
|                 "               indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @" + | WHERE  (idx = @Original_idx);    | ||||||
|                 "wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manupro" + | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC"; | ||||||
|                 "c = @manuproc, \r\n               orderno = @orderno\r\nWHERE  (idx = @Original_idx)" + |  | ||||||
|                 " AND (@IsNull_pdate = 1 AND pdate IS NULL OR\r\n               pdate = @Original_p" + |  | ||||||
|                 "date) AND (@IsNull_state = 1 AND state IS NULL OR\r\n               state = @Origi" + |  | ||||||
|                 "nal_state) AND (@IsNull_process = 1 AND process IS NULL OR\r\n               proce" + |  | ||||||
|                 "ss = @Original_process) AND (@IsNull_receive = 1 AND receive IS NULL OR\r\n       " + |  | ||||||
|                 "        receive = @Original_receive) AND (@IsNull_sc = 1 AND sc IS NULL OR\r\n    " + |  | ||||||
|                 "           sc = @Original_sc) AND (@IsNull_request = 1 AND request IS NULL OR\r\n " + |  | ||||||
|                 "              request = @Original_request) AND (@IsNull_sid = 1 AND sid IS NULL " + |  | ||||||
|                 "OR\r\n               sid = @Original_sid) AND (@IsNull_pumscale = 1 AND pumscale I" + |  | ||||||
|                 "S NULL OR\r\n               pumscale = @Original_pumscale) AND (@IsNull_pumunit = " + |  | ||||||
|                 "1 AND pumunit IS NULL OR\r\n               pumunit = @Original_pumunit) AND (@IsNu" + |  | ||||||
|                 "ll_pumqty = 1 AND pumqty IS NULL OR\r\n               pumqty = @Original_pumqty) A" + |  | ||||||
|                 "ND (@IsNull_pumprice = 1 AND pumprice IS NULL OR\r\n               pumprice = @Ori" + |  | ||||||
|                 "ginal_pumprice) AND (@IsNull_pumamt = 1 AND pumamt IS NULL OR\r\n               pu" + |  | ||||||
|                 "mamt = @Original_pumamt) AND (@IsNull_supply = 1 AND supply IS NULL OR\r\n        " + |  | ||||||
|                 "       supply = @Original_supply) AND (@IsNull_supplyidx = 1 AND supplyidx IS NU" + |  | ||||||
|                 "LL OR\r\n               supplyidx = @Original_supplyidx) AND (@IsNull_projectidx =" + |  | ||||||
|                 " 1 AND projectidx IS NULL OR\r\n               projectidx = @Original_projectidx) " + |  | ||||||
|                 "AND (@IsNull_asset = 1 AND asset IS NULL OR\r\n               asset = @Original_as" + |  | ||||||
|                 "set) AND (@IsNull_edate = 1 AND edate IS NULL OR\r\n               edate = @Origin" + |  | ||||||
|                 "al_edate) AND (@IsNull_indate = 1 AND indate IS NULL OR\r\n               indate =" + |  | ||||||
|                 " @Original_indate) AND (@IsNull_po = 1 AND po IS NULL OR\r\n               po = @O" + |  | ||||||
|                 "riginal_po) AND (@IsNull_dept = 1 AND dept IS NULL OR\r\n               dept = @Or" + |  | ||||||
|                 "iginal_dept) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate) AND (@IsN" + |  | ||||||
|                 "ull_import = 1 AND import IS NULL OR\r\n               import = @Original_import) " + |  | ||||||
|                 "AND (@IsNull_pumidx = 1 AND pumidx IS NULL OR\r\n               pumidx = @Original" + |  | ||||||
|                 "_pumidx) AND (@IsNull_isdel = 1 AND isdel IS NULL OR\r\n               isdel = @Or" + |  | ||||||
|                 "iginal_isdel) AND (@IsNull_bigo = 1 AND bigo IS NULL OR\r\n               bigo = @" + |  | ||||||
|                 "Original_bigo);  \r\nSELECT idx, pdate, state, process, receive, sc, request, sid," + |  | ||||||
|                 " pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, projec" + |  | ||||||
|                 "t, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isde" + |  | ||||||
|                 "l, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC"; |  | ||||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -2146,56 +2114,6 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bigo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bigo", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|         } |         } | ||||||
|          |          | ||||||
| @@ -2619,32 +2537,6 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|                     string manuproc,  |                     string manuproc,  | ||||||
|                     string orderno,  |                     string orderno,  | ||||||
|                     int Original_idx,  |                     int Original_idx,  | ||||||
|                     string Original_pdate,  |  | ||||||
|                     string Original_state,  |  | ||||||
|                     string Original_process,  |  | ||||||
|                     string Original_receive,  |  | ||||||
|                     string Original_sc,  |  | ||||||
|                     string Original_request,  |  | ||||||
|                     string Original_sid,  |  | ||||||
|                     string Original_pumscale,  |  | ||||||
|                     string Original_pumunit,  |  | ||||||
|                     global::System.Nullable<int> Original_pumqty,  |  | ||||||
|                     global::System.Nullable<decimal> Original_pumprice,  |  | ||||||
|                     global::System.Nullable<decimal> Original_pumamt,  |  | ||||||
|                     string Original_supply,  |  | ||||||
|                     global::System.Nullable<int> Original_supplyidx,  |  | ||||||
|                     global::System.Nullable<int> Original_projectidx,  |  | ||||||
|                     string Original_asset,  |  | ||||||
|                     string Original_edate,  |  | ||||||
|                     string Original_indate,  |  | ||||||
|                     string Original_po,  |  | ||||||
|                     string Original_dept,  |  | ||||||
|                     string Original_wuid,  |  | ||||||
|                     System.DateTime Original_wdate,  |  | ||||||
|                     global::System.Nullable<bool> Original_import,  |  | ||||||
|                     global::System.Nullable<int> Original_pumidx,  |  | ||||||
|                     global::System.Nullable<bool> Original_isdel,  |  | ||||||
|                     string Original_bigo,  |  | ||||||
|                     int idx) { |                     int idx) { | ||||||
|             if ((pdate == null)) { |             if ((pdate == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||||
| @@ -2822,206 +2714,7 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(orderno)); |                 this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(orderno)); | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx)); |             this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx)); | ||||||
|             if ((Original_pdate == null)) { |             this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(idx)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_pdate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_state == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_state)); |  | ||||||
|             } |  | ||||||
|             if ((Original_process == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_process)); |  | ||||||
|             } |  | ||||||
|             if ((Original_receive == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_receive)); |  | ||||||
|             } |  | ||||||
|             if ((Original_sc == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_sc)); |  | ||||||
|             } |  | ||||||
|             if ((Original_request == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_request)); |  | ||||||
|             } |  | ||||||
|             if ((Original_sid == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_sid)); |  | ||||||
|             } |  | ||||||
|             if ((Original_pumscale == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_pumscale)); |  | ||||||
|             } |  | ||||||
|             if ((Original_pumunit == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_pumunit)); |  | ||||||
|             } |  | ||||||
|             if ((Original_pumqty.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_pumqty.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_pumprice.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[52].Value = ((decimal)(Original_pumprice.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_pumamt.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[54].Value = ((decimal)(Original_pumamt.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_supply == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_supply)); |  | ||||||
|             } |  | ||||||
|             if ((Original_supplyidx.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_supplyidx.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_projectidx.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_projectidx.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_asset == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_asset)); |  | ||||||
|             } |  | ||||||
|             if ((Original_edate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_edate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_indate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_indate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_po == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_po)); |  | ||||||
|             } |  | ||||||
|             if ((Original_dept == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_dept)); |  | ||||||
|             } |  | ||||||
|             if ((Original_wuid == null)) { |  | ||||||
|                 throw new global::System.ArgumentNullException("Original_wuid"); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_wuid)); |  | ||||||
|             } |  | ||||||
|             this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(Original_wdate)); |  | ||||||
|             if ((Original_import.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[74].Value = ((bool)(Original_import.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_pumidx.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[76].Value = ((int)(Original_pumidx.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_isdel.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[78].Value = ((bool)(Original_isdel.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_bigo == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_bigo)); |  | ||||||
|             } |  | ||||||
|             this.Adapter.UpdateCommand.Parameters[81].Value = ((int)(idx)); |  | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; | ||||||
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
|   | |||||||
| @@ -78,31 +78,7 @@ SET        pdate = @pdate, state = @state, process = @process, receive = @receiv | |||||||
|                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  |                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  | ||||||
|                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  |                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  | ||||||
|                orderno = @orderno |                orderno = @orderno | ||||||
| WHERE  (idx = @Original_idx) AND (@IsNull_pdate = 1 AND pdate IS NULL OR | WHERE  (idx = @Original_idx);    | ||||||
|                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_pumscale = 1 AND pumscale IS NULL OR |  | ||||||
|                pumscale = @Original_pumscale) AND (@IsNull_pumunit = 1 AND pumunit IS NULL OR |  | ||||||
|                pumunit = @Original_pumunit) AND (@IsNull_pumqty = 1 AND pumqty IS NULL OR |  | ||||||
|                pumqty = @Original_pumqty) AND (@IsNull_pumprice = 1 AND pumprice IS NULL OR |  | ||||||
|                pumprice = @Original_pumprice) AND (@IsNull_pumamt = 1 AND pumamt IS NULL OR |  | ||||||
|                pumamt = @Original_pumamt) AND (@IsNull_supply = 1 AND supply IS NULL OR |  | ||||||
|                supply = @Original_supply) AND (@IsNull_supplyidx = 1 AND supplyidx IS NULL OR |  | ||||||
|                supplyidx = @Original_supplyidx) AND (@IsNull_projectidx = 1 AND projectidx IS NULL OR |  | ||||||
|                projectidx = @Original_projectidx) AND (@IsNull_asset = 1 AND asset IS NULL OR |  | ||||||
|                asset = @Original_asset) AND (@IsNull_edate = 1 AND edate IS NULL OR |  | ||||||
|                edate = @Original_edate) AND (@IsNull_indate = 1 AND indate IS NULL OR |  | ||||||
|                indate = @Original_indate) AND (@IsNull_po = 1 AND po IS NULL OR |  | ||||||
|                po = @Original_po) AND (@IsNull_dept = 1 AND dept IS NULL OR |  | ||||||
|                dept = @Original_dept) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate) AND (@IsNull_import = 1 AND import IS NULL OR |  | ||||||
|                import = @Original_import) AND (@IsNull_pumidx = 1 AND pumidx IS NULL OR |  | ||||||
|                pumidx = @Original_pumidx) AND (@IsNull_isdel = 1 AND isdel IS NULL OR |  | ||||||
|                isdel = @Original_isdel) AND (@IsNull_bigo = 1 AND bigo IS NULL OR |  | ||||||
|                bigo = @Original_bigo);   |  | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText> | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -136,56 +112,6 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pdate" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_state" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_state" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_state" ColumnName="state" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@Original_state" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_process" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_process" ColumnName="process" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_receive" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_receive" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="receive" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_receive" ColumnName="receive" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_receive" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="receive" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_sc" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_sc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sc" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_sc" ColumnName="sc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(30)" DbType="AnsiString" Direction="Input" ParameterName="@Original_sc" Precision="0" ProviderType="VarChar" Scale="0" Size="30" SourceColumn="sc" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_request" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_request" ColumnName="request" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_sid" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_sid" ColumnName="sid" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pumscale" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumscale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumscale" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_pumscale" ColumnName="pumscale" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@Original_pumscale" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="pumscale" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pumunit" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumunit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumunit" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_pumunit" ColumnName="pumunit" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_pumunit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="pumunit" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pumqty" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_pumqty" ColumnName="pumqty" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_pumqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumqty" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pumprice" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_pumprice" ColumnName="pumprice" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@Original_pumprice" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="pumprice" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pumamt" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_pumamt" ColumnName="pumamt" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@Original_pumamt" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="pumamt" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_supply" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_supply" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_supply" ColumnName="supply" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@Original_supply" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_supplyidx" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_supplyidx" ColumnName="supplyidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_projectidx" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectidx" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_projectidx" ColumnName="projectidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_projectidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="projectidx" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_asset" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_asset" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_asset" ColumnName="asset" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_asset" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_edate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_edate" ColumnName="edate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_indate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_indate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_indate" ColumnName="indate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_indate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_po" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_po" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="po" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_po" ColumnName="po" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_po" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="po" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_dept" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_dept" ColumnName="dept" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_wuid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_import" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_import" ColumnName="import" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pumidx" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_pumidx" ColumnName="pumidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_isdel" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_isdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_isdel" ColumnName="isdel" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Original_isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_bigo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_bigo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bigo" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_bigo" ColumnName="bigo" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@Original_bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" 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="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="Original" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
| @@ -266,7 +192,7 @@ WHERE  (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid)</Comman | |||||||
|   <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_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase"> | ||||||
|     <xs:complexType> |     <xs:complexType> | ||||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow"> |         <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:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
|   | |||||||
| @@ -105,7 +105,7 @@ namespace FPJ0000 | |||||||
|             } |             } | ||||||
|  |  | ||||||
|             refreshData(); |             refreshData(); | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); |              | ||||||
|         } |         } | ||||||
|         void RefreshTime() |         void RefreshTime() | ||||||
|         { |         { | ||||||
| @@ -184,6 +184,7 @@ namespace FPJ0000 | |||||||
|  |  | ||||||
|             this.ta.Fill(this.dsMSSQL.JobReport, dtSD.Text, dtED.Text, request); |             this.ta.Fill(this.dsMSSQL.JobReport, dtSD.Text, dtED.Text, request); | ||||||
|             RefreshTime(); |             RefreshTime(); | ||||||
|  |             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         void funcSave() |         void funcSave() | ||||||
| @@ -363,6 +364,7 @@ namespace FPJ0000 | |||||||
|             { |             { | ||||||
|                 fpSpread1.SaveExcel(sd.FileName, |                 fpSpread1.SaveExcel(sd.FileName, | ||||||
|                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|                 FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); |                 FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); | ||||||
|   | |||||||
| @@ -74,7 +74,7 @@ namespace FPJ0000 | |||||||
|             this.Show(); |             this.Show(); | ||||||
|             Application.DoEvents(); |             Application.DoEvents(); | ||||||
|             RefreshData(); |             RefreshData(); | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); |             | ||||||
|  |  | ||||||
|              |              | ||||||
|         } |         } | ||||||
| @@ -108,6 +108,7 @@ namespace FPJ0000 | |||||||
|             //} |             //} | ||||||
|             //this.dsPRJ.AcceptChanges(); |             //this.dsPRJ.AcceptChanges(); | ||||||
|             RefreshSum(); |             RefreshSum(); | ||||||
|  |             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         void RefreshSum() |         void RefreshSum() | ||||||
| @@ -155,8 +156,9 @@ namespace FPJ0000 | |||||||
|             { |             { | ||||||
|                 fpSpread1.SaveExcel(sd.FileName, |                 fpSpread1.SaveExcel(sd.FileName, | ||||||
|                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders  ); |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             //dv1.ExportData("partlist.csv"); |             //dv1.ExportData("partlist.csv"); | ||||||
|   | |||||||
| @@ -36,20 +36,22 @@ namespace FPJ0000 | |||||||
|         private void fProjectSchedule_Load(object sender, EventArgs e) |         private void fProjectSchedule_Load(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             RefreshData(); |             RefreshData(); | ||||||
|             FPUtil.ColSizeLoad(ref this.fpIN, fn_fpcolsizeI); |             | ||||||
|             FPUtil.ColSizeLoad(ref this.fpOut, fn_fpcolsizeO); |  | ||||||
|             FPUtil.ColSizeLoad(ref this.fpEtc, fn_fpcolsizeE); |  | ||||||
|         } |         } | ||||||
|         void RefreshData() |         void RefreshData() | ||||||
|         { |         { | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 this.ta.Fill(this.dsPRJ.ProjectsIOMap, this.projectindex); |                 this.ta.Fill(this.dsPRJ.ProjectsIOMap, this.projectindex); | ||||||
|  |                 FPUtil.ColSizeLoad(ref this.fpIN, fn_fpcolsizeI); | ||||||
|  |                 FPUtil.ColSizeLoad(ref this.fpOut, fn_fpcolsizeO); | ||||||
|  |                 FPUtil.ColSizeLoad(ref this.fpEtc, fn_fpcolsizeE); | ||||||
|             } |             } | ||||||
|             catch (System.Exception ex) |             catch (System.Exception ex) | ||||||
|             { |             { | ||||||
|                 System.Windows.Forms.MessageBox.Show(ex.Message); |                 System.Windows.Forms.MessageBox.Show(ex.Message); | ||||||
|             } |             } | ||||||
|  |              | ||||||
|         } |         } | ||||||
|        |        | ||||||
|  |  | ||||||
| @@ -84,7 +86,11 @@ namespace FPJ0000 | |||||||
|  |  | ||||||
|         private void exportListToolStripMenuItem_Click(object sender, EventArgs e) |         private void exportListToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             fpIN.SaveExcel("iomap_in.xls"); |             fpIN.SaveExcel("iomap_in.xls", | ||||||
|  |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton1_Click(object sender, EventArgs e) |         private void toolStripButton1_Click(object sender, EventArgs e) | ||||||
| @@ -105,12 +111,20 @@ namespace FPJ0000 | |||||||
|  |  | ||||||
|         private void toolStripMenuItem7_Click(object sender, EventArgs e) |         private void toolStripMenuItem7_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             fpIN.SaveExcel("iomap_out.xls"); |             fpIN.SaveExcel("iomap_out.xls", | ||||||
|  |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripMenuItem13_Click(object sender, EventArgs e) |         private void toolStripMenuItem13_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             fpIN.SaveExcel("iomap_etc.xls"); |             fpIN.SaveExcel("iomap_etc.xls", | ||||||
|  |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripMenuItem9_Click(object sender, EventArgs e) |         private void toolStripMenuItem9_Click(object sender, EventArgs e) | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								SubProject/FPJ0000/Project/fProjectList.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								SubProject/FPJ0000/Project/fProjectList.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -83,8 +83,8 @@ | |||||||
|             this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); |             this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.메일발송주소관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.메일발송주소관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); |  | ||||||
|             this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  |             this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); |             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.엑셀파일로저장ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.엑셀파일로저장ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); |             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); | ||||||
| @@ -456,18 +456,18 @@ | |||||||
|             this.makeRepeatToolStripMenuItem.Text = "복사"; |             this.makeRepeatToolStripMenuItem.Text = "복사"; | ||||||
|             this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click); |             this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // 편집ToolStripMenuItem1 |  | ||||||
|             //  |  | ||||||
|             this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1"; |  | ||||||
|             this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(304, 36); |  | ||||||
|             this.편집ToolStripMenuItem1.Text = "편집"; |  | ||||||
|             //  |  | ||||||
|             // 삭제ToolStripMenuItem |             // 삭제ToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; |             this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; | ||||||
|             this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); |             this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); | ||||||
|             this.삭제ToolStripMenuItem.Text = "삭제"; |             this.삭제ToolStripMenuItem.Text = "삭제"; | ||||||
|             //  |             //  | ||||||
|  |             // 편집ToolStripMenuItem1 | ||||||
|  |             //  | ||||||
|  |             this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1"; | ||||||
|  |             this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(304, 36); | ||||||
|  |             this.편집ToolStripMenuItem1.Text = "편집"; | ||||||
|  |             //  | ||||||
|             // toolStripMenuItem1 |             // toolStripMenuItem1 | ||||||
|             //  |             //  | ||||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; |             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||||
|   | |||||||
| @@ -175,7 +175,7 @@ namespace FPJ0000 | |||||||
|             sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2"); |             sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2"); | ||||||
|  |  | ||||||
|             FormattingData(); |             FormattingData(); | ||||||
|  |             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         void FormattingData() |         void FormattingData() | ||||||
| @@ -431,7 +431,12 @@ namespace FPJ0000 | |||||||
|             var dlg = sd.ShowDialog(); |             var dlg = sd.ShowDialog(); | ||||||
|             if (dlg == System.Windows.Forms.DialogResult.OK) |             if (dlg == System.Windows.Forms.DialogResult.OK) | ||||||
|             { |             { | ||||||
|                 this.fpSpread1.SaveExcel(sd.FileName); |                 this.fpSpread1.SaveExcel(sd.FileName, | ||||||
|  |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|  |  | ||||||
|                 FCOMMON.Util.MsgI("파일생성 완료\n\n" + sd.FileName); |                 FCOMMON.Util.MsgI("파일생성 완료\n\n" + sd.FileName); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
| @@ -257,7 +257,7 @@ | |||||||
|     <value>248, 17</value> |     <value>248, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>17, 56</value> |     <value>828, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>455, 17</value> |     <value>455, 17</value> | ||||||
| @@ -395,7 +395,7 @@ | |||||||
|     <value>561, 17</value> |     <value>561, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>883, 17</value> |     <value>731, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="taHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="taHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>647, 17</value> |     <value>647, 17</value> | ||||||
|   | |||||||
| @@ -31,13 +31,14 @@ namespace FPJ0000 | |||||||
|         private void fProjectSchedule_Load(object sender, EventArgs e) |         private void fProjectSchedule_Load(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             RefreshData(); |             RefreshData(); | ||||||
|             FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); |            | ||||||
|         } |         } | ||||||
|         void RefreshData() |         void RefreshData() | ||||||
|         { |         { | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 this.ta.Fill(this.dsPRJ.ProjectsSchedule, this.projectindex); |                 this.ta.Fill(this.dsPRJ.ProjectsSchedule, this.projectindex); | ||||||
|  |                 FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); | ||||||
|             } |             } | ||||||
|             catch (System.Exception ex) |             catch (System.Exception ex) | ||||||
|             { |             { | ||||||
| @@ -87,7 +88,11 @@ namespace FPJ0000 | |||||||
|  |  | ||||||
|         private void exportListToolStripMenuItem_Click(object sender, EventArgs e) |         private void exportListToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             fpSpread1.SaveExcel("schedule.xls"); |             fpSpread1.SaveExcel("schedule.xls", | ||||||
|  |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | |||||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 | ||||||
| // 지정되도록 할 수 있습니다. | // 지정되도록 할 수 있습니다. | ||||||
| // [assembly: AssemblyVersion("1.0.*")] | // [assembly: AssemblyVersion("1.0.*")] | ||||||
| [assembly: AssemblyVersion("1.0.0.0")] | [assembly: AssemblyVersion("19.07.11.0830")] | ||||||
| [assembly: AssemblyFileVersion("1.0.0.0")] | [assembly: AssemblyFileVersion("19.07.11.0830")] | ||||||
|   | |||||||
							
								
								
									
										350
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										350
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -7403,50 +7403,13 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat | |||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.UpdateCommand.Connection = this.Connection; |             this._adapter.UpdateCommand.Connection = this.Connection; | ||||||
|             this._adapter.UpdateCommand.CommandText = "UPDATE Projects\r\nSET        status = @status, pdate = @pdate, name = @name, userm" + |             this._adapter.UpdateCommand.CommandText = @"UPDATE Projects | ||||||
|                 "ain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate" + | SET        status = @status, pdate = @pdate, name = @name, usermain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate = @edate, odate = @odate, memo = @memo,  | ||||||
|                 " = @edate, odate = @odate, memo = @memo, \r\n               wuid = @wuid, wdate = " + |                wuid = @wuid, wdate = @wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, part = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt,  | ||||||
|                 "@wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, pa" + |                remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate, progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = @path, userhw2 = @userhw2,  | ||||||
|                 "rt = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt, \r\n  " + |                orderno = @orderno | ||||||
|                 "             remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate," + | WHERE  (idx = @Original_idx);   | ||||||
|                 " progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = " + | SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2 FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END)"; | ||||||
|                 "@path, userhw2 = @userhw2, \r\n               orderno = @orderno\r\nWHERE  (idx = @O" + |  | ||||||
|                 "riginal_idx) AND (@IsNull_status = 1 AND status IS NULL OR\r\n               statu" + |  | ||||||
|                 "s = @Original_status) AND (@IsNull_pdate = 1 AND pdate IS NULL OR\r\n             " + |  | ||||||
|                 "  pdate = @Original_pdate) AND (@IsNull_name = 1 AND name IS NULL OR\r\n          " + |  | ||||||
|                 "     name = @Original_name) AND (@IsNull_usermain = 1 AND usermain IS NULL OR\r\n " + |  | ||||||
|                 "              usermain = @Original_usermain) AND (@IsNull_usersub = 1 AND usersu" + |  | ||||||
|                 "b IS NULL OR\r\n               usersub = @Original_usersub) AND (@IsNull_reqstaff " + |  | ||||||
|                 "= 1 AND reqstaff IS NULL OR\r\n               reqstaff = @Original_reqstaff) AND (" + |  | ||||||
|                 "@IsNull_sdate = 1 AND sdate IS NULL OR\r\n               sdate = @Original_sdate) " + |  | ||||||
|                 "AND (@IsNull_edate = 1 AND edate IS NULL OR\r\n               edate = @Original_ed" + |  | ||||||
|                 "ate) AND (@IsNull_odate = 1 AND odate IS NULL OR\r\n               odate = @Origin" + |  | ||||||
|                 "al_odate) AND (@IsNull_memo = 1 AND memo IS NULL OR\r\n               memo = @Orig" + |  | ||||||
|                 "inal_memo) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate) AND (@IsNul" + |  | ||||||
|                 "l_rev = 1 AND rev IS NULL OR\r\n               rev = @Original_rev) AND (@IsNull_p" + |  | ||||||
|                 "idx = 1 AND pidx IS NULL OR\r\n               pidx = @Original_pidx) AND (@IsNull_" + |  | ||||||
|                 "userManager = 1 AND userManager IS NULL OR\r\n               userManager = @Origin" + |  | ||||||
|                 "al_userManager) AND (@IsNull_level = 1 AND level IS NULL OR\r\n               leve" + |  | ||||||
|                 "l = @Original_level) AND (@IsNull_part = 1 AND part IS NULL OR\r\n               p" + |  | ||||||
|                 "art = @Original_part) AND (@IsNull_process = 1 AND process IS NULL OR\r\n         " + |  | ||||||
|                 "      process = @Original_process) AND (@IsNull_costo = 1 AND costo IS NULL OR\r\n" + |  | ||||||
|                 "               costo = @Original_costo) AND (@IsNull_costn = 1 AND costn IS NULL" + |  | ||||||
|                 " OR\r\n               costn = @Original_costn) AND (@IsNull_cnt = 1 AND cnt IS NUL" + |  | ||||||
|                 "L OR\r\n               cnt = @Original_cnt) AND (@IsNull_ddate = 1 AND ddate IS NU" + |  | ||||||
|                 "LL OR\r\n               ddate = @Original_ddate) AND (@IsNull_progress = 1 AND pro" + |  | ||||||
|                 "gress IS NULL OR\r\n               progress = @Original_progress) AND (@IsNull_imp" + |  | ||||||
|                 "ort = 1 AND import IS NULL OR\r\n               import = @Original_import) AND (@I" + |  | ||||||
|                 "sNull_asset = 1 AND asset IS NULL OR\r\n               asset = @Original_asset) AN" + |  | ||||||
|                 "D (@IsNull_isdel = 1 AND isdel IS NULL OR\r\n               isdel = @Original_isde" + |  | ||||||
|                 "l) AND (@IsNull_path = 1 AND path IS NULL OR\r\n               path = @Original_pa" + |  | ||||||
|                 "th) AND (@IsNull_userhw2 = 1 AND userhw2 IS NULL OR\r\n               userhw2 = @O" + |  | ||||||
|                 "riginal_userhw2); \r\nSELECT idx, status, pdate, name, usermain, usersub, reqstaff" + |  | ||||||
|                 ", sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, p" + |  | ||||||
|                 "rocess, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asse" + |  | ||||||
|                 "t, isdel, path, userhw2 FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [st" + |  | ||||||
|                 "atus] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THE" + |  | ||||||
|                 "N \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' E" + |  | ||||||
|                 "ND)"; |  | ||||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -7480,60 +7443,6 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat | |||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usermain", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usermain", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usersub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usersub", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_level", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costo", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costn", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cnt", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_progress", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_path", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_path", global::System.Data.SqlDbType.VarChar, 300, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userhw2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |  | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|         } |         } | ||||||
|          |          | ||||||
| @@ -8015,34 +7924,6 @@ WHERE  (ISNULL(name, N'') LIKE @search OR | |||||||
|                     string userhw2,  |                     string userhw2,  | ||||||
|                     string orderno,  |                     string orderno,  | ||||||
|                     int Original_idx,  |                     int Original_idx,  | ||||||
|                     string Original_status,  |  | ||||||
|                     string Original_pdate,  |  | ||||||
|                     string Original_name,  |  | ||||||
|                     string Original_usermain,  |  | ||||||
|                     string Original_usersub,  |  | ||||||
|                     string Original_reqstaff,  |  | ||||||
|                     string Original_sdate,  |  | ||||||
|                     string Original_edate,  |  | ||||||
|                     string Original_odate,  |  | ||||||
|                     string Original_memo,  |  | ||||||
|                     string Original_wuid,  |  | ||||||
|                     System.DateTime Original_wdate,  |  | ||||||
|                     global::System.Nullable<int> Original_rev,  |  | ||||||
|                     global::System.Nullable<int> Original_pidx,  |  | ||||||
|                     string Original_userManager,  |  | ||||||
|                     global::System.Nullable<int> Original_level,  |  | ||||||
|                     string Original_part,  |  | ||||||
|                     string Original_process,  |  | ||||||
|                     global::System.Nullable<double> Original_costo,  |  | ||||||
|                     global::System.Nullable<double> Original_costn,  |  | ||||||
|                     global::System.Nullable<int> Original_cnt,  |  | ||||||
|                     string Original_ddate,  |  | ||||||
|                     global::System.Nullable<int> Original_progress,  |  | ||||||
|                     global::System.Nullable<bool> Original_import,  |  | ||||||
|                     string Original_asset,  |  | ||||||
|                     global::System.Nullable<bool> Original_isdel,  |  | ||||||
|                     string Original_path,  |  | ||||||
|                     string Original_userhw2,  |  | ||||||
|                     int idx) { |                     int idx) { | ||||||
|             if ((status == null)) { |             if ((status == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||||
| @@ -8226,222 +8107,7 @@ WHERE  (ISNULL(name, N'') LIKE @search OR | |||||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(orderno)); |                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(orderno)); | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx)); |             this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx)); | ||||||
|             if ((Original_status == null)) { |             this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(idx)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_status)); |  | ||||||
|             } |  | ||||||
|             if ((Original_pdate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_pdate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_name == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_name)); |  | ||||||
|             } |  | ||||||
|             if ((Original_usermain == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_usermain)); |  | ||||||
|             } |  | ||||||
|             if ((Original_usersub == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_usersub)); |  | ||||||
|             } |  | ||||||
|             if ((Original_reqstaff == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_reqstaff)); |  | ||||||
|             } |  | ||||||
|             if ((Original_sdate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_sdate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_edate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_edate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_odate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_odate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_memo == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_memo)); |  | ||||||
|             } |  | ||||||
|             if ((Original_wuid == null)) { |  | ||||||
|                 throw new global::System.ArgumentNullException("Original_wuid"); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_wuid)); |  | ||||||
|             } |  | ||||||
|             this.Adapter.UpdateCommand.Parameters[53].Value = ((System.DateTime)(Original_wdate)); |  | ||||||
|             if ((Original_rev.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(Original_rev.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_pidx.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_pidx.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_userManager == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_userManager)); |  | ||||||
|             } |  | ||||||
|             if ((Original_level.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_level.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_part == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_part)); |  | ||||||
|             } |  | ||||||
|             if ((Original_process == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Original_process)); |  | ||||||
|             } |  | ||||||
|             if ((Original_costo.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[67].Value = ((double)(Original_costo.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_costn.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[69].Value = ((double)(Original_costn.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_cnt.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(Original_cnt.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_ddate == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_ddate)); |  | ||||||
|             } |  | ||||||
|             if ((Original_progress.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[75].Value = ((int)(Original_progress.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_import.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[77].Value = ((bool)(Original_import.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_asset == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_asset)); |  | ||||||
|             } |  | ||||||
|             if ((Original_isdel.HasValue == true)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[81].Value = ((bool)(Original_isdel.Value)); |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             if ((Original_path == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Original_path)); |  | ||||||
|             } |  | ||||||
|             if ((Original_userhw2 == null)) { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value; |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[85].Value = ((string)(Original_userhw2)); |  | ||||||
|             } |  | ||||||
|             this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(idx)); |  | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; | ||||||
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
|   | |||||||
| @@ -79,128 +79,48 @@ ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN | |||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </SelectCommand> |                 </SelectCommand> | ||||||
|                 <UpdateCommand> |                 <UpdateCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>UPDATE Projects |                     <CommandText>UPDATE Projects | ||||||
| SET        status = @status, pdate = @pdate, name = @name, usermain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate = @edate, odate = @odate, memo = @memo,  | SET        status = @status, pdate = @pdate, name = @name, usermain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate = @edate, odate = @odate, memo = @memo,  | ||||||
|                wuid = @wuid, wdate = @wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, part = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt,  |                wuid = @wuid, wdate = @wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, part = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt,  | ||||||
|                remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate, progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = @path, userhw2 = @userhw2,  |                remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate, progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = @path, userhw2 = @userhw2,  | ||||||
|                orderno = @orderno |                orderno = @orderno | ||||||
| WHERE  (idx = @Original_idx) AND (@IsNull_status = 1 AND status IS NULL OR | WHERE  (idx = @Original_idx);   | ||||||
|                status = @Original_status) AND (@IsNull_pdate = 1 AND pdate IS NULL OR |  | ||||||
|                pdate = @Original_pdate) AND (@IsNull_name = 1 AND name IS NULL OR |  | ||||||
|                name = @Original_name) AND (@IsNull_usermain = 1 AND usermain IS NULL OR |  | ||||||
|                usermain = @Original_usermain) AND (@IsNull_usersub = 1 AND usersub IS NULL OR |  | ||||||
|                usersub = @Original_usersub) AND (@IsNull_reqstaff = 1 AND reqstaff IS NULL OR |  | ||||||
|                reqstaff = @Original_reqstaff) AND (@IsNull_sdate = 1 AND sdate IS NULL OR |  | ||||||
|                sdate = @Original_sdate) AND (@IsNull_edate = 1 AND edate IS NULL OR |  | ||||||
|                edate = @Original_edate) AND (@IsNull_odate = 1 AND odate IS NULL OR |  | ||||||
|                odate = @Original_odate) AND (@IsNull_memo = 1 AND memo IS NULL OR |  | ||||||
|                memo = @Original_memo) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate) AND (@IsNull_rev = 1 AND rev IS NULL OR |  | ||||||
|                rev = @Original_rev) AND (@IsNull_pidx = 1 AND pidx IS NULL OR |  | ||||||
|                pidx = @Original_pidx) AND (@IsNull_userManager = 1 AND userManager IS NULL OR |  | ||||||
|                userManager = @Original_userManager) AND (@IsNull_level = 1 AND level IS NULL OR |  | ||||||
|                level = @Original_level) AND (@IsNull_part = 1 AND part IS NULL OR |  | ||||||
|                part = @Original_part) AND (@IsNull_process = 1 AND process IS NULL OR |  | ||||||
|                process = @Original_process) AND (@IsNull_costo = 1 AND costo IS NULL OR |  | ||||||
|                costo = @Original_costo) AND (@IsNull_costn = 1 AND costn IS NULL OR |  | ||||||
|                costn = @Original_costn) AND (@IsNull_cnt = 1 AND cnt IS NULL OR |  | ||||||
|                cnt = @Original_cnt) AND (@IsNull_ddate = 1 AND ddate IS NULL OR |  | ||||||
|                ddate = @Original_ddate) AND (@IsNull_progress = 1 AND progress IS NULL OR |  | ||||||
|                progress = @Original_progress) AND (@IsNull_import = 1 AND import IS NULL OR |  | ||||||
|                import = @Original_import) AND (@IsNull_asset = 1 AND asset IS NULL OR |  | ||||||
|                asset = @Original_asset) AND (@IsNull_isdel = 1 AND isdel IS NULL OR |  | ||||||
|                isdel = @Original_isdel) AND (@IsNull_path = 1 AND path IS NULL OR |  | ||||||
|                path = @Original_path) AND (@IsNull_userhw2 = 1 AND userhw2 IS NULL OR |  | ||||||
|                userhw2 = @Original_userhw2);  |  | ||||||
| SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2 FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END)</CommandText> | SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2 FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END)</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="status" ColumnName="status" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="status" ColumnName="status" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="usermain" ColumnName="usermain" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@usermain" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usermain" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="usermain" ColumnName="usermain" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@usermain" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usermain" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="usersub" ColumnName="usersub" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@usersub" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usersub" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="usersub" ColumnName="usersub" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@usersub" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usersub" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="reqstaff" ColumnName="reqstaff" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="reqstaff" ColumnName="reqstaff" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="odate" ColumnName="odate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="odate" ColumnName="odate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="rev" ColumnName="rev" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rev" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="rev" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="rev" ColumnName="rev" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rev" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="rev" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pidx" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="pidx" ColumnName="pidx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="userManager" ColumnName="userManager" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="userManager" ColumnName="userManager" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="level" ColumnName="level" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@level" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="level" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="level" ColumnName="level" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@level" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="level" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="part" ColumnName="part" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="part" ColumnName="part" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="costo" ColumnName="costo" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@costo" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="costo" ColumnName="costo" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@costo" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="costn" ColumnName="costn" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@costn" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costn" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="costn" ColumnName="costn" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@costn" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costn" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="cnt" ColumnName="cnt" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cnt" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="cnt" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="cnt" ColumnName="cnt" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cnt" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="cnt" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="remark_req" ColumnName="remark_req" DataSourceName="" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@remark_req" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="remark_req" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="remark_req" ColumnName="remark_req" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@remark_req" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="remark_req" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="remark_ans" ColumnName="remark_ans" DataSourceName="" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@remark_ans" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="remark_ans" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="remark_ans" ColumnName="remark_ans" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@remark_ans" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="remark_ans" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ddate" ColumnName="ddate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ddate" ColumnName="ddate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="progress" ColumnName="progress" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@progress" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="progress" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="progress" ColumnName="progress" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@progress" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="progress" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="asset" ColumnName="asset" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="asset" ColumnName="asset" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="path" ColumnName="path" DataSourceName="" DataTypeServer="varchar(300)" DbType="AnsiString" Direction="Input" ParameterName="@path" Precision="0" ProviderType="VarChar" Scale="0" Size="300" SourceColumn="path" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="path" ColumnName="path" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(300)" DbType="AnsiString" Direction="Input" ParameterName="@path" Precision="0" ProviderType="VarChar" Scale="0" Size="300" SourceColumn="path" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="userhw2" ColumnName="userhw2" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userhw2" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userhw2" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="userhw2" ColumnName="userhw2" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userhw2" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userhw2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_status" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_status" ColumnName="status" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pdate" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_pdate" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_name" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_name" ColumnName="name" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_usermain" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_usermain" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="usermain" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_usermain" ColumnName="usermain" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_usermain" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usermain" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_usersub" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_usersub" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="usersub" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_usersub" ColumnName="usersub" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_usersub" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usersub" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_reqstaff" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_reqstaff" ColumnName="reqstaff" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_sdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_sdate" ColumnName="sdate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_edate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_edate" ColumnName="edate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_odate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_odate" ColumnName="odate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_memo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_memo" ColumnName="memo" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_wuid" ColumnName="wuid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_rev" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_rev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rev" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_rev" ColumnName="rev" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_rev" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="rev" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pidx" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_pidx" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_userManager" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_userManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_userManager" ColumnName="userManager" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_level" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_level" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="level" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_level" ColumnName="level" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_level" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="level" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_part" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_part" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_part" ColumnName="part" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_part" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_process" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_process" ColumnName="process" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_costo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_costo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="costo" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_costo" ColumnName="costo" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@Original_costo" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costo" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_costn" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_costn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="costn" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_costn" ColumnName="costn" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@Original_costn" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costn" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_cnt" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_cnt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cnt" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_cnt" ColumnName="cnt" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_cnt" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="cnt" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_ddate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_ddate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_ddate" ColumnName="ddate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_progress" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_progress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="progress" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_progress" ColumnName="progress" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_progress" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="progress" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_import" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_import" ColumnName="import" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_asset" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_asset" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_asset" ColumnName="asset" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_asset" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_isdel" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_isdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_isdel" ColumnName="isdel" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Original_isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_path" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_path" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="path" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_path" ColumnName="path" DataSourceName="" DataTypeServer="varchar(300)" DbType="AnsiString" Direction="Input" ParameterName="@Original_path" Precision="0" ProviderType="VarChar" Scale="0" Size="300" SourceColumn="path" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_userhw2" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_userhw2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userhw2" SourceColumnNullMapping="true" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_userhw2" ColumnName="userhw2" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_userhw2" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userhw2" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |  | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </UpdateCommand> |                 </UpdateCommand> | ||||||
| @@ -1132,7 +1052,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|   <xs:element name="dsPRJ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPRJ" msprop:Generator_UserDSName="dsPRJ"> |   <xs:element name="dsPRJ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPRJ" msprop:Generator_UserDSName="dsPRJ"> | ||||||
|     <xs:complexType> |     <xs:complexType> | ||||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow"> |         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1304,7 +1224,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent" msprop:Generator_RowClassName="ProjectsIOMapRow"> |         <xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_RowClassName="ProjectsIOMapRow" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -1348,7 +1268,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsMailList" msprop:Generator_TableClassName="ProjectsMailListDataTable" msprop:Generator_TableVarName="tableProjectsMailList" msprop:Generator_TablePropName="ProjectsMailList" msprop:Generator_RowDeletingName="ProjectsMailListRowDeleting" msprop:Generator_RowChangingName="ProjectsMailListRowChanging" msprop:Generator_RowEvHandlerName="ProjectsMailListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsMailListRowDeleted" msprop:Generator_UserTableName="ProjectsMailList" msprop:Generator_RowChangedName="ProjectsMailListRowChanged" msprop:Generator_RowEvArgName="ProjectsMailListRowChangeEvent" msprop:Generator_RowClassName="ProjectsMailListRow"> |         <xs:element name="ProjectsMailList" msprop:Generator_TableClassName="ProjectsMailListDataTable" msprop:Generator_TableVarName="tableProjectsMailList" msprop:Generator_RowChangedName="ProjectsMailListRowChanged" msprop:Generator_TablePropName="ProjectsMailList" msprop:Generator_RowDeletingName="ProjectsMailListRowDeleting" msprop:Generator_RowChangingName="ProjectsMailListRowChanging" msprop:Generator_RowEvHandlerName="ProjectsMailListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsMailListRowDeleted" msprop:Generator_RowClassName="ProjectsMailListRow" msprop:Generator_UserTableName="ProjectsMailList" msprop:Generator_RowEvArgName="ProjectsMailListRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1393,7 +1313,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsPart" msprop:Generator_TableClassName="ProjectsPartDataTable" msprop:Generator_TableVarName="tableProjectsPart" msprop:Generator_TablePropName="ProjectsPart" msprop:Generator_RowDeletingName="ProjectsPartRowDeleting" msprop:Generator_RowChangingName="ProjectsPartRowChanging" msprop:Generator_RowEvHandlerName="ProjectsPartRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPartRowDeleted" msprop:Generator_UserTableName="ProjectsPart" msprop:Generator_RowChangedName="ProjectsPartRowChanged" msprop:Generator_RowEvArgName="ProjectsPartRowChangeEvent" msprop:Generator_RowClassName="ProjectsPartRow"> |         <xs:element name="ProjectsPart" msprop:Generator_TableClassName="ProjectsPartDataTable" msprop:Generator_TableVarName="tableProjectsPart" msprop:Generator_RowChangedName="ProjectsPartRowChanged" msprop:Generator_TablePropName="ProjectsPart" msprop:Generator_RowDeletingName="ProjectsPartRowDeleting" msprop:Generator_RowChangingName="ProjectsPartRowChanging" msprop:Generator_RowEvHandlerName="ProjectsPartRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPartRowDeleted" msprop:Generator_RowClassName="ProjectsPartRow" msprop:Generator_UserTableName="ProjectsPart" msprop:Generator_RowEvArgName="ProjectsPartRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1501,7 +1421,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="JobReport" msprop:Generator_TableClassName="JobReportDataTable" msprop:Generator_TableVarName="tableJobReport" msprop:Generator_TablePropName="JobReport" msprop:Generator_RowDeletingName="JobReportRowDeleting" msprop:Generator_RowChangingName="JobReportRowChanging" msprop:Generator_RowEvHandlerName="JobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportRowDeleted" msprop:Generator_UserTableName="JobReport" msprop:Generator_RowChangedName="JobReportRowChanged" msprop:Generator_RowEvArgName="JobReportRowChangeEvent" msprop:Generator_RowClassName="JobReportRow"> |         <xs:element name="JobReport" msprop:Generator_TableClassName="JobReportDataTable" msprop:Generator_TableVarName="tableJobReport" msprop:Generator_RowChangedName="JobReportRowChanged" msprop:Generator_TablePropName="JobReport" msprop:Generator_RowDeletingName="JobReportRowDeleting" msprop:Generator_RowChangingName="JobReportRowChanging" msprop:Generator_RowEvHandlerName="JobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportRowDeleted" msprop:Generator_RowClassName="JobReportRow" msprop:Generator_UserTableName="JobReport" msprop:Generator_RowEvArgName="JobReportRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1605,7 +1525,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsSchedule" msprop:Generator_TableClassName="ProjectsScheduleDataTable" msprop:Generator_TableVarName="tableProjectsSchedule" msprop:Generator_TablePropName="ProjectsSchedule" msprop:Generator_RowDeletingName="ProjectsScheduleRowDeleting" msprop:Generator_RowChangingName="ProjectsScheduleRowChanging" msprop:Generator_RowEvHandlerName="ProjectsScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsScheduleRowDeleted" msprop:Generator_UserTableName="ProjectsSchedule" msprop:Generator_RowChangedName="ProjectsScheduleRowChanged" msprop:Generator_RowEvArgName="ProjectsScheduleRowChangeEvent" msprop:Generator_RowClassName="ProjectsScheduleRow"> |         <xs:element name="ProjectsSchedule" msprop:Generator_TableClassName="ProjectsScheduleDataTable" msprop:Generator_TableVarName="tableProjectsSchedule" msprop:Generator_RowChangedName="ProjectsScheduleRowChanged" msprop:Generator_TablePropName="ProjectsSchedule" msprop:Generator_RowDeletingName="ProjectsScheduleRowDeleting" msprop:Generator_RowChangingName="ProjectsScheduleRowChanging" msprop:Generator_RowEvHandlerName="ProjectsScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsScheduleRowDeleted" msprop:Generator_RowClassName="ProjectsScheduleRow" msprop:Generator_UserTableName="ProjectsSchedule" msprop:Generator_RowEvArgName="ProjectsScheduleRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
| @@ -1639,7 +1559,7 @@ WHERE (pidx = @pidx)</CommandText> | |||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|         <xs:element name="ProjectsHistory" msprop:Generator_TableClassName="ProjectsHistoryDataTable" msprop:Generator_TableVarName="tableProjectsHistory" msprop:Generator_TablePropName="ProjectsHistory" msprop:Generator_RowDeletingName="ProjectsHistoryRowDeleting" msprop:Generator_RowChangingName="ProjectsHistoryRowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistoryRowDeleted" msprop:Generator_UserTableName="ProjectsHistory" msprop:Generator_RowChangedName="ProjectsHistoryRowChanged" msprop:Generator_RowEvArgName="ProjectsHistoryRowChangeEvent" msprop:Generator_RowClassName="ProjectsHistoryRow"> |         <xs:element name="ProjectsHistory" msprop:Generator_TableClassName="ProjectsHistoryDataTable" msprop:Generator_TableVarName="tableProjectsHistory" msprop:Generator_RowChangedName="ProjectsHistoryRowChanged" msprop:Generator_TablePropName="ProjectsHistory" msprop:Generator_RowDeletingName="ProjectsHistoryRowDeleting" msprop:Generator_RowChangingName="ProjectsHistoryRowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistoryRowDeleted" msprop:Generator_RowClassName="ProjectsHistoryRow" msprop:Generator_UserTableName="ProjectsHistory" msprop:Generator_RowEvArgName="ProjectsHistoryRowChangeEvent"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <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="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" /> | ||||||
|   | |||||||
| @@ -1 +1,19 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <!--<autogenerated> | ||||||
|  |      This code was generated by a tool to store the dataset designer's layout information. | ||||||
|  |      Changes to this file may cause incorrect behavior and will be lost if | ||||||
|  |      the code is regenerated. | ||||||
|  | </autogenerated>--> | ||||||
|  | <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||||
|  |   <Shapes> | ||||||
|  |     <Shape ID="DesignTable:Projects" ZOrder="8" X="70" Y="70" Height="362" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||||
|  |     <Shape ID="DesignTable:ProjectsIOMap" ZOrder="7" X="366" Y="70" Height="229" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> | ||||||
|  |     <Shape ID="DesignTable:ProjectsMailList" ZOrder="6" X="667" Y="70" Height="248" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> | ||||||
|  |     <Shape ID="DesignTable:ProjectsPart" ZOrder="5" X="974" Y="70" Height="343" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||||
|  |     <Shape ID="DesignTable:JobReport" ZOrder="4" X="1259" Y="70" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||||
|  |     <Shape ID="DesignTable:ProjectsSchedule" ZOrder="3" X="1629" Y="70" Height="267" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> | ||||||
|  |     <Shape ID="DesignTable:ProjectsHistory" ZOrder="2" X="1943" Y="70" Height="267" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> | ||||||
|  |     <Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="2264" Y="70" Height="48" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="16" /> | ||||||
|  |   </Shapes> | ||||||
|  |   <Connectors /> | ||||||
|  | </DiagramLayout> | ||||||
| @@ -94,8 +94,9 @@ namespace FPJ0000 | |||||||
|             { |             { | ||||||
|                 fpSpread1.SaveExcel(sd.FileName, |                 fpSpread1.SaveExcel(sd.FileName, | ||||||
|                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders  ); |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             //dv1.ExportData("partlist.csv"); |             //dv1.ExportData("partlist.csv"); | ||||||
|   | |||||||
| @@ -220,6 +220,7 @@ namespace FPJ0000 | |||||||
|             { |             { | ||||||
|                 fpSpread1.SaveExcel(sd.FileName, |                 fpSpread1.SaveExcel(sd.FileName, | ||||||
|                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed |                     FarPoint.Excel.ExcelSaveFlags.SaveAsViewed | ||||||
|  |                     | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas |                     | FarPoint.Excel.ExcelSaveFlags.NoFormulas | ||||||
|                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); |                     | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim