diff --git a/SubProject/FEQ0000/DataBaseManager.cs b/SubProject/FEQ0000/DataBaseManager.cs
index 006c826..f26d3be 100644
--- a/SubProject/FEQ0000/DataBaseManager.cs
+++ b/SubProject/FEQ0000/DataBaseManager.cs
@@ -64,12 +64,14 @@ namespace FEQ0000
             sb.AppendLine("
");
             sb.AppendLine(" | ");
             sb.AppendLine(" | ");
+            sb.AppendLine(" | ");
             sb.AppendLine(" | TOTAL");
             sb.AppendLine(" | {금액}");
             sb.AppendLine(" | ");
             sb.AppendLine(" | ");
             sb.AppendLine("");
             sb.AppendLine(" | ");
+            sb.AppendLine("| No");
             sb.AppendLine(" | SC");
             sb.AppendLine(" | 자재번호");
             sb.AppendLine(" | 청구자");
@@ -90,6 +92,7 @@ namespace FEQ0000
             {
                 var basewidth = 15;
                 sheet.setRow(row, 30);
+                sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "No", fTitle);
                 sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "S/C", fTitle);
                 sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "자재번호", fTitle);
                 sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "청구자", fTitle);
@@ -127,6 +130,7 @@ namespace FEQ0000
                 totalamt += amt;
 
                 sb.AppendLine(" | 
");
+                sb.AppendLine($"| {row}");
                 sb.AppendLine(" | " + getmaxstr(sSC) + "");
                 sb.AppendLine(" | " + getmaxstr(sSID) + "");
                 sb.AppendLine(" | " + getmaxstr(s요청) + "");
@@ -143,6 +147,7 @@ namespace FEQ0000
                 {
                     col = 0;
                     sheet.setRow(row, 23);
+                    sheet.writeNum(row, col++, row, fDataNum);
                     sheet.writeStr(row, col++, sSC, fDataStr);
                     sheet.writeStr(row, col++, sSID, fDataStr);
                     sheet.writeStr(row, col++, s요청, fDataStr);
@@ -174,6 +179,7 @@ namespace FEQ0000
             sb.AppendLine(" | ");
             sb.AppendLine(" | ");
             sb.AppendLine(" | ");
+            sb.AppendLine(" | ");
             sb.AppendLine(" | TOTAL");
             sb.AppendLine(" | {금액}");
             sb.AppendLine(" | ");
@@ -193,6 +199,7 @@ namespace FEQ0000
                 sheet.writeStr(row, col++, "", fTitle);
                 sheet.writeStr(row, col++, "", fTitle);
                 sheet.writeStr(row, col++, "", fTitle);
+                sheet.writeStr(row, col++, "", fTitle);
                 sheet.writeNum(row, col++, (int)totalamt, fTitle);
                 sheet.setMerge(row, row, col - 1, col);
                 sheet.writeStr(row, col++, "", fTitle);
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs
index a3b0b1b..fd84f32 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs
@@ -782,21 +782,58 @@ namespace FEQ0000
         List GetDatarows(bool all = false)
         {
             List rows = new List();
-
+            var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
+            var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
+            var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
             if (all)
             {
-                var drows = (dsPurchase.EETGW_PurchaseCRRow[])(this.dsPurchase.EETGW_PurchaseCR.Select(this.bs.Filter, this.bs.Sort)); ;
-                foreach (var dr in drows)
-                    rows.Add(dr);
+                FarPoint.Win.Spread.HideRowFilter f = (FarPoint.Win.Spread.HideRowFilter)fpSpread1_Sheet1.RowFilter;
+                int[] FRows = f.GetIntersectedFilteredInRows();
+                if (FRows == null)
+                {
+                    var rowc = this.fpSpread1_Sheet1.RowCount;
+                    var colc = this.fpSpread1_Sheet1.ColumnCount;
+                    var drows = (dsPurchase.EETGW_PurchaseCRRow[])(this.dsPurchase.EETGW_PurchaseCR.Select(this.bs.Filter, this.bs.Sort));
+                    foreach (var dr in drows)
+                        rows.Add(dr);
+                }
+                else
+                {
+                    List rowidxs = new List();
+                    foreach (int i in FRows)
+                    {
+                        var row = this.fpSpread1_Sheet1.Rows[i];
+                        if (fpSpread1_Sheet1.IsRowBound(i))
+                        {
+                            rowidxs.Add(i);
+                        }
+                    }
+
+                    //수집된데이터를 보내야한다.
+                    var idx = 0;
+                    foreach (var i in rowidxs)
+                    {
+                        var rowidx = (int)fpSpread1.ActiveSheet.GetValue(i, idxcol.Index);
+                        var row = this.dsPurchase.EETGW_PurchaseCR.Where(t => t.idx == rowidx).First();
+                        rows.Add(row);
+                    }
+                    if (rows.Any() == false)
+                    {
+                        if (this.bs.Count > 0)
+                        {
+                            var drv = this.bs.Current as DataRowView;
+                            rows.Add(drv.Row as dsPurchase.EETGW_PurchaseCRRow);
+                        }
+                    }
+                }
+
+            
             }
             else
             {
                 //선택된 자료의 데이터를 추출한다.
                 var selected = this.fpSpread1_Sheet1.GetSelections();   //선택된 개체확인
                 List rowidxs = new List();
-                var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
-                var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
-                var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
                 foreach (var item in selected)
                 {
                     for (int i = item.Row; i < item.Row + item.RowCount; i++)
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
index f997686..12c2dd9 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
@@ -30,37 +30,37 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseEB));
-            FarPoint.Win.Spread.CellType.TextCellType textCellType121 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType122 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType123 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType124 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType125 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType126 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType127 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType128 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType129 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType130 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType61 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType131 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType62 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType63 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType132 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType64 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType133 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType65 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType66 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType134 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType67 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType68 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType135 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType136 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType137 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType69 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType138 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType139 = new FarPoint.Win.Spread.CellType.TextCellType();
-            FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType7 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
-            FarPoint.Win.Spread.CellType.NumberCellType numberCellType70 = new FarPoint.Win.Spread.CellType.NumberCellType();
-            FarPoint.Win.Spread.CellType.TextCellType textCellType140 = 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 textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
+            FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
+            FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
+            FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
             this.dsPurchase = new FEQ0000.dsPurchase();
             this.bs = new System.Windows.Forms.BindingSource(this.components);
             this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
@@ -94,6 +94,12 @@
             this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton();
+            this.메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.현재목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.선택목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
+            this.현재목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.선택목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.엑셀에서가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.견적서폴더열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
@@ -141,12 +147,6 @@
             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
             this.label1 = new System.Windows.Forms.Label();
             this.label2 = new System.Windows.Forms.Label();
-            this.메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.현재목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.선택목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
-            this.현재목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.선택목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -211,9 +211,9 @@
             this.tbFind,
             this.btFind,
             this.toolStripSeparator6,
+            this.toolStripButton7,
             this.toolStripButton6,
-            this.toolStripButton1,
-            this.toolStripButton7});
+            this.toolStripButton1});
             this.bn.Location = new System.Drawing.Point(0, 667);
             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -455,11 +455,57 @@
             this.toolStripButton7.Size = new System.Drawing.Size(60, 23);
             this.toolStripButton7.Text = "기능";
             // 
+            // 메일전송ToolStripMenuItem
+            // 
+            this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.현재목록ToolStripMenuItem,
+            this.선택목록ToolStripMenuItem,
+            this.toolStripSeparator7,
+            this.현재목록입고양식ToolStripMenuItem,
+            this.선택목록입고양식ToolStripMenuItem});
+            this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image")));
+            this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
+            this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.메일전송ToolStripMenuItem.Text = "메일 전송";
+            // 
+            // 현재목록ToolStripMenuItem
+            // 
+            this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem";
+            this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.현재목록ToolStripMenuItem.Text = "현재목록";
+            this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click);
+            // 
+            // 선택목록ToolStripMenuItem
+            // 
+            this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem";
+            this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.선택목록ToolStripMenuItem.Text = "선택목록";
+            this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click);
+            // 
+            // toolStripSeparator7
+            // 
+            this.toolStripSeparator7.Name = "toolStripSeparator7";
+            this.toolStripSeparator7.Size = new System.Drawing.Size(177, 6);
+            // 
+            // 현재목록입고양식ToolStripMenuItem
+            // 
+            this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem";
+            this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)";
+            this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click);
+            // 
+            // 선택목록입고양식ToolStripMenuItem
+            // 
+            this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem";
+            this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+            this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)";
+            this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click);
+            // 
             // 엑셀에서가져오기ToolStripMenuItem
             // 
             this.엑셀에서가져오기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image")));
             this.엑셀에서가져오기ToolStripMenuItem.Name = "엑셀에서가져오기ToolStripMenuItem";
-            this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
+            this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
             this.엑셀에서가져오기ToolStripMenuItem.Text = "엑셀에서 가져오기";
             this.엑셀에서가져오기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서가져오기ToolStripMenuItem_Click);
             // 
@@ -467,14 +513,14 @@
             // 
             this.견적서폴더열기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("견적서폴더열기ToolStripMenuItem.Image")));
             this.견적서폴더열기ToolStripMenuItem.Name = "견적서폴더열기ToolStripMenuItem";
-            this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
+            this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
             this.견적서폴더열기ToolStripMenuItem.Text = "견적서 폴더 열기";
             this.견적서폴더열기ToolStripMenuItem.Click += new System.EventHandler(this.견적서폴더열기ToolStripMenuItem_Click);
             // 
             // toolStripMenuItem2
             // 
             this.toolStripMenuItem2.Name = "toolStripMenuItem2";
-            this.toolStripMenuItem2.Size = new System.Drawing.Size(179, 6);
+            this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6);
             // 
             // cm1
             // 
@@ -871,7 +917,7 @@
             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
-            this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType121;
+            this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
             this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(0).Label = "구매신청일";
@@ -880,7 +926,7 @@
             this.fpSpread1_Sheet1.Columns.Get(0).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
             this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
-            this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType122;
+            this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state";
             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태";
@@ -888,7 +934,7 @@
             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(1).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
-            this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType123;
+            this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "site";
             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(2).Label = "SITE";
@@ -896,7 +942,7 @@
             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(2).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
-            this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType124;
+            this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "dept";
             this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류";
@@ -904,13 +950,13 @@
             this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(3).Width = 100F;
             this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
-            this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType125;
+            this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestName";
             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
             this.fpSpread1_Sheet1.Columns.Get(4).Label = "요청";
             this.fpSpread1_Sheet1.Columns.Get(4).Tag = "requestName";
             this.fpSpread1_Sheet1.Columns.Get(4).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType126;
+            this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sc";
             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(5).Label = "SC#";
@@ -918,7 +964,7 @@
             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(5).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
-            this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType127;
+            this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "orderno";
             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(6).Label = "SCR/CF";
@@ -926,208 +972,208 @@
             this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(6).Visible = false;
             this.fpSpread1_Sheet1.Columns.Get(6).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType128;
+            this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "receiveName";
             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).Tag = "receiveName";
             this.fpSpread1_Sheet1.Columns.Get(7).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true;
-            this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType129;
+            this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid";
             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#";
             this.fpSpread1_Sheet1.Columns.Get(8).Tag = "sid";
             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(8).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType130;
+            this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10;
             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumname";
             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
             this.fpSpread1_Sheet1.Columns.Get(9).Label = "품명";
             this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pumname";
             this.fpSpread1_Sheet1.Columns.Get(9).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
-            numberCellType61.DecimalPlaces = 0;
-            numberCellType61.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
-            numberCellType61.MaximumValue = 2147483647D;
-            numberCellType61.MinimumValue = -2147483648D;
-            this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType61;
+            numberCellType1.DecimalPlaces = 0;
+            numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+            numberCellType1.MaximumValue = 2147483647D;
+            numberCellType1.MinimumValue = -2147483648D;
+            this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType1;
             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumidx";
             this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(10).Label = "*";
             this.fpSpread1_Sheet1.Columns.Get(10).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType131;
+            this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale";
             this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
             this.fpSpread1_Sheet1.Columns.Get(11).Label = "규격";
             this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumscale";
             this.fpSpread1_Sheet1.Columns.Get(11).Width = 119F;
-            numberCellType62.DecimalPlaces = 0;
-            numberCellType62.NegativeRed = true;
-            numberCellType62.NullDisplay = "--";
-            numberCellType62.Separator = ",";
-            numberCellType62.ShowSeparator = true;
-            numberCellType62.ShrinkToFit = true;
-            this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType62;
+            numberCellType2.DecimalPlaces = 0;
+            numberCellType2.NegativeRed = true;
+            numberCellType2.NullDisplay = "--";
+            numberCellType2.Separator = ",";
+            numberCellType2.ShowSeparator = true;
+            numberCellType2.ShrinkToFit = true;
+            this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType2;
             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumqtyReq";
             this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(12).Label = "수량\r\n(요청)";
             this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pumqty";
             this.fpSpread1_Sheet1.Columns.Get(12).Width = 119F;
-            numberCellType63.DecimalPlaces = 0;
-            this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType63;
+            numberCellType3.DecimalPlaces = 0;
+            this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType3;
             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumqty";
             this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(13).Label = "수량\r\n(구매)";
             this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(13).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType132;
+            this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType12;
             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumunit";
             this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(14).Label = "단위";
             this.fpSpread1_Sheet1.Columns.Get(14).Width = 119F;
-            numberCellType64.DecimalPlaces = 2;
-            this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType64;
+            numberCellType4.DecimalPlaces = 2;
+            this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType4;
             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumpriceD";
             this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
             this.fpSpread1_Sheet1.Columns.Get(15).Label = "단가\r\n(해외)";
             this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(15).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType133;
+            this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13;
             this.fpSpread1_Sheet1.Columns.Get(16).DataField = "currency";
             this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(16).Label = "통화";
             this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(16).Width = 119F;
-            numberCellType65.DecimalPlaces = 0;
-            numberCellType65.MaximumValue = 9999999999999.99D;
-            numberCellType65.MinimumValue = -9999999999999.99D;
-            numberCellType65.NegativeRed = true;
-            numberCellType65.NullDisplay = "--";
-            numberCellType65.Separator = ",";
-            numberCellType65.ShowSeparator = true;
-            numberCellType65.ShrinkToFit = true;
-            this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType65;
+            numberCellType5.DecimalPlaces = 0;
+            numberCellType5.MaximumValue = 9999999999999.99D;
+            numberCellType5.MinimumValue = -9999999999999.99D;
+            numberCellType5.NegativeRed = true;
+            numberCellType5.NullDisplay = "--";
+            numberCellType5.Separator = ",";
+            numberCellType5.ShowSeparator = true;
+            numberCellType5.ShrinkToFit = true;
+            this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5;
             this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice";
             this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
             this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가";
             this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumprice";
             this.fpSpread1_Sheet1.Columns.Get(17).Width = 119F;
-            numberCellType66.DecimalPlaces = 0;
-            numberCellType66.MaximumValue = 9999999999999.99D;
-            numberCellType66.MinimumValue = -9999999999999.99D;
-            numberCellType66.NegativeRed = true;
-            numberCellType66.NullDisplay = "--";
-            numberCellType66.Separator = ",";
-            numberCellType66.ShowSeparator = true;
-            numberCellType66.ShrinkToFit = true;
-            this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType66;
+            numberCellType6.DecimalPlaces = 0;
+            numberCellType6.MaximumValue = 9999999999999.99D;
+            numberCellType6.MinimumValue = -9999999999999.99D;
+            numberCellType6.NegativeRed = true;
+            numberCellType6.NullDisplay = "--";
+            numberCellType6.Separator = ",";
+            numberCellType6.ShowSeparator = true;
+            numberCellType6.ShrinkToFit = true;
+            this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6;
             this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt";
             this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
             this.fpSpread1_Sheet1.Columns.Get(18).Label = "합계금액";
             this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumamt";
             this.fpSpread1_Sheet1.Columns.Get(18).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
-            this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType134;
+            this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
             this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply";
             this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
             this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급업체";
             this.fpSpread1_Sheet1.Columns.Get(19).Tag = "supply";
             this.fpSpread1_Sheet1.Columns.Get(19).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
-            numberCellType67.DecimalPlaces = 0;
-            numberCellType67.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
-            numberCellType67.MaximumValue = 2147483647D;
-            numberCellType67.MinimumValue = -2147483648D;
-            this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType67;
+            numberCellType7.DecimalPlaces = 0;
+            numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+            numberCellType7.MaximumValue = 2147483647D;
+            numberCellType7.MinimumValue = -2147483648D;
+            this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType7;
             this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supplyidx";
             this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(20).Label = "*";
             this.fpSpread1_Sheet1.Columns.Get(20).Visible = false;
             this.fpSpread1_Sheet1.Columns.Get(20).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(21).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
-            numberCellType68.DecimalPlaces = 0;
-            numberCellType68.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
-            numberCellType68.MaximumValue = 2147483647D;
-            numberCellType68.MinimumValue = -2147483648D;
-            this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType68;
+            numberCellType8.DecimalPlaces = 0;
+            numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+            numberCellType8.MaximumValue = 2147483647D;
+            numberCellType8.MinimumValue = -2147483648D;
+            this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType8;
             this.fpSpread1_Sheet1.Columns.Get(21).DataField = "projectidx";
             this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(21).Label = "*";
             this.fpSpread1_Sheet1.Columns.Get(21).Tag = "projectidx";
             this.fpSpread1_Sheet1.Columns.Get(21).Visible = false;
             this.fpSpread1_Sheet1.Columns.Get(21).Width = 119F;
-            textCellType135.WordWrap = true;
-            this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType135;
+            textCellType15.WordWrap = true;
+            this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15;
             this.fpSpread1_Sheet1.Columns.Get(22).DataField = "bigo";
             this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
             this.fpSpread1_Sheet1.Columns.Get(22).Label = "비고(구매사유)\r\n(요청자)";
             this.fpSpread1_Sheet1.Columns.Get(22).Tag = "bigo";
             this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(22).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType136;
+            this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
             this.fpSpread1_Sheet1.Columns.Get(23).DataField = "edate";
             this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고예정";
             this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(23).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType137;
+            this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
             this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate";
             this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일";
             this.fpSpread1_Sheet1.Columns.Get(24).Tag = "indate";
             this.fpSpread1_Sheet1.Columns.Get(24).Width = 119F;
-            numberCellType69.DecimalPlaces = 0;
-            numberCellType69.NegativeRed = true;
-            numberCellType69.ShowSeparator = true;
-            this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType69;
+            numberCellType9.DecimalPlaces = 0;
+            numberCellType9.NegativeRed = true;
+            numberCellType9.ShowSeparator = true;
+            this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType9;
             this.fpSpread1_Sheet1.Columns.Get(25).DataField = "inqty";
             this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(25).Label = "입고수량";
             this.fpSpread1_Sheet1.Columns.Get(25).Tag = "inqty";
             this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(25).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType138;
+            this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18;
             this.fpSpread1_Sheet1.Columns.Get(26).DataField = "po";
             this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(26).Label = "PO#";
             this.fpSpread1_Sheet1.Columns.Get(26).Tag = "po";
             this.fpSpread1_Sheet1.Columns.Get(26).Width = 119F;
-            textCellType139.WordWrap = true;
-            this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType139;
+            textCellType19.WordWrap = true;
+            this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType19;
             this.fpSpread1_Sheet1.Columns.Get(27).DataField = "chkremark";
             this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
             this.fpSpread1_Sheet1.Columns.Get(27).Label = "비고\r\n(담당자)";
             this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
             this.fpSpread1_Sheet1.Columns.Get(27).Width = 119F;
-            this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType7;
+            this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType1;
             this.fpSpread1_Sheet1.Columns.Get(28).DataField = "isdel";
             this.fpSpread1_Sheet1.Columns.Get(28).Label = "삭제됨";
             this.fpSpread1_Sheet1.Columns.Get(28).Tag = "isdel";
             this.fpSpread1_Sheet1.Columns.Get(28).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(29).BackColor = System.Drawing.Color.Red;
-            this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType70;
+            this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType10;
             this.fpSpread1_Sheet1.Columns.Get(29).DataField = "idx";
             this.fpSpread1_Sheet1.Columns.Get(29).ForeColor = System.Drawing.Color.Red;
             this.fpSpread1_Sheet1.Columns.Get(29).Tag = "idx";
             this.fpSpread1_Sheet1.Columns.Get(29).Visible = false;
             this.fpSpread1_Sheet1.Columns.Get(29).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(30).BackColor = System.Drawing.Color.Red;
-            this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType140;
+            this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType20;
             this.fpSpread1_Sheet1.Columns.Get(30).DataField = "conf_status";
             this.fpSpread1_Sheet1.Columns.Get(30).ForeColor = System.Drawing.Color.Red;
             this.fpSpread1_Sheet1.Columns.Get(30).Tag = "conf_status";
             this.fpSpread1_Sheet1.Columns.Get(30).Visible = false;
             this.fpSpread1_Sheet1.Columns.Get(30).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(31).BackColor = System.Drawing.Color.Red;
-            this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType140;
+            this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType20;
             this.fpSpread1_Sheet1.Columns.Get(31).DataField = "conf_request";
             this.fpSpread1_Sheet1.Columns.Get(31).ForeColor = System.Drawing.Color.Red;
             this.fpSpread1_Sheet1.Columns.Get(31).Tag = "conf_request";
             this.fpSpread1_Sheet1.Columns.Get(31).Visible = false;
             this.fpSpread1_Sheet1.Columns.Get(31).Width = 119F;
             this.fpSpread1_Sheet1.Columns.Get(32).BackColor = System.Drawing.Color.Red;
-            this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType140;
+            this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType20;
             this.fpSpread1_Sheet1.Columns.Get(32).DataField = "conf_reponse";
             this.fpSpread1_Sheet1.Columns.Get(32).ForeColor = System.Drawing.Color.Red;
             this.fpSpread1_Sheet1.Columns.Get(32).Tag = "conf_reponse";
@@ -1164,52 +1210,6 @@
             this.label2.Text = "--";
             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
             // 
-            // 메일전송ToolStripMenuItem
-            // 
-            this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
-            this.현재목록ToolStripMenuItem,
-            this.선택목록ToolStripMenuItem,
-            this.toolStripSeparator7,
-            this.현재목록입고양식ToolStripMenuItem,
-            this.선택목록입고양식ToolStripMenuItem});
-            this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image")));
-            this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
-            this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
-            this.메일전송ToolStripMenuItem.Text = "메일 전송";
-            // 
-            // 현재목록ToolStripMenuItem
-            // 
-            this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem";
-            this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
-            this.현재목록ToolStripMenuItem.Text = "현재목록";
-            this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click);
-            // 
-            // 선택목록ToolStripMenuItem
-            // 
-            this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem";
-            this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
-            this.선택목록ToolStripMenuItem.Text = "선택목록";
-            this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click);
-            // 
-            // toolStripSeparator7
-            // 
-            this.toolStripSeparator7.Name = "toolStripSeparator7";
-            this.toolStripSeparator7.Size = new System.Drawing.Size(177, 6);
-            // 
-            // 현재목록입고양식ToolStripMenuItem
-            // 
-            this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem";
-            this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
-            this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)";
-            this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click);
-            // 
-            // 선택목록입고양식ToolStripMenuItem
-            // 
-            this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem";
-            this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
-            this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)";
-            this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click);
-            // 
             // fPurchaseEB
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs
index 1f6de53..b874d73 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.cs
@@ -16,6 +16,7 @@ using FCOMMON;
 using NetOffice.OfficeApi;
 using static System.Windows.Forms.VisualStyles.VisualStyleElement;
 using FarPoint.Win.Spread;
+using System.Net.NetworkInformation;
 
 namespace FEQ0000
 {
@@ -1015,7 +1016,7 @@ namespace FEQ0000
 
         private void 입고품목메일전송ToolStripMenuItem_Click(object sender, EventArgs e)
         {
-            
+
         }
 
         //string MakeDataTableToHTML(string savefilenamexls = "")
@@ -1382,21 +1383,62 @@ namespace FEQ0000
         List GetDatarows(bool all = false)
         {
             List rows = new List();
+            var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
+            var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
+            var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
 
             if (all)
             {
-                var drows = (dsPurchase.EETGW_PurchaseEBRow[])(this.dsPurchase.EETGW_PurchaseEB.Select(this.bs.Filter, this.bs.Sort));
-                foreach (var dr in drows)
-                    rows.Add(dr);
+                FarPoint.Win.Spread.HideRowFilter f = (FarPoint.Win.Spread.HideRowFilter)fpSpread1_Sheet1.RowFilter;
+                int[] FRows = f.GetIntersectedFilteredInRows();
+                if (FRows == null)
+                {
+                    var rowc = this.fpSpread1_Sheet1.RowCount;
+                    var colc = this.fpSpread1_Sheet1.ColumnCount;
+                    var drows = (dsPurchase.EETGW_PurchaseEBRow[])(this.dsPurchase.EETGW_PurchaseEB.Select(this.bs.Filter, this.bs.Sort));
+                    foreach (var dr in drows)
+                        rows.Add(dr);
+                }
+                else
+                {
+                    List rowidxs = new List();
+                    foreach (int i in FRows)
+                    {
+                        var row = this.fpSpread1_Sheet1.Rows[i];
+                        if (fpSpread1_Sheet1.IsRowBound(i))
+                        {
+                            rowidxs.Add(i);
+                        }
+                    }
+
+                    //수집된데이터를 보내야한다.
+                    var idx = 0;
+                    foreach (var i in rowidxs)
+                    {
+                        var rowidx = (int)fpSpread1.ActiveSheet.GetValue(i, idxcol.Index);
+                        var row = this.dsPurchase.EETGW_PurchaseEB.Where(t => t.idx == rowidx).First();
+                        rows.Add(row);
+                    }
+                    if (rows.Any() == false)
+                    {
+                        if (this.bs.Count > 0)
+                        {
+                            var drv = this.bs.Current as DataRowView;
+                            rows.Add(drv.Row as dsPurchase.EETGW_PurchaseEBRow);
+                        }
+                    }
+                }
+
+
+
+
             }
             else
             {
                 //선택된 자료의 데이터를 추출한다.
                 var selected = this.fpSpread1_Sheet1.GetSelections();   //선택된 개체확인
                 List rowidxs = new List();
-                var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
-                var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
-                var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
+              
                 foreach (var item in selected)
                 {
                     for (int i = item.Row; i < item.Row + item.RowCount; i++)
@@ -1407,22 +1449,22 @@ namespace FEQ0000
                             {
                                 var confsta = fpSpread1.ActiveSheet.GetValue(i, idxconf.Index);
                                 var state = fpSpread1.ActiveSheet.GetValue(i, idxstatus.Index);
-                                if (state != null && state.ToString() != "---")
-                                {
-                                    FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신규 요청데이터가 아닙니다");
-                                }
+                                //if (state != null && state.ToString() != "---")
+                                //{
+                                //    FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신규 요청데이터가 아닙니다");
+                                //}
                                 //else if (confsta != null && confsta.ToString() != "0")
                                 //{
                                 //    FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신청이 완료된 자료 입니다");
                                 //}
-                                else rowidxs.Add(i);
+                                //else 
+                                rowidxs.Add(i);
                             }
                         }
                     }
                 }
 
                 //수집된데이터를 보내야한다.
-
                 var idx = 0;
                 foreach (var i in rowidxs)
                 {
@@ -1439,7 +1481,7 @@ namespace FEQ0000
                     }
                 }
             }
-     
+
             return rows;
 
         }
@@ -1463,7 +1505,7 @@ namespace FEQ0000
 
         private void 현재목록메일전송ToolStripMenuItem_Click(object sender, EventArgs e)
         {
-            
+
         }
 
         private void 상태일괄변경ToolStripMenuItem_Click(object sender, EventArgs e)
@@ -1613,7 +1655,7 @@ namespace FEQ0000
 
         private void 현재목록입고양식ToolStripMenuItem_Click(object sender, EventArgs e)
         {
-            MailSendNoForm(true,"PF");
+            MailSendNoForm(true, "PF");
 
         }
 
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx
index c33477f..21f706b 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.resx
@@ -259,41 +259,6 @@
         hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
         9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
-
-  
-  
-    
-        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
-        YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
-        0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
-        bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
-        VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
-        c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
-        Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
-        mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
-        kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
-        TgDQASA1MVpwzwAAAABJRU5ErkJggg==
-
-  
-  
-    
-        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvFu4ULMSFIiZW0JCci5EF4hU
-        OsZHZoEYslIgFMs6LUioQIsBZHCoKwo1ZVBqaR1DsFIrjiBoZwWDURNGsWvnGSNQoSsg/bBWqodtkhB/
-        I7XLZvTW5/Z9n+ef/xv2f1TTZPgZa10j+bN4ouZe2UbF7a83SoyFE0WDuQ25AwNbhCMrH4RW30ZBNbCa
-        LTWOm/M3MOq8DePiLTx4YoXeeglf6tjqiv7FY6U9846vtHZWSPkPue1kjuH3Xow5R9Frv4xKawMkv5AY
-        nLuG7D62P69X83FpzyN/zz0fJBcXwJHbckLq5svT5PZT5mp6fHEcrdMqCKaOo9h8HF0zPVDf7USGOuXY
-        kW6Huu2GG8bfaGjGvGA3memMqontwQA5KZEZ7ddxfvYi+FMi5E8IccLSBJ1VhwzlAVuxZib+MDm9MfLw
-        BRS3fBgwB1DZPYsD5WOyYODE3RKb6Y9RiCwnUbApCyfF0NkNEBlKkdSSwCxUztxvM7rwoyWAKv0KZMNe
-        tAwtI14wbAsGykzF68POn1BhqUcrpcSVuUGcNbVi/7ef/lDYMcvNIB/+dWVyFRK9CyXfL0GoWcJ3192I
-        410NBANFQ9zApGcKV+eGoLqjBOv0fn+idF/jiJj8UFV9ITKTNFOdN92o0btR1O4Er82BlkEXdrEv0MEA
-        tz/b1nmnHZ93sp4kyxPEJnFezEs+v/7vbK6fPniISKm+T5299hii7mVwmhdQol6CqMuO3Vldr7+QqUmT
-        pHYwhbaqw1HrR48q1ng8mm78Bmv5BaCTU4mkchMlNSziiNKJrLo5yAxusCvHEZXe/vqIqK3d9rK8TOsV
-        CNbXmmVYNejg7+/F86xDoOMTiX2CEaquz4HCVgfIzTvwzvyK6HQ5HclsZgQDr0QixhqfT7/QnsOzgX64
-        pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
-        fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
-        brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
 
   
   
@@ -347,6 +312,41 @@
         iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
         DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
         AAAASUVORK5CYII=
+
+  
+  
+    
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+        YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+        0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+        bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+        VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+        c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+        Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+        mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+        kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+        TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+
+  
+  
+    
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvFu4ULMSFIiZW0JCci5EF4hU
+        OsZHZoEYslIgFMs6LUioQIsBZHCoKwo1ZVBqaR1DsFIrjiBoZwWDURNGsWvnGSNQoSsg/bBWqodtkhB/
+        I7XLZvTW5/Z9n+ef/xv2f1TTZPgZa10j+bN4ouZe2UbF7a83SoyFE0WDuQ25AwNbhCMrH4RW30ZBNbCa
+        LTWOm/M3MOq8DePiLTx4YoXeeglf6tjqiv7FY6U9846vtHZWSPkPue1kjuH3Xow5R9Frv4xKawMkv5AY
+        nLuG7D62P69X83FpzyN/zz0fJBcXwJHbckLq5svT5PZT5mp6fHEcrdMqCKaOo9h8HF0zPVDf7USGOuXY
+        kW6Huu2GG8bfaGjGvGA3memMqontwQA5KZEZ7ddxfvYi+FMi5E8IccLSBJ1VhwzlAVuxZib+MDm9MfLw
+        BRS3fBgwB1DZPYsD5WOyYODE3RKb6Y9RiCwnUbApCyfF0NkNEBlKkdSSwCxUztxvM7rwoyWAKv0KZMNe
+        tAwtI14wbAsGykzF68POn1BhqUcrpcSVuUGcNbVi/7ef/lDYMcvNIB/+dWVyFRK9CyXfL0GoWcJ3192I
+        410NBANFQ9zApGcKV+eGoLqjBOv0fn+idF/jiJj8UFV9ITKTNFOdN92o0btR1O4Er82BlkEXdrEv0MEA
+        tz/b1nmnHZ93sp4kyxPEJnFezEs+v/7vbK6fPniISKm+T5299hii7mVwmhdQol6CqMuO3Vldr7+QqUmT
+        pHYwhbaqw1HrR48q1ng8mm78Bmv5BaCTU4mkchMlNSziiNKJrLo5yAxusCvHEZXe/vqIqK3d9rK8TOsV
+        CNbXmmVYNejg7+/F86xDoOMTiX2CEaquz4HCVgfIzTvwzvyK6HQ5HclsZgQDr0QixhqfT7/QnsOzgX64
+        pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
+        fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
+        brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
 
   
   
diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs
index 9461d77..d5f14b8 100644
--- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs
+++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs
@@ -1082,21 +1082,59 @@ namespace FEQ0000
         List GetDatarows(bool all = false)
         {
             List rows = new List();
+            var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
+            var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
+            var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
 
             if (all)
             {
-                var drows = (dsPurchase.PurchaseRow[])(this.dsPurchase.Purchase.Select(this.bs.Filter, this.bs.Sort)); ;
-                foreach (var dr in drows)
-                    rows.Add(dr);
+                FarPoint.Win.Spread.HideRowFilter f = (FarPoint.Win.Spread.HideRowFilter)fpSpread1_Sheet1.RowFilter;
+                int[] FRows = f.GetIntersectedFilteredInRows();
+                if (FRows == null)
+                {
+                    var rowc = this.fpSpread1_Sheet1.RowCount;
+                    var colc = this.fpSpread1_Sheet1.ColumnCount;
+                    var drows = (dsPurchase.PurchaseRow[])(this.dsPurchase.Purchase.Select(this.bs.Filter, this.bs.Sort));
+                    foreach (var dr in drows)
+                        rows.Add(dr);
+                }
+                else
+                {
+                    List rowidxs = new List();
+                    foreach (int i in FRows)
+                    {
+                        var row = this.fpSpread1_Sheet1.Rows[i];
+                        if (fpSpread1_Sheet1.IsRowBound(i))
+                        {
+                            rowidxs.Add(i);
+                        }
+                    }
+
+                    //수집된데이터를 보내야한다.
+                    var idx = 0;
+                    foreach (var i in rowidxs)
+                    {
+                        var rowidx = (int)fpSpread1.ActiveSheet.GetValue(i, idxcol.Index);
+                        var row = this.dsPurchase.Purchase.Where(t => t.idx == rowidx).First();
+                        rows.Add(row);
+                    }
+                    if (rows.Any() == false)
+                    {
+                        if (this.bs.Count > 0)
+                        {
+                            var drv = this.bs.Current as DataRowView;
+                            rows.Add(drv.Row as dsPurchase.PurchaseRow);
+                        }
+                    }
+                }
+
+
             }
             else
             {
                 //선택된 자료의 데이터를 추출한다.
                 var selected = this.fpSpread1_Sheet1.GetSelections();   //선택된 개체확인
                 List rowidxs = new List();
-                var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
-                var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
-                var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
                 foreach (var item in selected)
                 {
                     for (int i = item.Row; i < item.Row + item.RowCount; i++) |