Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 314)
@@ -2482,7 +2482,7 @@
                 string strSQL = "SELECT A.MONTHLYSALARY, A.YEARSALARY, A.PERSONCODE, A.STARTDATE FROM PERSONSALARYMASTER A,";
                 strSQL += " (SELECT PERSONCODE, MAX(STARTDATE) sDate FROM PERSONSALARYMASTER";
                 strSQL += string.Format(" WHERE PERSONCODE = {0}", PersonCode);
-                strSQL += string.Format(" AND DATE(NOW()) <= STR_TO_DATE('{0}', '%Y/%m/%d')", GetData.ToShortDateString());
+                strSQL += string.Format(" AND DATE(NOW()) <= '{0}'", GetData.ToShortDateString());
                 strSQL += " GROUP BY PERSONCODE) B";
                 strSQL += " WHERE A.PERSONCODE = B.PERSONCODE AND A.STARTDATE = B.sDate";
 
Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 314)
@@ -14,7 +14,7 @@
         /// <summary>
         /// æœ¬ä½“ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
         /// </summary>
-        public static int s_SystemVersion = 132;
+        public static int s_SystemVersion = 133;
 
         /// <summary>
         /// ã‚³ãƒ”ãƒ¼ãƒ»ç’°å¢ƒãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 314)
@@ -871,7 +871,7 @@
             {
                 // ã‚­ãƒ¼ä½œæˆ�
                 string strSQL = LedgerExDB.CreatePrimarykeyString(ConstrCode, GroupCount, LineCount, ColumnCount);
-                strSQL += string.Format(" AND DATE(TargetMonth) = STR_TO_DATE('{0}','%Y/%m/%d')", ColumnDate.ToShortDateString());
+                strSQL += string.Format(" AND DATE(TargetMonth) = '{0}'", ColumnDate.ToShortDateString());
 
                 // ãƒ‡ãƒ¼ã‚¿èª­è¾¼ã�¿
                 List<ConstructionLedgerExcute> LedgerExDBList = new List<ConstructionLedgerExcute>();
@@ -1302,10 +1302,10 @@
                 if (!ExecDB.ExecuteReader(strSQL.ToString(), ref ExecList, false)) return false;
 
                 bool bExists = false;
-                object[] objRec = (object[])ExecList[0];
                 // æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�¦å®Ÿè¡Œãƒ‡ãƒ¼ã‚¿ã‚‚å­˜åœ¨ã�™ã‚‹å ´å�ˆ
                 if (ExecList.Count > 0)
                 {
+                    object[] objRec = (object[])ExecList[0];
                     ExcuteRec.LineCount = CommonMotions.cnvInt(objRec[2]);
                     DetailRec.LineCount = ExcuteRec.LineCount;
                     if (CommonMotions.cnvInt(objRec[3]) != 0)
@@ -1377,16 +1377,17 @@
         }
         #endregion
 
-        #region å·¥äº‹è©³ç´°å�°å¸³æ”¯æ‰•ã�„ãƒ‡ãƒ¼ã‚¿å‰Šé™¤ï¼ˆæ‰‹é–“ãƒ»æ¥­è€…æ”¯æ‰•ç”¨ï¼‰
+        #region å·¥äº‹è©³ç´°å�°å¸³æ”¯æ‰•ã�„ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ï¼ˆæ‰‹é–“ãƒ»æ¥­è€…æ”¯æ‰•ç”¨ï¼‰
         /// <summary>
-        /// å·¥äº‹è©³ç´°å�°å¸³æ”¯æ‰•ã�„ãƒ‡ãƒ¼ã‚¿å‰Šé™¤ï¼ˆæ‰‹é–“ãƒ»æ¥­è€…æ”¯æ‰•ç”¨ï¼‰
+        /// å·¥äº‹è©³ç´°å�°å¸³æ”¯æ‰•ã�„ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ï¼ˆæ‰‹é–“ãƒ»æ¥­è€…æ”¯æ‰•ç”¨ï¼‰
         /// </summary>
         /// <param name="EntryList"></param>
         /// <returns></returns>
-        public static bool RemoveExecuteData(IOConstructionLedgerDetail DetailDB
+        public static bool ModifyExecuteData(IOConstructionLedgerDetail DetailDB
                                             , IOConstructionLedgerExcute ExecDB
                                             , ConstructionLedgerDetail DetailRec
-                                            , ConstructionLedgerExcute ExcuteRec)
+                                            , ConstructionLedgerExcute ExcuteRec
+                                            , bool bRemove)
         {
             try
             {
@@ -1418,9 +1419,9 @@
                 ArrayList ExecList = new ArrayList();
                 if (!ExecDB.ExecuteReader(strSQL.ToString(), ref ExecList, false)) return false;
 
+                // æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�ªã�„å ´å�ˆ
+                if (ExecList.Count < 1) return true;
                 object[] objRec = (object[])ExecList[0];
-                // æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�ªã�„å ´å�ˆ
-                if (ExecList.Count < 0) return true;
 
                 ExcuteRec.LineCount = CommonMotions.cnvInt(objRec[2]);
                 DetailRec.LineCount = ExcuteRec.LineCount;
@@ -1430,6 +1431,9 @@
                     return true;
                 }
 
+                double SetValue = 0;
+                // å‰Šé™¤æ™‚ã�¯é‡‘é¡�ã‚’ï¼�ã�«ã�™ã‚‹
+                if (!bRemove) SetValue = ExcuteRec.PaymentAmount;
                 // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨æ™‚ã�¯æ”¯æ‰•é‡‘é¡�æ›´æ–°
                 if (!ExecDB.UpdateFeild(ExcuteRec.ConstructionCode,
                                     ExcuteRec.GroupCount,
@@ -1436,7 +1440,7 @@
                                     ExcuteRec.LineCount,
                                     ExcuteRec.ColumnCount,
                                     (int)IOConstructionLedgerExcute.TableColumn.PaymentAmount,
-                                    0,
+                                    SetValue,
                                     false))
                 {
                     return false;
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBankBusinessDayMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBankBusinessDayMaster.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBankBusinessDayMaster.cs	(revision 314)
@@ -227,7 +227,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
 
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingData.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingData.cs	(revision 314)
@@ -54,7 +54,7 @@
 
         #endregion
 
-        #region ãƒ‘ãƒ–ãƒªãƒƒã‚¯ãƒ¡ã‚½ãƒƒãƒ‰
+        #region ãƒ‡ãƒ¼ã‚¿æ¤œç´¢
         /// <summary>
         /// ãƒ‡ãƒ¼ã‚¿æ¤œç´¢
         /// </summary>
@@ -72,9 +72,12 @@
             {
                 // SQLä½œæˆ�ï¼ˆDateTimeåž‹ã�Œå¤‰æ�›ã�§ã��ã�ªã�„ã�®ã�§Charã�«å¤‰æ�›ã�—ã�¦ã�Šã��ï¼‰
                 strcmd.Append("SELECT");
-                strcmd.Append(" CompanyCode,TargetDate,SeqNo,BillPrice");
-                strcmd.Append(" ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')");
-                strcmd.Append(" ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')");
+                strcmd.Append("  CompanyCode");
+                strcmd.Append(", TargetDate");
+                strcmd.Append(", SeqNo");
+                strcmd.Append(", BillPrice");
+                strcmd.Append(", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')");
+                strcmd.Append(", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')");
                 strcmd.Append(" FROM BillingData");
                 strcmd.Append(AddSQLString);
 
@@ -98,13 +101,62 @@
             }
 
         }
+        #endregion
 
+        #region æ–°è¦�ç™»éŒ²ï¼ˆ1ä»¶ï¼‰
         /// <summary>
-        /// æ–°è¦�ç™»éŒ²
+        /// æ–°è¦�ç™»éŒ²ï¼ˆ1ä»¶ï¼‰
         /// </summary>
         /// <param name="data"></param>
         /// <param name="bConnect"></param>
         /// <returns></returns>
+        public bool InsertAction(BillingData data, bool bConnect = true)
+        {
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+
+                strcmd.Clear();
+                strcmd.Append("INSERT INTO BillingData");
+
+                strcmd.Append(" (");
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bFirst) strcmd.Append(" ,");
+                    strcmd.Append(gender.ToString());
+                    bFirst = false;
+                }
+                strcmd.Append(") VALUES (");
+
+                strcmd.AppendFormat("  {0}", data.CompanyCode.ToString());
+                strcmd.AppendFormat(", {0}", data.TargetDate.ToString());
+                strcmd.AppendFormat(", {0}", data.SeqNo.ToString());
+                strcmd.AppendFormat(", {0}", data.BillPrice.ToString());
+
+                strcmd.Append(", NOW()");
+                strcmd.Append(", NOW()");
+                strcmd.Append(")");
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region æ–°è¦�ç™»éŒ²ï¼ˆè¤‡æ•°ï¼‰
+        /// <summary>
+        /// æ–°è¦�ç™»éŒ²ï¼ˆè¤‡æ•°ï¼‰
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
         public bool InsertAction(List<BillingData> data, bool bConnect = true)
         {
             StringBuilder strcmd = new StringBuilder();
@@ -111,13 +163,27 @@
             try
             {
 
+                strcmd.Clear();
+                strcmd.Append("INSERT INTO BillingData");
+
+                strcmd.Append(" (");
+
+                bool bColFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bColFirst) strcmd.Append(", ");
+                    strcmd.Append(gender.ToString());
+                    bColFirst = false;
+                }
+
+                strcmd.Append(") VALUES");
+
+                bool bDataFirst = true;
                 foreach (BillingData work in data)
                 {
-                    strcmd.Clear();
-                    strcmd.Append("INSERT INTO BillingData");
+                    if (bDataFirst) strcmd.Append(" (");
+                    else strcmd.Append(", (");
 
-                    strcmd.Append(" VALUES (");
-
                     strcmd.AppendFormat("  {0}", work.CompanyCode.ToString());
                     strcmd.AppendFormat(", {0}", work.TargetDate.ToString());
                     strcmd.AppendFormat(", {0}", work.SeqNo.ToString());
@@ -127,8 +193,11 @@
                     strcmd.Append(", NOW()");
                     strcmd.Append(")");
 
-                    if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+                    bDataFirst = false;
                 }
+                
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+                
                 return true;
             }
             catch (Exception ex)
@@ -137,7 +206,9 @@
                 return false;
             }
         }
+        #endregion
 
+        #region æ›´æ–°ç™»éŒ²
         /// <summary>
         /// æ›´æ–°ç™»éŒ²
         /// </summary>
@@ -170,8 +241,58 @@
                 return false;
             }
         }
+        #endregion
 
+        #region 1é …ç›®æ›´æ–°å‡¦ç�†
         /// <summary>
+        /// 1é …ç›®ã�®æ›´æ–°ã‚’è¡Œã�†
+        /// </summary>
+        /// <param name="CompanyCode"></param>
+        /// <param name="FeildNo"></param>
+        /// <param name="value"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool UpdateFeild(int CompanyCode, int TargetDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
+        {
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+                strcmd.Append("UPDATE BillingData");
+
+                strcmd.Append(" SET");
+                switch (FeildNo)
+                {
+                    case (int)NameColumn.CompanyCode:
+                        strcmd.AppendFormat(" CompanyCode = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.TargetDate:
+                        strcmd.AppendFormat(" TargetDate = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.SeqNo:
+                        strcmd.AppendFormat(" SeqNo = {0}", ((int)value).ToString());
+                        break;
+                    case (int)NameColumn.BillPrice:
+                        strcmd.AppendFormat(" BillPrice = {0}", ((long)value).ToString());
+                        break;
+                }
+
+                strcmd.Append(", UpdateDate = NOW()");
+                strcmd.Append(CreatePrimarykeyString(CompanyCode, TargetDate, SeqNo));
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region å‰Šé™¤
+        /// <summary>
         /// å‰Šé™¤
         /// </summary>
         /// <param name="AddSQLString"></param>
@@ -195,7 +316,9 @@
                 return false;
             }
         }
+        #endregion
 
+        #region æ§‹é€ ä½“ã�¸ã‚»ãƒƒãƒˆ
         /// <summary>
         /// æ§‹é€ ä½“ã�¸ã‚»ãƒƒãƒˆ
         /// </summary>
@@ -220,15 +343,12 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
-
-
         #endregion
 
-        #region ãƒ‘ãƒ–ãƒªãƒƒã‚¯ãƒ¡ã‚½ãƒƒãƒ‰ï¼ˆç‰¹æ®Šå‡¦ç�†ï¼‰
-
+        #region ä¸»ã‚­ãƒ¼æ¤œç´¢ã�®æ–‡å­—åˆ—ã‚’è¿”ã�™
         /// <summary>
         /// ä¸»ã‚­ãƒ¼æ¤œç´¢ã�®æ–‡å­—åˆ—ã‚’è¿”ã�™
         /// </summary>
@@ -249,7 +369,9 @@
 
             return strWork.ToString();
         }
+        #endregion
 
+        #region è¡Œãƒ­ãƒƒã‚¯
         /// <summary>
         /// è¡Œãƒ­ãƒƒã‚¯
         /// </summary>
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingDataDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingDataDetail.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingDataDetail.cs	(revision 314)
@@ -347,7 +347,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingPaymentSummary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingPaymentSummary.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingPaymentSummary.cs	(revision 314)
@@ -63,7 +63,7 @@
 
         #endregion
 
-        #region ãƒ‘ãƒ–ãƒªãƒƒã‚¯ãƒ¡ã‚½ãƒƒãƒ‰
+        #region æ¤œç´¢
         /// <summary>
         /// æ¤œç´¢
         /// </summary>
@@ -118,11 +118,68 @@
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
                 return false;
             }
+        }
+        #endregion
 
+        #region æ–°è¦�ç™»éŒ²ï¼ˆ1ä»¶ï¼‰
+        /// <summary>
+        /// æ–°è¦�ç™»éŒ²ï¼ˆ1ä»¶ï¼‰
+        /// </summary>
+        /// <param name="data"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public bool InsertAction(BillingPaymentSummary work, bool bConnect = true)
+        {
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+
+                strcmd.Clear();
+                strcmd.Append("INSERT INTO BillingPaymentSummary");
+
+                strcmd.Append(" (");
+                bool bFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bFirst) strcmd.Append(" ,");
+                    strcmd.Append(gender.ToString());
+                    bFirst = false;
+                }
+                strcmd.Append(") VALUES (");
+
+                strcmd.AppendFormat("  {0}", work.CompanyCode.ToString());
+                strcmd.AppendFormat(", {0}", work.TargetDate.ToString());
+                strcmd.AppendFormat(", {0}", work.ChargePaymentKind.ToString());
+                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d')", work.Payday.ToShortDateString());
+                strcmd.AppendFormat(", {0}", work.BillPriceStotal.ToString());
+                strcmd.AppendFormat(", {0}", work.ConsumptionTaxRate.ToString());
+                strcmd.AppendFormat(", {0}", work.ConsumptionTaxPrice.ToString());
+                strcmd.AppendFormat(", {0}", work.HighwPriceStotal.ToString());
+                strcmd.AppendFormat(", {0}", work.HardwPriceStotal.ToString());
+                strcmd.AppendFormat(", {0}", work.IndsWasteTaxStotal.ToString());
+                strcmd.AppendFormat(", {0}", work.CnstrPriceRate.ToString());
+                strcmd.AppendFormat(", {0}", work.CnstrPriceStotal.ToString());
+                strcmd.AppendFormat(", {0}", work.BillingPriceTotal.ToString());
+
+                strcmd.Append(", NOW()");
+                strcmd.Append(", NOW()");
+                strcmd.Append(")");
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
         }
+        #endregion
 
+        #region æ–°è¦�ç™»éŒ²ï¼ˆè¤‡æ•°ï¼‰
         /// <summary>
-        /// æ–°è¦�ç™»éŒ²
+        /// æ–°è¦�ç™»éŒ²ï¼ˆè¤‡æ•°)
         /// </summary>
         /// <param name="data"></param>
         /// <param name="bConnect"></param>
@@ -133,13 +190,27 @@
             try
             {
 
+                strcmd.Clear();
+                strcmd.Append("INSERT INTO BillingPaymentSummary");
+
+                strcmd.Append(" (");
+
+                bool bColFirst = true;
+                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
+                {
+                    if (!bColFirst) strcmd.Append(", ");
+                    strcmd.Append(gender.ToString());
+                    bColFirst = false;
+                }
+                strcmd.Append(") VALUES");
+
+                bool bDataFirst = true;
+
                 foreach (BillingPaymentSummary work in data)
                 {
-                    strcmd.Clear(); 
-                    strcmd.Append("INSERT INTO BillingPaymentSummary");
+                    if (bDataFirst) strcmd.Append(" (");
+                    else strcmd.Append(", (");
 
-                    strcmd.Append(" VALUES (");
-
                     strcmd.AppendFormat("  {0}", work.CompanyCode.ToString());
                     strcmd.AppendFormat(", {0}", work.TargetDate.ToString());
                     strcmd.AppendFormat(", {0}", work.ChargePaymentKind.ToString());
@@ -158,8 +229,11 @@
                     strcmd.Append(", NOW()");
                     strcmd.Append(")");
 
-                    if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+                    bDataFirst = false;
                 }
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
                 return true;
             }
             catch (Exception ex)
@@ -168,7 +242,9 @@
                 return false;
             }
         }
+        #endregion
 
+        #region æ›´æ–°ç™»éŒ²
         /// <summary>
         /// æ›´æ–°ç™»éŒ²
         /// </summary>
@@ -212,7 +288,9 @@
                 return false;
             }
         }
+        #endregion
 
+        #region å‰Šé™¤
         /// <summary>
         /// å‰Šé™¤
         /// </summary>
@@ -237,7 +315,9 @@
                 return false;
             }
         }
+        #endregion
 
+        #region æ§‹é€ ä½“è¨­å®š
         /// <summary>
         /// æ§‹é€ ä½“è¨­å®š
         /// </summary>
@@ -274,13 +354,12 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
 
-        #region ãƒ‘ãƒ–ãƒªãƒƒã‚¯ãƒ¡ã‚½ãƒƒãƒ‰ï¼ˆç‰¹æ®Šå‡¦ç�†ï¼‰
-
+        #region è¡Œãƒ­ãƒƒã‚¯
         /// <summary>
         /// è¡Œãƒ­ãƒƒã‚¯
         /// </summary>
@@ -312,13 +391,20 @@
 
 
         }
+        #endregion
 
-        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int ChargePaymentKind)
+        #region ãƒ—ãƒ©ã‚¤ãƒžãƒªã‚­ãƒ¼ä½œæˆ�
+        /// <summary>
+        /// ãƒ—ãƒ©ã‚¤ãƒžãƒªã‚­ãƒ¼ä½œæˆ�
+        /// </summary>
+        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int ChargePaymentKind = -1)
         {
             StringBuilder strWork = new StringBuilder();
             try
             {
-                strWork.AppendFormat(" Where CompanyCode = {0} and TargetDate = {1} and ChargePaymentKind = {2}", CompanyCode, TargetDate, ChargePaymentKind);
+                strWork.AppendFormat(" Where CompanyCode = {0}", CompanyCode);
+                strWork.AppendFormat(" And TargetDate = {0}", TargetDate);
+                if (ChargePaymentKind > -1) strWork.AppendFormat(" And ChargePaymentKind = {0}", ChargePaymentKind);
 
             }
             catch (Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOConstructionMaterialInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOConstructionMaterialInfo.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOConstructionMaterialInfo.cs	(revision 314)
@@ -243,7 +243,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODeadLineMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODeadLineMaster.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODeadLineMaster.cs	(revision 314)
@@ -234,7 +234,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
 
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositApprovalInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositApprovalInfo.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositApprovalInfo.cs	(revision 314)
@@ -340,7 +340,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositData.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositData.cs	(revision 314)
@@ -346,7 +346,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositDataDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositDataDetail.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositDataDetail.cs	(revision 314)
@@ -311,7 +311,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
@@ -350,7 +350,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOInvoiceData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOInvoiceData.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOInvoiceData.cs	(revision 314)
@@ -340,7 +340,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
@@ -387,7 +387,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMCategoryName.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMCategoryName.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMCategoryName.cs	(revision 314)
@@ -276,7 +276,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
 
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialInfo.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialInfo.cs	(revision 314)
@@ -226,7 +226,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialRecordInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialRecordInfo.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialRecordInfo.cs	(revision 314)
@@ -248,7 +248,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialTypes.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialTypes.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialTypes.cs	(revision 314)
@@ -223,7 +223,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
 
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentApprovalInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentApprovalInfo.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentApprovalInfo.cs	(revision 314)
@@ -377,7 +377,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentDataDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentDataDetail.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentDataDetail.cs	(revision 314)
@@ -369,7 +369,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
 
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestData.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestData.cs	(revision 314)
@@ -344,7 +344,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
@@ -387,7 +387,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestDataDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestDataDetail.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestDataDetail.cs	(revision 314)
@@ -293,7 +293,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
@@ -325,7 +325,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestHead.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestHead.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestHead.cs	(revision 314)
@@ -348,7 +348,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
@@ -394,7 +394,7 @@
             }
             catch (Exception ex)
             {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(), ex.Message);
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼šï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
         #endregion
Index: branches/src/ProcessManagement/ProcessManagement/DataModel/ConstructionLedgerDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DataModel/ConstructionLedgerDetail.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/DataModel/ConstructionLedgerDetail.cs	(revision 314)
@@ -50,6 +50,23 @@
         }
         #endregion
 
+        #region å·¥äº‹è©³ç´°å�°å¸³æ˜Žç´°ï¼šç‹¬ç«‹ãƒ‡ãƒ¼ã‚¿ãƒ•ãƒ©ã‚°
+        /// <summary>
+        /// ç‹¬ç«‹ãƒ‡ãƒ¼ã‚¿ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public enum IndependentFlgDef
+        {
+            /// <summary>
+            /// å¾“å±žãƒ‡ãƒ¼ã‚¿
+            /// </summary>
+            LowOrder = 0,
+            /// <summary>
+            /// ç‹¬ç«‹ãƒ‡ãƒ¼ã‚¿
+            /// </summary>
+            Independent,
+        }
+        #endregion
+
         #region å·¥äº‹è©³ç´°å�°å¸³æ˜Žç´°ï¼šå¢—æ¸›å·¥äº‹ãƒ•ãƒ©ã‚°
         /// <summary>
         /// å·¥äº‹è©³ç´°å�°å¸³ï¼šå¢—æ¸›å·¥äº‹ãƒ•ãƒ©ã‚°
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 314)
@@ -1246,7 +1246,6 @@
         /// </summary>
         private void DispTreeViewComment()
         {
-            IOProcessApprovalComment CommentDB = new IOProcessApprovalComment();
             try
             {
                 // Clear
@@ -1253,11 +1252,20 @@
                 tvDispData.Nodes.Clear();
 
                 // Comment Data Get
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(CommentDB.CreatePrimarykeyString(m_ConstructionCode, m_ApprovalCode, m_OrderNo));
                 List<ProcessApprovalComment> CommentList = new List<ProcessApprovalComment>();
-                if (!CommentDB.SelectAction(strSQL.ToString(), ref CommentList)) return;
 
+                switch (m_ApprovalCode)
+                {
+                    case (int)ClsExcute.ApprovalListNo.EstimateApproval:
+                    case (int)ClsExcute.ApprovalListNo.EstimateBudgetApproval:
+                        GetEstimateComment(ref  CommentList);
+                        break;
+                    default:
+                        // é€šå¸¸å�–å¾—
+                        GetNormalComment(ref  CommentList);
+                        break;
+                }
+
                 // Display Node at Loop
                 TreeNode treeNode = null;
                 for (int nCommentCnt = 0; nCommentCnt < CommentList.Count; nCommentCnt++)
@@ -1280,6 +1288,24 @@
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
+        }
+        #endregion
+
+        #region ã‚³ãƒ¡ãƒ³ãƒˆé€šå¸¸å�–å¾—å‡¦ç�†
+        /// <summary>
+        /// ã‚³ãƒ¡ãƒ³ãƒˆé€šå¸¸å�–å¾—å‡¦ç�†
+        /// </summary>
+        /// <param name="CommentList"></param>
+        private void GetNormalComment(ref List<ProcessApprovalComment> CommentList)
+        {
+            IOProcessApprovalComment CommentDB = new IOProcessApprovalComment();
+            try
+            {
+                // Comment Data Get
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(CommentDB.CreatePrimarykeyString(m_ConstructionCode, m_ApprovalCode, m_OrderNo));
+                if (!CommentDB.SelectAction(strSQL.ToString(), ref CommentList)) return;
+            }
             finally
             {
                 CommentDB.close(); CommentDB = null;
@@ -1287,6 +1313,45 @@
         }
         #endregion
 
+        #region ã‚³ãƒ¡ãƒ³ãƒˆé€šå¸¸å�–å¾—å‡¦ç�†
+        /// <summary>
+        /// ã‚³ãƒ¡ãƒ³ãƒˆé€šå¸¸å�–å¾—å‡¦ç�†
+        /// </summary>
+        /// <param name="CommentList"></param>
+        private void GetEstimateComment(ref List<ProcessApprovalComment> CommentList)
+        {
+            IOProcessApprovalComment CommentDB = new IOProcessApprovalComment();
+            try
+            {
+                // Comment Data Get
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("Select * From processapprovalcomment As ComData");
+                strSQL.AppendFormat(" Where ComData.ConstructionCode = {0}", m_ConstructionCode);
+                strSQL.AppendFormat(" And ComData.ConstructionCode = {0}", m_ConstructionCode);
+                strSQL.AppendFormat(" And ApprovalCode In ({0}, {1})", (int)ClsExcute.ApprovalListNo.EstimateApproval
+                                                                        , (int)ClsExcute.ApprovalListNo.EstimateBudgetApproval);
+                strSQL.AppendFormat(" And OrderNo = {0}", m_OrderNo);
+                strSQL.Append(" Group by");
+                strSQL.Append(" ComData.ConstructionCode");
+                strSQL.Append(", ComData.OrderNo");
+                strSQL.Append(", ComData.CommentNo");
+                ArrayList arList = new ArrayList();
+                if (!CommentDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
+                foreach (object[] objRec in arList)
+                {
+                    ProcessApprovalComment ComRec = new ProcessApprovalComment();
+                    CommentDB.Reader2Struct(objRec, ref ComRec);
+                    CommentList.Add(ComRec);
+                }
+            }
+            finally
+            {
+                CommentDB.close(); CommentDB = null;
+            }
+        }
+        #endregion
+
         #region æ–‡å­—åˆ—ã�®æŒ‡å®šä½�ç½®ã�«æ”¹è¡Œã‚³ãƒ¼ãƒ‰ã‚’å…¥ã‚Œã‚‹
         /// <summary>
         /// æ–‡å­—åˆ—ã�®æŒ‡å®šä½�ç½®ã�«æ”¹è¡Œã‚³ãƒ¼ãƒ‰ã‚’å…¥ã‚Œã‚‹
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 314)
@@ -451,7 +451,9 @@
         /// <summary>
         /// �s‘I‘ð�F
         /// </summary>
-        private static Color s_RowSelectColor = Color.GreenYellow;
+        //private static Color s_RowSelectColor = Color.GreenYellow;
+        private static Color s_RowBackSelectColor = SystemColors.Highlight;
+        private static Color s_RowForeSelectColor = SystemColors.HighlightText;
         #endregion
 
         #region Žx•¥—“�‡Œv�EŽÀ�Ñ
@@ -603,6 +605,19 @@
         /// </summary>
         private ToolTip m_HeaderToolTip = null;
 
+        /// <summary>
+        /// �I—¹�ó‘Ôƒtƒ‰ƒO
+        /// </summary>
+        private DialogResult m_EndButton = DialogResult.None;
+
+        /// <summary>
+        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        public DialogResult EndButton
+        {
+            get { return m_EndButton; }
+        }
+
         // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
         /// <summary>
         /// ƒTƒuƒtƒH�[ƒ€ƒtƒ‰ƒO
@@ -639,13 +654,8 @@
         /// </summary>
         private bool m_RollBackJoinLedger = false;
 
-        // *-----* �¿‹��ˆ—�˜AŒg *-----*
+        // *-----* �¿‹�‚Ü‚Æ‚ß�ˆ—�˜AŒg *-----*
         /// <summary>
-        /// �¿‹��ˆ—�˜AŒgƒtƒ‰ƒO
-        /// </summary>
-        private bool m_BillingProc = false;
-
-        /// <summary>
         /// �¿‹��ˆ—�˜AŒg—p�eƒnƒ“ƒhƒ‹
         /// </summary>
         private FrmRequestSummaryList m_FrmRequestSummaryList = null;
@@ -654,7 +664,22 @@
         /// �¿‹��ˆ—�˜AŒg‹àŠz
         /// </summary>
         private int m_AddingRequestPrice = 0;
-        // *-----* �¿‹��ˆ—�˜AŒg *-----*
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
+        /// </summary>
+        private bool m_ReqSumFlag = false;
+
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
+        /// </summary>
+        private int m_ReqSumTargetMonth = 0;
+
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
+        /// </summary>
+        private int m_ReqSumCompany = 0;
+        // *-----* �¿‹�‚Ü‚Æ‚ß�ˆ—�˜AŒg *-----*
+        
         #endregion
 
         #region ƒvƒ�ƒpƒeƒB
@@ -792,17 +817,8 @@
             set { m_RollBackJoinLedger = value; }
         }
 
-        // *-----* �¿‹��ˆ—�˜AŒg *-----*
+        // *-----* �¿‹�‚Ü‚Æ‚ß�ˆ—�˜AŒg *-----*
         /// <summary>
-        /// �¿‹��ˆ—�˜AŒgƒtƒ‰ƒO
-        /// </summary>
-        public bool BillingProc
-        {
-            get { return m_BillingProc; }
-            set { m_BillingProc = value; }
-        }
-
-        /// <summary>
         /// �¿‹��ˆ—�˜AŒg—p�eƒnƒ“ƒhƒ‹
         /// </summary>
         public FrmRequestSummaryList FrmRequestSummaryList
@@ -818,8 +834,34 @@
             get { return m_AddingRequestPrice; }
             set { m_AddingRequestPrice = value; }
         }
-        // *-----* �¿‹��ˆ—�˜AŒg *-----*
 
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
+        /// </summary>
+        public bool ReqestSummaryFlag
+        {
+            get { return m_ReqSumFlag; }
+            set { m_ReqSumFlag = value; }
+        }
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
+        /// </summary>
+        public int ReqSumTargetMonth
+        {
+            get { return m_ReqSumTargetMonth; }
+            set { m_ReqSumTargetMonth = value; }
+        }
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
+        /// </summary>
+        public int ReqSumCompany
+        {
+            get { return m_ReqSumCompany; }
+            set { m_ReqSumCompany = value; }
+        }
+
+        // *-----* �¿‹�‚Ü‚Æ‚ß�Ý’è *-----*
+
         #endregion
 
         #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
@@ -896,6 +938,8 @@
                 m_FrmRequestSummaryList.EndLinkProc();
             }
 
+            m_EndButton = DialogResult.Cancel;
+
             this.Close();
         }
         #endregion
@@ -970,6 +1014,15 @@
                 //    m_EditLock = true;
                 //}
 
+                // •Ï�Xƒtƒ‰ƒOOFF
+                m_bChengeAns = false;
+
+                // �¿‹�‚Ü‚Æ‚ß‚©‚ç‚ÌŒÄ‚Ñ�o‚µ
+                if (m_ReqSumFlag)
+                {
+                    InitReqSum();
+                }
+
                 // ŽQ�Æƒ‚�[ƒh
                 if (m_EditLock)
                 {
@@ -980,8 +1033,11 @@
                 // ƒVƒXƒeƒ€ŠÇ—�ŽÒ‚Í�í�œ‚Å‚«‚é
                 if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode) btnDataDelete.Visible = true;
 
-                // •Ï�Xƒtƒ‰ƒOOFF
-                m_bChengeAns = false;
+                // 1�s–Ú‚ð‘I‘ð
+                dgvAllDisplay.Rows[0].Selected = true;
+                m_BeforeGridRow = dgvAllDisplay.CurrentRow.Index;
+                // �s‘I‘ð�F‚ð�Ý’è
+                SelectRowChangeColor(m_BeforeGridRow);
             }
             catch (System.Exception ex)
             {
@@ -1189,7 +1245,11 @@
             if (CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)GridColumn.TitleFlg].Value) == 1) return;
 
             // �¿‹��ˆ—�˜AŒg
-            if (m_BillingProc) BillingLinkOutPut();
+            if (m_ReqSumFlag)
+            {
+                BillingLinkOutPut();
+                return;
+            }
 
             switch (e.ColumnIndex)
             {
@@ -1350,6 +1410,8 @@
                 m_FrmRequestSummaryList.EndLinkProc();
             }
 
+            m_EndButton = DialogResult.OK;
+
             // �I—¹
             this.Close();
         }
@@ -1413,44 +1475,6 @@
         }
         #endregion
 
-        #region •›’S“–ŽÒ•Ï�Xƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// •›’S“–ŽÒ•Ï�Xƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnAssistantChange_Click(object sender, EventArgs e)
-        {
-            ChangeAssistantOrInstractor((int)CommonDefine.PersonSelectFlg.Assistant);
-        }
-        #endregion
-
-        #region Žw“±ˆõ•Ï�Xƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// Žw“±ˆõ•Ï�Xƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnInstractorChange_Click(object sender, EventArgs e)
-        {
-            // •›’S“–ŽÒ�^Žw“±ˆõ•Ï�X�ˆ—�
-            //ChangeAssistantOrInstractor((int)CommonDefine.PersonSelectFlg.Instructor);
-        }
-        #endregion
-
-        #region Žó’�‹àŠz•Ï�Xƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// Žó’�‹àŠz•Ï�Xƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnChangePrice_Click(object sender, EventArgs e)
-        {
-            // Žó’�‹àŠz•Ï�X�ˆ—�
-            OpenOrderPriceChangeWindow();
-        }
-        #endregion
-
         // ----------- ƒf�[ƒ^ƒRƒ“ƒo�[ƒg
         #region ƒf�[ƒ^ƒRƒ“ƒo�[ƒg
         /// <summary>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 314)
@@ -30,13 +30,13 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataDelete = new System.Windows.Forms.Button();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -89,14 +89,6 @@
             this.panel2 = new System.Windows.Forms.Panel();
             this.lblCellTotal = new System.Windows.Forms.Label();
             this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.btnDispDown = new System.Windows.Forms.Button();
-            this.btnDispUp = new System.Windows.Forms.Button();
-            this.btnOtherProc = new System.Windows.Forms.Button();
-            this.btnAssistantChange = new System.Windows.Forms.Button();
-            this.btnInstractorChange = new System.Windows.Forms.Button();
-            this.btnChangePrice = new System.Windows.Forms.Button();
-            this.button1 = new System.Windows.Forms.Button();
-            this.button2 = new System.Windows.Forms.Button();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -125,11 +117,23 @@
             this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.btnDispDown = new System.Windows.Forms.Button();
+            this.btnDispUp = new System.Windows.Forms.Button();
+            this.btnOtherProc = new System.Windows.Forms.Button();
+            this.button1 = new System.Windows.Forms.Button();
+            this.button2 = new System.Windows.Forms.Button();
+            this.btnSelect = new System.Windows.Forms.Button();
+            this.btnCreate = new System.Windows.Forms.Button();
+            this.grpExample1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
+            this.lblReqSumType01 = new System.Windows.Forms.Label();
+            this.lblReqSumType02 = new System.Windows.Forms.Label();
+            this.lblReqSumType03 = new System.Windows.Forms.Label();
             this.panel1.SuspendLayout();
             this.pnlGroup2.SuspendLayout();
             this.pnlGroup1.SuspendLayout();
             this.panel2.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit();
+            this.grpExample1.SuspendLayout();
             this.SuspendLayout();
             // 
             // label1
@@ -798,14 +802,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
             this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
             this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.Column1,
@@ -854,117 +858,10 @@
             this.dgvAllDisplay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvAllDisplay_KeyDown);
             this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
             // 
-            // btnDispDown
-            // 
-            this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDispDown.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDispDown.Location = new System.Drawing.Point(1300, 418);
-            this.btnDispDown.Name = "btnDispDown";
-            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
-            this.btnDispDown.TabIndex = 42;
-            this.btnDispDown.TabStop = false;
-            this.btnDispDown.Text = "â–¼";
-            this.btnDispDown.UseVisualStyleBackColor = true;
-            this.btnDispDown.Visible = false;
-            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
-            // 
-            // btnDispUp
-            // 
-            this.btnDispUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDispUp.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDispUp.Location = new System.Drawing.Point(1300, 354);
-            this.btnDispUp.Name = "btnDispUp";
-            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
-            this.btnDispUp.TabIndex = 41;
-            this.btnDispUp.TabStop = false;
-            this.btnDispUp.Text = "â–²";
-            this.btnDispUp.UseVisualStyleBackColor = true;
-            this.btnDispUp.Visible = false;
-            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
-            // 
-            // btnOtherProc
-            // 
-            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
-            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
-            this.btnOtherProc.Name = "btnOtherProc";
-            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
-            this.btnOtherProc.TabIndex = 95;
-            this.btnOtherProc.TabStop = false;
-            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
-            this.btnOtherProc.UseVisualStyleBackColor = false;
-            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
-            // 
-            // btnAssistantChange
-            // 
-            this.btnAssistantChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnAssistantChange.BackColor = System.Drawing.Color.Beige;
-            this.btnAssistantChange.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
-            this.btnAssistantChange.Location = new System.Drawing.Point(381, 656);
-            this.btnAssistantChange.Name = "btnAssistantChange";
-            this.btnAssistantChange.Size = new System.Drawing.Size(130, 30);
-            this.btnAssistantChange.TabIndex = 96;
-            this.btnAssistantChange.Text = "å‰¯æ‹…å½“è€…å¤‰æ›´";
-            this.btnAssistantChange.UseVisualStyleBackColor = false;
-            this.btnAssistantChange.Visible = false;
-            this.btnAssistantChange.Click += new System.EventHandler(this.btnAssistantChange_Click);
-            // 
-            // btnInstractorChange
-            // 
-            this.btnInstractorChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnInstractorChange.BackColor = System.Drawing.Color.MistyRose;
-            this.btnInstractorChange.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
-            this.btnInstractorChange.Location = new System.Drawing.Point(519, 656);
-            this.btnInstractorChange.Name = "btnInstractorChange";
-            this.btnInstractorChange.Size = new System.Drawing.Size(130, 30);
-            this.btnInstractorChange.TabIndex = 97;
-            this.btnInstractorChange.Text = "æŒ‡å°Žå“¡å¤‰æ›´";
-            this.btnInstractorChange.UseVisualStyleBackColor = false;
-            this.btnInstractorChange.Visible = false;
-            this.btnInstractorChange.Click += new System.EventHandler(this.btnInstractorChange_Click);
-            // 
-            // btnChangePrice
-            // 
-            this.btnChangePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnChangePrice.BackColor = System.Drawing.Color.Gold;
-            this.btnChangePrice.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
-            this.btnChangePrice.Location = new System.Drawing.Point(243, 656);
-            this.btnChangePrice.Name = "btnChangePrice";
-            this.btnChangePrice.Size = new System.Drawing.Size(130, 30);
-            this.btnChangePrice.TabIndex = 99;
-            this.btnChangePrice.Text = "å�—æ³¨é‡‘é¡�å¤‰æ›´";
-            this.btnChangePrice.UseVisualStyleBackColor = false;
-            this.btnChangePrice.Visible = false;
-            this.btnChangePrice.Click += new System.EventHandler(this.btnChangePrice_Click);
-            // 
-            // button1
-            // 
-            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.button1.Location = new System.Drawing.Point(1300, 540);
-            this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(37, 35);
-            this.button1.TabIndex = 100;
-            this.button1.Text = "â—‹";
-            this.button1.UseVisualStyleBackColor = true;
-            this.button1.Visible = false;
-            this.button1.Click += new System.EventHandler(this.button1_Click);
-            // 
-            // button2
-            // 
-            this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.button2.Location = new System.Drawing.Point(1300, 581);
-            this.button2.Name = "button2";
-            this.button2.Size = new System.Drawing.Size(37, 35);
-            this.button2.TabIndex = 101;
-            this.button2.Text = "ï¼‘";
-            this.button2.UseVisualStyleBackColor = true;
-            this.button2.Visible = false;
-            this.button2.Click += new System.EventHandler(this.button2_Click);
-            // 
             // Column1
             // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle9;
             this.Column1.Frozen = true;
             this.Column1.HeaderText = "â„–";
             this.Column1.Name = "Column1";
@@ -1023,8 +920,8 @@
             // 
             // Column5
             // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle10;
             this.Column5.Frozen = true;
             this.Column5.HeaderText = "é …ã€€ã€€ã€€ç›®";
             this.Column5.Name = "Column5";
@@ -1035,8 +932,8 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle11;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "æ¥­ã€€ã€€ã€€ç¨®";
             this.Column6.Name = "Column6";
@@ -1074,11 +971,11 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-            dataGridViewCellStyle5.Format = "N0";
-            dataGridViewCellStyle5.NullValue = null;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle12.Format = "N0";
+            dataGridViewCellStyle12.NullValue = null;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle12;
             this.Column7.Frozen = true;
             this.Column7.HeaderText = "äºˆå®šï¼ˆè¦‹ç©�ï¼‰é‡‘é¡�";
             this.Column7.Name = "Column7";
@@ -1089,9 +986,9 @@
             // 
             // Column12
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
-            this.Column12.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
+            this.Column12.DefaultCellStyle = dataGridViewCellStyle13;
             this.Column12.Frozen = true;
             this.Column12.HeaderText = "å®Ÿã€€è¡Œã€€é‡‘ã€€é¡�";
             this.Column12.Name = "Column12";
@@ -1102,8 +999,8 @@
             // 
             // Column9
             // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Column9.DefaultCellStyle = dataGridViewCellStyle7;
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle14;
             this.Column9.Frozen = true;
             this.Column9.HeaderText = "æ¯”çŽ‡(ï¼…)";
             this.Column9.Name = "Column9";
@@ -1245,6 +1142,152 @@
             this.Column28.Name = "Column28";
             this.Column28.Visible = false;
             // 
+            // btnDispDown
+            // 
+            this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDispDown.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDispDown.Location = new System.Drawing.Point(1300, 418);
+            this.btnDispDown.Name = "btnDispDown";
+            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
+            this.btnDispDown.TabIndex = 42;
+            this.btnDispDown.TabStop = false;
+            this.btnDispDown.Text = "â–¼";
+            this.btnDispDown.UseVisualStyleBackColor = true;
+            this.btnDispDown.Visible = false;
+            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
+            // 
+            // btnDispUp
+            // 
+            this.btnDispUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDispUp.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDispUp.Location = new System.Drawing.Point(1300, 354);
+            this.btnDispUp.Name = "btnDispUp";
+            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
+            this.btnDispUp.TabIndex = 41;
+            this.btnDispUp.TabStop = false;
+            this.btnDispUp.Text = "â–²";
+            this.btnDispUp.UseVisualStyleBackColor = true;
+            this.btnDispUp.Visible = false;
+            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
+            // 
+            // btnOtherProc
+            // 
+            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
+            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
+            this.btnOtherProc.Name = "btnOtherProc";
+            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
+            this.btnOtherProc.TabIndex = 95;
+            this.btnOtherProc.TabStop = false;
+            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
+            this.btnOtherProc.UseVisualStyleBackColor = false;
+            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
+            // 
+            // button1
+            // 
+            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.button1.Location = new System.Drawing.Point(1300, 540);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(37, 35);
+            this.button1.TabIndex = 100;
+            this.button1.Text = "â—‹";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Visible = false;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // button2
+            // 
+            this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.button2.Location = new System.Drawing.Point(1300, 581);
+            this.button2.Name = "button2";
+            this.button2.Size = new System.Drawing.Size(37, 35);
+            this.button2.TabIndex = 101;
+            this.button2.Text = "ï¼‘";
+            this.button2.UseVisualStyleBackColor = true;
+            this.button2.Visible = false;
+            this.button2.Click += new System.EventHandler(this.button2_Click);
+            // 
+            // btnSelect
+            // 
+            this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnSelect.BackColor = System.Drawing.Color.Green;
+            this.btnSelect.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnSelect.ForeColor = System.Drawing.Color.White;
+            this.btnSelect.Location = new System.Drawing.Point(546, 657);
+            this.btnSelect.Name = "btnSelect";
+            this.btnSelect.Size = new System.Drawing.Size(120, 30);
+            this.btnSelect.TabIndex = 102;
+            this.btnSelect.Text = "é�¸ã€€æŠž";
+            this.btnSelect.UseVisualStyleBackColor = false;
+            this.btnSelect.Visible = false;
+            // 
+            // btnCreate
+            // 
+            this.btnCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnCreate.BackColor = System.Drawing.Color.White;
+            this.btnCreate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnCreate.ForeColor = System.Drawing.Color.Green;
+            this.btnCreate.Location = new System.Drawing.Point(420, 657);
+            this.btnCreate.Name = "btnCreate";
+            this.btnCreate.Size = new System.Drawing.Size(120, 30);
+            this.btnCreate.TabIndex = 103;
+            this.btnCreate.Text = "æ–°ã€€è¦�";
+            this.btnCreate.UseVisualStyleBackColor = false;
+            this.btnCreate.Visible = false;
+            // 
+            // grpExample1
+            // 
+            this.grpExample1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.grpExample1.BackColor = System.Drawing.Color.White;
+            this.grpExample1.BorderColor = System.Drawing.Color.Red;
+            this.grpExample1.Controls.Add(this.lblReqSumType03);
+            this.grpExample1.Controls.Add(this.lblReqSumType01);
+            this.grpExample1.Controls.Add(this.lblReqSumType02);
+            this.grpExample1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.grpExample1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.grpExample1.Location = new System.Drawing.Point(183, 657);
+            this.grpExample1.Name = "grpExample1";
+            this.grpExample1.Size = new System.Drawing.Size(324, 28);
+            this.grpExample1.TabIndex = 104;
+            this.grpExample1.TabStop = false;
+            this.grpExample1.Visible = false;
+            // 
+            // lblReqSumType01
+            // 
+            this.lblReqSumType01.BackColor = System.Drawing.Color.Yellow;
+            this.lblReqSumType01.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblReqSumType01.ForeColor = System.Drawing.Color.Black;
+            this.lblReqSumType01.Location = new System.Drawing.Point(6, 4);
+            this.lblReqSumType01.Name = "lblReqSumType01";
+            this.lblReqSumType01.Size = new System.Drawing.Size(100, 20);
+            this.lblReqSumType01.TabIndex = 0;
+            this.lblReqSumType01.Text = "é�¸æŠžå�¯èƒ½";
+            this.lblReqSumType01.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // lblReqSumType02
+            // 
+            this.lblReqSumType02.BackColor = System.Drawing.Color.LightPink;
+            this.lblReqSumType02.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblReqSumType02.ForeColor = System.Drawing.Color.Black;
+            this.lblReqSumType02.Location = new System.Drawing.Point(112, 4);
+            this.lblReqSumType02.Name = "lblReqSumType02";
+            this.lblReqSumType02.Size = new System.Drawing.Size(100, 20);
+            this.lblReqSumType02.TabIndex = 0;
+            this.lblReqSumType02.Text = "é�¸ æŠž æ¸ˆ";
+            this.lblReqSumType02.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // lblReqSumType03
+            // 
+            this.lblReqSumType03.BackColor = System.Drawing.Color.LightGray;
+            this.lblReqSumType03.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblReqSumType03.ForeColor = System.Drawing.Color.White;
+            this.lblReqSumType03.Location = new System.Drawing.Point(218, 4);
+            this.lblReqSumType03.Name = "lblReqSumType03";
+            this.lblReqSumType03.Size = new System.Drawing.Size(100, 20);
+            this.lblReqSumType03.TabIndex = 1;
+            this.lblReqSumType03.Text = "å¯¾ è±¡ å¤–";
+            this.lblReqSumType03.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
             // FrmConstructionLedger
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -1251,11 +1294,10 @@
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
             this.BackColor = System.Drawing.Color.Black;
             this.ClientSize = new System.Drawing.Size(1344, 692);
+            this.Controls.Add(this.btnCreate);
+            this.Controls.Add(this.btnSelect);
             this.Controls.Add(this.button2);
             this.Controls.Add(this.button1);
-            this.Controls.Add(this.btnChangePrice);
-            this.Controls.Add(this.btnInstractorChange);
-            this.Controls.Add(this.btnAssistantChange);
             this.Controls.Add(this.btnOtherProc);
             this.Controls.Add(this.btnDispDown);
             this.Controls.Add(this.btnDispUp);
@@ -1269,6 +1311,7 @@
             this.Controls.Add(this.btnEnd);
             this.Controls.Add(this.label1);
             this.Controls.Add(this.label2);
+            this.Controls.Add(this.grpExample1);
             this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
             this.KeyPreview = true;
@@ -1287,6 +1330,7 @@
             this.panel2.ResumeLayout(false);
             this.panel2.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).EndInit();
+            this.grpExample1.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
@@ -1333,9 +1377,6 @@
         private System.Windows.Forms.Button btnComplate;
         private System.Windows.Forms.Label label20;
         private System.Windows.Forms.Label label21;
-        private System.Windows.Forms.Button btnAssistantChange;
-        private System.Windows.Forms.Button btnInstractorChange;
-        private System.Windows.Forms.Button btnChangePrice;
         private System.Windows.Forms.Label lblLabel06;
         private System.Windows.Forms.Label label23;
         private System.Windows.Forms.Button button1;
@@ -1381,5 +1422,11 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column26;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column28;
+        private System.Windows.Forms.Button btnSelect;
+        private System.Windows.Forms.Button btnCreate;
+        private GroupBoxEx grpExample1;
+        private System.Windows.Forms.Label lblReqSumType01;
+        private System.Windows.Forms.Label lblReqSumType02;
+        private System.Windows.Forms.Label lblReqSumType03;
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx	(revision 314)
@@ -120,6 +120,9 @@
   <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 314)
@@ -1123,15 +1123,15 @@
             {
                 DataGridView dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
-                // ã‚«ãƒ©ãƒ æ•°
-                int colcnt = dgv.Columns.Count;
+
                 // ç·�å�ˆè¨ˆã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.TotalFlg].Value) == 2) return;
 
                 // è¡Œã�®è‰²ã‚’å¤‰ã�ˆã‚‹
-                for (int i = 0; i < colcnt; i++)
+                for (int i = 0; i < dgv.ColumnCount; i++)
                 {
-                    dgv.Rows[m_BeforeGridRow].Cells[i].Style.BackColor = s_RowSelectColor;
+                    dgv.Rows[m_BeforeGridRow].Cells[i].Style.BackColor = s_RowBackSelectColor;
+                    dgv.Rows[m_BeforeGridRow].Cells[i].Style.ForeColor = s_RowForeSelectColor;
                 }
                 // å¢—æ¸›ãƒ‡ãƒ¼ã‚¿ã�¯è‰²ã‚’ä»˜ã�‘ã‚‹
                 if (CommonMotions.cnvInt(dgv.Rows[m_BeforeGridRow].Cells[(int)GridColumn.FluctuationFlg].Value) != 0)
@@ -1190,7 +1190,6 @@
             {
                 DataGridView dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
-                int colcnt = dgv.Columns.Count;
                 int GroupNo = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
                 int RowCount = CurRow.Index;
 
@@ -1230,42 +1229,30 @@
                 }
                 else
                 {   // æ˜Žç´°è¡Œ
-                    // åˆ—ã�®è‰²ã‚’å¤‰ã�ˆã‚‹
-                    for (int i = 0; i < colcnt; i++)
+                    if (m_ReqSumFlag)
                     {
-                        switch (i)
+                        int nGroupCnt = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
+                        if (nGroupCnt == (int)DataGroup.Empty
+                            || nGroupCnt == (int)DataGroup.NetIncome)                    // 12:ç´”åˆ©ç›Š
                         {
-                            // ç©�ç®—æ™‚è¦‹ç©�é‡‘é¡�
-                            case (int)GridColumn.EstimatePrice:
-                                SetBackColor = Color.FromArgb(192, 255, 255);
-                                break;
-                            // å®Ÿè¡Œé‡‘é¡�
-                            case (int)GridColumn.ExecPrice:
-                                SetBackColor = Color.FromArgb(255, 224, 192);
-                                break;
-                            // è¡Œç•ªå�·
-                            case (int)GridColumn.No:
-                                // å¢—æ¸›å·¥äº‹ãƒ•ãƒ©ã‚°ã�ŒONã�®å ´å�ˆã�¯è‰²ã‚’å¤‰ã�ˆã‚‹
-                                if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.FluctuationFlg].Value) != 0) SetBackColor = Color.Red;
-                                else SetBackColor = Color.White;
-                                break;
-                            default:
-                                SetBackColor = Color.White;
-                                //if (i == dgv.ColumnCount + (int)ColPayTotal.Totals && GroupNo == (int)GroupName_ConstructionLedger.CurrentProfit)
-                                //// æ”¯æ‰•å�ˆè¨ˆã�®ç�¾åœ¨åˆ©ç›Šé‡‘é¡�ã�¯è‰²ã‚’å¤‰ã�ˆã‚‹
-                                //{
-                                //    dgv.Rows[CurrentRow].Cells[i].Style.ForeColor = Color.LightBlue;
-                                //    dgv.Rows[CurrentRow].Cells[i].Style.BackColor = Color.Black;
-                                //}
-                                break;
+                            // æ˜Žç´°è¡Œè‰²ã‚»ãƒƒãƒˆ
+                            SetDetailRowColor(CurRow);
                         }
-                        CurRow.Cells[i].Style.BackColor = SetBackColor;
-                        if (CurRow.Cells[i].Style.ForeColor != Color.Red) CurRow.Cells[i].Style.ForeColor = SetForeColor;
+                        else
+                        {
+                            // è«‹æ±‚ã�¾ã�¨ã‚�è¡Œè‰²å¤‰æ›´å‡¦ç�†
+                            SetReqSumRowColor(CurRow);
+                        }
                     }
+                    else
+                    {
+                        // æ˜Žç´°è¡Œè‰²ã‚»ãƒƒãƒˆ
+                        SetDetailRowColor(CurRow);
+                    }
                     return;
                 }
                 // è¡Œã�®è‰²ã‚’å¤‰ã�ˆã‚‹
-                for (int i = 0; i < colcnt; i++)
+                for (int i = 0; i < dgv.ColumnCount; i++)
                 {
                     CurRow.Cells[i].Style.BackColor = SetBackColor;
                     if (CurRow.Cells[i].Style.ForeColor != Color.Red) CurRow.Cells[i].Style.ForeColor = SetForeColor;
@@ -1278,6 +1265,54 @@
         }
         #endregion
 
+        #region æ˜Žç´°è¡Œé€šå¸¸è‰²ã‚»ãƒƒãƒˆ
+        /// <summary>
+        /// æ˜Žç´°è¡Œé€šå¸¸è‰²ã‚»ãƒƒãƒˆ
+        /// </summary>
+        /// <param name="CurRow"></param>
+        private void SetDetailRowColor(DataGridViewRow CurRow)
+        {
+            try
+            {
+                DataGridView dgv = dgvAllDisplay;
+
+                Color SetBackColor = Color.White;
+                Color SetForeColor = Color.Black;
+                // åˆ—ã�®è‰²ã‚’å¤‰ã�ˆã‚‹
+                for (int i = 0; i < dgv.ColumnCount; i++)
+                {
+                    switch (i)
+                    {
+                        // ç©�ç®—æ™‚è¦‹ç©�é‡‘é¡�
+                        case (int)GridColumn.EstimatePrice:
+                            SetBackColor = Color.FromArgb(192, 255, 255);
+                            break;
+                        // å®Ÿè¡Œé‡‘é¡�
+                        case (int)GridColumn.ExecPrice:
+                            SetBackColor = Color.FromArgb(255, 224, 192);
+                            break;
+                        // è¡Œç•ªå�·
+                        case (int)GridColumn.No:
+                            SetBackColor = Color.White;
+                            // å¢—æ¸›å·¥äº‹ãƒ•ãƒ©ã‚°ã�ŒONã�®å ´å�ˆã�¯è‰²ã‚’å¤‰ã�ˆã‚‹
+                            if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.FluctuationFlg].Value) != 0)
+                                SetBackColor = Color.Red;
+                            break;
+                        default:
+                            SetBackColor = Color.White;
+                            break;
+                    }
+                    CurRow.Cells[i].Style.BackColor = SetBackColor;
+                    if (CurRow.Cells[i].Style.ForeColor != Color.Red) CurRow.Cells[i].Style.ForeColor = SetForeColor;
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region å�—æ³¨é‡‘é¡�ã‚ˆã‚Šãƒ‘ãƒ¼ã‚»ãƒ³ãƒˆã‚’æ±‚ã‚�ã‚‹
         /// <summary>
         /// æŒ‡ç¤ºå€¤ã�Œå�—æ³¨é‡‘é¡�ã�®ä½•ãƒ‘ãƒ¼ã‚»ãƒ³ãƒˆã�‹ã‚’è¨ˆç®—ã�™ã‚‹
@@ -4975,9 +5010,6 @@
                 btnComplate.Visible = bLook;
                 btnDispUp.Visible = bLook;
                 btnDispDown.Visible = bLook;
-                btnAssistantChange.Visible = bLook;
-                btnInstractorChange.Visible = bLook;
-                //btnChangePrice.Visible = bLook;
 
                 pnlGroup1.Enabled = bLook;
                 pnlGroup2.Enabled = bLook;
@@ -5280,326 +5312,6 @@
         }
         #endregion
 
-        #region å‰¯æ‹…å½“è€…ï¼�æŒ‡å°Žå“¡å¤‰æ›´
-        /// <summary>
-        /// å‰¯æ‹…å½“è€…/æŒ‡å°Žå“¡å¤‰æ›´
-        /// </summary>
-        private void ChangeAssistantOrInstractor(int SelectFlg)
-        {
-            FrmSelectPerson frm = new FrmSelectPerson();
-            IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
-            try
-            {
-                // é�¸æŠžåŒºåˆ†ã‚»ãƒƒãƒˆ
-                frm.SelectFlg = SelectFlg;
-                switch (SelectFlg)
-                {
-                    case (int)CommonDefine.PersonSelectFlg.Assistant:
-                        frm.Person = m_ConstructionBaseInfo.ConstrSubPersonCode;
-                        break;
-                    case (int)CommonDefine.PersonSelectFlg.Instructor:
-                        frm.Person = m_ConstructionBaseInfo.ConstructionInstructor;
-                        break;
-                }
-                // æ‹…å½“è€…é�¸æŠžç”»é�¢è¡¨ç¤º
-                frm.ShowDialog();
-                if (frm.EndButton == DialogResult.Cancel) return;
-                // è¨­å®šå€¤å�–å¾—
-                int DepartmentCode = frm.Departmanet;
-                int PersonCode = frm.Person;
-                int SalaryFlg = frm.SalaryFlg;
-                int SalaryDays = frm.SalaryDays;
-
-                // è¡Œä½œæˆ�
-                CreateAssistantOrInstractor(SelectFlg, PersonCode, SalaryFlg, SalaryDays);
-
-                //int UpdateField = 0;
-                bool updateflg = false;
-                switch (SelectFlg)
-                {
-                    case (int)CommonDefine.PersonSelectFlg.Assistant:
-                        // å‰¯æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰ã�Œå�Œã�˜å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
-                        if (PersonCode == m_ConstructionBaseInfo.ConstrSubPersonCode) break;
-
-                        updateflg = true;
-                        // å·¥äº‹æƒ…å ±ã�®å‰¯æ‹…å½“è€…ã‚’æ›´æ–°ã�™ã‚‹
-                        //UpdateField = (int)IOConstructionBaseInfo.ConstructionBaseInfoColumn.CONSTRSUBPERSONCODE;
-
-                        // å†…éƒ¨ã�®å·¥äº‹æƒ…å ±ã‚’å¤‰æ›´ã�™ã‚‹
-                        m_ConstructionBaseInfo.ConstrSubPersonCode = PersonCode;
-                        break;
-                    case (int)CommonDefine.PersonSelectFlg.Instructor:
-                        // æŒ‡å°Žå“¡ã‚³ãƒ¼ãƒ‰ã�Œå�Œã�˜å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
-                        if (PersonCode == m_ConstructionBaseInfo.ConstructionInstructor) break;
-
-                        updateflg = true;
-                        // å·¥äº‹æƒ…å ±ã�®å‰¯æ‹…å½“è€…ã‚’æ›´æ–°ã�™ã‚‹
-                        //UpdateField = (int)IOConstructionBaseInfo.ConstructionBaseInfoColumn.CONSTRUCTIONINSTRUCTOR;
-
-                        // å†…éƒ¨ã�®å·¥äº‹æƒ…å ±ã‚’å¤‰æ›´ã�™ã‚‹
-                        m_ConstructionBaseInfo.ConstructionInstructor = PersonCode;
-                        break;
-                }
-                if (updateflg)
-                {
-                    // å·¥äº‹åŸºæœ¬æƒ…å ±æ›´æ–°
-                    //BaseDB.UpdateFeild(m_ConstructionCode, UpdateField, PersonCode);
-                    // ãƒ˜ãƒƒãƒ€ãƒ¼è¡¨ç¤º
-                    if (!DispHeader()) return;
-                }
-                m_bChengeAns = true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm.Dispose(); frm = null;
-                BaseDB.close(); BaseDB = null;
-            }
-        }
-        #endregion
-
-        #region å‰¯æ‹…å½“è€…ï¼�æŒ‡å°Žå“¡ã�®è¡Œã‚’ä½œæˆ�ï¼�æ›´æ–°ã�™ã‚‹
-        /// <summary>
-        /// å‰¯æ‹…å½“è€…ï¼�æŒ‡å°Žå“¡ã�®è¡Œã‚’ä½œæˆ�ï¼�æ›´æ–°ã�™ã‚‹
-        /// </summary>
-        /// <param name="SelectFlg"></param>
-        /// <param name="PersonCode"></param>
-        /// <param name="SalaryFlg"></param>
-        /// <param name="SalaryDays"></param>
-        private void CreateAssistantOrInstractor(int SelectFlg, int PersonCode, int SalaryFlg, int SalaryDays)
-        {
-            try
-            {
-                // æ¤œç´¢é–‹å§‹ä½�ç½®ã�¨ã‚°ãƒ«ãƒ¼ãƒ—ç•ªå�·ã‚’ã‚»ãƒƒãƒˆ
-                int LinePoint = 0;
-                int GroupCount = 0;
-                switch (SelectFlg)
-                {
-                    case (int)CommonDefine.PersonSelectFlg.Assistant:
-                        GroupCount = (int)DataGroup.Assistant;
-                        break;
-                    case (int)CommonDefine.PersonSelectFlg.Instructor:
-                        GroupCount = (int)DataGroup.Instructor;
-                        break;
-                }
-                // ã‚°ãƒªãƒƒãƒ‰ã�‹ã‚‰å¯¾è±¡è¡Œã‚’æŽ¢ã�™
-                LinePoint = SearchOrCreateChangeRow(GroupCount, PersonCode);
-
-                // è¡Œãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                SetRowOnChangeData(GroupCount, LinePoint, SalaryFlg, SalaryDays, PersonCode);
-
-                // è¡Œæ•°ã�®å†�æ§‹æˆ�ã‚’è¡Œã�†
-                SetCostsRowCount();
-
-                // è«‹æ±‚é‡‘é¡�è¨ˆç®—
-                CalculateBillingAmount();
-
-                // ç´”åˆ©ç›Šè¨ˆç®—
-                CalculateNetIncome();
-
-                // å�ˆè¨ˆè¨ˆç®—
-                CreateAllTotal(false);
-
-                /// ç�¾åœ¨åˆ©ç›Šè¨ˆç®—
-                CalculateCurrentProfit();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å‰¯æ‹…å½“ãƒ»æŒ‡å°Žå“¡è¡Œã‚’æŽ¢ã�—ã€�ç„¡ã�„å ´å�ˆã�¯è¡Œã‚’ä½œã‚‹
-        /// <summary>
-        /// å‰¯æ‹…å½“ãƒ»æŒ‡å°Žå“¡è¡Œã‚’æŽ¢ã�—ã€�ç„¡ã�„å ´å�ˆã�¯è¡Œã‚’ä½œã‚‹
-        /// </summary>
-        /// <param name="GroupCount"></param>
-        /// <param name="SaerchCode"></param>
-        /// <param name="LineCount"></param>
-        /// <returns></returns>
-        private int SearchOrCreateChangeRow(int GroupCount, int SaerchCode)
-        {
-            try
-            {
-                // æ¤œç´¢é–‹å§‹ä½�ç½®ã�¨ã‚°ãƒ«ãƒ¼ãƒ—ç•ªå�·ã‚’ã‚»ãƒƒãƒˆ
-                int StartPoint = 0;
-                int SearchGroup = GroupCount;
-                switch (GroupCount)
-                {
-                    case (int)DataGroup.Assistant:
-                        StartPoint = (int)CostsRowLine.AssistantRowLine;
-                        break;
-                    case (int)DataGroup.Instructor:
-                        StartPoint = (int)CostsRowLine.InstructorRowLine;
-                        break;
-                    default:
-                        break;
-                }
-                if (StartPoint == 0) return 0;
-
-                // ã‚°ãƒªãƒƒãƒ‰ã�‹ã‚‰å¯¾è±¡è¡Œã‚’æŽ¢ã�™
-                DataGridView dgv = dgvAllDisplay;
-                bool RowExist = false;
-                int LineCount = 0;
-                // è¡Œã�Œç„¡ã�„å ´å�ˆã�Œã�‚ã‚‹ã�®ã�§æœ€å¤§2å›žæˆ»ã‚‹ï¼ˆã�™ã��å‰�ã�Œã�‚ã‚Œã�°ã��ã�®æ¬¡ã�«ã�™ã‚‹ï¼‰
-                for (int ix = StartPoint; ix > (StartPoint - 2); ix--)
-                {
-                    // æ¤œç´¢ã‚°ãƒ«ãƒ¼ãƒ—ã‚’å�–å¾—ã�™ã‚‹
-                    SearchGroup = GroupCount - (StartPoint - ix);
-
-                    // ã‚«ã‚¦ãƒ³ãƒˆã‚ˆã‚Šè¡Œã‚’å�–å¾—ã�™ã‚‹
-                    int SearchLine = 0;
-                    SearchLine = m_CostsRowCount[ix];
-                    // è¡Œã�Œç„¡ã�„å ´å�ˆã�¯å‰�ã�«æˆ»ã‚‹
-                    if (SearchLine == 0) continue;
-
-                    for (int i = SearchLine; i < dgv.RowCount; i++)
-                    {
-                        // ã‚°ãƒ«ãƒ¼ãƒ—ã�Œé�•ã�ˆã�°ãƒ«ãƒ¼ãƒ—ã‚’æŠœã�‘ã‚‹
-                        int RowGroupNo = CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)GridColumn.GroupCount].Value);
-                        if (RowGroupNo != SearchGroup)
-                        {
-                            LineCount = i;
-                            break;
-                        }
-                        // æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰ã�Œ0ã�‹å�Œã�˜å ´å�ˆã�¯è¡Œã�Œå­˜åœ¨ã�™ã‚‹
-                        int RowCompanyCode = CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)GridColumn.CompanyCode].Value);
-                        if ((RowGroupNo == GroupCount) && (RowCompanyCode == 0 || RowCompanyCode == SaerchCode))
-                        {
-                            LineCount = i;
-                            RowExist = true;
-                            break;
-                        }
-                    }
-                    if (LineCount != 0) break;
-                }
-
-                // è¡Œã�Œç„¡ã�„å ´å�ˆã�¯ä½œæˆ�ã�™ã‚‹
-                if (!RowExist)
-                {
-                    DataGridViewAction.CreateNewLine(dgv, ref LineCount);
-                    if (m_CostsRowCount[StartPoint] == 0) m_CostsRowCount[StartPoint] = LineCount;
-                }
-                return LineCount;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region å¤‰æ›´ãƒ‡ãƒ¼ã‚¿ã�®ã‚»ãƒƒãƒˆ
-        /// <summary>
-        /// å¤‰æ›´ãƒ‡ãƒ¼ã‚¿ã�®ã‚»ãƒƒãƒˆ
-        /// </summary>
-        private void SetRowOnChangeData(int GroupCount, int InsertCnt, int SalaryFlg, int SalaryDays, int PersonCode)
-        {
-            IOMPersonInCharge PersonDB = new IOMPersonInCharge();
-            try
-            {
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—
-                string strSQL = PersonDB.CreatePrimarykeyString(PersonCode);
-                PersonInChargeMaster PersonRec = new PersonInChargeMaster();
-                PersonDB.SelectAction(strSQL, ref PersonRec);
-
-                int CodeType = (int)CommonDefine.CodeDataType.Person;
-                double BetweenTimes = CommonMotions.cnvDouble(m_DspLabelCtrl[(int)DspLblCtrlName.BetweenTimes].Text);   // å·¥æœŸå�–å¾—
-                double CostsValue = 0;
-                string FirstString = string.Empty;
-                string SecondString = string.Empty;
-                // é …ç›®æ–‡å­—åˆ—
-                FirstString = s_GroupTitle[GroupCount];
-
-                // é‡‘é¡�æ–‡å­—åˆ—
-                switch (SalaryFlg)
-                {
-                    case (int)CommonDefine.SalaryDevision.All:       // å…¨æ—¥
-                        // çµ¦ä¸Žè¨ˆç®—
-                        CostsValue = CommonDefine.AssistantMonthryCost * BetweenTimes;
-                        SecondString = string.Format(CommonDefine.s_SalaryCostMonthlyFormat,
-                                                        BetweenTimes.ToString("0.00"),
-                                                        CommonDefine.AssistantMonthryCost.ToString("#,0"));
-                        FirstString = string.Format("{0}ã€�{1}æ°�ã€‘", s_GroupTitle[GroupCount], PersonRec.SealPrintName);
-
-                        break;
-                    case (int)CommonDefine.SalaryDevision.Noting:    // æŒ¯åˆ†ç„¡
-                        SecondString = string.Empty;
-                        break;
-
-                    case (int)CommonDefine.SalaryDevision.DaysInput: // æ—¥æ•°å…¥åŠ›
-                        // æ—¥é¡�çµ¦ä¸Žå�–å¾—
-                        double daylySalary = CommonMotions.cnvRound(CommonDefine.AssistantMonthryCost / CommonDefine.s_ManHourUnitMonth);
-                        CostsValue = daylySalary * SalaryDays;
-                        SecondString = string.Format(CommonDefine.s_SalaryCostMonthlyFormat,
-                                                    ClsCalendar.cnvMonthFromDays(SalaryDays).ToString("0.00"),
-                                                    CommonDefine.AssistantMonthryCost.ToString("#,0"));
-                        FirstString = string.Format("{0}ã€�{1}æ°�ã€‘", s_GroupTitle[GroupCount], PersonRec.SealPrintName);
-                        break;
-                }
-                DataGridView dgv = dgvAllDisplay;
-                // è¨­å®šãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                DataGridViewRow SetData = dgv.Rows[InsertCnt];
-                SetData.Cells[(int)GridColumn.GroupCount].Value = GroupCount;
-
-                SetData.Cells[(int)GridColumn.ItemName].Value = FirstString;
-                SetData.Cells[(int)GridColumn.TextName].Value = SecondString;
-                SetData.Cells[(int)GridColumn.CompanyType].Value = CodeType;
-                SetData.Cells[(int)GridColumn.CompanyCode].Value = PersonCode;
-                SetData.Cells[(int)GridColumn.ExecPrice].Value = CostsValue.ToString("#,0");
-                SetData.Cells[(int)GridColumn.Percent].Value = CalculattionPercent(CostsValue).ToString("0.00");
-
-                SetData.Cells[(int)GridColumn.IndependentFlg].Value = "1";
-                SetData.Cells[(int)GridColumn.FluctuationFlg].Value = "0";
-
-                // ãƒ•ãƒ©ã‚°ã‚»ãƒƒãƒˆ
-                SetData.Cells[(int)GridColumn.TitleFlg].Value = "0";
-                SetData.Cells[(int)GridColumn.TotalFlg].Value = "0";
-                SetData.Cells[(int)GridColumn.BlankFlg].Value = "0";
-
-                // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯åˆ¶å¾¡
-                SetData.Cells[(int)GridColumn.ItemName].ReadOnly = false;
-                SetData.Cells[(int)GridColumn.TextName].ReadOnly = false;
-                SetData.Cells[(int)GridColumn.CompanyName].ReadOnly = false;
-                SetData.Cells[(int)GridColumn.ExecPrice].ReadOnly = false;
-
-                // ----- è¡Œç•ªå�·ã‚’æŒ¯ã‚Šã�ªã�Šã�™
-                // ã‚¿ã‚¤ãƒˆãƒ«è¡Œã‚’æŽ¢ã�™
-                int TitleRow = -1;
-                for (int i = InsertCnt; i > 0; i--)
-                {
-                    if (CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)GridColumn.TitleFlg].Value) != 0)
-                    {
-                        TitleRow = i;
-                        break;
-                    }
-                }
-                if (TitleRow < 0) return;
-                int DispNo = CommonMotions.cnvInt(dgv.Rows[TitleRow].Cells[(int)GridColumn.No].Value);
-
-                int no = 1;
-                for (int i = (TitleRow + 1); i < dgv.RowCount; i++)
-                {
-                    if (CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)GridColumn.GroupCount].Value) == 0) break;
-                    dgv.Rows[i].Cells[(int)GridColumn.No].Value = string.Format("{0}-{1}", DispNo, no++);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                PersonDB.close(); PersonDB = null;
-            }
-        }
-        #endregion
-
         #region å�—æ³¨é‡‘é¡�å¤‰æ›´ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦è¡¨ç¤º
         /// <summary>
         /// å�—æ³¨é‡‘é¡�å¤‰æ›´ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦è¡¨ç¤º
@@ -5859,7 +5571,8 @@
         }
         #endregion
 
-        // ---------- å�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹â†“â†“
+        #region ï¼‘ï¼Žå�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹â†“â†“
+        // ---------- ï¼‘ï¼Žå�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹â†“â†“
         #region å¢—æ¸›ãƒ‡ãƒ¼ã‚¿ã‚’å�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹
         /// <summary>
         /// å¢—æ¸›ãƒ‡ãƒ¼ã‚¿ã‚’å�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹
@@ -6547,9 +6260,11 @@
             }
         }
         #endregion
-        // ---------- å�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹â†‘â†‘
+        // ---------- ï¼‘ï¼Žå�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹â†‘â†‘
+        #endregion
 
-        // ---------- çµ�å�ˆå‡¦ç�†â†“â†“
+        #region ï¼’ï¼Žçµ�å�ˆå‡¦ç�†â†“â†“
+        // ---------- ï¼’ï¼Žçµ�å�ˆå‡¦ç�†â†“â†“
         #region çµ�å�ˆãƒ‡ãƒ¼ã‚¿ã‚’å�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹
         /// <summary>
         /// çµ�å�ˆãƒ‡ãƒ¼ã‚¿ã‚’å�°å¸³ãƒ‡ãƒ¼ã‚¿ã�¸è¿½åŠ ã�™ã‚‹
@@ -7762,9 +7477,11 @@
             }
         }
         #endregion
-        // ---------- çµ�å�ˆå‡¦ç�†â†‘â†‘
+        // ---------- ï¼’ï¼Žçµ�å�ˆå‡¦ç�†â†‘â†‘
+        #endregion
 
-        // ---------- çµ‚äº†æ™‚å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤â†“â†“
+        #region ï¼“ï¼Žçµ‚äº†æ™‚å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤â†“â†“
+        // ---------- ï¼“ï¼Žçµ‚äº†æ™‚å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤â†“â†“
         #region çµ�å�ˆå¾Œè©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤
         /// <summary>
         /// çµ�å�ˆå¾Œè©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤
@@ -7866,9 +7583,11 @@
             }
         }
         #endregion
-        // ---------- çµ‚äº†æ™‚å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤â†‘â†‘
+        // ---------- ï¼“ï¼Žçµ‚äº†æ™‚å�°å¸³ãƒ‡ãƒ¼ã‚¿å‰Šé™¤â†‘â†‘
+        #endregion
 
-        // ---------- ãƒ‡ãƒ¼ã‚¿é€£æ�ºå‡¦ç�†â†“â†“
+        #region ï¼”ï¼Žè«‹æ±‚ã�¾ã�¨ã‚�é�¸æŠžå‡¦ç�†â†“â†“
+        // ---------- ï¼”ï¼Žè«‹æ±‚ã�¾ã�¨ã‚�é�¸æŠžå‡¦ç�†â†“â†“
         #region è«‹æ±‚å‡¦ç�†é€£æ�ºæ™‚ã‚¢ã‚¦ãƒˆãƒ—ãƒƒãƒˆå‡¦ç�†
         /// <summary>
         /// è«‹æ±‚å‡¦ç�†é€£æ�ºæ™‚ã‚¢ã‚¦ãƒˆãƒ—ãƒƒãƒˆå‡¦ç�†
@@ -7930,9 +7649,175 @@
             }
         }
         #endregion
-        // ---------- ãƒ‡ãƒ¼ã‚¿é€£æ�ºå‡¦ç�†â†‘â†‘
 
-        // ---------- ãƒ‡ãƒ¼ã‚¿ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆãƒ­ã‚¸ãƒƒã‚¯
+        #region åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
+        /// <summary>
+        /// åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
+        /// </summary>
+        private void InitReqSum()
+        {
+            try
+            {
+                // å…¨ã�¦ã�®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãƒ­ãƒƒã‚¯
+                SeeModeLock();
+                // è«‹æ±‚ã�¾ã�¨ã‚�æ™‚ä½¿ç”¨ãƒœã‚¿ãƒ³è¡¨ç¤º
+                ReqSumButton(true);
+                // è«‹æ±‚ã�¾ã�¨ã‚�å¯¾è±¡ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                GetReqSumData();
+                // è«‹æ±‚ã�¾ã�¨ã‚�è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«ã‚»ãƒƒãƒˆ
+                InitReqSumStyle();
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚ã�¾ã�¨ã‚�æ™‚ä½¿ç”¨ãƒœã‚¿ãƒ³è¡¨ç¤º
+        /// <summary>
+        /// è«‹æ±‚ã�¾ã�¨ã‚�æ™‚ä½¿ç”¨ãƒœã‚¿ãƒ³è¡¨ç¤º
+        /// </summary>
+        private void ReqSumButton(bool bLook = false)
+        {
+            try
+            {
+                btnSelect.Location = btnDataEntry.Location;
+                btnCreate.Location = btnDataDelete.Location;
+                btnSelect.Visible = true;
+                btnCreate.Visible = true;
+                btnDataEntry.Visible = false;
+                btnDataDelete.Visible = false;
+
+                grpExample1.Visible = true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚ã�¾ã�¨ã‚�è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«ã‚»ãƒƒãƒˆ
+        /// <summary>
+        /// è«‹æ±‚ã�¾ã�¨ã‚�è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«ã‚»ãƒƒãƒˆ
+        /// </summary>
+        private void InitReqSumStyle()
+        {
+            try
+            {
+                DataGridView dgv = dgvAllDisplay;
+                foreach (DataGridViewRow CurRow in dgv.Rows)
+                {
+                    // åŒºåˆ‡ã‚Šè¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
+                    if (CommonMotions.cnvString(CurRow.Cells[(int)GridColumn.FixFlg].Value).Equals("*")) continue;
+                    // 0:ç©ºç™½/12:ç´”åˆ©ç›Š/13:å�ˆè¨ˆé‡‘é¡�/14:è«‹æ±‚é‡‘é¡�/15:ç�¾åœ¨åˆ©ç›Šé‡‘é¡�ã�¯è‰²ã‚’å¤‰ã�ˆã�ªã�„
+                    int nGroupCnt = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
+                    if (nGroupCnt == (int)DataGroup.Empty) continue;            // 0:ç©ºç™½
+                    if (nGroupCnt == (int)DataGroup.NetIncome) continue;        // 12:ç´”åˆ©ç›Š
+                    if (nGroupCnt == (int)DataGroup.AllTotal) continue;         // 13:å�ˆè¨ˆé‡‘é¡�
+                    if (nGroupCnt == (int)DataGroup.BillingAmount) continue;    // 14:è«‹æ±‚é‡‘é¡�
+                    if (nGroupCnt == (int)DataGroup.CurrentProfit) continue;    // 15:ç�¾åœ¨åˆ©ç›Šé‡‘é¡�
+
+                    // è«‹æ±‚ã�¾ã�¨ã‚�è¡Œè‰²å¤‰æ›´å‡¦ç�†
+                    SetReqSumRowColor(CurRow);
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        private List<BillingDataDetail> m_BillDetailList = new List<BillingDataDetail>();
+        #region è«‹æ±‚ã�¾ã�¨ã‚�å¯¾è±¡ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚ã�¾ã�¨ã‚�å¯¾è±¡ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        private void GetReqSumData()
+        {
+            IOBillingDataDetail BillDB = new IOBillingDataDetail();
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(" AS A Where");
+                strSQL.AppendFormat(" A.COMPANYCODE = {0}", m_ReqSumCompany);
+                strSQL.AppendFormat(" And A.TARGETDATE = {0}", m_ReqSumTargetMonth);
+                strSQL.AppendFormat(" And A.CONSTRUCTIONCODE = {0}", m_ConstructionCode);
+
+                m_BillDetailList.Clear();
+                if (!BillDB.SelectAction(strSQL.ToString(), ref m_BillDetailList)) return;
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                BillDB.close(); BillDB = null;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚ã�¾ã�¨ã‚�è¡Œè‰²å¤‰æ›´å‡¦ç�†
+        /// <summary>
+        /// è«‹æ±‚ã�¾ã�¨ã‚�è¡Œè‰²å¤‰æ›´å‡¦ç�†
+        /// </summary>
+        private void SetReqSumRowColor(DataGridViewRow CurRow)
+        {
+            try
+            {
+                DataGridView dgv = dgvAllDisplay;
+
+                Color clrBack = lblReqSumType03.BackColor;
+                Color clrFore = lblReqSumType03.ForeColor;
+
+                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.CompanyCode].Value);
+                int nDetailNo = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.DetailNo].Value);
+                foreach (BillingDataDetail DataCurRec in m_BillDetailList)
+                {
+                    if (nCompanyCode == DataCurRec.CompanyCode)
+                    {   // å¯¾è±¡æ¥­è€…ä¸€è‡´
+                        if (nDetailNo == DataCurRec.ConstructionRowCnt)
+                        {   // å¯¾è±¡è¡Œã�®ä¸€è‡´
+                            clrBack = lblReqSumType01.BackColor;
+                            clrFore = lblReqSumType01.ForeColor;
+                            break;
+                        }
+                        else
+                        {      // è¡Œã�Œä¸€è‡´ã�—ã�ªã�„
+                            clrBack = lblReqSumType02.BackColor;
+                            clrFore = lblReqSumType02.ForeColor;
+                        }
+                    }
+                    else
+                    {
+                        clrBack = lblReqSumType03.BackColor;
+                        clrFore = lblReqSumType03.ForeColor;
+                    }
+                }
+
+                for (int i = 0; i < dgv.ColumnCount; i++)
+                {
+                    CurRow.Cells[i].Style.BackColor = clrBack;
+                    CurRow.Cells[i].Style.ForeColor = clrFore;
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        // ---------- ï¼”ï¼Žè«‹æ±‚ã�¾ã�¨ã‚�é�¸æŠžå‡¦ç�†â†‘â†‘
+        #endregion
+
+        #region â€»ï¼Žãƒ‡ãƒ¼ã‚¿ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†“â†“
+        // ---------- â€»ï¼Žãƒ‡ãƒ¼ã‚¿ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†“â†“
         #region ãƒ•ãƒ©ã‚°ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆ
         /// <summary>
         /// ãƒ•ãƒ©ã‚°ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆ
@@ -8622,6 +8507,7 @@
             }
         }
         #endregion
-        // ---------- ãƒ‡ãƒ¼ã‚¿ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆãƒ­ã‚¸ãƒƒã‚¯
+        // ---------- â€»ï¼Žãƒ‡ãƒ¼ã‚¿ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†‘â†‘
+        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 314)
@@ -200,6 +200,7 @@
             ShohiZeiRitu,
             ConstructionLedgerLineNo,
             ConstructionLedgerColNo,
+            ConstructionLedgerDetailNo,
             ConstrDepCode,
             ConstrPerson,
             SalesPerson,
@@ -255,7 +256,8 @@
             PurchaseOrderMailingDate,   // ’�•¶�‘—X‘—“ú
             PurchaseOrderReturnDate,    // ’�•¶�‘•Ô‘—“ú
             PaData,                     // —\ŽZ�‘
-            ConstructionLedgerDetailNo, // �HŽ–�Ú�×‘ä’ –¾�×”Ô�†(�s”Ô�†‚Í•Ï‚í‚é‚±‚Æ‚ª‚ ‚é‚½‚ß)
+            ConstructionLedgerRowNo,    // �HŽ–�Ú�×‘ä’ �s”Ô�†
+            ConstructionLedgerDetailNo, // �HŽ–�Ú�×‘ä’ –¾�×”Ô�†
             ConstructionLedgerColNo,    // �HŽ–�Ú�×‘ä’ —ñ”Ô�†
             DetailName,                 // –¾�×�s–¼�Ì
             PApp_PersonCode,            // ’S“–ŽÒ�³”Fƒf�[ƒ^�F�\�¿’S“–ŽÒƒR�[ƒh
@@ -334,8 +336,15 @@
         string s_strOverComment = "�yŽx•¥‹àŠz’´‰ß�z";
         #endregion
 
+        #region –¾�×‘Î�Û“ú
+        /// <summary>
+        /// –¾�×‘Î�Û“ú
+        /// </summary>
+        private static string s_DetailExecDay = "/01";
         #endregion
 
+        #endregion
+
         #region •Ï�”
 
         #region �³”Fƒf�[ƒ^ƒNƒ‰ƒX
@@ -916,7 +925,19 @@
             // ‹¦—Í‰ïŽÐ‘I‘ð
             ShowSubConstructorDiag();
             controlButton_DataCount();
+        }
+        #endregion
 
+        #region ‹ÆŽÒ�í�œƒ{ƒ^ƒ“
+        /// <summary>
+        /// ‹ÆŽÒ�í�œƒ{ƒ^ƒ“
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnDeleteCompany_Click(object sender, EventArgs e)
+        {
+            // �í�œ�ˆ—�
+            RemoveCompany();
         }
         #endregion
 
@@ -934,28 +955,16 @@
         }
         #endregion
 
-        #region �s�ó‘Ô‚ÌŽæ“¾
+        #region Œ»�ê�í�œƒ{ƒ^ƒ“
         /// <summary>
-        /// �s�ó‘Ô‚ÌŽæ“¾
+        /// Œ»�ê�í�œƒ{ƒ^ƒ“
         /// </summary>
-        /// <param name="target"></param>
-        /// <returns></returns>
-        private DataRowState cnvRowState(object target)
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnDeleteProject_Click(object sender, EventArgs e)
         {
-            DataRowState Result = DataRowState.Detached;
-            try
-            {
-                if (target != null)
-                {
-                    Result = (DataRowState)target;
-                }
-            }
-            catch (Exception ex)
-            {
-                Console.WriteLine(ex.Message);
-            }
-
-            return Result;
+            // �í�œ�ˆ—�
+            RemoveProject();
         }
         #endregion
 
@@ -1022,7 +1031,6 @@
 
                 if (ShoukeiRowIndex >= 0)
                 {
-                    //�¦Œã‚É‰ïŽÐ�î•ñ‚©‚çŽæ“¾‚³‚ê‚é                         �@
                     dgv[e.ColumnIndex, ZeiRowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[e.ColumnIndex, ShoukeiRowIndex].Value)
                                                                                     * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
                 }
@@ -1204,32 +1212,6 @@
         }
         #endregion
 
-        #region ‹ÆŽÒ�í�œƒ{ƒ^ƒ“
-        /// <summary>
-        /// ‹ÆŽÒ�í�œƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDeleteCompany_Click(object sender, EventArgs e)
-        {
-            // �í�œ�ˆ—�
-            RemoveCompany();
-        }
-        #endregion
-
-        #region Œ»�ê�í�œƒ{ƒ^ƒ“
-        /// <summary>
-        /// Œ»�ê�í�œƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDeleteProject_Click(object sender, EventArgs e)
-        {
-            // �í�œ�ˆ—�
-            RemoveProject();
-        }
-        #endregion
-
         #region ƒf�[ƒ^Žæ“¾�ˆ—�
         /// <summary>
         /// ƒf�[ƒ^Žæ“¾�ˆ—�
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 314)
@@ -37,31 +37,6 @@
         {
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
@@ -93,6 +68,31 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -134,105 +134,6 @@
             this.cmbTargetMonth = new System.Windows.Forms.ComboBox();
             this.label3 = new System.Windows.Forms.Label();
             this.dgvCompany = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.dgvCompany001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany004 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany005 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany006 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany007 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany009 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany010 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany011 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany012 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany013 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany014 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany015 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany016 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany017 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany018 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany019 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany020 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany021 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany022 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany023 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany024 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany025 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany026 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany027 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany028 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany029 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany030 = new System.Windows.Forms.DataGridViewComboBoxColumn();
-            this.dgvCompany031 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany032 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany033 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany034 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany035 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany036 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany037 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany038 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany039 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany040 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany041 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany042 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany043 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany044 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany045 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany046 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany047 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany048 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany049 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany050 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany051 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany052 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany053 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany054 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany055 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany056 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany057 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany058 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany059 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany060 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany061 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany062 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany063 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany064 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany065 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany066 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany067 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany068 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany069 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany070 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany071 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany072 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany073 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany074 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany075 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany076 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany077 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany078 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany079 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany080 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany081 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany082 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany083 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany084 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany085 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany086 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany087 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany088 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany089 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany090 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany091 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany092 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany093 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany094 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany095 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany096 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany097 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany098 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany099 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvProject = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dgvProject001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvProject002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -333,6 +234,107 @@
             this.dgvProject097 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvProject098 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvProject099 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvProject100 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany004 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany005 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany006 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany007 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany009 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany010 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany011 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany012 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany013 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany014 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany015 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany016 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany017 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany018 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany019 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany020 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany021 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany022 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany023 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany024 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany025 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany026 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany027 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany028 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany029 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany030 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+            this.dgvCompany031 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany032 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany033 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany034 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany035 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany036 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany037 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany038 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany039 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany040 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany041 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany042 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany043 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany044 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany045 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany046 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany047 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany048 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany049 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany050 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany051 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany052 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany053 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany054 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany055 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany056 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany057 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany058 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany059 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany060 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany061 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany062 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany063 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany064 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany065 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany066 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany067 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany068 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany069 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany070 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany071 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany072 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany073 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany074 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany075 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany076 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany077 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany078 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany079 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany080 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany081 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany082 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany083 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany084 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany085 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany086 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany087 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany088 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany089 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany090 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany091 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany092 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany093 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany094 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany095 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany096 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany097 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany098 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany099 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dgvCompany100 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.panel1.SuspendLayout();
             this.groupBoxEx1.SuspendLayout();
             this.pnlApproval.SuspendLayout();
@@ -1004,7 +1006,8 @@
             this.dgvCompany096,
             this.dgvCompany097,
             this.dgvCompany098,
-            this.dgvCompany099});
+            this.dgvCompany099,
+            this.dgvCompany100});
             dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Window;
             dataGridViewCellStyle27.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
@@ -1034,771 +1037,6 @@
             this.dgvCompany.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValueChanged);
             this.dgvCompany.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView_CurrentCellDirtyStateChanged);
             // 
-            // dgvCompany001
-            // 
-            this.dgvCompany001.HeaderText = "CompanyDispOrder";
-            this.dgvCompany001.Name = "dgvCompany001";
-            this.dgvCompany001.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany001.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany002
-            // 
-            this.dgvCompany002.HeaderText = "ApprovalEndFlg";
-            this.dgvCompany002.Name = "dgvCompany002";
-            this.dgvCompany002.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany002.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany003
-            // 
-            this.dgvCompany003.HeaderText = "æ¥­è€…è«‹æ±‚æ˜Žç´°æ›´æ–°æ—¥æ™‚";
-            this.dgvCompany003.Name = "dgvCompany003";
-            this.dgvCompany003.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany003.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany004
-            // 
-            this.dgvCompany004.HeaderText = "RowState";
-            this.dgvCompany004.Name = "dgvCompany004";
-            this.dgvCompany004.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany004.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany005
-            // 
-            this.dgvCompany005.HeaderText = "å�¯è¦–";
-            this.dgvCompany005.Name = "dgvCompany005";
-            this.dgvCompany005.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany005.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany006
-            // 
-            this.dgvCompany006.HeaderText = "è¡Œã‚¿ã‚¤ãƒ—";
-            this.dgvCompany006.Name = "dgvCompany006";
-            this.dgvCompany006.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany006.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany007
-            // 
-            this.dgvCompany007.HeaderText = "GoukeiSeqNo";
-            this.dgvCompany007.Name = "dgvCompany007";
-            this.dgvCompany007.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany007.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany008
-            // 
-            this.dgvCompany008.HeaderText = "SeqNo";
-            this.dgvCompany008.Name = "dgvCompany008";
-            this.dgvCompany008.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany008.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany009
-            // 
-            this.dgvCompany009.HeaderText = "LineCount";
-            this.dgvCompany009.Name = "dgvCompany009";
-            this.dgvCompany009.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany009.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany010
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany010.DefaultCellStyle = dataGridViewCellStyle2;
-            this.dgvCompany010.FillWeight = 110F;
-            this.dgvCompany010.HeaderText = "â„–";
-            this.dgvCompany010.Name = "dgvCompany010";
-            this.dgvCompany010.ReadOnly = true;
-            this.dgvCompany010.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany010.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany010.Width = 35;
-            // 
-            // dgvCompany011
-            // 
-            this.dgvCompany011.HeaderText = "æ¥­è€…ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany011.Name = "dgvCompany011";
-            this.dgvCompany011.ReadOnly = true;
-            this.dgvCompany011.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany011.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany012
-            // 
-            this.dgvCompany012.HeaderText = "å�”åŠ›ä¼šç¤¾\r\nã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany012.Name = "dgvCompany012";
-            this.dgvCompany012.ReadOnly = true;
-            this.dgvCompany012.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany012.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany013
-            // 
-            this.dgvCompany013.HeaderText = "æ¥­è€…å��";
-            this.dgvCompany013.Name = "dgvCompany013";
-            this.dgvCompany013.ReadOnly = true;
-            this.dgvCompany013.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany013.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany013.Width = 140;
-            // 
-            // dgvCompany014
-            // 
-            this.dgvCompany014.HeaderText = "ç�¾å ´ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany014.Name = "dgvCompany014";
-            this.dgvCompany014.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany014.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany015
-            // 
-            this.dgvCompany015.HeaderText = "ç�¾å ´å��";
-            this.dgvCompany015.Name = "dgvCompany015";
-            this.dgvCompany015.ReadOnly = true;
-            this.dgvCompany015.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany015.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany015.Width = 180;
-            // 
-            // dgvCompany016
-            // 
-            this.dgvCompany016.HeaderText = "è«‹æ±‚æ˜Žç´°";
-            this.dgvCompany016.Name = "dgvCompany016";
-            this.dgvCompany016.ReadOnly = true;
-            this.dgvCompany016.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany016.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany016.Width = 180;
-            // 
-            // dgvCompany017
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany017.DefaultCellStyle = dataGridViewCellStyle3;
-            this.dgvCompany017.HeaderText = "è«‹æ±‚æ›¸\r\né‡‘é¡�";
-            this.dgvCompany017.Name = "dgvCompany017";
-            this.dgvCompany017.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany017.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany017.Width = 125;
-            // 
-            // dgvCompany018
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany018.DefaultCellStyle = dataGridViewCellStyle4;
-            this.dgvCompany018.HeaderText = "é«˜é€Ÿä»£é§�è»Šä»£";
-            this.dgvCompany018.Name = "dgvCompany018";
-            this.dgvCompany018.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany018.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany018.Width = 80;
-            // 
-            // dgvCompany019
-            // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany019.DefaultCellStyle = dataGridViewCellStyle5;
-            this.dgvCompany019.HeaderText = "é‡‘ç‰©ä»£";
-            this.dgvCompany019.Name = "dgvCompany019";
-            this.dgvCompany019.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany019.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany019.Width = 80;
-            // 
-            // dgvCompany020
-            // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany020.DefaultCellStyle = dataGridViewCellStyle6;
-            this.dgvCompany020.HeaderText = "ç”£å»ƒç¨Ž";
-            this.dgvCompany020.Name = "dgvCompany020";
-            this.dgvCompany020.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany020.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany020.Width = 80;
-            // 
-            // dgvCompany021
-            // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany021.DefaultCellStyle = dataGridViewCellStyle7;
-            this.dgvCompany021.HeaderText = "è«‹æ±‚\r\né‡‘é¡�";
-            this.dgvCompany021.Name = "dgvCompany021";
-            this.dgvCompany021.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany021.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany021.Width = 110;
-            // 
-            // dgvCompany022
-            // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany022.DefaultCellStyle = dataGridViewCellStyle8;
-            this.dgvCompany022.HeaderText = "å€¤å¼•\r\né‡‘é¡�";
-            this.dgvCompany022.Name = "dgvCompany022";
-            this.dgvCompany022.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany022.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany022.Width = 110;
-            // 
-            // dgvCompany023
-            // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany023.DefaultCellStyle = dataGridViewCellStyle9;
-            this.dgvCompany023.HeaderText = "ç›¸æ®º\r\né‡‘é¡�";
-            this.dgvCompany023.Name = "dgvCompany023";
-            this.dgvCompany023.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany023.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany023.Width = 110;
-            // 
-            // dgvCompany024
-            // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany024.DefaultCellStyle = dataGridViewCellStyle10;
-            this.dgvCompany024.HeaderText = "æ¬¡å›ž\r\nç¹°è¶Š";
-            this.dgvCompany024.Name = "dgvCompany024";
-            this.dgvCompany024.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany024.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany024.Width = 110;
-            // 
-            // dgvCompany025
-            // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany025.DefaultCellStyle = dataGridViewCellStyle11;
-            this.dgvCompany025.HeaderText = "é«˜é€Ÿä»£é§�è»Šä»£";
-            this.dgvCompany025.Name = "dgvCompany025";
-            this.dgvCompany025.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany025.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany025.Width = 80;
-            // 
-            // dgvCompany026
-            // 
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany026.DefaultCellStyle = dataGridViewCellStyle12;
-            this.dgvCompany026.HeaderText = "é‡‘ç‰©ä»£";
-            this.dgvCompany026.Name = "dgvCompany026";
-            this.dgvCompany026.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany026.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany026.Width = 80;
-            // 
-            // dgvCompany027
-            // 
-            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany027.DefaultCellStyle = dataGridViewCellStyle13;
-            this.dgvCompany027.HeaderText = "ç”£å»ƒç¨Ž";
-            this.dgvCompany027.Name = "dgvCompany027";
-            this.dgvCompany027.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany027.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany027.Width = 80;
-            // 
-            // dgvCompany028
-            // 
-            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany028.DefaultCellStyle = dataGridViewCellStyle14;
-            this.dgvCompany028.HeaderText = "å�”åŠ›é‡‘";
-            this.dgvCompany028.Name = "dgvCompany028";
-            this.dgvCompany028.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany028.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany028.Width = 80;
-            // 
-            // dgvCompany029
-            // 
-            this.dgvCompany029.HeaderText = "å�”åŠ›é‡‘çŽ‡";
-            this.dgvCompany029.Name = "dgvCompany029";
-            this.dgvCompany029.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany029.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany030
-            // 
-            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle15.BackColor = System.Drawing.Color.White;
-            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
-            this.dgvCompany030.DefaultCellStyle = dataGridViewCellStyle15;
-            this.dgvCompany030.HeaderText = "å�”åŠ›é‡‘\r\næœ‰ç„¡";
-            this.dgvCompany030.MaxDropDownItems = 3;
-            this.dgvCompany030.Name = "dgvCompany030";
-            this.dgvCompany030.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            // 
-            // dgvCompany031
-            // 
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany031.DefaultCellStyle = dataGridViewCellStyle16;
-            this.dgvCompany031.HeaderText = "æ³¨æ–‡æ›¸\r\né€�ä»˜";
-            this.dgvCompany031.Name = "dgvCompany031";
-            this.dgvCompany031.ReadOnly = true;
-            this.dgvCompany031.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany031.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany032
-            // 
-            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany032.DefaultCellStyle = dataGridViewCellStyle17;
-            this.dgvCompany032.HeaderText = "æ³¨æ–‡æ›¸\r\nåˆ°ç�€";
-            this.dgvCompany032.Name = "dgvCompany032";
-            this.dgvCompany032.ReadOnly = true;
-            this.dgvCompany032.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany032.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany033
-            // 
-            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany033.DefaultCellStyle = dataGridViewCellStyle18;
-            this.dgvCompany033.HeaderText = "äºˆç®—æ›¸";
-            this.dgvCompany033.Name = "dgvCompany033";
-            this.dgvCompany033.ReadOnly = true;
-            this.dgvCompany033.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany033.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany034
-            // 
-            this.dgvCompany034.HeaderText = "æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany034.Name = "dgvCompany034";
-            this.dgvCompany034.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany034.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany035
-            // 
-            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany035.DefaultCellStyle = dataGridViewCellStyle19;
-            this.dgvCompany035.HeaderText = "ç”³è«‹\r\næ‹…å½“è€…";
-            this.dgvCompany035.Name = "dgvCompany035";
-            this.dgvCompany035.ReadOnly = true;
-            this.dgvCompany035.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany035.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany036
-            // 
-            this.dgvCompany036.HeaderText = "æ‹…å½“æ—¥ä»˜";
-            this.dgvCompany036.Name = "dgvCompany036";
-            this.dgvCompany036.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany036.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany037
-            // 
-            this.dgvCompany037.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany037.Name = "dgvCompany037";
-            // 
-            // dgvCompany038
-            // 
-            this.dgvCompany038.HeaderText = "æ‰¿èª�è€…ï¼‘ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany038.Name = "dgvCompany038";
-            this.dgvCompany038.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany038.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany039
-            // 
-            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany039.DefaultCellStyle = dataGridViewCellStyle20;
-            this.dgvCompany039.HeaderText = "æ‰¿èª�è€…ï¼‘\r\næ‰¿èª�";
-            this.dgvCompany039.Name = "dgvCompany039";
-            this.dgvCompany039.ReadOnly = true;
-            this.dgvCompany039.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany039.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany040
-            // 
-            this.dgvCompany040.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ—¥ä»˜";
-            this.dgvCompany040.Name = "dgvCompany040";
-            this.dgvCompany040.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany040.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany041
-            // 
-            this.dgvCompany041.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany041.Name = "dgvCompany041";
-            this.dgvCompany041.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany041.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany042
-            // 
-            this.dgvCompany042.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany042.Name = "dgvCompany042";
-            this.dgvCompany042.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany042.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany043
-            // 
-            this.dgvCompany043.HeaderText = "æ‰¿èª�è€…ï¼’ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany043.Name = "dgvCompany043";
-            this.dgvCompany043.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany043.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany044
-            // 
-            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany044.DefaultCellStyle = dataGridViewCellStyle21;
-            this.dgvCompany044.HeaderText = "æ‰¿èª�è€…ï¼’\r\næ‰¿èª�";
-            this.dgvCompany044.Name = "dgvCompany044";
-            this.dgvCompany044.ReadOnly = true;
-            this.dgvCompany044.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany044.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany045
-            // 
-            this.dgvCompany045.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ—¥ä»˜";
-            this.dgvCompany045.Name = "dgvCompany045";
-            this.dgvCompany045.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany045.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany046
-            // 
-            this.dgvCompany046.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany046.Name = "dgvCompany046";
-            this.dgvCompany046.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany046.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany047
-            // 
-            this.dgvCompany047.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany047.Name = "dgvCompany047";
-            this.dgvCompany047.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany047.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany048
-            // 
-            this.dgvCompany048.HeaderText = "æ‰¿èª�è€…ï¼“ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany048.Name = "dgvCompany048";
-            this.dgvCompany048.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany048.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany049
-            // 
-            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany049.DefaultCellStyle = dataGridViewCellStyle22;
-            this.dgvCompany049.HeaderText = "æ‰¿èª�è€…ï¼“\r\næ‰¿èª�";
-            this.dgvCompany049.Name = "dgvCompany049";
-            this.dgvCompany049.ReadOnly = true;
-            this.dgvCompany049.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany049.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany050
-            // 
-            this.dgvCompany050.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ—¥ä»˜";
-            this.dgvCompany050.Name = "dgvCompany050";
-            this.dgvCompany050.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany050.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany051
-            // 
-            this.dgvCompany051.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany051.Name = "dgvCompany051";
-            this.dgvCompany051.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany051.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany052
-            // 
-            this.dgvCompany052.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany052.Name = "dgvCompany052";
-            this.dgvCompany052.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany052.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany053
-            // 
-            this.dgvCompany053.HeaderText = "æ‰¿èª�è€…ï¼”ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany053.Name = "dgvCompany053";
-            this.dgvCompany053.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany053.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany054
-            // 
-            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany054.DefaultCellStyle = dataGridViewCellStyle23;
-            this.dgvCompany054.HeaderText = "æ‰¿èª�è€…ï¼”\r\næ‰¿èª�";
-            this.dgvCompany054.Name = "dgvCompany054";
-            this.dgvCompany054.ReadOnly = true;
-            this.dgvCompany054.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany054.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany055
-            // 
-            this.dgvCompany055.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ—¥ä»˜";
-            this.dgvCompany055.Name = "dgvCompany055";
-            this.dgvCompany055.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany055.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany056
-            // 
-            this.dgvCompany056.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany056.Name = "dgvCompany056";
-            this.dgvCompany056.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany056.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany057
-            // 
-            this.dgvCompany057.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany057.Name = "dgvCompany057";
-            this.dgvCompany057.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany057.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany058
-            // 
-            this.dgvCompany058.HeaderText = "æ‰¿èª�è€…ï¼•ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany058.Name = "dgvCompany058";
-            this.dgvCompany058.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany058.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
-            // 
-            // dgvCompany059
-            // 
-            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany059.DefaultCellStyle = dataGridViewCellStyle24;
-            this.dgvCompany059.HeaderText = "æ‰¿èª�è€…ï¼•\r\næ‰¿èª�";
-            this.dgvCompany059.Name = "dgvCompany059";
-            this.dgvCompany059.ReadOnly = true;
-            this.dgvCompany059.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany059.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany060
-            // 
-            this.dgvCompany060.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ—¥ä»˜";
-            this.dgvCompany060.Name = "dgvCompany060";
-            this.dgvCompany060.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany060.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany061
-            // 
-            this.dgvCompany061.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany061.Name = "dgvCompany061";
-            this.dgvCompany061.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany061.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany062
-            // 
-            this.dgvCompany062.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany062.Name = "dgvCompany062";
-            this.dgvCompany062.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany062.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany063
-            // 
-            this.dgvCompany063.HeaderText = "æ‰¿èª�è€…ï¼–ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany063.Name = "dgvCompany063";
-            this.dgvCompany063.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany063.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany064
-            // 
-            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany064.DefaultCellStyle = dataGridViewCellStyle25;
-            this.dgvCompany064.HeaderText = "æ‰¿èª�è€…ï¼–\r\næ‰¿èª�";
-            this.dgvCompany064.Name = "dgvCompany064";
-            this.dgvCompany064.ReadOnly = true;
-            this.dgvCompany064.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany064.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany065
-            // 
-            this.dgvCompany065.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ—¥ä»˜";
-            this.dgvCompany065.Name = "dgvCompany065";
-            this.dgvCompany065.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany065.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany066
-            // 
-            this.dgvCompany066.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany066.Name = "dgvCompany066";
-            this.dgvCompany066.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany066.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany067
-            // 
-            this.dgvCompany067.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany067.Name = "dgvCompany067";
-            this.dgvCompany067.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany067.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany068
-            // 
-            this.dgvCompany068.HeaderText = "æ‰¿èª�è€…ï¼—ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany068.Name = "dgvCompany068";
-            this.dgvCompany068.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany068.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany069
-            // 
-            this.dgvCompany069.HeaderText = "æ‰¿èª�è€…ï¼—\r\næ‰¿èª�";
-            this.dgvCompany069.Name = "dgvCompany069";
-            this.dgvCompany069.ReadOnly = true;
-            this.dgvCompany069.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany069.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany070
-            // 
-            this.dgvCompany070.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ—¥ä»˜";
-            this.dgvCompany070.Name = "dgvCompany070";
-            this.dgvCompany070.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany070.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany071
-            // 
-            this.dgvCompany071.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany071.Name = "dgvCompany071";
-            this.dgvCompany071.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany071.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany072
-            // 
-            this.dgvCompany072.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany072.Name = "dgvCompany072";
-            this.dgvCompany072.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany072.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany073
-            // 
-            this.dgvCompany073.HeaderText = "æ‰¿èª�è€…ï¼˜ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany073.Name = "dgvCompany073";
-            this.dgvCompany073.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany073.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany074
-            // 
-            this.dgvCompany074.HeaderText = "æ‰¿èª�è€…ï¼˜\r\næ‰¿èª�";
-            this.dgvCompany074.Name = "dgvCompany074";
-            this.dgvCompany074.ReadOnly = true;
-            this.dgvCompany074.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany074.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany075
-            // 
-            this.dgvCompany075.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ—¥ä»˜";
-            this.dgvCompany075.Name = "dgvCompany075";
-            this.dgvCompany075.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            // 
-            // dgvCompany076
-            // 
-            this.dgvCompany076.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany076.Name = "dgvCompany076";
-            this.dgvCompany076.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany076.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany077
-            // 
-            this.dgvCompany077.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany077.Name = "dgvCompany077";
-            this.dgvCompany077.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany077.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany078
-            // 
-            this.dgvCompany078.HeaderText = "æ‰¿èª�è€…ï¼™ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany078.Name = "dgvCompany078";
-            this.dgvCompany078.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany078.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany079
-            // 
-            this.dgvCompany079.HeaderText = "æ‰¿èª�è€…ï¼™\r\næ‰¿èª�";
-            this.dgvCompany079.Name = "dgvCompany079";
-            this.dgvCompany079.ReadOnly = true;
-            this.dgvCompany079.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany079.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany080
-            // 
-            this.dgvCompany080.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ—¥ä»˜";
-            this.dgvCompany080.Name = "dgvCompany080";
-            this.dgvCompany080.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany080.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany081
-            // 
-            this.dgvCompany081.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany081.Name = "dgvCompany081";
-            this.dgvCompany081.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany081.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany082
-            // 
-            this.dgvCompany082.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany082.Name = "dgvCompany082";
-            this.dgvCompany082.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany082.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany083
-            // 
-            this.dgvCompany083.HeaderText = "æ‰¿èª�è€…10ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany083.Name = "dgvCompany083";
-            this.dgvCompany083.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany083.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany084
-            // 
-            this.dgvCompany084.HeaderText = "æ‰¿èª�è€…10\r\næ‰¿èª�";
-            this.dgvCompany084.Name = "dgvCompany084";
-            this.dgvCompany084.ReadOnly = true;
-            this.dgvCompany084.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany084.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany085
-            // 
-            this.dgvCompany085.HeaderText = "æ‰¿èª�è€…10ã€€æ—¥ä»˜";
-            this.dgvCompany085.Name = "dgvCompany085";
-            this.dgvCompany085.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany085.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany086
-            // 
-            this.dgvCompany086.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany086.Name = "dgvCompany086";
-            this.dgvCompany086.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany086.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany087
-            // 
-            this.dgvCompany087.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany087.Name = "dgvCompany087";
-            this.dgvCompany087.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany087.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany088
-            // 
-            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.dgvCompany088.DefaultCellStyle = dataGridViewCellStyle26;
-            this.dgvCompany088.HeaderText = "å‚™è€ƒ";
-            this.dgvCompany088.Name = "dgvCompany088";
-            this.dgvCompany088.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany088.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany088.Width = 140;
-            // 
-            // dgvCompany089
-            // 
-            this.dgvCompany089.HeaderText = "æ¶ˆè²»ç¨ŽçŽ‡";
-            this.dgvCompany089.Name = "dgvCompany089";
-            this.dgvCompany089.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany089.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany090
-            // 
-            this.dgvCompany090.HeaderText = "å�°å¸³è¡Œç•ªå�·";
-            this.dgvCompany090.Name = "dgvCompany090";
-            this.dgvCompany090.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany090.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany091
-            // 
-            this.dgvCompany091.HeaderText = "å�°å¸³åˆ—ç•ªå�·";
-            this.dgvCompany091.Name = "dgvCompany091";
-            this.dgvCompany091.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany091.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany092
-            // 
-            this.dgvCompany092.HeaderText = "å·¥äº‹æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany092.Name = "dgvCompany092";
-            this.dgvCompany092.ReadOnly = true;
-            // 
-            // dgvCompany093
-            // 
-            this.dgvCompany093.HeaderText = "å·¥äº‹æ‹…å½“è€…";
-            this.dgvCompany093.Name = "dgvCompany093";
-            // 
-            // dgvCompany094
-            // 
-            this.dgvCompany094.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
-            this.dgvCompany094.Name = "dgvCompany094";
-            // 
-            // dgvCompany095
-            // 
-            this.dgvCompany095.HeaderText = "å‰¯æ‹…å½“è€…";
-            this.dgvCompany095.Name = "dgvCompany095";
-            // 
-            // dgvCompany096
-            // 
-            this.dgvCompany096.HeaderText = "æŒ‡å°Žå“¡";
-            this.dgvCompany096.Name = "dgvCompany096";
-            // 
-            // dgvCompany097
-            // 
-            this.dgvCompany097.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany097.Name = "dgvCompany097";
-            // 
-            // dgvCompany098
-            // 
-            this.dgvCompany098.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany098.Name = "dgvCompany098";
-            // 
-            // dgvCompany099
-            // 
-            this.dgvCompany099.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany099.Name = "dgvCompany099";
-            // 
             // dgvProject
             // 
             this.dgvProject.AllowUserToAddRows = false;
@@ -1915,7 +1153,8 @@
             this.dgvProject096,
             this.dgvProject097,
             this.dgvProject098,
-            this.dgvProject099});
+            this.dgvProject099,
+            this.dgvProject100});
             dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle58.BackColor = System.Drawing.SystemColors.Window;
             dataGridViewCellStyle58.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
@@ -2669,52 +1908,835 @@
             // 
             // dgvProject091
             // 
-            this.dgvProject091.HeaderText = "å�°å¸³åˆ—ç•ªå�·";
+            this.dgvProject091.HeaderText = "å�°å¸³æ˜Žç´°ç•ªå�·";
             this.dgvProject091.Name = "dgvProject091";
+            this.dgvProject091.ReadOnly = true;
             this.dgvProject091.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.dgvProject091.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvProject091.Visible = false;
             // 
             // dgvProject092
             // 
-            this.dgvProject092.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvProject092.HeaderText = "å�°å¸³åˆ—ç•ªå�·";
             this.dgvProject092.Name = "dgvProject092";
-            this.dgvProject092.ReadOnly = true;
+            this.dgvProject092.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvProject092.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             // 
             // dgvProject093
             // 
-            this.dgvProject093.HeaderText = "å·¥äº‹æ‹…å½“è€…";
+            this.dgvProject093.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvProject093.Name = "dgvProject093";
+            this.dgvProject093.ReadOnly = true;
             // 
             // dgvProject094
             // 
-            this.dgvProject094.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
+            this.dgvProject094.HeaderText = "å·¥äº‹æ‹…å½“è€…";
             this.dgvProject094.Name = "dgvProject094";
             // 
             // dgvProject095
             // 
-            this.dgvProject095.HeaderText = "å‰¯æ‹…å½“è€…";
+            this.dgvProject095.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
             this.dgvProject095.Name = "dgvProject095";
             // 
             // dgvProject096
             // 
-            this.dgvProject096.HeaderText = "æŒ‡å°Žå“¡";
+            this.dgvProject096.HeaderText = "å‰¯æ‹…å½“è€…";
             this.dgvProject096.Name = "dgvProject096";
             // 
             // dgvProject097
             // 
-            this.dgvProject097.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvProject097.HeaderText = "æŒ‡å°Žå“¡";
             this.dgvProject097.Name = "dgvProject097";
             // 
             // dgvProject098
             // 
-            this.dgvProject098.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvProject098.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvProject098.Name = "dgvProject098";
             // 
             // dgvProject099
             // 
-            this.dgvProject099.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvProject099.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvProject099.Name = "dgvProject099";
             // 
+            // dgvProject100
+            // 
+            this.dgvProject100.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvProject100.Name = "dgvProject100";
+            // 
+            // dgvCompany001
+            // 
+            this.dgvCompany001.HeaderText = "CompanyDispOrder";
+            this.dgvCompany001.Name = "dgvCompany001";
+            this.dgvCompany001.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany001.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany002
+            // 
+            this.dgvCompany002.HeaderText = "ApprovalEndFlg";
+            this.dgvCompany002.Name = "dgvCompany002";
+            this.dgvCompany002.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany002.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany003
+            // 
+            this.dgvCompany003.HeaderText = "æ¥­è€…è«‹æ±‚æ˜Žç´°æ›´æ–°æ—¥æ™‚";
+            this.dgvCompany003.Name = "dgvCompany003";
+            this.dgvCompany003.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany003.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany004
+            // 
+            this.dgvCompany004.HeaderText = "RowState";
+            this.dgvCompany004.Name = "dgvCompany004";
+            this.dgvCompany004.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany004.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany005
+            // 
+            this.dgvCompany005.HeaderText = "å�¯è¦–";
+            this.dgvCompany005.Name = "dgvCompany005";
+            this.dgvCompany005.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany005.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany006
+            // 
+            this.dgvCompany006.HeaderText = "è¡Œã‚¿ã‚¤ãƒ—";
+            this.dgvCompany006.Name = "dgvCompany006";
+            this.dgvCompany006.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany006.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany007
+            // 
+            this.dgvCompany007.HeaderText = "GoukeiSeqNo";
+            this.dgvCompany007.Name = "dgvCompany007";
+            this.dgvCompany007.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany007.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany008
+            // 
+            this.dgvCompany008.HeaderText = "SeqNo";
+            this.dgvCompany008.Name = "dgvCompany008";
+            this.dgvCompany008.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany008.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany009
+            // 
+            this.dgvCompany009.HeaderText = "LineCount";
+            this.dgvCompany009.Name = "dgvCompany009";
+            this.dgvCompany009.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany009.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany010
+            // 
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany010.DefaultCellStyle = dataGridViewCellStyle2;
+            this.dgvCompany010.FillWeight = 110F;
+            this.dgvCompany010.HeaderText = "â„–";
+            this.dgvCompany010.Name = "dgvCompany010";
+            this.dgvCompany010.ReadOnly = true;
+            this.dgvCompany010.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany010.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany010.Width = 35;
+            // 
+            // dgvCompany011
+            // 
+            this.dgvCompany011.HeaderText = "æ¥­è€…ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany011.Name = "dgvCompany011";
+            this.dgvCompany011.ReadOnly = true;
+            this.dgvCompany011.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany011.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany012
+            // 
+            this.dgvCompany012.HeaderText = "å�”åŠ›ä¼šç¤¾\r\nã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany012.Name = "dgvCompany012";
+            this.dgvCompany012.ReadOnly = true;
+            this.dgvCompany012.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany012.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany013
+            // 
+            this.dgvCompany013.HeaderText = "æ¥­è€…å��";
+            this.dgvCompany013.Name = "dgvCompany013";
+            this.dgvCompany013.ReadOnly = true;
+            this.dgvCompany013.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany013.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany013.Width = 140;
+            // 
+            // dgvCompany014
+            // 
+            this.dgvCompany014.HeaderText = "ç�¾å ´ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany014.Name = "dgvCompany014";
+            this.dgvCompany014.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany014.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany015
+            // 
+            this.dgvCompany015.HeaderText = "ç�¾å ´å��";
+            this.dgvCompany015.Name = "dgvCompany015";
+            this.dgvCompany015.ReadOnly = true;
+            this.dgvCompany015.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany015.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany015.Width = 180;
+            // 
+            // dgvCompany016
+            // 
+            this.dgvCompany016.HeaderText = "è«‹æ±‚æ˜Žç´°";
+            this.dgvCompany016.Name = "dgvCompany016";
+            this.dgvCompany016.ReadOnly = true;
+            this.dgvCompany016.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany016.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany016.Width = 180;
+            // 
+            // dgvCompany017
+            // 
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany017.DefaultCellStyle = dataGridViewCellStyle3;
+            this.dgvCompany017.HeaderText = "è«‹æ±‚æ›¸\r\né‡‘é¡�";
+            this.dgvCompany017.Name = "dgvCompany017";
+            this.dgvCompany017.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany017.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany017.Width = 125;
+            // 
+            // dgvCompany018
+            // 
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany018.DefaultCellStyle = dataGridViewCellStyle4;
+            this.dgvCompany018.HeaderText = "é«˜é€Ÿä»£é§�è»Šä»£";
+            this.dgvCompany018.Name = "dgvCompany018";
+            this.dgvCompany018.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany018.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany018.Width = 80;
+            // 
+            // dgvCompany019
+            // 
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany019.DefaultCellStyle = dataGridViewCellStyle5;
+            this.dgvCompany019.HeaderText = "é‡‘ç‰©ä»£";
+            this.dgvCompany019.Name = "dgvCompany019";
+            this.dgvCompany019.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany019.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany019.Width = 80;
+            // 
+            // dgvCompany020
+            // 
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany020.DefaultCellStyle = dataGridViewCellStyle6;
+            this.dgvCompany020.HeaderText = "ç”£å»ƒç¨Ž";
+            this.dgvCompany020.Name = "dgvCompany020";
+            this.dgvCompany020.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany020.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany020.Width = 80;
+            // 
+            // dgvCompany021
+            // 
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany021.DefaultCellStyle = dataGridViewCellStyle7;
+            this.dgvCompany021.HeaderText = "è«‹æ±‚\r\né‡‘é¡�";
+            this.dgvCompany021.Name = "dgvCompany021";
+            this.dgvCompany021.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany021.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany021.Width = 110;
+            // 
+            // dgvCompany022
+            // 
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany022.DefaultCellStyle = dataGridViewCellStyle8;
+            this.dgvCompany022.HeaderText = "å€¤å¼•\r\né‡‘é¡�";
+            this.dgvCompany022.Name = "dgvCompany022";
+            this.dgvCompany022.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany022.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany022.Width = 110;
+            // 
+            // dgvCompany023
+            // 
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany023.DefaultCellStyle = dataGridViewCellStyle9;
+            this.dgvCompany023.HeaderText = "ç›¸æ®º\r\né‡‘é¡�";
+            this.dgvCompany023.Name = "dgvCompany023";
+            this.dgvCompany023.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany023.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany023.Width = 110;
+            // 
+            // dgvCompany024
+            // 
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany024.DefaultCellStyle = dataGridViewCellStyle10;
+            this.dgvCompany024.HeaderText = "æ¬¡å›ž\r\nç¹°è¶Š";
+            this.dgvCompany024.Name = "dgvCompany024";
+            this.dgvCompany024.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany024.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany024.Width = 110;
+            // 
+            // dgvCompany025
+            // 
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany025.DefaultCellStyle = dataGridViewCellStyle11;
+            this.dgvCompany025.HeaderText = "é«˜é€Ÿä»£é§�è»Šä»£";
+            this.dgvCompany025.Name = "dgvCompany025";
+            this.dgvCompany025.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany025.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany025.Width = 80;
+            // 
+            // dgvCompany026
+            // 
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany026.DefaultCellStyle = dataGridViewCellStyle12;
+            this.dgvCompany026.HeaderText = "é‡‘ç‰©ä»£";
+            this.dgvCompany026.Name = "dgvCompany026";
+            this.dgvCompany026.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany026.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany026.Width = 80;
+            // 
+            // dgvCompany027
+            // 
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany027.DefaultCellStyle = dataGridViewCellStyle13;
+            this.dgvCompany027.HeaderText = "ç”£å»ƒç¨Ž";
+            this.dgvCompany027.Name = "dgvCompany027";
+            this.dgvCompany027.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany027.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany027.Width = 80;
+            // 
+            // dgvCompany028
+            // 
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany028.DefaultCellStyle = dataGridViewCellStyle14;
+            this.dgvCompany028.HeaderText = "å�”åŠ›é‡‘";
+            this.dgvCompany028.Name = "dgvCompany028";
+            this.dgvCompany028.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany028.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany028.Width = 80;
+            // 
+            // dgvCompany029
+            // 
+            this.dgvCompany029.HeaderText = "å�”åŠ›é‡‘çŽ‡";
+            this.dgvCompany029.Name = "dgvCompany029";
+            this.dgvCompany029.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany029.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany030
+            // 
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle15.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
+            this.dgvCompany030.DefaultCellStyle = dataGridViewCellStyle15;
+            this.dgvCompany030.HeaderText = "å�”åŠ›é‡‘\r\næœ‰ç„¡";
+            this.dgvCompany030.MaxDropDownItems = 3;
+            this.dgvCompany030.Name = "dgvCompany030";
+            this.dgvCompany030.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            // 
+            // dgvCompany031
+            // 
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany031.DefaultCellStyle = dataGridViewCellStyle16;
+            this.dgvCompany031.HeaderText = "æ³¨æ–‡æ›¸\r\né€�ä»˜";
+            this.dgvCompany031.Name = "dgvCompany031";
+            this.dgvCompany031.ReadOnly = true;
+            this.dgvCompany031.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany031.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany032
+            // 
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany032.DefaultCellStyle = dataGridViewCellStyle17;
+            this.dgvCompany032.HeaderText = "æ³¨æ–‡æ›¸\r\nåˆ°ç�€";
+            this.dgvCompany032.Name = "dgvCompany032";
+            this.dgvCompany032.ReadOnly = true;
+            this.dgvCompany032.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany032.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany033
+            // 
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany033.DefaultCellStyle = dataGridViewCellStyle18;
+            this.dgvCompany033.HeaderText = "äºˆç®—æ›¸";
+            this.dgvCompany033.Name = "dgvCompany033";
+            this.dgvCompany033.ReadOnly = true;
+            this.dgvCompany033.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany033.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany034
+            // 
+            this.dgvCompany034.HeaderText = "æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany034.Name = "dgvCompany034";
+            this.dgvCompany034.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany034.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany035
+            // 
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany035.DefaultCellStyle = dataGridViewCellStyle19;
+            this.dgvCompany035.HeaderText = "ç”³è«‹\r\næ‹…å½“è€…";
+            this.dgvCompany035.Name = "dgvCompany035";
+            this.dgvCompany035.ReadOnly = true;
+            this.dgvCompany035.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany035.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany036
+            // 
+            this.dgvCompany036.HeaderText = "æ‹…å½“æ—¥ä»˜";
+            this.dgvCompany036.Name = "dgvCompany036";
+            this.dgvCompany036.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany036.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany037
+            // 
+            this.dgvCompany037.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany037.Name = "dgvCompany037";
+            // 
+            // dgvCompany038
+            // 
+            this.dgvCompany038.HeaderText = "æ‰¿èª�è€…ï¼‘ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany038.Name = "dgvCompany038";
+            this.dgvCompany038.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany038.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany039
+            // 
+            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany039.DefaultCellStyle = dataGridViewCellStyle20;
+            this.dgvCompany039.HeaderText = "æ‰¿èª�è€…ï¼‘\r\næ‰¿èª�";
+            this.dgvCompany039.Name = "dgvCompany039";
+            this.dgvCompany039.ReadOnly = true;
+            this.dgvCompany039.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany039.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany040
+            // 
+            this.dgvCompany040.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ—¥ä»˜";
+            this.dgvCompany040.Name = "dgvCompany040";
+            this.dgvCompany040.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany040.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany041
+            // 
+            this.dgvCompany041.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany041.Name = "dgvCompany041";
+            this.dgvCompany041.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany041.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany042
+            // 
+            this.dgvCompany042.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany042.Name = "dgvCompany042";
+            this.dgvCompany042.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany042.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany043
+            // 
+            this.dgvCompany043.HeaderText = "æ‰¿èª�è€…ï¼’ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany043.Name = "dgvCompany043";
+            this.dgvCompany043.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany043.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany044
+            // 
+            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany044.DefaultCellStyle = dataGridViewCellStyle21;
+            this.dgvCompany044.HeaderText = "æ‰¿èª�è€…ï¼’\r\næ‰¿èª�";
+            this.dgvCompany044.Name = "dgvCompany044";
+            this.dgvCompany044.ReadOnly = true;
+            this.dgvCompany044.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany044.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany045
+            // 
+            this.dgvCompany045.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ—¥ä»˜";
+            this.dgvCompany045.Name = "dgvCompany045";
+            this.dgvCompany045.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany045.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany046
+            // 
+            this.dgvCompany046.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany046.Name = "dgvCompany046";
+            this.dgvCompany046.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany046.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany047
+            // 
+            this.dgvCompany047.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany047.Name = "dgvCompany047";
+            this.dgvCompany047.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany047.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany048
+            // 
+            this.dgvCompany048.HeaderText = "æ‰¿èª�è€…ï¼“ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany048.Name = "dgvCompany048";
+            this.dgvCompany048.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany048.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany049
+            // 
+            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany049.DefaultCellStyle = dataGridViewCellStyle22;
+            this.dgvCompany049.HeaderText = "æ‰¿èª�è€…ï¼“\r\næ‰¿èª�";
+            this.dgvCompany049.Name = "dgvCompany049";
+            this.dgvCompany049.ReadOnly = true;
+            this.dgvCompany049.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany049.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany050
+            // 
+            this.dgvCompany050.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ—¥ä»˜";
+            this.dgvCompany050.Name = "dgvCompany050";
+            this.dgvCompany050.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany050.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany051
+            // 
+            this.dgvCompany051.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany051.Name = "dgvCompany051";
+            this.dgvCompany051.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany051.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany052
+            // 
+            this.dgvCompany052.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany052.Name = "dgvCompany052";
+            this.dgvCompany052.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany052.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany053
+            // 
+            this.dgvCompany053.HeaderText = "æ‰¿èª�è€…ï¼”ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany053.Name = "dgvCompany053";
+            this.dgvCompany053.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany053.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany054
+            // 
+            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany054.DefaultCellStyle = dataGridViewCellStyle23;
+            this.dgvCompany054.HeaderText = "æ‰¿èª�è€…ï¼”\r\næ‰¿èª�";
+            this.dgvCompany054.Name = "dgvCompany054";
+            this.dgvCompany054.ReadOnly = true;
+            this.dgvCompany054.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany054.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany055
+            // 
+            this.dgvCompany055.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ—¥ä»˜";
+            this.dgvCompany055.Name = "dgvCompany055";
+            this.dgvCompany055.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany055.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany056
+            // 
+            this.dgvCompany056.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany056.Name = "dgvCompany056";
+            this.dgvCompany056.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany056.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany057
+            // 
+            this.dgvCompany057.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany057.Name = "dgvCompany057";
+            this.dgvCompany057.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany057.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany058
+            // 
+            this.dgvCompany058.HeaderText = "æ‰¿èª�è€…ï¼•ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany058.Name = "dgvCompany058";
+            this.dgvCompany058.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany058.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
+            // 
+            // dgvCompany059
+            // 
+            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany059.DefaultCellStyle = dataGridViewCellStyle24;
+            this.dgvCompany059.HeaderText = "æ‰¿èª�è€…ï¼•\r\næ‰¿èª�";
+            this.dgvCompany059.Name = "dgvCompany059";
+            this.dgvCompany059.ReadOnly = true;
+            this.dgvCompany059.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany059.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany060
+            // 
+            this.dgvCompany060.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ—¥ä»˜";
+            this.dgvCompany060.Name = "dgvCompany060";
+            this.dgvCompany060.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany060.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany061
+            // 
+            this.dgvCompany061.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany061.Name = "dgvCompany061";
+            this.dgvCompany061.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany061.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany062
+            // 
+            this.dgvCompany062.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany062.Name = "dgvCompany062";
+            this.dgvCompany062.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany062.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany063
+            // 
+            this.dgvCompany063.HeaderText = "æ‰¿èª�è€…ï¼–ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany063.Name = "dgvCompany063";
+            this.dgvCompany063.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany063.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany064
+            // 
+            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany064.DefaultCellStyle = dataGridViewCellStyle25;
+            this.dgvCompany064.HeaderText = "æ‰¿èª�è€…ï¼–\r\næ‰¿èª�";
+            this.dgvCompany064.Name = "dgvCompany064";
+            this.dgvCompany064.ReadOnly = true;
+            this.dgvCompany064.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany064.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany065
+            // 
+            this.dgvCompany065.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ—¥ä»˜";
+            this.dgvCompany065.Name = "dgvCompany065";
+            this.dgvCompany065.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany065.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany066
+            // 
+            this.dgvCompany066.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany066.Name = "dgvCompany066";
+            this.dgvCompany066.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany066.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany067
+            // 
+            this.dgvCompany067.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany067.Name = "dgvCompany067";
+            this.dgvCompany067.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany067.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany068
+            // 
+            this.dgvCompany068.HeaderText = "æ‰¿èª�è€…ï¼—ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany068.Name = "dgvCompany068";
+            this.dgvCompany068.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany068.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany069
+            // 
+            this.dgvCompany069.HeaderText = "æ‰¿èª�è€…ï¼—\r\næ‰¿èª�";
+            this.dgvCompany069.Name = "dgvCompany069";
+            this.dgvCompany069.ReadOnly = true;
+            this.dgvCompany069.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany069.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany070
+            // 
+            this.dgvCompany070.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ—¥ä»˜";
+            this.dgvCompany070.Name = "dgvCompany070";
+            this.dgvCompany070.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany070.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany071
+            // 
+            this.dgvCompany071.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany071.Name = "dgvCompany071";
+            this.dgvCompany071.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany071.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany072
+            // 
+            this.dgvCompany072.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany072.Name = "dgvCompany072";
+            this.dgvCompany072.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany072.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany073
+            // 
+            this.dgvCompany073.HeaderText = "æ‰¿èª�è€…ï¼˜ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany073.Name = "dgvCompany073";
+            this.dgvCompany073.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany073.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany074
+            // 
+            this.dgvCompany074.HeaderText = "æ‰¿èª�è€…ï¼˜\r\næ‰¿èª�";
+            this.dgvCompany074.Name = "dgvCompany074";
+            this.dgvCompany074.ReadOnly = true;
+            this.dgvCompany074.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany074.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany075
+            // 
+            this.dgvCompany075.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ—¥ä»˜";
+            this.dgvCompany075.Name = "dgvCompany075";
+            this.dgvCompany075.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            // 
+            // dgvCompany076
+            // 
+            this.dgvCompany076.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany076.Name = "dgvCompany076";
+            this.dgvCompany076.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany076.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany077
+            // 
+            this.dgvCompany077.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany077.Name = "dgvCompany077";
+            this.dgvCompany077.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany077.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany078
+            // 
+            this.dgvCompany078.HeaderText = "æ‰¿èª�è€…ï¼™ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany078.Name = "dgvCompany078";
+            this.dgvCompany078.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany078.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany079
+            // 
+            this.dgvCompany079.HeaderText = "æ‰¿èª�è€…ï¼™\r\næ‰¿èª�";
+            this.dgvCompany079.Name = "dgvCompany079";
+            this.dgvCompany079.ReadOnly = true;
+            this.dgvCompany079.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany079.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany080
+            // 
+            this.dgvCompany080.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ—¥ä»˜";
+            this.dgvCompany080.Name = "dgvCompany080";
+            this.dgvCompany080.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany080.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany081
+            // 
+            this.dgvCompany081.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany081.Name = "dgvCompany081";
+            this.dgvCompany081.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany081.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany082
+            // 
+            this.dgvCompany082.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany082.Name = "dgvCompany082";
+            this.dgvCompany082.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany082.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany083
+            // 
+            this.dgvCompany083.HeaderText = "æ‰¿èª�è€…10ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany083.Name = "dgvCompany083";
+            this.dgvCompany083.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany083.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany084
+            // 
+            this.dgvCompany084.HeaderText = "æ‰¿èª�è€…10\r\næ‰¿èª�";
+            this.dgvCompany084.Name = "dgvCompany084";
+            this.dgvCompany084.ReadOnly = true;
+            this.dgvCompany084.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany084.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany085
+            // 
+            this.dgvCompany085.HeaderText = "æ‰¿èª�è€…10ã€€æ—¥ä»˜";
+            this.dgvCompany085.Name = "dgvCompany085";
+            this.dgvCompany085.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany085.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany086
+            // 
+            this.dgvCompany086.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�æ¨©é™�";
+            this.dgvCompany086.Name = "dgvCompany086";
+            this.dgvCompany086.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany086.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany087
+            // 
+            this.dgvCompany087.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�é †ç•ª";
+            this.dgvCompany087.Name = "dgvCompany087";
+            this.dgvCompany087.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany087.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany088
+            // 
+            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.dgvCompany088.DefaultCellStyle = dataGridViewCellStyle26;
+            this.dgvCompany088.HeaderText = "å‚™è€ƒ";
+            this.dgvCompany088.Name = "dgvCompany088";
+            this.dgvCompany088.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany088.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany088.Width = 140;
+            // 
+            // dgvCompany089
+            // 
+            this.dgvCompany089.HeaderText = "æ¶ˆè²»ç¨ŽçŽ‡";
+            this.dgvCompany089.Name = "dgvCompany089";
+            this.dgvCompany089.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany089.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany090
+            // 
+            this.dgvCompany090.HeaderText = "å�°å¸³è¡Œç•ªå�·";
+            this.dgvCompany090.Name = "dgvCompany090";
+            this.dgvCompany090.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany090.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany091
+            // 
+            this.dgvCompany091.HeaderText = "å�°å¸³æ˜Žç´°ç•ªå�·";
+            this.dgvCompany091.Name = "dgvCompany091";
+            this.dgvCompany091.ReadOnly = true;
+            this.dgvCompany091.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany091.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dgvCompany091.Visible = false;
+            // 
+            // dgvCompany092
+            // 
+            this.dgvCompany092.HeaderText = "å�°å¸³åˆ—ç•ªå�·";
+            this.dgvCompany092.Name = "dgvCompany092";
+            this.dgvCompany092.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvCompany092.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dgvCompany093
+            // 
+            this.dgvCompany093.HeaderText = "å·¥äº‹æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany093.Name = "dgvCompany093";
+            this.dgvCompany093.ReadOnly = true;
+            // 
+            // dgvCompany094
+            // 
+            this.dgvCompany094.HeaderText = "å·¥äº‹æ‹…å½“è€…";
+            this.dgvCompany094.Name = "dgvCompany094";
+            // 
+            // dgvCompany095
+            // 
+            this.dgvCompany095.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
+            this.dgvCompany095.Name = "dgvCompany095";
+            // 
+            // dgvCompany096
+            // 
+            this.dgvCompany096.HeaderText = "å‰¯æ‹…å½“è€…";
+            this.dgvCompany096.Name = "dgvCompany096";
+            // 
+            // dgvCompany097
+            // 
+            this.dgvCompany097.HeaderText = "æŒ‡å°Žå“¡";
+            this.dgvCompany097.Name = "dgvCompany097";
+            // 
+            // dgvCompany098
+            // 
+            this.dgvCompany098.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany098.Name = "dgvCompany098";
+            // 
+            // dgvCompany099
+            // 
+            this.dgvCompany099.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany099.Name = "dgvCompany099";
+            // 
+            // dgvCompany100
+            // 
+            this.dgvCompany100.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dgvCompany100.Name = "dgvCompany100";
+            // 
             // FrmRequestSummaryList
             // 
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -2905,6 +2927,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany097;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany098;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany099;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany100;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject001;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject002;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject003;
@@ -3004,5 +3027,6 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject097;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject098;
         private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject099;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject100;
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.resx	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.resx	(revision 314)
@@ -117,4 +117,10 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
+  <metadata name="dgvCompany091.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="dgvProject091.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
 </root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 314)
@@ -33,6 +33,31 @@
     partial class FrmRequestSummaryList
     {
 
+        #region �s�ó‘Ô‚ÌŽæ“¾
+        /// <summary>
+        /// �s�ó‘Ô‚ÌŽæ“¾
+        /// </summary>
+        /// <param name="target"></param>
+        /// <returns></returns>
+        private DataRowState cnvRowState(object target)
+        {
+            DataRowState Result = DataRowState.Detached;
+            try
+            {
+                if (target != null)
+                {
+                    Result = (DataRowState)target;
+                }
+            }
+            catch (Exception ex)
+            {
+                Console.WriteLine(ex.Message);
+            }
+
+            return Result;
+        }
+        #endregion
+
         #region ƒf�[ƒ^�Ä•\Ž¦
         /// <summary>
         /// ƒf�[ƒ^�Ä•\Ž¦
@@ -1155,6 +1180,7 @@
         private void ShowSubConstructorDiag()
         {
             FrmSubContractorDiag frm = new FrmSubContractorDiag();
+            FrmConstructionLedger frm2 = new FrmConstructionLedger();
             DataGridView dgv = getShowingView();
             DataGridViewRow CurRow = dgv.CurrentRow;
             try
@@ -1188,7 +1214,7 @@
                 // ƒLƒƒƒ“ƒZƒ‹Žž‚ÍˆÈ‰º‚Ì�ˆ—�‚ð�s‚í‚È‚¢
                 if (DialogResult.Cancel.Equals(frm.EndButton)) return;
 
-
+                // ‘I‘ðƒf�[ƒ^‚ðŽæ“¾‚·‚é
                 SubContractorMaster selRec = frm.SelectData;
 
                 if (rdbCompany.Checked)
@@ -1211,6 +1237,7 @@
             finally
             {
                 frm.Dispose(); frm = null;
+                frm2.Dispose(); frm2 = null;
             }
         }
         #endregion
@@ -1228,19 +1255,15 @@
             {
                 // Šù‚É‘I‘ð‚³‚ê‚Ä‚¢‚é‹ÆŽÒ‚ð”»’è‚·‚é
                 DataGridViewRow[] rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == selRec.CompanyCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible)
+                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
+                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
                                                                             .ToArray();
                 bool bInsertRow = true;
-                int nGroupNo = -1;
-                if (rows.Count() > 1)
-                {
-                    bInsertRow = false;
-                    nGroupNo = CommonMotions.cnvInt(rows[0].Cells[(int)DispColumn.GroupSeqNo].Value);
-                }
+                if (rows.Count() > 1) bInsertRow = false;
 
                 // No’l
                 string cell = dgv.Rows.Cast<DataGridViewRow>().Where(x => cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                              .Max(x => (string)x.Cells[(int)DispColumn.No].Value.ToString());
+                                                              .Max(y => (string)y.Cells[(int)DispColumn.No].Value.ToString());
                 if (cell == null)
                 {
                     No = 1;
@@ -1260,7 +1283,7 @@
                 }
 
                 // ƒf�[ƒ^“ü—Í�s
-                MakeNewRow(selRec.CompanyCode, selRec.CompanyName, 0, No, ref MakeIndex, nGroupNo, MakeIndex, string.Empty);
+                MakeNewRow(selRec.CompanyCode, selRec.CompanyName, 0, No, ref MakeIndex, -1, MakeIndex, string.Empty);
                 dgv.Rows[MakeIndex].Cells[(int)DispColumn.CompanyDispOrder].Value = selRec.DisplayOrder;
                 dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
 
@@ -1319,7 +1342,7 @@
                                                                                 && CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == selRec.CompanyCode
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                            .OrderBy(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value))
+                                                                            .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_Column].Value))
                                                                             .ToArray();
 
                 bool bLastAdd = true;
@@ -1353,8 +1376,7 @@
                         MakeIndex = SelRows[DataCnt].Index;
                     }
                     // ƒf�[ƒ^�s�ì�¬
-                    int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
-                    MakeNewRow(selRec.CompanyCode, selRec.CompanyName, nConstrCode, iNo, ref MakeIndex, nSeqNo, MakeIndex, strConstrName);
+                    MakeNewRow(selRec.CompanyCode, selRec.CompanyName, nConstrCode, iNo, ref MakeIndex, -1, MakeIndex, strConstrName);
                     dgv.Rows[MakeIndex].Cells[(int)DispColumn.CompanyDispOrder].Value = selRec.DisplayOrder;
                     dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
                 }
@@ -1458,14 +1480,7 @@
         /// <param name="iGroupSeqNo">˜A”Ô</param>
         /// <param name="iIndex">ƒf�[ƒ^�ì�¬ˆÊ’u</param>
         /// <param name="GenbaName">Œ»�ê–¼</param>
-        private void MakeNewRow(int CompanyCode,
-                                string CompanyName,
-                                int GenbaCode,
-                                int No,
-                                ref int MakeIndex,
-                                int iGroupSeqNo = -1,
-                                int iIndex = -1,
-                                string GenbaName = "")
+        private void MakeNewRow(int CompanyCode, string CompanyName, int GenbaCode, int No, ref int MakeIndex, int iGroupSeqNo = -1, int iIndex = -1, string GenbaName = "")
         {
             DataGridView dgv = getShowingView();
             int iLineCnt = 0;
@@ -1480,7 +1495,7 @@
                 string cell = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == iGoukeiCode
                                                                         && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                         && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                .Max(x => (string)x.Cells[(int)DispColumn.GoukeiSeqNo].Value.ToString());
+                                                                .Max(y => (string)y.Cells[(int)DispColumn.GoukeiSeqNo].Value.ToString());
                 if (cell == null)
                 {
                     iGoukeiSeqNo = 1;
@@ -1496,7 +1511,7 @@
                 {
                     cell = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
                                                                             && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                            .Max(x => (string)x.Cells[(int)DispColumn.GroupSeqNo].Value.ToString());
+                                                            .Max(y => (string)y.Cells[(int)DispColumn.GroupSeqNo].Value.ToString());
                     if (cell == null)
                     {
                         iGroupSeqNo = 1;
@@ -1503,16 +1518,26 @@
                     }
                     else
                     {
-                        iGroupSeqNo = CommonMotions.cnvInt(cell) + 1;
+                        DataGridViewRow[] RowList = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
+                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted
+                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == CommonMotions.cnvInt(cell))
+                                                                                .ToArray();
+                        // SeqNoƒZƒbƒg
+                        iGroupSeqNo = CommonMotions.cnvInt(cell);
+                        // �³”F�Ï‚Ý‚ÍƒJƒEƒ“ƒgƒAƒbƒv
+                        if (RowList.Count() > 0)
+                        {
+                            if (CommonMotions.cnvInt(RowList[0].Cells[(int)DispColumn.ApprovalEndFlg].Value) == 1) iGroupSeqNo++;
+                        }
                     }
                 }
 
                 // �s”Ô�†
-                string lineCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
+                int lineCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
                                                                           && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == iGroupSeqNo
                                                                           && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                 .Max(x => (string)x.Cells[(int)DispColumn.LineCount].Value.ToString());
-                if (lineCnt == null)
+                                                                 .Max(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.LineCount].Value));
+                if (lineCnt == 0)
                 {
                     iLineCnt = 1;
                 }
@@ -1610,6 +1635,7 @@
         private void ShowProjectDiag()
         {
             FrmConstructionDiag frm = new FrmConstructionDiag();
+            FrmConstructionLedger frm2 = new FrmConstructionLedger();
             IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
             IOMPersonInCharge IoMpic = new IOMPersonInCharge();
             try
@@ -1643,6 +1669,23 @@
                 // �I—¹ƒR�[ƒhŠm”F
                 if (DialogResult.Cancel.Equals(frm.EndButton)) return;
 
+                if (frm.ConstructionCode != 0)
+                {
+                    frm2.SubForm = true;
+                    // �HŽ–”Ô�†
+                    frm2.ConstructionCode = frm.ConstructionCode;
+                    // �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
+                    frm2.ReqestSummaryFlag = true;
+                    // �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
+                    frm2.ReqSumTargetMonth = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
+                    // �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
+                    frm2.ReqSumCompany = nCompnyCode;
+                    //frm2.Location = CommonMotions.SetFormPosion(this.Location);
+                    frm2.ShowDialog();
+                    // �I—¹ƒR�[ƒhŠm”F
+                    if (DialogResult.Cancel.Equals(frm2.EndButton)) return;
+                }
+
                 int nNewMakeRowIndex = -1;
                 if (rdbCompany.Checked)
                 {   // ----- ‹ÆŽÒ
@@ -1707,6 +1750,7 @@
             finally
             {
                 frm.Dispose(); frm = null;
+                frm2.Dispose(); frm2 = null;
                 IoCbi.close(); IoCbi = null;
                 IoMpic.close(); IoMpic = null;
 
@@ -1743,7 +1787,7 @@
                                                                                 && CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstructionCode
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                            .OrderBy(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value))
+                                                                            .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_Column].Value))
                                                                             .ToArray();
 
                 bool bLastAdd = true;
@@ -1776,8 +1820,7 @@
                     }
 
                     // �s�ì�¬
-                    int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
-                    MakeNewRow(nCompanyCode, strCompnyName, nConstructionCode, 0, ref MakeIndex, nSeqNo, MakeIndex, strConstructionName);
+                    MakeNewRow(nCompanyCode, strCompnyName, nConstructionCode, 0, ref MakeIndex, -1, MakeIndex, strConstructionName);
                     dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
                 }
                 
@@ -1883,7 +1926,7 @@
                                                                         GoukeiCode = CommonMotions.cnvInt(c.Cells[m_GoukeiCode_Column].Value),
                                                                         GoukeiName = CommonMotions.cnvString(c.Cells[m_GoukeiCode_Column + 2].ToolTipText)
                                                                     })
-                                                                    .OrderBy(x => x.Key.DispOrder)
+                                                                    .OrderBy(y => y.Key.DispOrder)
                                                                     .ToArray();
 
                     iNo = 1;
@@ -1892,9 +1935,9 @@
                         // �HŽ–”Ô�†‚ª“¯‚¶‚à‚Ì‚ðŽæ“¾‚·‚é
                         DataGridViewRow[] GoukeiRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                                                  && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.Key.GoukeiCode)
-                                                                                      .OrderBy(x => x.Cells[(int)DispColumn.CompanyDispOrder].Value)
-                                                                                      .ThenBy(x => x.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                                      .ThenBy(x => x.Cells[(int)DispColumn.LineCount].Value)
+                                                                                      .OrderBy(y => y.Cells[(int)DispColumn.CompanyDispOrder].Value)
+                                                                                      .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
+                                                                                      .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
                                                                                       .ToArray();
                         // �s‚ÌSEQNO‚ðƒZƒbƒg‚·‚é
                         iTop = 1;
@@ -1907,7 +1950,7 @@
                         DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
                                                                         && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                         && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.Key.GoukeiCode)
-                                                                .OrderBy(x => x.Cells[(int)DispColumn.GoukeiSeqNo].RowIndex)
+                                                                .OrderBy(y => y.Cells[(int)DispColumn.GoukeiSeqNo].RowIndex)
                                                                 .ToArray();
 
                         bool bFirst = true;
@@ -1950,7 +1993,7 @@
                                                                         GoukeiName = g.Key.GoukeiName,
                                                                         MinRowIndex = g.Min(c => CommonMotions.cnvInt(c.Cells[DisporderCol].RowIndex))
                                                                     })
-                                                                    .OrderBy(x => x.MinRowIndex)
+                                                                    .OrderBy(y => y.MinRowIndex)
                                                                     .ToArray();
 
                     iNo = 1;
@@ -1958,9 +2001,9 @@
                     {
                         DataGridViewRow[] GoukeiRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                                                  && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.GoukeiCode)
-                                                                                        .OrderBy(x => x.Cells[(int)DispColumn.CompanyDispOrder].Value)
-                                                                                        .ThenBy(x => x.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                                        .ThenBy(x => x.Cells[(int)DispColumn.LineCount].Value)
+                                                                                        .OrderBy(y => y.Cells[(int)DispColumn.CompanyDispOrder].Value)
+                                                                                        .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
+                                                                                        .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
                                                                                         .ToArray();
                         iTop = 1;
                         foreach (DataGridViewRow r in GoukeiRows)
@@ -1972,7 +2015,7 @@
                         DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
                                                                         && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                         && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.GoukeiCode)
-                                                                .OrderBy(x => x.Cells[m_GoukeiCode_Column].RowIndex)
+                                                                .OrderBy(y => y.Cells[m_GoukeiCode_Column].RowIndex)
                                                                 .ToArray();
 
                         bool bFirst = true;
@@ -2014,9 +2057,9 @@
                 DataGridView dgv = getShowingView();
 
                 DataGridViewRow[] ExistenceData = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
-                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                        && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Added)
-                        .ToArray();
+                                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
+                                                                                            && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Added)
+                                                                                .ToArray();
 
                 if (ExistenceData.Count() == 0)
                 {
@@ -2023,7 +2066,7 @@
                     int SeqNo = 1;
 
                     DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
-                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
+                                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
                             .ToArray();
                     int escSeqNo = 0;
                     int LineCount = 1;
@@ -2105,7 +2148,8 @@
                 if (SeqNo == 0 && LineCode == 0)
                 {
                     Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[CodeCol].Value) == Code
-                                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == type).ToArray();
+                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
+                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == type).ToArray();
                 }
                 else if (SeqNo != 0)
                 {
@@ -2112,8 +2156,8 @@
                     Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)CodeCol].Value) == Code
                                                                     && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == SeqNo
                                                                     && CommonMotions.cnvInt(x.Cells[(int)DispColumn.LineCount].Value) == LineCode
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible).ToArray();
+                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
+                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == type).ToArray();
                 }
 
 
@@ -2287,8 +2331,8 @@
             DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                               && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
                                                                               && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == GoukeiCd)
-                                                                        .OrderBy(x => x.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                        .ThenBy(x => x.Cells[(int)DispColumn.LineCount].Value)
+                                                                        .OrderBy(y => y.Cells[(int)DispColumn.GroupSeqNo].Value)
+                                                                        .ThenBy(y1 => y1.Cells[(int)DispColumn.LineCount].Value)
                                                                         .ToArray();
             foreach (DataGridViewRow row in Rows)
             {
@@ -2322,10 +2366,9 @@
             iColIndex = (int)DispColumn.SomuKosoku;
             foreach (RowsTypeDef i in Enum.GetValues(typeof(RowsTypeDef)))
             {
-                if (i == RowsTypeDef.�¬Œv)
-                    continue;
-                if (i == RowsTypeDef.‹¦—Í‹à)
-                    break;
+                if (i == RowsTypeDef.–¾�×) continue;
+                if (i == RowsTypeDef.�¬Œv) continue;
+                if (i == RowsTypeDef.‹¦—Í‹à) break;
 
                 // —ñ�Ý’è
                 int ColIndex = (int)DispColumn.SomuSeikyu;
@@ -2338,10 +2381,6 @@
                     int ShoukeiRowIndex = SearchRowIndex(m_GoukeiCode_Column, GoukeiCd, RowsTypeDef.�¬Œv);
                     if (ShoukeiRowIndex == -1) return;
 
-                    //�¦Œã‚É‰ïŽÐ�î•ñ‚©‚çŽæ“¾‚³‚ê‚é (Žb’è“I‚É’è�”’l—˜—p)                        �@
-                    //dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value)
-                    // * CommonMotions.cnvDouble(dgv.CurrentRow.Cells[(int)DispColumn.ShohiZeiRitu].Value);
-                    //dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value) * 0.08);
                     dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value)
                                                                             * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
                 }
@@ -2358,8 +2397,8 @@
             iColIndex = (int)DispColumn.KojiKosoku;
             foreach (RowsTypeDef i in Enum.GetValues(typeof(RowsTypeDef)))
             {
-                if (i == RowsTypeDef.�¬Œv)
-                    continue;
+                if (i == RowsTypeDef.–¾�×) continue;
+                if (i == RowsTypeDef.�¬Œv) continue;
 
                 // —ñ�Ý’è
                 int ColIndex = (int)DispColumn.KojiSeikyu;
@@ -2373,10 +2412,6 @@
 
                     if (RowIndex < 0 || ShoukeiRowIndex < 0) return;
 
-                    //�¦Œã‚É‰ïŽÐ�î•ñ‚©‚çŽæ“¾‚³‚ê‚é (Žb’è“I‚É’è�”’l—˜—p)                    �@
-                    //dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value)
-                    //*CommonMotions.cnvDouble(dgv.CurrentRow.Cells[(int)DispColumn.ShohiZeiRitu].Value);
-                    //dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value) * 0.08);
                     dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value)
                                                                             * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
                 }
@@ -2411,13 +2446,6 @@
             // ‹¦—Í‹à—L–³�w�›�x
             if (CommonMotions.cnvInt(dgv[(int)DispColumn.KyoryokuUmu, RowIndex].Value) == 1)
             {
-                //�¦Œã‚É‰ïŽÐ�î•ñ‚©‚çŽæ“¾‚³‚ê‚é                         
-                //dgv.Rows[RowIndex].Cells[(int)DispColumn.KyoryokuKin].Value = CommonMotions.cnvDouble(dgv.Rows[RowIndex].Cells[(int)DispColumn.KojiSeikyu].Value)
-                //                                                            * CommonMotions.cnvDouble(dgv.Rows[RowIndex].Cells[(int)DispColumn.KyoryokuKinRitu].Value);
-                //SystemMaster sm = new SystemMaster();
-                //dgv.Rows[RowIndex].Cells[(int)DispColumn.KyoryokuKin].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv.Rows[RowIndex].Cells[(int)DispColumn.KojiSeikyu].Value)
-                //                                                            * (sm.CooperationRate / 100));�@
-
                 dgv.Rows[RowIndex].Cells[(int)DispColumn.KyoryokuKin].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv.Rows[RowIndex].Cells[(int)DispColumn.KojiSeikyu].Value)
                                                                                                         * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
             }
@@ -3555,7 +3583,7 @@
                             {
                                 // �‡Œv�s’Ç‰Á
                                 MakeGoukeiGyo(dgv, iGoukeiCd);
-                                icnt += System.Enum.GetValues(typeof(RowsTypeDef)).Length;
+                                icnt += (System.Enum.GetValues(typeof(RowsTypeDef)).Length - 1);    // enum‚É–¾�×‚ª‘�‚¦‚½‚½‚ß-1
 
                                 // �‡Œv’l�Ý’è
                                 setGoukei_DataDisp(dgv, iGoukeiCd);
@@ -3599,6 +3627,25 @@
                     {
                         // �Å�I�³”FŽÒ‚É‚æ‚Á‚Ä�³”F‚³‚ê‚Ä‚¢‚é�ê�‡‚Í�A�s‘S�€–Ú•Ò�W•s‰Â
                         dgv.Rows[icnt].ReadOnly = true;
+                        // �F‚à•Ï‚¦‚é
+                        for (int iCol = (int)DispColumn.CompanyDispOrder; iCol < (int)DispColumn.Shonin1Code; iCol++)
+                        {
+                            dgv.Rows[icnt].Cells[iCol].Style.ForeColor = Color.LightGray;
+                        }
+                        if (dgv == dgvCompany)
+                        {
+                            for (int iCol = (int)DispColumn_Company.SubConstractorCode; iCol < Enum.GetNames(typeof(DispColumn_Company)).Length; iCol++)
+                            {
+                                dgv.Rows[icnt].Cells[iCol].Style.ForeColor = Color.LightGray;
+                            }
+                        }
+                        else
+                        {
+                            for (int iCol = (int)DispColumn_Project.GengaCode; iCol < Enum.GetNames(typeof(DispColumn_Project)).Length; iCol++)
+                            {
+                                dgv.Rows[icnt].Cells[iCol].Style.ForeColor = Color.LightGray;
+                            }
+                        }
                     }
 
                     iGoukeiSeq++;
@@ -3978,6 +4025,7 @@
                 dgv.Rows[icnt].Cells[(int)DispColumn.GoukeiSeqNo].Value = iGoukeiSeq;
                 dgv.Rows[icnt].Cells[(int)DispColumn.GroupSeqNo].Value = CommonMotions.cnvInt(work[(int)ClickGetData.SEQNO]);
                 dgv.Rows[icnt].Cells[(int)DispColumn.LineCount].Value = CommonMotions.cnvInt(work[(int)ClickGetData.LINECOUNT]);
+
                 dgv.Rows[icnt].Cells[(int)DispColumn.No].Value = iNo;
 
                 int nCompanyCode = CommonMotions.cnvInt(work[(int)ClickGetData.COMPANYCODE]);
@@ -4018,7 +4066,8 @@
                 // ”õ�l�Ý’è
                 dgv.Rows[icnt].Cells[(int)DispColumn.Bikou].Value = CommonMotions.cnvString(work[(int)ClickGetData.Bikou]);
                 // �HŽ–�Ú�×‘ä’ ‚Ì�s”Ô�†�A—ñ”Ô�†‚ð�Ý’è
-                dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerLineNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerDetailNo]);
+                dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerLineNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerRowNo]);
+                dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerDetailNo]);
                 dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerColNo]);
 
                 // –¾�×–¼�ÌƒZƒbƒg
@@ -4304,7 +4353,8 @@
                 sql.Append("    end as PurchaseOrderReturnDate ");
                 
                 sql.Append("  , '�›' as PaData ");
-                sql.Append("  , Cld.DetailCount as LinePoint ");
+                sql.Append("  , Cld.LineCount as LinePoint ");
+                sql.Append("  , Cld.DetailCount as DetailPoint ");
                 sql.AppendFormat("  , PERIOD_DIFF({0}", m_Select_TargetDate);
                 sql.AppendFormat("  , DATE_FORMAT(Cl.ConstructionStart, '%Y%m')) + {0} AS ColPoint ", DefaultCol);
                 sql.Append("  , Cld.SecondString as DetailName ");
@@ -4389,7 +4439,7 @@
 
                 sql.Append(" Select ");
                 sql.Append("  ifnull(Bd.SeqNo, 1) as SeqNo ");
-                sql.Append("  , ifnull(Bdd.CONSTRUCTIONROWCNT, 0) as LineCount ");
+                sql.Append("  , ifnull(Bdd.LINECOUNT, 0) as LineCount ");
                 sql.Append("  , ifnull(Bdd.CompanyCode, 0) as CompanyCode ");
                 sql.Append("  , ifnull(Scm.CompanyName, \'\') as CompanyName ");
                 sql.Append("  , ifnull(Scm.DisplayOrder, 99999999) as DisplayOrder ");
@@ -4447,7 +4497,8 @@
                 sql.Append("    else '�›' ");
                 sql.Append("    end as PaData ");
 
-                sql.Append("  , Bdd.CONSTRUCTIONROWCNT as LinePoint ");
+                sql.Append("  , Bdd.LineCount as LinePoint ");
+                sql.Append("  , Bdd.CONSTRUCTIONROWCNT as DetailPoint ");
                 sql.Append("  , Bdd.CONSTRUCTIONCOLCNT as ColPoint  ");
                 sql.Append("  , Cld.SecondString as DetailName ");
                 sql.Append("  , PersonApp.PersonCode As M1 ");
@@ -4620,7 +4671,7 @@
                 Result = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                 && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted
                                                                 && CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode)
-                    .Sum(y => CommonMotions.cnvLong(y.Cells[(int)TargetColumn].Value));
+                                                        .Sum(y => CommonMotions.cnvLong(y.Cells[(int)TargetColumn].Value));
 
             }
             catch (System.Exception ex)
@@ -4647,9 +4698,9 @@
                 // •K—v�s’Š�o ‹ÆŽÒƒR�[ƒh�A˜A”Ô�A�s”Ô�†�¸�‡
                 DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                                     && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                         .OrderBy(x => x.Cells[m_Company_Column].Value)
-                                                                         .ThenBy(x => x.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                         .ThenBy(x => x.Cells[(int)DispColumn.LineCount].Value)
+                                                                         .OrderBy(y => y.Cells[m_Company_Column].Value)
+                                                                         .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
+                                                                         .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
                                                                          .ToArray();
 
                 foreach (DataGridViewRow r in Rows)
@@ -4825,8 +4876,8 @@
                                                                                             && CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == r.Key.CompanyCode
                                                                                             && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == r.Key.SeqNo)
                                                                                    .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_Column].Value))
-                                                                                   .ThenBy(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.GroupSeqNo].Value))
-                                                                                   .ThenBy(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.LineCount].Value))
+                                                                                   .ThenBy(y1 => CommonMotions.cnvInt(y1.Cells[(int)DispColumn.GroupSeqNo].Value))
+                                                                                   .ThenBy(y2 => CommonMotions.cnvInt(y2.Cells[(int)DispColumn.LineCount].Value))
                                                                                    .ToArray();
                     iCompanyCode = 0;
                     iSeqNo = 0;
@@ -4944,11 +4995,11 @@
         }
         #endregion
 
-        #region ƒf�[ƒ^“o˜^
+        #region ƒf�[ƒ^“o˜^�i‹Œ�j
         /// <summary>
-        /// ƒf�[ƒ^“o˜^
+        /// ƒf�[ƒ^“o˜^�i‹Œ�j
         /// </summary>
-        private bool DataEntryProcess()
+        private bool DataEntryProcess_OLD()
         {
 
             IOBillingData IoBd = new IOBillingData();
@@ -5035,9 +5086,9 @@
                     DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                                         && (cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Added
                                                                                         || cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Modified))
-                                                                             .OrderBy(x => x.Cells[m_Company_Column].Value)
-                                                                             .ThenBy(x => x.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                             .ThenBy(x => x.Cells[(int)DispColumn.LineCount].Value)
+                                                                             .OrderBy(y => y.Cells[m_Company_Column].Value)
+                                                                             .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
+                                                                             .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
                                                                              .ToArray();
 
                     iCompanyCode = 0;
@@ -6060,7 +6111,7 @@
         /// <summary>
         /// ƒf�[ƒ^“o˜^
         /// </summary>
-        private bool DataEntryProcess2()
+        private bool DataEntryProcess()
         {
             // DB’è‹`
             IOBillingData IoBd = new IOBillingData();
@@ -6070,6 +6121,7 @@
             IOPaymentApprovalInfo IoPaI = new IOPaymentApprovalInfo();
             IOConstructionLedgerDetail IoDetail = new IOConstructionLedgerDetail();
             IOConstructionLedgerExcute IoExec = new IOConstructionLedgerExcute();
+            IOMSubContractor IoSub = new IOMSubContractor();
 
             // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
             DataGridView dgv = getShowingView();
@@ -6088,36 +6140,30 @@
                 IoBps.connect(); IoBps.beginTran();
                 IoDetail.connect(); IoDetail.beginTran();
                 IoExec.connect(); IoExec.beginTran();
+                IoSub.connect(); IoSub.beginTran();
 
                 // •K—v�s’Š�o
                 DataGridViewRow[] TargetRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                         .OrderBy(x => x.Cells[m_Company_Column].Value)
-                                                                         .ThenBy(x => x.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                         .ThenBy(x => x.Cells[(int)DispColumn.LineCount].Value)
+                                                                         .OrderBy(y => y.Cells[m_Company_Column].Value)
+                                                                         .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
+                                                                         .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
                                                                          .ToArray();
                 // ƒvƒ�ƒOƒŒƒXƒo�[�‰Šú’lƒZƒbƒg
-                DataProgressBar.Maximum = dgv.RowCount + 6;
+                DataProgressBar.Maximum = dgv.RowCount + 3;
                 DataProgressBar.Value = 0;
 
-                // BillingDataDetail
-                // PaymentDataDetail
-                // ConstructionLedgerDetail
-                // ConstructionLedgerExcute
+                // ‰ïŽÐ–ˆŒ��”ƒŠƒXƒg
+                Dictionary<int, int> CompCntList = new Dictionary<int, int>();
 
-                // BillingData
-                // BillingPaymentSummary
-
-                // PaymentApprovalInfo
-
                 try
                 {
-                    int TargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
+                    int nTargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
                     int nErrCode = (int)EntryErrorCode.Normal;
                     // –¾�×“o˜^�ˆ—�ƒ‹�[ƒv
                     foreach (DataGridViewRow CurRow in TargetRows)
                     {
                         // �ó‘ÔŽæ“¾
-                        DataRowState CurStatus = cnvRowState(CurRow.Cells[(int)DispColumn.RowState]);
+                        DataRowState CurStatus = cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value);
                         // ‰ïŽÐƒR�[ƒhŽæ“¾
                         int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
                         // ˜A”ÔŽæ“¾
@@ -6125,8 +6171,15 @@
                         // �sƒJƒEƒ“ƒgŽæ“¾
                         int nLineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);
 
+                        // �V‹K“o˜^‚Ì‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚Å�s”Ô�†‚ª0‚È‚Ì‚Å�Å‘å�s”Ô�†‚ð�Ý’è‚·‚é
+                        if (nLineCount == 0)
+                        {
+                            CurRow.Cells[(int)DispColumn.LineCount].Value = GetCompCntList(nCompanyCode, nSeqNo) + 1;
+                            nLineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);
+                        }
+
                         nErrCode = (int)EntryErrorCode.Normal;
-                        
+
                         // �ó‘Ô‚É‚æ‚è�ˆ—�
                         if (CurStatus == DataRowState.Unchanged)
                         {
@@ -6137,45 +6190,108 @@
                         {
                             // ----- ’Ç‰Á
                             // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-                            if (!AddBillingDataDetail(IoBdD, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!AddBillingDataDetail(IoBdD, IoDetail, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "‹Æ–±�¿‹�–¾�×ƒf�[ƒ^"));
 
                             // Žx•¥–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-                            if (!AddPaymentDataDetail(IoPdD, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!AddPaymentDataDetail(IoPdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥–¾�×ƒf�[ƒ^"));
 
                             // �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^’Ç‰Á“o˜^
-                            if (!AddConstructionLedgerExcute(IoDetail, IoExec, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!AddConstrLedgerExcute(IoDetail, IoExec, IoSub, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^", "’Ç‰Á“o˜^"));
+
+                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
+                            if (!DeleteBillingData(IoBd, nCompanyCode, nTargetDate, nSeqNo, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
+
+                            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
+                            if (!Deletebillingpaymentsummary(IoBps, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
                         }
                         else if (CurStatus == DataRowState.Modified)
                         {
                             // ----- •Ï�X
                             // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�X�V“o˜^
-                            if (!ModifyBillingDataDetail(IoBdD, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!ModifyBillingDataDetail(IoBdD, IoDetail, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "‹Æ–±�¿‹�–¾�×ƒf�[ƒ^"));
 
                             // Žx•¥–¾�×ƒf�[ƒ^�X�V“o˜^
-                            if (!ModifyPaymentDataDetail(IoPdD, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!ModifyPaymentDataDetail(IoPdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥–¾�×ƒf�[ƒ^"));
 
                             // �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�X�V“o˜^
-                            if (!AddConstructionLedgerExcute(IoDetail, IoExec, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!ModConstructionLedgerExcute(IoDetail, IoExec, IoSub, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, false, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^", "�X�V“o˜^"));
+
+                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
+                            if (!DeleteBillingData(IoBd, nCompanyCode, nTargetDate, nSeqNo, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
+
+                            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
+                            if (!Deletebillingpaymentsummary(IoBps, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
                         }
                         else if (CurStatus == DataRowState.Deleted)
                         {
                             // ----- �í�œ
                             // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�í�œ“o˜^
-                            if (!DeleteBillingDataDetail(IoBdD, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!DeleteBillingDataDetail(IoBdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "‹Æ–±�¿‹�–¾�×ƒf�[ƒ^"));
 
                             // Žx•¥–¾�×ƒf�[ƒ^�í�œ“o˜^
-                            if (!DeletePaymentDataDetail(IoPdD, CurRow, nCompanyCode, nSeqNo, nLineCount, TargetDate, ref nErrCode))
+                            if (!DeletePaymentDataDetail(IoPdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
                                 throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥–¾�×ƒf�[ƒ^"));
+
+                            // �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�í�œ“o˜^
+                            if (!ModConstructionLedgerExcute(IoDetail, IoExec, IoSub, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, true, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^", "�í�œ“o˜^"));
+
+                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
+                            if (!DeleteBillingData(IoBd, nCompanyCode, nTargetDate, nSeqNo, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
+
+                            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
+                            if (!Deletebillingpaymentsummary(IoBps, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
+
+                            // Žx•¥�³”F�î•ñƒf�[ƒ^�í�œ�ˆ—�
+                            if (!Deletepaymentapprovalinfo(IoPaI, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
+                                throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥�³”F�î•ñƒf�[ƒ^"));
                         }
+
+                        DataProgressBar.Value++;
+                        DataProgressBar.Update();
                     }
 
+                    DataProgressBar.Value++;
+                    DataProgressBar.Update();
+
+                    // ‘Î�Û–³‚Í�ˆ—�‚µ‚È‚¢
+                    if (TargetRows.Count() < 1) return true;
+
+                    ArrayList arList = new ArrayList();
+                    ArrayList BillPayList = new ArrayList();
+                    // �W–ñ–¾�×ƒf�[ƒ^Žæ“¾
+                    if (!GetDetailData(IoBdD, ref arList, ref BillPayList, nTargetDate, ref nErrCode))
+                        throw new Exception("–¾�×ƒf�[ƒ^Žæ“¾ƒGƒ‰�[");
+
+                    DataProgressBar.Value++;
+                    DataProgressBar.Update();
+
+                    // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�X�V�ˆ—�
+                    if (!EntryBillingData(IoBd, arList, nTargetDate, ref nErrCode))
+                        throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
+
+                    DataProgressBar.Value++;
+                    DataProgressBar.Update();
+
+                    // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�X�V�ˆ—�
+                    if (!EntryBillingPaymentSummary(IoBps, BillPayList, nTargetDate, ref nErrCode))
+                        throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
+
+                    DataProgressBar.Value++;
+                    DataProgressBar.Update();
                 }
                 catch (Exception ex)
                 {
@@ -6200,6 +6316,7 @@
                 IoBps.commit(); IoBps.close(); IoBps = null;
                 IoDetail.commit(); IoDetail.close(); IoDetail = null;
                 IoExec.commit(); IoExec.close(); IoExec = null;
+                IoSub.close(); IoSub = null;
 
                 // ProgressBar‚Ì’l‚ð•Ï�X‚·‚é
                 DataProgressBar.Value = DataProgressBar.Maximum;
@@ -6214,6 +6331,31 @@
         }
         #endregion
 
+        #region ‰ïŽÐ–ˆƒf�[ƒ^Œ��”ƒŠƒXƒg
+        /// <summary>
+        /// ‰ïŽÐ–ˆƒf�[ƒ^Œ��”ƒŠƒXƒg
+        /// </summary>
+        private int GetCompCntList(int nCompanyCode, int nSeqNo)
+        {
+            try
+            {
+                // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
+                DataGridView dgv = getShowingView();
+                int DataCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
+                                                                        && CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompanyCode
+                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == nSeqNo
+                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.LineCount].Value) > 0)
+                                                                         .Count();
+                return DataCnt;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+        }
+        #endregion
+
         #region ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
         /// <summary>
         /// ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
@@ -6220,11 +6362,12 @@
         /// </summary>
         /// <returns></returns>
         private bool AddBillingDataDetail(IOBillingDataDetail IoBdD
+                                            , IOConstructionLedgerDetail IoDetail
                                             , DataGridViewRow CurRow
                                             , int nCompanyCode
+                                            , int nTargetDate
                                             , int nSeqNo
                                             , int nLineCount
-                                            , int nTargetDate
                                             , ref int nErrorCode)
         {
             try
@@ -6248,7 +6391,7 @@
                 // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�ì�¬
                 BillingDataDetail BdDWork = new BillingDataDetail();
                 // ƒf�[ƒ^ƒZƒbƒg
-                SetRow2BillingDataDetail(CurRow, ref BdDWork, nCompanyCode, nTargetDate);
+                SetRow2BillingDataDetail(CurRow, IoDetail, ref BdDWork, nCompanyCode, nTargetDate);
 
                 // �V‹KƒL�[ƒZƒbƒg
                 BdDWork.CompanyCode = nCompanyCode;
@@ -6280,11 +6423,12 @@
         /// </summary>
         /// <returns></returns>
         private bool ModifyBillingDataDetail(IOBillingDataDetail IoBdD
+                                    , IOConstructionLedgerDetail IoDetail
                                     , DataGridViewRow CurRow
                                     , int nCompanyCode
+                                    , int nTargetDate
                                     , int nSeqNo
                                     , int nLineCount
-                                    , int nTargetDate
                                     , ref int nErrorCode)
         {
             try
@@ -6307,7 +6451,7 @@
                 // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�ì�¬
                 BillingDataDetail BdDWork = new BillingDataDetail();
                 // ƒf�[ƒ^ƒZƒbƒg
-                SetRow2BillingDataDetail(CurRow, ref BdDWork, nCompanyCode, nTargetDate);
+                SetRow2BillingDataDetail(CurRow, IoDetail, ref BdDWork, nCompanyCode, nTargetDate);
 
                 // �X�V�i‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�j
                 // ƒ�ƒbƒN
@@ -6342,9 +6486,9 @@
         private bool DeleteBillingDataDetail(IOBillingDataDetail IoBdD
                                     , DataGridViewRow CurRow
                                     , int nCompanyCode
+                                    , int nTargetDate
                                     , int nSeqNo
                                     , int nLineCount
-                                    , int nTargetDate
                                     , ref int nErrorCode)
         {
             try
@@ -6395,6 +6539,7 @@
         /// </summary>
         /// <param name="CurRow"></param>
         private void SetRow2BillingDataDetail(DataGridViewRow CurRow
+                                                , IOConstructionLedgerDetail IoDetail
                                                 , ref BillingDataDetail BdDWork
                                                 , int nCompanyCode
                                                 , int nTargetDate)
@@ -6403,9 +6548,38 @@
             {
                 // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚ÌŽx•¥’´‰ßƒ�ƒbƒZ�[ƒWƒZƒbƒg
                 SetOverBillingDataDetailMsg(CurRow, nCompanyCode, nTargetDate);
+
+                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
+                // –¾�×”Ô�†‚ª–³‚¢Žž‚ÍƒZƒbƒg‚·‚é
+                if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value) == 0)
+                {
+                    StringBuilder strSQL = new StringBuilder();
+                    strSQL.Append(IoDetail.CreatePrimarykeyString(nConstrCode, (int)FrmConstructionLedger.DataGroup.ConstructionCosts));
+                    // –¾�×‚Ì�Å‘å’l‚ðŽæ“¾‚·‚é
+                    int nDetilNo = IoDetail.SelectMaxDetailCount(strSQL.ToString(), false) + 1;
+                    CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nDetilNo;
+                }
+
+                // —ñ”Ô�†‚ª–³‚¢Žž‚ÍƒZƒbƒg‚·‚é
+                if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value) == 0)
+                {
+                    DataGridView dgv = getShowingView();
+                    DataGridViewRow[] TargetRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
+                                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.ConstructionLedgerColNo].Value) != 0)
+                                                                                    .ToArray();
+                    if (TargetRows.Count() > 0)
+                    {
+                        CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value = CommonMotions.cnvInt(TargetRows[0].Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
+                    }
+                    else
+                    {
+                        CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value = GetColumncount(IoDetail, nConstrCode);
+                    }
+                }
+
                 // ƒf�[ƒ^ƒZƒbƒg
-                BdDWork.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                BdDWork.ConstructionRowCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);
+                BdDWork.ConstructionCode = nConstrCode;
+                BdDWork.ConstructionRowCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);
                 BdDWork.ConstructionColCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
 
                 string sName = CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].Value);
@@ -6424,6 +6598,42 @@
         }
         #endregion
 
+        #region ŠY“–�HŽ–‚Ì‘Î�ÛŒŽƒJƒEƒ“ƒg‚ðŽæ“¾‚·‚é
+        /// <summary>
+        /// ŠY“–�HŽ–‚Ì‘Î�ÛŒŽƒJƒEƒ“ƒg‚ðŽæ“¾‚·‚é
+        /// </summary>
+        /// <returns></returns>
+        private int GetColumncount(IOConstructionLedgerDetail IoDetail, int nConstrCode)
+        {
+            try
+            {
+                int nRet = 0;
+                StringBuilder strSQL=new StringBuilder();
+
+                int DefaultCol = Enum.GetNames(typeof(FrmConstructionLedger.GridColumn)).Length - 1;
+                strSQL.Append("Select");
+                strSQL.AppendFormat(" DATE_FORMAT(Ledger.ConstructionStart, '%Y%m')) + {0} AS ColPoint ", DefaultCol);
+                strSQL.Append(" From ConstructionLedger as Ledger");
+                strSQL.Append(" Where");
+                strSQL.AppendFormat(" Ledger.ConstructionCode = {0}", nConstrCode);
+
+                ArrayList arData = new ArrayList();
+                if (!IoDetail.ExecuteReader(strSQL.ToString(), ref arData)) return nRet;
+                if (arData.Count < 1) return nRet;
+
+                object[] objData = (object[])arData[0];
+                nRet = CommonMotions.cnvInt(objData[0]);
+
+                return nRet;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+        }
+        #endregion
+
         #region ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚ÌŽx•¥’´‰ßƒ�ƒbƒZ�[ƒWƒZƒbƒg
         /// <summary>
         /// ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚ÌŽx•¥’´‰ßƒ�ƒbƒZ�[ƒWƒZƒbƒg
@@ -6474,9 +6684,9 @@
         private bool AddPaymentDataDetail(IOPaymentDataDetail IoPdD
                                             , DataGridViewRow CurRow
                                             , int nCompanyCode
+                                            , int nTargetDate
                                             , int nSeqNo
                                             , int nLineCount
-                                            , int TargetDate
                                             , ref int nErrorCode)
         {
             try
@@ -6483,7 +6693,7 @@
             {
                 // Žx•¥–¾�×ƒf�[ƒ^Šm”F
                 StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoPdD.CreatePrimarykeyString(nCompanyCode, TargetDate, nSeqNo, nLineCount));
+                strWhere.Append(IoPdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
                 List<PaymentDataDetail> Datalist = new List<PaymentDataDetail>();
                 if (!IoPdD.SelectAction(strWhere.ToString(), ref Datalist, false))
                 {
@@ -6502,7 +6712,7 @@
 
                 // �V‹KƒL�[ƒZƒbƒg
                 PdDWork.CompanyCode = nCompanyCode;
-                PdDWork.TargetDate = TargetDate;
+                PdDWork.TargetDate = nTargetDate;
                 PdDWork.SeqNo = nSeqNo;
                 PdDWork.LineCount = nLineCount;
 
@@ -6530,9 +6740,9 @@
         private bool ModifyPaymentDataDetail(IOPaymentDataDetail IoPdD
                                             , DataGridViewRow CurRow
                                             , int nCompanyCode
+                                            , int nTargetDate
                                             , int nSeqNo
                                             , int nLineCount
-                                            , int nTargetDate
                                             , ref int nErrorCode)
         {
             try
@@ -6588,9 +6798,9 @@
         private bool DeletePaymentDataDetail(IOPaymentDataDetail IoPdD
                                             , DataGridViewRow CurRow
                                             , int nCompanyCode
+                                            , int nTargetDate
                                             , int nSeqNo
                                             , int nLineCount
-                                            , int nTargetDate
                                             , ref int nErrorCode)
         {
             try
@@ -6665,19 +6875,19 @@
         }
         #endregion
 
-
         #region �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^’Ç‰Á“o˜^
         /// <summary>
         /// �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^’Ç‰Á“o˜^
         /// </summary>
         /// <returns></returns>
-        private bool AddConstructionLedgerExcute(IOConstructionLedgerDetail IoDetail
+        private bool AddConstrLedgerExcute(IOConstructionLedgerDetail IoDetail
                                             , IOConstructionLedgerExcute IoExec
+                                            , IOMSubContractor IoSub
                                             , DataGridViewRow CurRow
                                             , int nCompanyCode
+                                            , int nTargetDate
                                             , int nSeqNo
                                             , int nLineCount
-                                            , int nTargetDate
                                             , ref int nErrorCode)
         {
             try
@@ -6685,7 +6895,7 @@
                 // ‘ä’ ƒf�[ƒ^ƒZƒbƒg
                 ConstructionLedgerDetail DetailRec = new ConstructionLedgerDetail();
                 ConstructionLedgerExcute ExcuteRec = new ConstructionLedgerExcute();
-                CreateLedgerData(CurRow, ref DetailRec, ref ExcuteRec);
+                CreateLedgerData(CurRow, IoDetail, IoSub, ref DetailRec, ref ExcuteRec);
 
                 if (!ClsChangeLedgerData.EntryExecuteData(IoDetail, IoExec, DetailRec, ExcuteRec))
                 {
@@ -6709,26 +6919,68 @@
         /// �HŽ–‘ä’ �X�Vƒf�[ƒ^�ì�¬
         /// </summary>
         private void CreateLedgerData(DataGridViewRow CurRow
+                                        , IOConstructionLedgerDetail IoDetail
+                                        , IOMSubContractor IoSub
                                         , ref ConstructionLedgerDetail DetailRec
                                         , ref ConstructionLedgerExcute ExcuteRec)
         {
             try
             {
-                DetailRec.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);	                        // �HŽ–ƒR�[ƒh
+                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
+                int nCompCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
+                int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
+
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(IoDetail.CreatePrimarykeyString(nConstrCode, (int)FrmConstructionLedger.DataGroup.ConstructionCosts));
+                // �s”Ô�†‚Ì�Å‘å’l‚ðŽæ“¾‚·‚é
+                int nLineCnt = IoDetail.SelectMaxLineCount(strSQL.ToString(), false) + 1;
+
+                // •K—v�s’Š�o
+                DataGridView dgv = getShowingView();
+                DataGridViewRow[] CompanyRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
+                                                                                         && CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompCode
+                                                                                         && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == nSeqNo)
+                                                                                 .ToArray();
+                string strName = string.Empty;
+                if (CompanyRows.Count() > 0)
+                {
+                    // ‹ÆŽÒ–¼Žæ“¾
+                    for (int i = 0; i < CompanyRows.Count(); i++)
+                    {
+                        if (CommonMotions.cnvString(CompanyRows[i].Cells[m_CompanyNM_Column].Value).Length > 0)
+                        {
+                            strName = CommonMotions.cnvString(CompanyRows[i].Cells[m_CompanyNM_Column].Value);
+                            break;
+                        }
+                    }
+                }
+                else
+                {
+                    // ‹ÆŽÒ–¼�ÌŽæ“¾
+                    strName = GetCompanyName(IoSub, nCompCode);
+                }
+
+                // –¾�×ƒf�[ƒ^�ì�¬
+                DetailRec.ConstructionCode = nConstrCode;	                                                                    // �HŽ–ƒR�[ƒh
                 DetailRec.GroupCount = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;                                  // ƒOƒ‹�[ƒv”Ô�†
                 DetailRec.LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);       // �s”Ô�†
+                if (DetailRec.LineCount == 0) DetailRec.LineCount = nLineCnt;
                 DetailRec.SecondString = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.DetailName].Value);	            // �HŽ–“à—e
                 DetailRec.CompanyType = (int)ConstructionLedgerDetail.CompanyTypeDef.Subconstractor;	                        // ‹¦—Í‰ïŽÐƒR�[ƒhƒ^ƒCƒv
                 DetailRec.CompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);                             // ‹¦—Í‰ïŽÐƒR�[ƒh
-                DetailRec.CompanyName = CommonMotions.cnvString(CurRow.Cells[m_CompanyNM_Column].Value); 	                    // ‹¦—Í‰ïŽÐ–¼�Ì
-                DetailRec.DetailCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);     // –¾�×”Ô�†
+                DetailRec.CompanyName = strName; 	                                                                            // ‹¦—Í‰ïŽÐ–¼�Ì
+                DetailRec.IndependentFlg = (int)ConstructionLedgerDetail.IndependentFlgDef.Independent;                         // “Æ—§ƒf�[ƒ^ƒtƒ‰ƒO
+                DetailRec.SourceCode = nConstrCode;                                                                             // Œ³�HŽ–”Ô�†
+                DetailRec.DetailCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);    // –¾�×”Ô�†
 
-                ExcuteRec.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);                          // �HŽ–ƒR�[ƒh
+                // ŽÀ�sƒf�[ƒ^�ì�¬
+                ExcuteRec.ConstructionCode = nConstrCode;                                                                       // �HŽ–ƒR�[ƒh
                 ExcuteRec.GroupCount = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;                                  // ƒOƒ‹�[ƒv”Ô�†
                 ExcuteRec.LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);       // �s”Ô�†
+                if (ExcuteRec.LineCount == 0) ExcuteRec.LineCount = nLineCnt;
                 ExcuteRec.ColumnCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
                 ExcuteRec.PaymentAmount = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                ExcuteRec.TargetMonth = CommonMotions.cnvDate(string.Format("{0}/01", cmbTargetMonth.Text));
+                ExcuteRec.TargetMonth = CommonMotions.cnvDate(string.Format("{0}{1}", cmbTargetMonth.Text, s_DetailExecDay));
             }
             catch (System.Exception ex)
             {
@@ -6736,5 +6988,608 @@
             }
         }
         #endregion
+
+        #region ‹¦—Í‹ÆŽÒ–¼Žæ“¾
+        /// <summary>
+        /// ‹¦—Í‹ÆŽÒ–¼Žæ“¾
+        /// </summary>
+        private string GetCompanyName(IOMSubContractor IoSub, int CompanyCode)
+        {
+            try
+            {
+                string strName = string.Empty;
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(IoSub.CreatePrimarykeyString(CompanyCode));
+                SubContractorMaster CompRec = new SubContractorMaster();
+                if (!IoSub.SelectAction(strSQL.ToString(), ref CompRec)) return strName;
+                strName = CompRec.CompanyName;
+
+                return strName;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�X�V
+        /// <summary>
+        /// �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�X�V
+        /// </summary>
+        /// <returns></returns>
+        private bool ModConstructionLedgerExcute(IOConstructionLedgerDetail IoDetail
+                                            , IOConstructionLedgerExcute IoExec
+                                            , IOMSubContractor IoSub
+                                            , DataGridViewRow CurRow
+                                            , int nCompanyCode
+                                            , int nTargetDate
+                                            , int nSeqNo
+                                            , int nLineCount
+                                            , bool bRemove
+                                            , ref int nErrorCode)
+        {
+            try
+            {
+                // ‘ä’ ƒf�[ƒ^ƒZƒbƒg
+                ConstructionLedgerDetail DetailRec = new ConstructionLedgerDetail();
+                ConstructionLedgerExcute ExcuteRec = new ConstructionLedgerExcute();
+                CreateLedgerData(CurRow, IoDetail, IoSub, ref DetailRec, ref ExcuteRec);
+
+                if (!ClsChangeLedgerData.ModifyExecuteData(IoDetail, IoExec, DetailRec, ExcuteRec, bRemove))
+                {
+                    nErrorCode = (int)EntryErrorCode.AbNormal;
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region �W–ñƒf�[ƒ^�X�V�ˆ—�’è‹`
+        /// <summary>
+        /// �W–ñƒf�[ƒ^�X�V�ˆ—�’è‹`
+        /// </summary>
+        private enum SummaryProcNoDef
+        {
+            /// <summary>
+            /// ‹ÆŽÒ�¿‹�ƒf�[ƒ^
+            /// </summary>
+            ExecBillingData = 1,
+            /// <summary>
+            /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^
+            /// </summary>
+            ExecBillingPaymentSummary,
+        }
+        #endregion
+
+        #region �W–ñ–¾�×ƒf�[ƒ^Žæ“¾
+        /// <summary>
+        /// �W–ñ–¾�×ƒf�[ƒ^Žæ“¾
+        /// </summary>
+        private bool GetDetailData(IOBillingDataDetail IoBdD
+                                        , ref ArrayList arList
+                                        , ref ArrayList BillPayList
+                                        , int nTargetDate
+                                        , ref int nErrorCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("Select");
+                strSQL.Append(" Company.COMPANYCODE");
+                strSQL.Append(", Bill.TARGETDATE");
+                strSQL.Append(", Bill.SEQNO");
+                strSQL.Append(", SUM(Bill.BILLPRICE) AS B_Billprice");
+                strSQL.Append(", SUM(Bill.HIGHWPRICE) AS B_Highwprice");
+                strSQL.Append(", SUM(Bill.HARDWPRICE) AS B_Hardwprice");
+                strSQL.Append(", SUM(Bill.INDSWASTETAX) AS B_Indswastetax");
+                strSQL.Append(", SUM(Pay.BILLPRICE) AS P_Billprice");
+                strSQL.Append(", SUM(Pay.DISCOUNTPRICE) AS P_Discountprice");
+                strSQL.Append(", SUM(Pay.OFFSETPRICE) AS P_Offsetprice");
+                strSQL.Append(", SUM(Pay.NEXTCOPRICE) AS P_Nextcoprice");
+                strSQL.Append(", SUM(Pay.HIGHWPRICE) AS P_Highwprice");
+                strSQL.Append(", SUM(Pay.HARDWPRICE) AS P_Hardwprice");
+                strSQL.Append(", SUM(Pay.INDSWASTETAX) AS P_Indswastetax");
+                strSQL.Append(", SUM(Pay.CNSTRPRICE) AS P_Cnstrprice");
+                strSQL.Append(" From");
+                strSQL.Append(" subcontractormaster As Company");
+                strSQL.Append(" Left Join billingdatadetail As Bill");
+                strSQL.Append("   On Bill.COMPANYCODE = Company.CompanyCode");
+                strSQL.Append(" Left Join paymentdatadetail As Pay");
+                strSQL.Append("   On Pay.COMPANYCODE = Bill.CompanyCode");
+                strSQL.Append("   And Pay.TARGETDATE = Bill.TARGETDATE");
+                strSQL.Append("   And Pay.SEQNO = Bill.SEQNO");
+                strSQL.Append("   And Pay.LINECOUNT = Bill.LINECOUNT");
+                strSQL.Append(" Where");
+                strSQL.AppendFormat(" Company.labourKind = {0}", m_Labourkind);
+                strSQL.AppendFormat(" And Bill.TARGETDATE = {0}", nTargetDate);
+                strSQL.Append(" Group by");
+                strSQL.Append("   Company.COMPANYCODE");
+                strSQL.Append("   , Bill.TARGETDATE");
+                strSQL.Append("   , Bill.SEQNO");
+                strSQL.Append(" Order By");
+                strSQL.Append("   Company.COMPANYCODE");
+
+                if (!IoBdD.ExecuteReader(strSQL.ToString(), ref arList, false))
+                {
+                    nErrorCode = (int)EntryErrorCode.NotFound;
+                    return false;
+                }
+
+                // ‰ïŽÐ–ˆ�WŒvƒŠƒXƒg�ì�¬
+                if (!SumDetailData(arList, ref BillPayList, ref nErrorCode))
+                {
+                    nErrorCode = (int)EntryErrorCode.AbNormal;
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‰ïŽÐ–ˆ�WŒvƒŠƒXƒg�ì�¬
+        /// <summary>
+        /// ‰ïŽÐ–ˆ�WŒvƒŠƒXƒg�ì�¬
+        /// </summary>
+        private bool SumDetailData(ArrayList arList
+                                    , ref ArrayList SumList
+                                    , ref int nErrorCode)
+        {
+            try
+            {
+                if (arList.Count < 1) return true;
+
+                SumList.Clear();
+
+                object[] FirstRec = (object[])arList[0];
+                int nCompanyCode = CommonMotions.cnvInt(FirstRec[0]);
+                int nTargetDate = CommonMotions.cnvInt(FirstRec[1]);
+
+                long[] lBillingValue = new long[4];
+                long[] lPaymentValue = new long[8];
+                foreach (object[] ObjRec in arList)
+                {
+                    // ˆá‚Á‚½‚Æ‚«‚Éƒf�[ƒ^�WŒv
+                    if (nCompanyCode != CommonMotions.cnvInt(ObjRec[0]))
+                    {
+                        SumList.Add(new object[] { nCompanyCode
+                                            , nTargetDate
+                                            , lBillingValue[0]
+                                            , lBillingValue[1]
+                                            , lBillingValue[2]
+                                            , lBillingValue[3]
+                                            , lPaymentValue[0]
+                                            , lPaymentValue[1]
+                                            , lPaymentValue[2]
+                                            , lPaymentValue[3]
+                                            , lPaymentValue[4]
+                                            , lPaymentValue[5]
+                                            , lPaymentValue[6]
+                                            , lPaymentValue[7]});
+                        Array.Clear(lBillingValue, 0, lBillingValue.Length);
+                        Array.Clear(lPaymentValue, 0, lPaymentValue.Length);
+                        nCompanyCode = CommonMotions.cnvInt(ObjRec[0]);
+                    }
+
+                    // ‰ÁŽZ
+                    lBillingValue[0] += CommonMotions.cnvLong(ObjRec[3]);
+                    lBillingValue[1] += CommonMotions.cnvLong(ObjRec[4]);
+                    lBillingValue[2] += CommonMotions.cnvLong(ObjRec[5]);
+                    lBillingValue[3] += CommonMotions.cnvLong(ObjRec[6]);
+                    lPaymentValue[0] += CommonMotions.cnvLong(ObjRec[7]);
+                    lPaymentValue[1] += CommonMotions.cnvLong(ObjRec[8]);
+                    lPaymentValue[2] += CommonMotions.cnvLong(ObjRec[9]);
+                    lPaymentValue[3] += CommonMotions.cnvLong(ObjRec[10]);
+                    lPaymentValue[4] += CommonMotions.cnvLong(ObjRec[11]);
+                    lPaymentValue[5] += CommonMotions.cnvLong(ObjRec[12]);
+                    lPaymentValue[6] += CommonMotions.cnvLong(ObjRec[13]);
+                    lPaymentValue[7] += CommonMotions.cnvLong(ObjRec[14]);
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‹ÆŽÒ�¿‹�ƒf�[ƒ^�X�V�ˆ—�
+        /// <summary>
+        /// ‹ÆŽÒ�¿‹�ƒf�[ƒ^�X�V�ˆ—�
+        /// </summary>
+        private bool EntryBillingData(IOBillingData IoBd
+                                        , ArrayList arList
+                                        , int nTargetDate
+                                        , ref int nErrorCode)
+        {
+            try
+            {
+                if (arList.Count < 1) return true;
+
+                StringBuilder strSQL = new StringBuilder();
+                List<BillingData> BdList = new List<BillingData>();
+                BillingData BdRec = new BillingData();
+                foreach (object[] ObjRec in arList)
+                {
+                    strSQL.Clear();
+                    int nCompCode = CommonMotions.cnvInt(ObjRec[0]);
+                    int nRecDate = CommonMotions.cnvInt(ObjRec[1]);
+                    int nSeqNo = CommonMotions.cnvInt(ObjRec[2]);
+                    strSQL.Append(IoBd.CreatePrimarykeyString(nCompCode, nRecDate, nSeqNo));
+
+                    // ƒf�[ƒ^Šm”F
+                    BdList.Clear();
+                    if (!IoBd.SelectAction(strSQL.ToString(), ref BdList, false))
+                    {
+                        nErrorCode = (int)EntryErrorCode.AbNormal;
+                        return false;
+                    }
+
+                    long lBillprice = CommonMotions.cnvInt(ObjRec[3]);
+                    long lHighwprice = CommonMotions.cnvInt(ObjRec[4]);
+                    long lHardwprice = CommonMotions.cnvInt(ObjRec[5]);
+                    long lIndswastetax = CommonMotions.cnvInt(ObjRec[6]);
+
+                    if (BdList.Count < 1)
+                    {
+                        // �V‹K�i‹Æ–±�¿‹�ƒf�[ƒ^�j
+                        BdRec.CompanyCode = nCompCode;
+                        BdRec.TargetDate = nRecDate;
+                        BdRec.SeqNo = nSeqNo;
+                        BdRec.BillPrice = lBillprice;
+
+                        if (!IoBd.InsertAction(BdRec, false))
+                        {
+                            nErrorCode = (int)EntryErrorCode.AddData;
+                            return false;
+                        }
+                    }
+                    else
+                    {
+                        // �sƒ�ƒbƒN
+                        if (!IoBd.RowLock(nCompCode, nRecDate, nSeqNo, false))
+                        {
+                            nErrorCode = (int)EntryErrorCode.Locked;
+                            return false;
+                        }
+
+                        // �X�V
+                        if (!IoBd.UpdateFeild(nCompCode, nRecDate, nSeqNo
+                                                , (int)IOBillingData.NameColumn.BillPrice
+                                                , lBillprice
+                                                , false))
+                        {
+                            nErrorCode = (int)EntryErrorCode.ModifyData;
+                            return false;
+                        }
+                    }
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�X�V�ˆ—�
+        /// <summary>
+        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�X�V�ˆ—�
+        /// </summary>
+        private bool EntryBillingPaymentSummary(IOBillingPaymentSummary IoBps
+                                        , ArrayList arList
+                                        , int nTargetDate
+                                        , ref int nErrorCode)
+        {
+            try
+            {
+                if (arList.Count < 1) return true;
+
+                StringBuilder strSQL = new StringBuilder();
+                List<BillingPaymentSummary> BpsList = new List<BillingPaymentSummary>();
+                BillingPaymentSummary BpsRec = new BillingPaymentSummary();
+                foreach (object[] ObjRec in arList)
+                {
+                    BpsRec.CompanyCode = CommonMotions.cnvInt(ObjRec[0]);
+                    BpsRec.TargetDate = CommonMotions.cnvInt(ObjRec[1]);
+                    BpsRec.Payday = CommonMotions.cnvDate(lblPaymentDate.Text);
+
+                    long B_Billprice = CommonMotions.cnvLong(ObjRec[2]);
+                    long B_Highwprice = CommonMotions.cnvLong(ObjRec[3]);
+                    long B_Hardwprice = CommonMotions.cnvLong(ObjRec[4]);
+                    long B_Indswastetax = CommonMotions.cnvLong(ObjRec[5]);
+                    long P_Billprice = CommonMotions.cnvLong(ObjRec[6]);
+                    long P_Discountprice = CommonMotions.cnvLong(ObjRec[7]);
+                    long P_Offsetprice = CommonMotions.cnvLong(ObjRec[8]);
+                    long P_Nextcoprice = CommonMotions.cnvLong(ObjRec[9]);
+                    long P_Highwprice = CommonMotions.cnvLong(ObjRec[10]);
+                    long P_Hardwprice = CommonMotions.cnvLong(ObjRec[11]);
+                    long P_Indswastetax = CommonMotions.cnvLong(ObjRec[12]);
+                    long P_Cnstrprice = CommonMotions.cnvLong(ObjRec[13]);
+
+                    for (int PayKind = (int)BillingPaymentSummary.ChargePaymentKindDef.Billing
+                            ; PayKind <= (int)BillingPaymentSummary.ChargePaymentKindDef.Payment
+                            ; PayKind++)
+                    {
+
+                        // ƒf�[ƒ^ƒZƒbƒg
+                        SetDataBillingPaymentSummary(ref BpsRec, PayKind
+                                                    , B_Billprice, B_Highwprice, B_Hardwprice, B_Indswastetax
+                                                    , P_Billprice, P_Discountprice, P_Offsetprice, P_Nextcoprice
+                                                    , P_Highwprice, P_Hardwprice, P_Indswastetax, P_Cnstrprice);
+
+                        // ƒf�[ƒ^‘¶�ÝŠm”F
+                        BpsList.Clear();
+                        strSQL.Clear();
+                        strSQL.Append(IoBps.CreatePrimarykeyString(BpsRec.CompanyCode, BpsRec.TargetDate, BpsRec.ChargePaymentKind));
+                        if (!IoBps.SelectAction(strSQL.ToString(), ref BpsList, false))
+                        {
+                            nErrorCode = (int)EntryErrorCode.AbNormal;
+                            return false;
+                        }
+
+                        if (BpsList.Count > 0)
+                        {
+                            // ----- ƒf�[ƒ^�X�V
+                            // �sƒ�ƒbƒN
+                            if (!IoBps.RowLock(BpsRec.CompanyCode, BpsRec.TargetDate, BpsRec.ChargePaymentKind, false))
+                            {
+                                nErrorCode = (int)EntryErrorCode.Locked;
+                                return false;
+                            }
+
+                            // �X�V
+                            if (!IoBps.UpdateAction(strSQL.ToString(), BpsRec, false))
+                            {
+                                nErrorCode = (int)EntryErrorCode.ModifyData;
+                                return false;
+                            }
+                        }
+                        else
+                        {
+                            // ----- ƒf�[ƒ^’Ç‰Á
+                            // ’Ç‰Á
+                            if (!IoBps.InsertAction(BpsRec, false))
+                            {
+                                nErrorCode = (int)EntryErrorCode.AddData;
+                                return false;
+                            }
+                        }
+                    }
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^ƒf�[ƒ^ƒZƒbƒg
+        /// <summary>
+        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^ƒf�[ƒ^ƒZƒbƒg
+        /// </summary>
+        private void SetDataBillingPaymentSummary(ref BillingPaymentSummary BpsRec
+                                                    , int PayKind
+                                                    , long B_Billprice, long B_Highwprice, long B_Hardwprice, long B_Indswastetax
+                                                    , long P_Billprice, long P_Discountprice, long P_Offsetprice, long P_Nextcoprice
+                                                    , long P_Highwprice, long P_Hardwprice, long P_Indswastetax, long P_Cnstrprice)
+        {
+            try
+            {
+                BpsRec.ChargePaymentKind = PayKind;
+                switch (PayKind)
+                {
+                    case (int)BillingPaymentSummary.ChargePaymentKindDef.Billing:
+                        // 0�F�¿‹�(‘�–±�j
+                        BpsRec.BillPriceStotal = B_Billprice;
+                        BpsRec.ConsumptionTaxRate = (CommonMotions.SystemMasterData.ConsumptionTax / 100.0);
+                        BpsRec.ConsumptionTaxPrice = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsRec.BillPriceStotal) * BpsRec.ConsumptionTaxRate);
+                        BpsRec.HighwPriceStotal = B_Highwprice;
+                        BpsRec.HardwPriceStotal = B_Hardwprice;
+                        BpsRec.IndsWasteTaxStotal = B_Indswastetax;
+
+                        BpsRec.CnstrPriceRate = (CommonMotions.SystemMasterData.CooperationRate / 100.0);
+                        BpsRec.CnstrPriceStotal = 0;
+                        BpsRec.BillingPriceTotal = BpsRec.BillPriceStotal
+                                                    + BpsRec.ConsumptionTaxPrice
+                                                    + BpsRec.HighwPriceStotal
+                                                    + BpsRec.HardwPriceStotal
+                                                    + BpsRec.IndsWasteTaxStotal;
+                        break;
+                    case (int)BillingPaymentSummary.ChargePaymentKindDef.Payment:
+                        // 1�FŽx•¥(�HŽ–’S“–)
+                        BpsRec.BillPriceStotal = P_Billprice;
+                        BpsRec.ConsumptionTaxRate = (CommonMotions.SystemMasterData.ConsumptionTax / 100.0);
+                        BpsRec.ConsumptionTaxPrice = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsRec.BillPriceStotal) * BpsRec.ConsumptionTaxRate);
+                        BpsRec.HighwPriceStotal = P_Highwprice;
+                        BpsRec.HardwPriceStotal = P_Hardwprice;
+                        BpsRec.IndsWasteTaxStotal = P_Indswastetax;
+                        BpsRec.CnstrPriceRate = (CommonMotions.SystemMasterData.CooperationRate / 100.0);
+                        BpsRec.CnstrPriceStotal = CommonMotions.cnvRound(CommonMotions.cnvDouble(P_Cnstrprice) * BpsRec.CnstrPriceRate);
+                        BpsRec.BillingPriceTotal = BpsRec.BillPriceStotal
+                                                    + BpsRec.ConsumptionTaxPrice
+                                                    + BpsRec.HighwPriceStotal
+                                                    + BpsRec.HardwPriceStotal
+                                                    + BpsRec.IndsWasteTaxStotal
+                                                    - BpsRec.CnstrPriceStotal;
+                        break;
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
+        /// <summary>
+        /// ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
+        /// </summary>
+        private bool DeleteBillingData(IOBillingData IoBd
+                                            , int nCompanyCode
+                                            , int nTargetDate
+                                            , int nSeqNo
+                                            , ref int nErrorCode)
+        {
+            try
+            {
+                // ƒ�ƒbƒN
+                if (!IoBd.RowLock(nCompanyCode, nTargetDate, nSeqNo, false))
+                {
+                    nErrorCode = (int)EntryErrorCode.Locked;
+                    return false;
+                }
+
+                // �í�œ
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(IoBd.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo));
+                IoBd.DeleteAction(strSQL.ToString(), false);
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region Žx•¥�³”F�î•ñƒf�[ƒ^�í�œ�ˆ—�
+        /// <summary>
+        /// Žx•¥�³”F�î•ñƒf�[ƒ^�í�œ�ˆ—�
+        /// </summary>
+        private bool Deletepaymentapprovalinfo(IOPaymentApprovalInfo IoPaI
+                                            , DataGridViewRow CurRow
+                                            , int nCompanyCode
+                                            , int nTargetDate
+                                            , int nSeqNo
+                                            , int nLineCount
+                                            , ref int nErrorCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(IoPaI.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
+                List<PaymentApprovalInfo> DataList = new List<PaymentApprovalInfo>();
+                if (!IoPaI.SelectAction(strSQL.ToString(), ref DataList))
+                {
+                    nErrorCode = (int)EntryErrorCode.AbNormal;
+                    return false;
+                }
+
+                foreach (PaymentApprovalInfo CurRec in DataList)
+                {
+                    // ƒ�ƒbƒN
+                    if (!IoPaI.RowLock(CurRec.CompanyCode
+                                        , CurRec.TargetDate
+                                        , CurRec.SeqNo
+                                        , CurRec.LineCount
+                                        , CurRec.ApprovalNo
+                                        , false))
+                    {
+                        nErrorCode = (int)EntryErrorCode.Locked;
+                        return false;
+                    }
+                }
+
+                // �í�œ
+                strSQL.Clear();
+                strSQL.Append(IoPaI.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
+                IoPaI.DeleteAction(strSQL.ToString(), false);
+                
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
+        /// <summary>
+        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
+        /// </summary>
+        private bool Deletebillingpaymentsummary(IOBillingPaymentSummary IoBps
+                                            , DataGridViewRow CurRow
+                                            , int nCompanyCode
+                                            , int nTargetDate
+                                            , int nSeqNo
+                                            , int nLineCount
+                                            , ref int nErrorCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(IoBps.CreatePrimarykeyString(nCompanyCode, nTargetDate));
+                List<BillingPaymentSummary> DataList = new List<BillingPaymentSummary>();
+                if (!IoBps.SelectAction(strSQL.ToString(), ref DataList, false))
+                {
+                    nErrorCode = (int)EntryErrorCode.AbNormal;
+                    return false;
+                }
+
+                foreach (BillingPaymentSummary CurRec in DataList)
+                {
+                    // ƒ�ƒbƒN
+                    if (!IoBps.RowLock(CurRec.CompanyCode
+                                        , CurRec.TargetDate
+                                        , CurRec.ChargePaymentKind
+                                        , false))
+                    {
+                        nErrorCode = (int)EntryErrorCode.Locked;
+                        return false;
+                    }
+                }
+
+                // �í�œ
+                strSQL.Clear();
+                strSQL.Append(IoBps.CreatePrimarykeyString(nCompanyCode, nTargetDate));
+                IoBps.DeleteAction(strSQL.ToString(), false);
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                nErrorCode = (int)EntryErrorCode.AbNormal;
+                return false;
+            }
+        }
+        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs	(revision 314)
@@ -430,7 +430,7 @@
 
                 switch (m_SelectType)
                 {
-                    case (int)SelectConstructionType.OwnOngoing:                           // æ¤œç´¢ã‚¿ã‚¤ãƒ—ã�Œé€²è¡Œä¸­ Add BIT 2017/02/22
+                    case (int)SelectConstructionType.OwnOngoing:                        // æ¤œç´¢ã‚¿ã‚¤ãƒ—ã�Œé€²è¡Œä¸­ Add BIT 2017/02/22
                         // é€²è¡Œä¸­æ¡ˆä»¶ã‚’æ¤œç´¢ã�™ã‚‹
                         SetSelectTypeOngoing(ref strSQL);
                         break;
Index: branches/src/ProcessManagement/ProcessManagement/ProcessManage.xlsx
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 313)
+++ branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 314)
@@ -32,7 +32,7 @@
 // ã�™ã�¹ã�¦ã�®å€¤ã‚’æŒ‡å®šã�™ã‚‹ã�‹ã€�ä¸‹ã�®ã‚ˆã�†ã�« '*' ã‚’ä½¿ã�£ã�¦ãƒ“ãƒ«ãƒ‰ã�Šã‚ˆã�³ãƒªãƒ“ã‚¸ãƒ§ãƒ³ç•ªå�·ã‚’ 
 // æ—¢å®šå€¤ã�«ã�™ã‚‹ã�“ã�¨ã�Œã�§ã��ã�¾ã�™:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.1.32")]
-[assembly: AssemblyFileVersion("1.0.1.32")]
+[assembly: AssemblyVersion("1.0.1.33")]
+[assembly: AssemblyFileVersion("1.0.1.33")]
 // Log4netã‚’ä½¿ç”¨ã�™ã‚‹
 [assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
