Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 274)
@@ -14,7 +14,7 @@
         /// <summary>
         /// 本体バージョン
         /// </summary>
-        public static int s_SystemVersion = 84;
+        public static int s_SystemVersion = 85;
 
         /// <summary>
         /// コピー・環境バージョン
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 274)
@@ -504,22 +504,11 @@
 
                 // データを追加する
                 frm.AddingConstrCode = ConstructionCode;
-                if (!frm.AddDataLedger)
-                {
-                    frm.Close();                    // 画面を閉じる
-                    return false;
-                }
+                if (!frm.AddDataLedger) return false;
 
                 // データ作成処理
-                if (!frm.SaveLedgerData)
-                {
-                    frm.Close();                    // 画面を閉じる
-                    return false;
-                }
+                if (!frm.SaveLedgerData) return false;
 
-                // 画面を閉じる
-                frm.Close();
-
                 return true;
             }
             catch (System.Exception ex)
@@ -529,6 +518,8 @@
             }
             finally
             {
+                // 画面を閉じる
+                frm.Close();
                 frm.Dispose(); frm = null;
                 LedgerDB.close(); LedgerDB = null;
                 LinkDB.close(); LinkDB = null;
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs	(revision 274)
@@ -700,12 +700,6 @@
         {
             try
             {
-                // 旧セキュリティを使用している場合はチェック無
-                if (CommonMotions.LoginUserData.SecCode == 0)
-                {
-                    Editflg = (int)CommonDefine.ProcessDataEdit.Edit;
-                    return true;
-                }
                 // サブウィンドウ等の特殊処理はすべて起動OK
                 if ((int)ClsExcute.SubFormExecuteNo.MessageWriter <= ExecCode)
                 {
@@ -768,14 +762,15 @@
                 }
                 else
                 {   // ログイン者以外はDBより読込チェックする
-                    string strSQL = "SELECT B.EXECCODE, B.EDITFLG, A.PERSONCODE, A.PERSONNAME, B.SECCODE";
-                    strSQL += " FROM PERSONINCHARGEMASTER A, PROCESSEXCUTEMASTER B";
-                    strSQL += " WHERE B.SECCODE = A.SECCODE";
-                    strSQL += string.Format(" AND A.PERSONCODE = {0}", PersonCode);
-                    strSQL += string.Format(" AND B.EXECCODE = {0}", ExecCode);
+                    StringBuilder strSQL = new StringBuilder();
+                    strSQL.Append("SELECT B.EXECCODE, B.EDITFLG, A.PERSONCODE, A.PERSONNAME, B.SECCODE");
+                    strSQL.Append(" FROM PERSONINCHARGEMASTER A, PROCESSEXCUTEMASTER B");
+                    strSQL.Append(" WHERE B.SECCODE = A.SECCODE");
+                    strSQL.AppendFormat(" AND A.PERSONCODE = {0}", PersonCode);
+                    strSQL.AppendFormat(" AND B.EXECCODE = {0}", ExecCode);
 
                     ArrayList arList = new ArrayList();
-                    if (!ExecDB.ExecuteReader(strSQL, ref arList)) return false;
+                    if (!ExecDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
 
                     if (arList.Count == 0) return false;
                     object[] objRec = (object[])arList[0];
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs	(revision 274)
@@ -651,7 +651,6 @@
                 strSQL.Append(" AND EXISTS (SELECT * FROM PURCHASEORDER B1 WHERE B1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE)");
                 strSQL.Append(" AND A.CONSTRUCTIONPERSONCODE != 0");
                 strSQL.Append(" AND A1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
-                strSQL.Append(" Group by A.CONSTRUCTIONCODE)");
 
                 // �������I������Ă���ꍇ
                 strSQL.Append(GetDepartmentString());
@@ -662,6 +661,8 @@
                 // �Z�L�����e�B������Z�b�g
                 strSQL.Append(wrkBuff.ToString());
 
+                strSQL.Append(" Group by A.CONSTRUCTIONCODE)");
+
                 // ORDER BY �ǉ�
                 strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC, {5} DESC",
                                                     (int)GetData.CONSTRUCTIONSTATUSFLG + 1,
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 274)
@@ -6082,6 +6082,11 @@
                 DateTime EdDate = CommonMotions.cnvDate(NowMonth);
                 int Betwen = (int)GridColumn.Payment + MonthDiff(StDate, EdDate);
 
+                double dExpenses = 0;
+                double NowValue = 0;
+                double CalcValue = 0;
+                // 合計欄位置取得
+                int TotalPoint = dgv.ColumnCount + (int)ColPayTotal.Totals;
                 for (int i = StartLine; i < dgv.RowCount; i++)
                 {
                     DataGridViewRow GridRow = dgv.Rows[i];
@@ -6090,16 +6095,13 @@
                     if (CommonMotions.cnvInt(GridRow.Cells[(int)GridColumn.GroupCount].Value) != GroupNo) break;
 
                     // 経費率取得
-                    double dExpenses = CommonMotions.cnvDouble(GridRow.Cells[(int)GridColumn.Percent].Value);
+                    dExpenses = CommonMotions.cnvDouble(GridRow.Cells[(int)GridColumn.Percent].Value);
 
                     // 実行金額現在値取得
-                    double NowValue = CommonMotions.cnvInt(GridRow.Cells[(int)GridColumn.ExecPrice].Value);
+                    NowValue = CommonMotions.cnvInt(GridRow.Cells[(int)GridColumn.ExecPrice].Value);
                     // 金額計算
-                    double CalcValue = CommonMotions.cnvRound(OrdersPrice * (dExpenses / 100.0));
+                    CalcValue = CommonMotions.cnvRound(OrdersPrice * (dExpenses / 100.0));
 
-                    // データセット 元の金額は変更しない
-                    //GridRow.Cells[(int)DispGridColumn.ExecPrice].Value = ((int)CalcValue).ToString("#,#");
-
                     // 支払金額セット
                     if (Betwen == (int)GridColumn.Payment)
                     {   // 工期が１カ月しかない場合
@@ -6110,8 +6112,7 @@
                         GridRow.Cells[Betwen].Value = ((int)(CalcValue - NowValue)).ToString("#,#");
                     }
 
-                    // 合計欄位置取得
-                    int TotalPoint = dgv.ColumnCount + (int)ColPayTotal.Totals;
+                    // 経費セット
                     GridRow.Cells[TotalPoint].Value = ((int)CalcValue).ToString("#,#");
                 }
                 return true;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs	(revision 274)
@@ -31,8 +31,6 @@
         private void InitializeComponent()
         {
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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();
@@ -41,11 +39,15 @@
             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 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();
             this.label1 = new System.Windows.Forms.Label();
             this.btnLineDel = new System.Windows.Forms.Button();
             this.btnLineAdd = new System.Windows.Forms.Button();
@@ -196,6 +198,7 @@
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column15 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -1839,6 +1842,7 @@
             this.Column1,
             this.Column4,
             this.Column3,
+            this.Column16,
             this.Column2,
             this.Column15,
             this.Column5,
@@ -1856,6 +1860,7 @@
             this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
             this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 458);
             this.dgvAllDisplay.TabIndex = 37;
+            this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick);
             this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter);
             this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated);
             this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged);
@@ -1868,14 +1873,14 @@
             this.dgvTransport02.AllowUserToResizeRows = false;
             this.dgvTransport02.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
             this.dgvTransport02.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle7.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvTransport02.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvTransport02.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
             this.dgvTransport02.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvTransport02.ColumnHeadersVisible = false;
             this.dgvTransport02.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -1908,10 +1913,10 @@
             // 
             // dataGridViewTextBoxColumn1
             // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle8;
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle10;
             this.dataGridViewTextBoxColumn1.Frozen = true;
             this.dataGridViewTextBoxColumn1.HeaderText = "日";
             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
@@ -1930,10 +1935,10 @@
             // 
             // dataGridViewTextBoxColumn2
             // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle9;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle11.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle11;
             this.dataGridViewTextBoxColumn2.Frozen = true;
             this.dataGridViewTextBoxColumn2.HeaderText = "事務所発";
             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
@@ -1942,10 +1947,10 @@
             // 
             // dataGridViewTextBoxColumn3
             // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle10;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle12.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle12;
             this.dataGridViewTextBoxColumn3.Frozen = true;
             this.dataGridViewTextBoxColumn3.HeaderText = "事務所着";
             this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
@@ -1954,10 +1959,10 @@
             // 
             // dataGridViewTextBoxColumn4
             // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle11.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle11;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle13.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle13;
             this.dataGridViewTextBoxColumn4.Frozen = true;
             this.dataGridViewTextBoxColumn4.HeaderText = "当日計";
             this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
@@ -2013,14 +2018,14 @@
             this.dgvTransport01.AllowUserToResizeRows = false;
             this.dgvTransport01.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
             this.dgvTransport01.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle12.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvTransport01.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle14.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvTransport01.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
             this.dgvTransport01.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvTransport01.ColumnHeadersVisible = false;
             this.dgvTransport01.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -2053,10 +2058,10 @@
             // 
             // dataGridViewTextBoxColumn5
             // 
-            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle13.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle13;
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle15.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle15;
             this.dataGridViewTextBoxColumn5.Frozen = true;
             this.dataGridViewTextBoxColumn5.HeaderText = "日";
             this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
@@ -2075,10 +2080,10 @@
             // 
             // dataGridViewTextBoxColumn6
             // 
-            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle14.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle14;
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle16.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle16;
             this.dataGridViewTextBoxColumn6.Frozen = true;
             this.dataGridViewTextBoxColumn6.HeaderText = "事務所発";
             this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
@@ -2087,10 +2092,10 @@
             // 
             // dataGridViewTextBoxColumn7
             // 
-            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle15.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle15;
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle17.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle17;
             this.dataGridViewTextBoxColumn7.Frozen = true;
             this.dataGridViewTextBoxColumn7.HeaderText = "事務所着";
             this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
@@ -2099,10 +2104,10 @@
             // 
             // dataGridViewTextBoxColumn8
             // 
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle16.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle16;
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle18.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle18;
             this.dataGridViewTextBoxColumn8.Frozen = true;
             this.dataGridViewTextBoxColumn8.HeaderText = "当日計";
             this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
@@ -2226,12 +2231,20 @@
             this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column3.Width = 80;
             // 
+            // Column16
+            // 
+            this.Column16.Frozen = true;
+            this.Column16.HeaderText = "工事番号";
+            this.Column16.Name = "Column16";
+            this.Column16.ReadOnly = true;
+            this.Column16.Visible = false;
+            // 
             // Column2
             // 
             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             this.Column2.DefaultCellStyle = dataGridViewCellStyle4;
             this.Column2.Frozen = true;
-            this.Column2.HeaderText = "行　　先";
+            this.Column2.HeaderText = "作　業　内　容";
             this.Column2.Name = "Column2";
             this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
@@ -2250,24 +2263,33 @@
             // 
             // Column5
             // 
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle6;
             this.Column5.Frozen = true;
-            this.Column5.HeaderText = "開始時間";
+            this.Column5.HeaderText = "残業開始";
             this.Column5.Name = "Column5";
+            this.Column5.ReadOnly = true;
             this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             // 
             // Column8
             // 
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle7;
             this.Column8.Frozen = true;
-            this.Column8.HeaderText = "終了時間";
+            this.Column8.HeaderText = "残業終了";
             this.Column8.Name = "Column8";
+            this.Column8.ReadOnly = true;
             this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             // 
             // Column7
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle8;
             this.Column7.Frozen = true;
             this.Column7.HeaderText = "残業時間";
             this.Column7.Name = "Column7";
@@ -2474,6 +2496,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewCheckBoxColumn Column15;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs	(revision 274)
@@ -48,6 +48,7 @@
             DispDay = 0,
             AttendanceDate,
             WeekString,
+            ConstractionCode,
             ActionResult,
             OverTimeFlg,
             StartTime,
@@ -464,9 +465,16 @@
         /// <param name="e"></param>
         private void btnLineDel_Click(object sender, EventArgs e)
         {
-            // 行削除処理を行った
-            DeleteLineData();
-            m_bChengeAns = true;
+            try
+            {
+                // 行削除処理を行った
+                DeleteLineData();
+                m_bChengeAns = true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
         }
         #endregion
 
@@ -609,9 +617,9 @@
         }
         #endregion
 
-        #region 出勤グリッドセル値の変更
+        #region 日報グリッドセル値の変更
         /// <summary>
-        /// 出勤グリッドセル値の変更
+        /// 日報グリッドセル値の変更
         /// </summary>
         /// <param name="sender"></param>
         /// <param name="e"></param>
@@ -620,11 +628,25 @@
             // 初期表示は処理しない
             if (GetConstructionPersonCode() == 0) return;
 
+            DataGridView dgv = dgvAllDisplay;
             // 参照時は処理しない
             if (m_EditLock) return;
+            if (dgv.ReadOnly) return;
 
-            // 出勤日数・残業時間セット
-            SetWorkDaysAndOverTimes();
+            switch (e.ColumnIndex)
+            {
+                case (int)GridColumn01.OverTimeFlg:
+                    if (CommonMotions.chkCellBlank(dgv.CurrentCell.Value)) break;
+                    LockOverTimeArea();
+                    break;
+                case (int)GridColumn01.StartTime:
+                case (int)GridColumn01.Comptime:
+                    // 出勤日数・残業時間セット
+                    SetWorkDaysAndOverTimes();
+                    break;
+                default:
+                    break;
+            }
 
             m_bChengeAns = true;
         }
@@ -640,14 +662,16 @@
         {
             try
             {
+                DataGridView dgv = (DataGridView)sender;
+
                 // 参照時は処理しない
                 if (m_EditLock) return;
+                if (dgv.ReadOnly) return;
 
                 // データグリッドがActiveでなければ処理しない
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
 
                 // 読込専用セルは処理しない
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -673,6 +697,41 @@
         }
         #endregion
 
+        #region 日報グリッド状態が変わればコミットする
+        /// <summary>
+        /// 日報グリッド状態が変わればコミットする
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvAllDisplay_CurrentCellDirtyStateChanged(object sender, EventArgs e)
+        {
+            DataGridView dgv = dgvAllDisplay;
+            if (dgv.ReadOnly) return;
+
+            switch (dgv.CurrentCellAddress.X)
+            {
+                case (int)GridColumn01.OverTimeFlg:
+                    if (CommonMotions.chkCellBlank(dgv.CurrentCell.Value)) break;
+                    dgv.CommitEdit(DataGridViewDataErrorContexts.Commit);
+                    break;
+                default:
+                    break;
+            }
+        }
+        #endregion
+
+        #region 日報グリッドセルダブルクリック
+        /// <summary>
+        /// 日報グリッドセルダブルクリック
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvAllDisplay_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            SetConstruction();
+        }
+        #endregion
+
         #region 日報グリッドセル入力後処理
         /// <summary>
         /// 日報グリッドセル入力後処理
@@ -683,15 +742,16 @@
         {
             try
             {
+                DataGridView dgv = (DataGridView)sender;
+
                 // 参照時は処理しない
                 if (m_EditLock) return;
+                if (dgv.ReadOnly) return;
 
-                DataGridView dgv = (DataGridView)sender;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // 開始終了時間以外は処理しない
-                bool bflag = true;
                 switch (CurCell.ColumnIndex)
                 {
                     case (int)GridColumn01.StartTime:
@@ -698,17 +758,9 @@
                     case (int)GridColumn01.Comptime:
                         CellTimeCalculate(CurRow);
                         break;
-                    case(int)GridColumn01.OverTimeFlg:
-                        bflag = false;
-                        break;
                     default:
-                        bflag = false;
                         break;
                 }
-                if (!bflag) return;
-
-                // 開始・終了時間より経過時間を求める
-                CellTimeCalculate(CurRow);
             }
             catch (Exception ex)
             {
@@ -726,17 +778,18 @@
         private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
         {
             TabControl CurTab = (TabControl)sender;
+            bool bDispCtrl = false;
             switch (CurTab.SelectedIndex)
             {
                 case 0:
-                    btnLineAdd.Visible = true;
-                    btnLineDel.Visible = true;
+                    bDispCtrl = true;
                     break;
                 case 1:
-                    btnLineAdd.Visible = false;
-                    btnLineDel.Visible = false;
+                    bDispCtrl = false;
                     break;
             }
+            btnLineAdd.Visible = bDispCtrl;
+            btnLineDel.Visible = bDispCtrl;
         }
         #endregion
 
@@ -1206,6 +1259,5 @@
             }
         }
         #endregion
-
-    }
+   }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.resx	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.resx	(revision 274)
@@ -126,6 +126,9 @@
   <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="Column16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="Column2.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/DRWork/FrmDRWorkAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 274)
@@ -198,6 +198,52 @@
         }
         #endregion
 
+        #region データ取得SQL作成
+        /// <summary>
+        /// データ取得SQL作成
+        /// </summary>
+        /// <param name="strSQL"></param>
+        /// <param name="WorktDate"></param>
+        private void CreateSQL(ref StringBuilder strSQL, DateTime WorktDate)
+        {
+            try
+            {
+                strSQL.Append("SELECT");
+                strSQL.Append(" t1.d,");
+                strSQL.Append(" DATE_FORMAT(C.HOLIDAY, '%Y/%m/%d') HOLIDAY,");
+                strSQL.Append(" D.ConstructionCode,");
+                strSQL.Append(" D.ACTIONRESULT,");
+                strSQL.Append(" DATE_FORMAT(D.StartTime, '%Y/%m/%d %H:%i:%s') As StartTime,");
+                strSQL.Append(" DATE_FORMAT(D.CompTime, '%Y/%m/%d %H:%i:%s') As CompTime,");
+                strSQL.Append(" D.NightFlg,");
+                strSQL.Append(" D.DAYTIMES,");
+                strSQL.Append(" D.WORKINGCOMMENT");
+                strSQL.Append(" FROM");
+
+                strSQL.Append(" (SELECT");
+                strSQL.Append(" A1.years,");
+                strSQL.Append(" A2.month,");
+                strSQL.Append(" A3.days,");
+                strSQL.Append(" CAST(CONCAT(A1.years, '/', A2.month, '/', A3.days) as DATE) as d");
+                strSQL.Append(" FROM yearmaster as A1, monthmaster as A2, daymaster as A3");
+                strSQL.AppendFormat(" WHERE A1.years = {0}", WorktDate.Year);
+                strSQL.AppendFormat(" AND A2.month = {0}", WorktDate.Month);
+                strSQL.Append(" AND CAST(CONCAT(A1.years, '/', A2.month, '/', A3.days) as DATE) IS NOT NULL) t1");
+
+                strSQL.Append(" LEFT JOIN HOLIDAYCALENDERMASTER C ON C.HOLIDAY = t1.d");
+                strSQL.Append(" LEFT JOIN ATTENDANCEDAILYDATA D");
+                strSQL.AppendFormat(" ON D.PERSONCODE = {0}", CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue));
+                strSQL.Append(" AND D.ATTENDANCEDATE = t1.d");
+                strSQL.Append(" ORDER BY t1.d, D.SEQNO");
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region 日報データ表示
         /// <summary>
         /// 日報データ表示
@@ -230,35 +276,10 @@
 
                 // 指定日の翌日より指定日数分の日付を取得する
                 StringBuilder strSQL = new StringBuilder();
-                strSQL.Append("SELECT");
-                strSQL.Append(" t1.d,");
-                strSQL.Append(" DATE_FORMAT(C.HOLIDAY, '%Y/%m/%d') HOLIDAY,");
-                strSQL.Append(" D.ACTIONRESULT,");
-                strSQL.Append(" DATE_FORMAT(D.StartTime, '%Y/%m/%d %H:%i:%s') As StartTime,");
-                strSQL.Append(" DATE_FORMAT(D.CompTime, '%Y/%m/%d %H:%i:%s') As CompTime,");
-                strSQL.Append(" D.NightFlg,");
-                strSQL.Append(" D.DAYTIMES,");
-                strSQL.Append(" D.WORKINGCOMMENT");
-                strSQL.Append(" FROM");
-                
-                strSQL.Append(" (SELECT");
-                strSQL.Append(" A1.years,");
-                strSQL.Append(" A2.month,");
-                strSQL.Append(" A3.days,");
-                strSQL.Append(" CAST(CONCAT(A1.years, '/', A2.month, '/', A3.days) as DATE) as d");
-                strSQL.Append(" FROM yearmaster as A1, monthmaster as A2, daymaster as A3");
-                strSQL.AppendFormat(" WHERE A1.years = {0}", WorktDate.Year);
-                strSQL.AppendFormat(" AND A2.month = {0}", WorktDate.Month);
-                strSQL.Append(" AND CAST(CONCAT(A1.years, '/', A2.month, '/', A3.days) as DATE) IS NOT NULL) t1");
-
-                strSQL.Append(" LEFT JOIN HOLIDAYCALENDERMASTER C ON C.HOLIDAY = t1.d");
-                strSQL.Append(" LEFT JOIN ATTENDANCEDAILYDATA D");
-                strSQL.AppendFormat(" ON D.PERSONCODE = {0}", CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue));
-                strSQL.Append(" AND D.ATTENDANCEDATE = t1.d");
-                strSQL.Append(" ORDER BY t1.d, D.SEQNO");
-
+                CreateSQL(ref strSQL, WorktDate);
                 ArrayList arList = new ArrayList();
                 if (!calDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
                 DateTime DispDate = DateTime.Now;
                 DateTime BreakDate = DateTime.MinValue;
                 string strHoliday = string.Empty;
@@ -265,9 +286,11 @@
                 string strResultName = string.Empty;
                 string strDispDay = string.Empty;
                 string strWeek = string.Empty;
-                string SDate = string.Empty;
-                string CDate = string.Empty;
+                string STime = string.Empty;
+                string CTime = string.Empty;
+                string TotalTime = string.Empty;
                 bool Flag = false;
+                int AddRow = 0;
 
                 // 日付の表示
                 foreach (object[] CurRec in arList)
@@ -275,23 +298,24 @@
                     DispDate = CommonMotions.cnvDate(CurRec[0]);
                     strHoliday = string.Empty;
                     strHoliday = CommonMotions.cnvString(CurRec[1]);
-                    strResultName = CommonMotions.cnvString(CurRec[2]);
+                    strResultName = CommonMotions.cnvString(CurRec[3]);
                     strDispDay = string.Format("{0}日", DispDate.Day.ToString());
                     strWeek = DispDate.ToString("dddd");
 
-                    if (CommonMotions.cnvDate(CurRec[3]) == DateTime.MinValue)
-                        SDate = string.Empty;
-                    else
-                        SDate = CommonMotions.cnvDate(CurRec[3]).ToShortTimeString();
+                    STime = string.Empty;
+                    if (CommonMotions.cnvDate(CurRec[4]) != DateTime.MinValue)
+                        STime = CommonMotions.cnvDate(CurRec[4]).ToShortTimeString();
 
-                    if (CommonMotions.cnvDate(CurRec[4]) == DateTime.MinValue)
-                        CDate = string.Empty;
-                    else
-                        CDate = CommonMotions.cnvDate(CurRec[4]).ToShortTimeString();
+                    CTime = string.Empty;
+                    if (CommonMotions.cnvDate(CurRec[5]) != DateTime.MinValue)
+                        CTime = CommonMotions.cnvDate(CurRec[5]).ToShortTimeString();
 
-                    if (CommonMotions.cnvInt(CurRec[5]) == (int)AttendanceDailyData.OverTimeDef.Normal)
-                        Flag = false;
-                    else
+                    TotalTime = string.Empty;
+                    if (CommonMotions.cnvDouble(CurRec[7]) > 0)
+                        TotalTime = CommonMotions.cnvDouble(CurRec[7]).ToString("#.0");
+
+                    Flag = false;
+                    if (CommonMotions.cnvInt(CurRec[6]) == (int)AttendanceDailyData.OverTimeDef.OverTime)
                         Flag = true;
 
                     if (DispDate == BreakDate)
@@ -303,15 +327,16 @@
                     {
                         BreakDate = DispDate;
                     }
-                    int AddRow = dgv.Rows.Add(strDispDay,
+                    AddRow = dgv.Rows.Add(strDispDay,
                                                 DispDate.ToShortDateString(),
                                                 strWeek,
+                                                CommonMotions.cnvInt(CurRec[2]),
                                                 strResultName,
                                                 Flag,
-                                                SDate,
-                                                CDate,
-                                                CommonMotions.cnvDouble(CurRec[6]).ToString("#.#"),
-                                                CommonMotions.cnvString(CurRec[7])
+                                                STime,
+                                                CTime,
+                                                TotalTime,
+                                                CommonMotions.cnvString(CurRec[8])
                                                 );
 
                     // 休日のチェック
@@ -320,8 +345,10 @@
                         dgv.Rows[AddRow].Cells[(int)GridColumn01.DispDay].Style.ForeColor = Color.Red;
                         dgv.Rows[AddRow].Cells[(int)GridColumn01.WeekString].Style.ForeColor = Color.Red;
                         m_HolidayCount++;
-                        continue;
                     }
+                    // 残業以外は時間の入力ができない
+                    dgv.Rows[AddRow].Cells[(int)GridColumn01.StartTime].ReadOnly = !Flag;
+                    dgv.Rows[AddRow].Cells[(int)GridColumn01.Comptime].ReadOnly = !Flag;
                 }
                 // 出勤日数・残業時間のセット
                 SetWorkDaysAndOverTimes();
@@ -522,8 +549,10 @@
 
                 // 日付セット
                 dgv.Rows[InsertCnt].Cells[(int)GridColumn01.AttendanceDate].Value = TargetDay;
-                // 残業時間０
-                dgv.Rows[InsertCnt].Cells[(int)GridColumn01.OverTimes].Value = "0";
+                // 残業時間
+                dgv.Rows[InsertCnt].Cells[(int)GridColumn01.OverTimeFlg].Value = false;
+                dgv.Rows[InsertCnt].Cells[(int)GridColumn01.StartTime].ReadOnly = true;
+                dgv.Rows[InsertCnt].Cells[(int)GridColumn01.Comptime].ReadOnly = true;
 
                 // データ変更フラグON
                 m_bChengeAns = true;
@@ -566,17 +595,26 @@
                 if ((RemoveCnt > 0) && CurDay == CommonMotions.cnvDate(dgv.Rows[(RemoveCnt - 1)].Cells[(int)GridColumn01.AttendanceDate].Value)) sameCount++;
                 if ((RemoveCnt < (dgv.RowCount - 1)) && CurDay == CommonMotions.cnvDate(dgv.Rows[(RemoveCnt + 1)].Cells[(int)GridColumn01.AttendanceDate].Value)) sameCount++;
 
-                // 日付が1日だけの場合は行削除できない
+                // 日付が1日だけの場合は行クリアを行う
                 if (sameCount == 0)
                 {
                     foreach (DataGridViewCell wrkcell in CurRow.Cells)
                     {
-                        // 日付はクリアしない
-                        if (wrkcell.ColumnIndex == (int)GridColumn01.DispDay) continue;
-                        if (wrkcell.ColumnIndex == (int)GridColumn01.AttendanceDate) continue;
-                        if (wrkcell.ColumnIndex == (int)GridColumn01.WeekString) continue;
-                        // クリア
-                        wrkcell.Value = "";
+                        switch (wrkcell.ColumnIndex)
+                        {
+                            case (int)GridColumn01.DispDay:
+                            case (int)GridColumn01.AttendanceDate:
+                            case (int)GridColumn01.WeekString:
+                                // 日付はクリアしない
+                                break;
+                            case (int)GridColumn01.OverTimeFlg:
+                                wrkcell.Value = false;
+                                break;
+                            default:
+                                // クリア
+                                wrkcell.Value = string.Empty;
+                                break;
+                        }
                     }
                 }
                 else
@@ -1147,7 +1185,6 @@
         /// <returns></returns>
         private bool DispFeildCheck()
         {
-            bool bRet = true;
             try
             {
                 bool bSelFlg = false;
@@ -1164,23 +1201,21 @@
                     }
                 }
 
-                // 残業エラー
-                if (CommonMotions.cnvDouble(m_DspControl[(int)DspCtrlName.Overtime].Text) > 999.9)
-                {
-                    MessageBox.Show("残業時間の合計は999.9までしか登録できません。", "登録エラー", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
-                }
-
+                bool bRet = true;
                 DataGridView dgv = dgvAllDisplay;
+                string strWrk = string.Empty;
                 // グリッドの行分処理を行う
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
-                    // 背景色変更（正常色）
-                    CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.OverTimes], true);
-                    CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.Comment], true);
+                    // 開始時間
+                    if (!CheckGridCellDatetime(wrkRow, (int)GridColumn01.StartTime)) bRet = false;
+                    // 終了時間
+                    if (!CheckGridCellDatetime(wrkRow, (int)GridColumn01.Comptime)) bRet = false;
 
                     // 行動実績
-                    if (CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.ActionResult].Value).Length > 30)
+                    CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.ActionResult], true);
+                    strWrk = CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.ActionResult].Value);
+                    if (strWrk.Length > 120)
                     {
                         // 背景色変更
                         CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.ActionResult], false);
@@ -1187,22 +1222,10 @@
                         bRet = false;
                     }
 
-                    // 残業時間
-                    if (!CommonMotions.chkNumeric(wrkRow.Cells[(int)GridColumn01.OverTimes].Value))
-                    {
-                        // 背景色変更
-                        CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.OverTimes], false);
-                        bRet = false;
-                    }
-                    if (CommonMotions.cnvDouble(wrkRow.Cells[(int)GridColumn01.OverTimes].Value) > 999.9)
-                    {
-                        // 背景色変更
-                        CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.OverTimes], false);
-                        bRet = false;
-                    }
-
                     // 備考レングス
-                    if (CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.Comment].Value).Length > 120)
+                    CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.Comment], true);
+                    strWrk = CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.Comment].Value);
+                    if (strWrk.Length > 120)
                     {
                         // 背景色変更
                         CommonMotions.chgBackColor(wrkRow.Cells[(int)GridColumn01.Comment], false);
@@ -1360,7 +1383,7 @@
                 // グリッドの行分処理を行う
                 int LineCnt = 1;
                 string AttendName = string.Empty;
-                double OverTimes = 0;
+                bool OverTimeflg = false;
                 string strComment = string.Empty;
                 DateTime AttendanceDate = DateTime.Now;
                 DateTime BreakDate = DateTime.MinValue;
@@ -1370,11 +1393,14 @@
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     AttendName = CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.ActionResult].Value);
-                    OverTimes = CommonMotions.cnvDouble(wrkRow.Cells[(int)GridColumn01.OverTimes].Value);
                     strComment = CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.Comment].Value);
                     AttendanceDate = CommonMotions.cnvDate(wrkRow.Cells[(int)GridColumn01.AttendanceDate].Value);
+                    
+                    if (!CommonMotions.chkCellBlank(wrkRow.Cells[(int)GridColumn01.OverTimeFlg].Value))
+                        OverTimeflg = (bool)wrkRow.Cells[(int)GridColumn01.OverTimeFlg].Value;
+
                     // 空白行は処理しない
-                    if (AttendName.Length == 0 && OverTimes == 0 && strComment.Length == 0) continue;
+                    if (AttendName.Length == 0 && strComment.Length == 0 && !OverTimeflg) continue;
 
                     // 日付が違えば行番号クリア
                     if (AttendanceDate != BreakDate)
@@ -1421,8 +1447,15 @@
                 DateTime StartTime = GetGridCellDatetime(wrkRow, (int)GridColumn01.StartTime);
                 DateTime CompTime = GetGridCellDatetime(wrkRow, (int)GridColumn01.Comptime);
 
+                // 残業時間フラグ取得
+                int OverTimeFlg = (int)AttendanceDailyData.OverTimeDef.Normal;
+                if (!CommonMotions.chkCellBlank(wrkRow.Cells[(int)GridColumn01.OverTimeFlg].Value))
+                    if ((bool)wrkRow.Cells[(int)GridColumn01.OverTimeFlg].Value)
+                        OverTimeFlg = (int)AttendanceDailyData.OverTimeDef.OverTime;
+
                 double OverTimes = CommonMotions.cnvDouble(wrkRow.Cells[(int)GridColumn01.OverTimes].Value);
                 string strComment = CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.Comment].Value);
+                int nConstrCode = CommonMotions.cnvInt(wrkRow.Cells[(int)GridColumn01.ConstractionCode].Value);
                 DateTime AttendanceDate = CommonMotions.cnvDate(wrkRow.Cells[(int)GridColumn01.AttendanceDate].Value);
 
                 int PersonCode = GetConstructionPersonCode();
@@ -1432,7 +1465,9 @@
                 NewRec.PersonCode = PersonCode;                 // 担当者コード
                 NewRec.AttendanceDate = AttendanceDate;         // 日報作成日
                 NewRec.SeqNo = LineCnt;                         // 明細行番号
+                NewRec.ConstructionCode = nConstrCode;          // 工事番号
                 NewRec.ActionResult = ActionResult;             // 行動実績
+                NewRec.NightFlg = OverTimeFlg;                  // 残業フラグ
                 NewRec.StartTime = StartTime;                   // 開始時間
                 NewRec.CompTime = CompTime;                     // 終了時間
                 NewRec.DayTimes = OverTimes;                    // 残業時間
@@ -1447,6 +1482,47 @@
         }
         #endregion
 
+        #region セルのTime値を検証する
+        /// <summary>
+        /// セルのTime値を検証する
+        /// </summary>
+        /// <param name="CellCnt"></param>
+        /// <returns></returns>
+        private bool CheckGridCellDatetime(DataGridViewRow wrkRow, int CellCnt)
+        {
+            try
+            {
+                // セル正常色へ
+                CommonMotions.chgBackColor(wrkRow.Cells[CellCnt], true);
+
+                string wrktime = CommonMotions.cnvString(wrkRow.Cells[CellCnt].Value);
+                if (wrktime.Length < 1) return true;
+
+                wrktime = string.Format("{0} {1}",
+                                                CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.AttendanceDate].Value),
+                                                CommonMotions.cnvString(wrkRow.Cells[CellCnt].Value));
+                // Valueチェック
+                bool bRet = CommonMotions.chkDate(wrktime);
+                
+                if (bRet)
+                {   // 正常時時間フォーマット
+                    wrkRow.Cells[CellCnt].Value = CommonMotions.cnvDate(wrktime).ToShortTimeString();
+                }
+                else
+                {   // エラー時色変更
+                    CommonMotions.chgBackColor(wrkRow.Cells[CellCnt], false);
+                }
+
+                return bRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
         #region セルのDateTime値を取得する
         /// <summary>
         /// セルのDateTime値を取得する
@@ -1459,12 +1535,15 @@
             {
                 DateTime dtRet = DateTime.MinValue;
 
-                string wrktime = string.Empty;
-                wrktime = string.Format("{0} {1}",
-                                                CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.AttendanceDate].Value),
-                                                CommonMotions.cnvString(wrkRow.Cells[CellCnt].Value));
+                string wrktime = CommonMotions.cnvString(wrkRow.Cells[CellCnt].Value);
 
-                dtRet = CommonMotions.cnvDate(wrktime);
+                if (wrktime.Length > 1)
+                {
+                    wrktime = string.Format("{0} {1}",
+                                                    CommonMotions.cnvString(wrkRow.Cells[(int)GridColumn01.AttendanceDate].Value),
+                                                    CommonMotions.cnvString(wrkRow.Cells[CellCnt].Value));
+                    dtRet = CommonMotions.cnvDate(wrktime);
+                }
 
                 return dtRet;
             }
@@ -2005,8 +2084,12 @@
         {
             try
             {
+                if (!CheckGridCellDatetime(CurRow, (int)GridColumn01.StartTime)) return;
                 DateTime StartTime = GetGridCellDatetime(CurRow, (int)GridColumn01.StartTime);
+
+                if (!CheckGridCellDatetime(CurRow, (int)GridColumn01.Comptime)) return;
                 DateTime CompTime = GetGridCellDatetime(CurRow, (int)GridColumn01.Comptime);
+                if (StartTime == DateTime.MinValue && CompTime == DateTime.MinValue) return;
 
                 TimeSpan tsData = CompTime - StartTime;
 
@@ -2027,29 +2110,87 @@
         }
         #endregion
 
-        #region 残業時間入力
+        #region 残業エリア設定処理
         /// <summary>
-        /// 残業時間入力
+        /// 残業エリア設定処理
         /// </summary>
-        /// <param name="CurRow"></param>
-        private void CellOverTimeInput(DataGridViewRow CurRow)
+        private void LockOverTimeArea()
         {
+            DataGridView dgv = dgvAllDisplay;
+            bool bReadFlg = true;
             try
             {
-                int pos = (int)GridColumn01.OverTimeFlg;
-                if (CommonMotions.chkObjectIsNull(CurRow.Cells[pos].Value)) return;
+                if (CommonMotions.chkCellBlank(dgv.CurrentCell.Value)) return;
 
-                bool RedFlg = false;
-                if ((bool)CurRow.Cells[pos].Value) RedFlg = false;
-                else RedFlg = true;
-                CurRow.Cells[(int)GridColumn01.StartTime].ReadOnly = RedFlg;
-                CurRow.Cells[(int)GridColumn01.Comptime].ReadOnly = RedFlg;
+                bReadFlg = !(bool)dgv.CurrentCell.Value;
+
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
             }
+            finally
+            {
+                dgv.CurrentRow.Cells[(int)GridColumn01.StartTime].ReadOnly = bReadFlg;
+                dgv.CurrentRow.Cells[(int)GridColumn01.Comptime].ReadOnly = bReadFlg;
+                if (bReadFlg)
+                {
+                    dgv.CurrentRow.Cells[(int)GridColumn01.StartTime].Value = string.Empty;
+                    dgv.CurrentRow.Cells[(int)GridColumn01.Comptime].Value = string.Empty;
+                }
+            }
         }
         #endregion
+
+        #region 工事名称選択
+        /// <summary>
+        /// 工事名称選択
+        /// </summary>
+        /// <param name="RowCnt"></param>
+        private void SetConstruction()
+        {
+            FrmConstructionDiag frm = new FrmConstructionDiag();
+            try
+            {
+                DataGridView dgv = dgvAllDisplay;
+                DataGridViewRow dgvRow = dgv.CurrentRow;
+
+                // 作業内容列以外は処理しない
+                if (dgv.CurrentCell.ColumnIndex != (int)GridColumn01.ActionResult) return;
+
+                // グリッドがREADONLYは処理しない
+                if (dgv.ReadOnly) return;
+
+                // 担当者コンボボックス値取得
+                int PersonCode = GetConstructionPersonCode();
+                if (PersonCode == 0) return;
+
+                // 工事担当者検索
+                frm.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction;
+                frm.PersonCode = PersonCode;
+                frm.ProcessNo = (int)ClsExcute.ProcessExecuteNo.TAndPCosts;
+                frm.SelectType = (int)FrmConstructionDiag.SelectConstructionType.Ongoing;
+
+                frm.ShowDialog();
+                // 終了コード確認
+                if (frm.EndButton == DialogResult.No) return;
+
+                // 工事コードセット
+                dgvRow.Cells[(int)GridColumn01.ConstractionCode].Value = frm.ConstructionCode;
+                // 工事名称セット
+                dgvRow.Cells[(int)GridColumn01.ActionResult].Value = frm.ConstructionName;
+
+                dgv.EndEdit();
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                frm.Dispose(); frm = null;
+            }
+        }
+        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.Designer.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.Designer.cs	(revision 274)
@@ -39,9 +39,9 @@
             this.label1 = new System.Windows.Forms.Label();
             this.btnEnd = new System.Windows.Forms.Button();
             this.panel3 = new System.Windows.Forms.Panel();
+            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.label6 = new System.Windows.Forms.Label();
             this.dgvList = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.ApprovalColumn02 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.ApprovalColumn01 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -92,6 +92,18 @@
             this.panel3.Size = new System.Drawing.Size(780, 44);
             this.panel3.TabIndex = 104;
             // 
+            // comboBox1
+            // 
+            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBox1.Font = new System.Drawing.Font("ＭＳ 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBox1.FormattingEnabled = true;
+            this.comboBox1.Location = new System.Drawing.Point(133, 4);
+            this.comboBox1.Name = "comboBox1";
+            this.comboBox1.Size = new System.Drawing.Size(160, 29);
+            this.comboBox1.TabIndex = 114;
+            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
+            // 
             // label6
             // 
             this.label6.BackColor = System.Drawing.Color.SandyBrown;
@@ -146,17 +158,6 @@
             this.dgvList.Size = new System.Drawing.Size(780, 530);
             this.dgvList.TabIndex = 105;
             // 
-            // comboBox1
-            // 
-            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBox1.Font = new System.Drawing.Font("ＭＳ 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBox1.FormattingEnabled = true;
-            this.comboBox1.Location = new System.Drawing.Point(133, 4);
-            this.comboBox1.Name = "comboBox1";
-            this.comboBox1.Size = new System.Drawing.Size(160, 29);
-            this.comboBox1.TabIndex = 114;
-            // 
             // ApprovalColumn02
             // 
             dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.cs	(revision 274)
@@ -38,115 +38,9 @@
         #endregion
 
         #region 定数
-        #region 出勤日報グリッドカラム
-        /// <summary>
-        /// 出勤日報グリッドカラム
-        /// </summary>
-        private enum GridColumn01
-        {
-            DispDay = 0,
-            AttendanceDate,
-            WeekString,
-            ConstructionCode,
-            ConstructionName,
-            OverTimes,
-            Comment,
-        }
-        #endregion
 
-        #region 通勤交通費グリッドカラム
-        /// <summary>
-        /// 通勤交通費グリッドカラム
-        /// </summary>
-        private enum GridColumn02
-        {
-            DispDay = 0,
-            AttendanceDate,
-            StartNumber,
-            CompNumber,
-            TotalDistance,
-            OfficeGo,
-            OfficeOut,
-            TrancePayGo,
-            TrancePayOut,
-            WareHouse,
-        }
         #endregion
 
-        #region 表示コントロール
-        /// <summary>
-        /// 表示コントロール
-        /// </summary>
-        private enum DspCtrlName
-        {
-            /// <summary>
-            /// 部署名
-            /// </summary>
-            DepartmentName = 0,
-            /// <summary>
-            /// 担当者名
-            /// </summary>
-            PersonName,
-            /// <summary>
-            /// 日報年月
-            /// </summary>
-            ConstructionYear,
-            /// <summary>
-            /// 日報開始日
-            /// </summary>
-            ConstructionDayFrom,
-            /// <summary>
-            /// 日報終了日
-            /// </summary>
-            ConstructionDayTo,
-            /// <summary>
-            /// 出勤日数
-            /// </summary>
-            WorkingDays,
-            /// <summary>
-            /// 残業時間
-            /// </summary>
-            Overtime,
-
-            KmTodayTotal,
-            OfficeTodayCnt01,
-            OfficeTodayCnt02,
-            TrancePayCnt01,
-            TrancePayCnt02,
-            WarehouseTodayCnt01,
-            KmMonthTotal01,
-            KmMonthTotal02,
-            KmMonthTotal03,
-            UnitPrice01,
-            UnitPrice02,
-            UnitPrice03,
-            UnitPrice04,
-            MonthCnt01,
-            MonthCnt02,
-            MonthCnt03,
-            MonthTotal01,
-            MonthTotal02,
-            MonthTotal03,
-            MonthTotal04,
-            MonthTotal05,
-        }
-        #endregion
-
-        /// <summary>
-        /// グリッド表示行数
-        /// </summary>
-        private const int s_GridDispLine = 5;
-        /// <summary>
-        /// 自画面幅
-        /// </summary>
-        private const int s_MyWidth = 812;
-        /// <summary>
-        /// 自画面高さ
-        /// </summary>
-        private const int s_MyHeight = 720;
-
-        #endregion
-
         #region 変数
 
         /// <summary>
@@ -313,14 +207,22 @@
                 comboBox1.DataSource = null;
 
                 // 存在月を出勤データより取得する
-                string strSQL = "SELECT TO_CHAR(ATTENDANCEDATE,'YYYY/MM'), COUNT(*) FROM ATTENDANCEDAILYDATA GROUP BY TO_CHAR(ATTENDANCEDATE,'YYYY/MM') ORDER BY 1";
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("SELECT");
+                strSQL.Append(" DATE_FORMAT(ATTENDANCEDATE,'%Y/%m'),");
+                strSQL.Append(" COUNT(*)");
+                strSQL.Append(" FROM ATTENDANCEDAILYDATA");
+                strSQL.Append(" GROUP BY DATE_FORMAT(ATTENDANCEDATE,'%Y/%m')");
+                strSQL.Append(" ORDER BY 1");
                 ArrayList arList = new ArrayList();
-                CostDB.ExecuteReader(strSQL, ref arList);
+                CostDB.ExecuteReader(strSQL.ToString(), ref arList);
 
                 List<KeyValuePair<string, string>> DataList = new List<KeyValuePair<string, string>>();
                 foreach (object[] wrkobj in arList)
                 {
-                    KeyValuePair<string, string> keyval = new KeyValuePair<string, string>(wrkobj[0].ToString(), (wrkobj[0].ToString().Replace("/", "年") + "月"));
+                    KeyValuePair<string, string> keyval 
+                                                    = new KeyValuePair<string, string>(wrkobj[0].ToString(),
+                                                                                    string.Format("{0}月", wrkobj[0].ToString().Replace("/", "年")));
                     DataList.Add(keyval);
                 }
 
@@ -329,7 +231,9 @@
                 // 当月を追加するかの判断
                 if (arList.Count == 0 || !DataList[DataList.Count - 1].Key.Equals(ToMonth))
                 {
-                    KeyValuePair<string, string> keyval = new KeyValuePair<string, string>(ToMonth, (ToMonth.ToString().Replace("/", "年") + "月"));
+                    KeyValuePair<string, string> keyval
+                                                    = new KeyValuePair<string, string>(ToMonth,
+                                                                                    string.Format("{0}月", ToMonth.ToString().Replace("/", "年")));
                     DataList.Add(keyval);
                 }
                 // 来月の追加判定(25日過ぎは来月の追加をする)
@@ -337,7 +241,9 @@
                 {
                     DateTime dtNext = DateTime.Now.AddMonths(1);
                     string NextMonth = string.Format("{0}/{1}", dtNext.Year, dtNext.Month.ToString("00"));
-                    KeyValuePair<string, string> keyval = new KeyValuePair<string, string>(NextMonth, (NextMonth.ToString().Replace("/", "年") + "月"));
+                    KeyValuePair<string, string> keyval
+                                                    = new KeyValuePair<string, string>(NextMonth,
+                                                                                    string.Format("{0}月", NextMonth.ToString().Replace("/", "年")));
                     DataList.Add(keyval);
                 }
 
@@ -383,6 +289,53 @@
         }
         #endregion
 
+        #region データ取得SQL作成
+        /// <summary>
+        /// データ取得SQL作成
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateSQL(ref StringBuilder strSQL)
+        {
+            try
+            {
+                strSQL.Append("SELECT");
+                strSQL.Append(" B.DEPARTMENTCODE,");
+                strSQL.Append(" B.DEPARTMENTSTRING,");
+                strSQL.Append(" A.PERSONCODE,");
+                strSQL.Append(" A.PERSONNAME,");
+                strSQL.Append(" ifnull(C.CNT, 0),");
+                strSQL.Append(" ifnull(D.CNT, 0),");
+                strSQL.Append(" ifnull(E.APPROVALSTATUS, 4)");
+                strSQL.Append(" FROM PERSONINCHARGEMASTER A");
+                strSQL.Append(" LEFT JOIN DEPARTMENTMASTER B ON B.DEPARTMENTCODE = A.DEPARTMENTCODE");
+                strSQL.Append(" LEFT JOIN (SELECT CX.PERSONCODE, COUNT(*) CNT FROM ATTENDANCEDAILYDATA CX");
+                strSQL.AppendFormat(" WHERE DATE_FORMAT(CX.AttendanceDate, '%Y/%m') = '{0}'", CommonMotions.cnvString(comboBox1.SelectedValue));
+                strSQL.Append(" GROUP BY CX.PERSONCODE) C ON C.PERSONCODE = A.PERSONCODE");
+                strSQL.Append(" LEFT JOIN (SELECT DX.PERSONCODE, COUNT(*) CNT FROM TRANCEPORTDAILYDATA DX");
+                strSQL.AppendFormat(" WHERE DATE_FORMAT(DX.AttendanceDate, '%Y/%m') = '{0}'", CommonMotions.cnvString(comboBox1.SelectedValue));
+                strSQL.Append(" GROUP BY DX.PERSONCODE) D ON D.PERSONCODE = A.PERSONCODE");
+                strSQL.Append(" LEFT JOIN PERSONAPPROVAL E ON E.PERSONCODE = A.PERSONCODE");
+                strSQL.AppendFormat(" AND E.APPROVALCODE = {0}", (int)ClsExcute.ApprovalListNo.DRWorkApproval);
+                strSQL.Append(" AND E.ORDERNO = 1 AND E.SEQNO = 1");
+                strSQL.AppendFormat(" AND E.APPROVALSTATUS = {0}", (int)CommonDefine.ApprovalStatus.Approval);
+                strSQL.Append(" WHERE");
+                if (CommonMotions.LoginUserData.PersonCode != CommonDefine.AdminCode)
+                {
+                    strSQL.Append(" A.DEPARTMENTCODE IN (SELECT DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER F");
+                    strSQL.AppendFormat(" WHERE F.PERSONCODE = {0})", CommonMotions.LoginUserData.PersonCode);
+                    strSQL.Append(" AND");
+                }
+                strSQL.AppendFormat(" A.EMPLOYEECLASSFLG = {0} AND A.DELETEFLG = 0", (int)PersonInChargeMaster.EmployeeClassFlgDef.Regular);
+                strSQL.AppendFormat(" AND A.EMPLOYEECLASSFLG = {0} AND A.DELETEFLG = 0", (int)PersonInChargeMaster.EmployeeClassFlgDef.Regular);
+                strSQL.Append(" ORDER BY A.DISPLAYORDER ASC");
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region 初期表示
         /// <summary>
         /// 初期表示
@@ -392,51 +345,48 @@
             IOAttendanceDailyData AttDayDB = new IOAttendanceDailyData();
             try
             {
-                string strSQL = "SELECT B.DEPARTMENTCODE, B.DEPARTMENTSTRING, A.PERSONCODE, A.PERSONNAME, C.CNT, D.CNT, E.APPROVALSTATUS";
-                strSQL += " FROM PERSONINCHARGEMASTER A";
-                strSQL += " LEFT JOIN DEPARTMENTMASTER B ON B.DEPARTMENTCODE = A.DEPARTMENTCODE";
-                strSQL += " LEFT JOIN (SELECT CX.PERSONCODE, COUNT(*) CNT FROM ATTENDANCEDAILYDATA CX";
-                strSQL += string.Format(" WHERE TO_CHAR(CX.AttendanceDate, 'YYYY/MM') = '{0}' GROUP BY CX.PERSONCODE) C ON C.PERSONCODE = A.PERSONCODE", m_ReportDate);
-                strSQL += " LEFT JOIN (SELECT DX.PERSONCODE, COUNT(*) CNT FROM TRANCEPORTDAILYDATA DX";
-                strSQL += string.Format(" WHERE TO_CHAR(DX.AttendanceDate, 'YYYY/MM') = '{0}' GROUP BY DX.PERSONCODE) D ON D.PERSONCODE = A.PERSONCODE", m_ReportDate);
-                strSQL += " LEFT JOIN PERSONAPPROVAL E ON E.PERSONCODE = A.PERSONCODE";
-                strSQL += string.Format(" AND E.APPROVALCODE = {0}", (int)ClsExcute.ApprovalListNo.DRWorkApproval);
-                strSQL += " AND E.ORDERNO = 1 AND E.SEQNO = 1";
-                strSQL += string.Format(" AND E.APPROVALSTATUS = {0}", (int)CommonDefine.ApprovalStatus.Approval);
-                strSQL += " WHERE";
-                if (CommonMotions.LoginUserData.PersonCode != CommonDefine.AdminCode)
-                {
-                    strSQL += " A.DEPARTMENTCODE IN (SELECT DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER F";
-                    strSQL += string.Format(" WHERE F.PERSONCODE = {0})", CommonMotions.LoginUserData.PersonCode);
-                    strSQL += " AND";
-                }
-                strSQL += string.Format(" A.EMPLOYEECLASSFLG = {0} AND A.DELETEFLG = 0", (int)PersonInChargeMaster.EmployeeClassFlgDef.Regular);
-                strSQL += string.Format(" AND A.EMPLOYEECLASSFLG = {0} AND A.DELETEFLG = 0", (int)PersonInChargeMaster.EmployeeClassFlgDef.Regular);
-                strSQL += " ORDER BY A.DISPLAYORDER ASC";
+                StringBuilder strSQL = new StringBuilder();
+                CreateSQL(ref strSQL);
 
                 DataGridView dgv = dgvList;
+                dgv.Rows.Clear();
                 ArrayList arData = new ArrayList();
-                if (!AttDayDB.ExecuteReader(strSQL, ref arData)) return;
-                string[] strDisp = new string[3];
+                if (!AttDayDB.ExecuteReader(strSQL.ToString(), ref arData)) return;
+
+                string strDisp = string.Empty;
                 int DispNo = 1;
+                int DispLine = -1;
                 foreach (object[] objRec in arData)
                 {
-                    Array.Clear(strDisp, 0, 3);
-                    if (CommonMotions.cnvInt(objRec[4]) == 0) strDisp[0] = "×";
-                    else strDisp[0] = "○";
-                    if (CommonMotions.cnvInt(objRec[5]) == 0) strDisp[1] = "×";
-                    else strDisp[1] = "○";
-                    if (CommonMotions.cnvInt(objRec[6]) == 0) strDisp[2] = string.Empty;
-                    else strDisp[2] = "済";
+                    DispLine = dgv.Rows.Add(CommonMotions.cnvInt(objRec[2]),
+                                            DispNo++,
+                                            CommonMotions.cnvString(objRec[1]),
+                                            CommonMotions.cnvString(objRec[3]),
+                                            "", "", "");
 
-                    dgv.Rows.Add(CommonMotions.cnvInt(objRec[2]),
-                                DispNo++,
-                                CommonMotions.cnvString(objRec[1]),
-                                CommonMotions.cnvString(objRec[3]),
-                                strDisp[0],
-                                strDisp[1],
-                                strDisp[2]
-                                );
+                    dgv.Rows[DispLine].Cells[4].Value = "作成";
+                    dgv.Rows[DispLine].Cells[4].Style.ForeColor = Color.Black;
+                    if (CommonMotions.cnvInt(objRec[4]) == 0)
+                    {
+                        dgv.Rows[DispLine].Cells[4].Value = "未作成";
+                        dgv.Rows[DispLine].Cells[4].Style.ForeColor = Color.Red;
+                    }
+
+                    dgv.Rows[DispLine].Cells[5].Value = "作成";
+                    dgv.Rows[DispLine].Cells[5].Style.ForeColor = Color.Black;
+                    if (CommonMotions.cnvInt(objRec[5]) == 0)
+                    {
+                        dgv.Rows[DispLine].Cells[5].Value = "未作成";
+                        dgv.Rows[DispLine].Cells[5].Style.ForeColor = Color.Red;
+                    }
+                
+                    dgv.Rows[DispLine].Cells[6].Value = "未";
+                    dgv.Rows[DispLine].Cells[6].Style.ForeColor = Color.Red;
+                    if (CommonMotions.cnvInt(objRec[6]) == (int)CommonDefine.ApprovalStatus.Approval)
+                    {
+                        dgv.Rows[DispLine].Cells[6].Value = "済";
+                        dgv.Rows[DispLine].Cells[6].Style.ForeColor = Color.Black;
+                    }
                 }
             }
             catch (System.Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs	(revision 274)
@@ -412,6 +412,7 @@
                         // 対象全ての案件を検索する
                         SetSelectTypeAll(ref strSQL);
                         break;
+
                 }
 
                 ArrayList BaseList = new ArrayList();
@@ -421,6 +422,7 @@
                 // 要素表示
                 int i = 0;
                 int[] iData = new int[2];
+                string EditConstructionCode = string.Empty;
                 foreach (object[] wrk in BaseList)
                 {
 
@@ -434,7 +436,7 @@
 
                     // データ表示
                     int ConstructionCode = CommonMotions.cnvInt(wrk[0]);
-                    string EditConstructionCode = string.Format("{0}-{1:D2}", (ConstructionCode / 100), (ConstructionCode % 100));
+                    EditConstructionCode = CommonMotions.cnvStringCodeFromInt(ConstructionCode, "-", 8);
                     dgvMaster.Rows.Add((i + 1),
                                         EditConstructionCode,
                                         CommonMotions.cnvString(wrk[1]),
@@ -442,6 +444,7 @@
                                         ConstructionCode,
                                         iData[0],
                                         iData[1]);
+
                     dgvMaster.Rows[i++].Cells[(int)DispGridColumn.ConstructionName].ToolTipText = CommonMotions.cnvString(wrk[1]);
                 }
             }
@@ -467,9 +470,19 @@
             try
             {
                 // 進行中案件を検索する
-                strSQL.Append("SELECT A.CONSTRUCTIONCODE, B.DETAILSTRING, '', '' , D.PERSONNAME");
-                strSQL.Append(" FROM CONSTRUCTIONBASEINFO A, CONSTRUCTIONBASEINFODETAIL B, CONSTRUCTIONLEDGER C, PERSONINCHARGEMASTER D");
-                strSQL.AppendFormat(" WHERE (A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE AND B.DETAILNO = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append("SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE");
+                strSQL.Append(", B.DETAILSTRING");
+                strSQL.Append(", ''");
+                strSQL.Append(", ''");
+                strSQL.Append(", D.PERSONNAME");
+                strSQL.Append(" FROM");
+                strSQL.Append(" CONSTRUCTIONBASEINFO A");
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL B");
+                strSQL.Append(", CONSTRUCTIONLEDGER C");
+                strSQL.Append(", PERSONINCHARGEMASTER D");
+                strSQL.Append(" WHERE (A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.DETAILNO = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
                 strSQL.Append(" AND A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.COMPLATEFLG = 0");
 
                 switch (m_PersonCharge)
Index: branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 273)
+++ branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 274)
@@ -32,7 +32,7 @@
 // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を 
 // 既定値にすることができます:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.84")]
-[assembly: AssemblyFileVersion("1.0.0.84")]
+[assembly: AssemblyVersion("1.0.0.85")]
+[assembly: AssemblyFileVersion("1.0.0.85")]
 // Log4netを使用する
 [assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
