Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs	(revision 402)
@@ -851,42 +851,6 @@
         //�|14:ƒŠƒU�[ƒu�|15:ƒŠƒU�[ƒu�|16:‹ó‰Æ•â�C�HŽ–�|17:Hit'sV�HŽ–
         #endregion
 
-        #region –¢’è�Ý’èƒeƒLƒXƒgƒ{ƒbƒNƒX–¼‘OƒŠƒXƒg
-        /// <summary>
-        /// –¢’è�Ý’èƒeƒLƒXƒgƒ{ƒbƒNƒX–¼‘OƒŠƒXƒg
-        /// </summary>
-        private static string[] UndecidedArray = {
-                                                    "txtInput25",           // �Å”²Žó’�Œˆ’è‹àŠz
-                                                    "txtInput28",           // �Å�žŽó’�Œˆ’è‹àŠz
-                                                    "txtInput02",           // Œ©�Ï’ñ�o“ú
-                                                    "txtInput03",           // Žó’�“ú
-                                                    "txtInput38",           // ŠJŽn—\’è“ú
-                                                    "txtInput34",           // Š®�¬—\’è“ú
-                                                    "txtInput35",           // Ž{�HŠJŽn“ú
-                                                    "txtInput04",           // Ž{�HŠ®—¹“ú
-                                                    "txtInput27",           // Œ©�Ï’ñ�oŠúŒÀ
-                                                    "txtInput06",           // Œ©�Ï—LŒøŠúŒÀ
-                                                    "txtInput29",           // Œ_–ñ�HŠúŠJŽn
-                                                    "txtInput30",           // Œ_–ñ�HŠúŠ®—¹
-                                                    "txtInput12",           // �HŽ–ŠJŽn“ú
-                                                    "txtInput13",           // �HŽ–�I—¹“ú
-                                                    "txtInput36",           // �¿‹��€”õŠJŽn“ú
-                                                    "textBoxEX6",           // �¿‹�“ú
-                                                    "textBoxEX1",		    // ‰¼Žó’�“ú
-                                                    "textBoxEX2",		    // ”ñŽó’�“ú
-                                                    "textBoxEX4",		    // Œ_–ñ�HŠúŠJŽn�i‰„’·Žž�j
-                                                    "textBoxEX5",		    // Œ_–ñ�HŠúŠ®—¹�i‰„’·Žž�j
-                                                    "textBoxEX3",		    // Ž{�H�€”õŠJŽn“ú
-                                                    //"textBoxEX8",		    // ’�•¶�‘—X‘—“ú
-                                                    //"textBoxEX9",		    // ’�•¶�‘•Ô‘—“ú
-                                                    //"textBoxEX10",		// ’�•¶�‘•Ô‘—Šm”F“ú
-                                                    //"textBoxEX6",		    // �¿‹��‘—X‘—/Žè“n‚µ“ú
-                                                    "textBoxEX7",           // ŒŸ�¸—\’è“ú
-                                                    "textBoxEX8",           // ŒŸ�¸ŽÀ�s“ú
-                                                    "textBoxEX9",           // ŒŸ�¸�¥�³Š®—¹“ú
-                                                 };
-        #endregion
-
         #region �HŽ–‹àŠz‘�Œ¸Žžƒ^ƒCƒgƒ‹ƒtƒH�[ƒ}ƒbƒg
         /// <summary>
         /// �HŽ–‹àŠz‘�Œ¸Žžƒ^ƒCƒgƒ‹ƒtƒH�[ƒ}ƒbƒg
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 402)
@@ -87,61 +87,53 @@
             {
                 // ƒeƒLƒXƒgƒ{ƒbƒNƒX‚Öƒ�ƒbƒZ�[ƒW‚ð•\Ž¦‚·‚é
                 bool showFocus = false;
-                CommonMotions.SendMessage(txtInput25.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �Å”²Žó’�Œˆ’è‹àŠz
-                CommonMotions.SendMessage(txtInput28.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �Å�žŽó’�Œˆ’è‹àŠz
                 CommonMotions.SendMessage(txtInput02.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ©�Ï’ñ�o“ú
                 CommonMotions.SendMessage(txtInput03.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Žó’�“ú
-                CommonMotions.SendMessage(txtInput38.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ŠJŽn—\’è“ú
-                CommonMotions.SendMessage(txtInput34.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Š®�¬—\’è“ú
-                CommonMotions.SendMessage(txtInput35.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Ž{�HŠJŽn“ú
                 CommonMotions.SendMessage(txtInput04.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Ž{�HŠ®—¹“ú
+                CommonMotions.SendMessage(txtInput06.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ©�Ï—LŒøŠúŒÀ
+                CommonMotions.SendMessage(txtInput12.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �HŽ–ŠJŽn“ú
+                CommonMotions.SendMessage(txtInput13.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �HŽ–�I—¹“ú
+                CommonMotions.SendMessage(txtInput25.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �Å”²Žó’�Œˆ’è‹àŠz
                 CommonMotions.SendMessage(txtInput27.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ©�Ï’ñ�oŠúŒÀ
-                CommonMotions.SendMessage(txtInput06.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ©�Ï—LŒøŠúŒÀ
+                CommonMotions.SendMessage(txtInput28.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �Å�žŽó’�Œˆ’è‹àŠz
                 CommonMotions.SendMessage(txtInput29.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ_–ñ�HŠúŠJŽn
                 CommonMotions.SendMessage(txtInput30.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ_–ñ�HŠúŠ®—¹
-                CommonMotions.SendMessage(txtInput12.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �HŽ–ŠJŽn“ú
-                CommonMotions.SendMessage(txtInput13.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �HŽ–�I—¹“ú
+                CommonMotions.SendMessage(txtInput34.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Š®�¬—\’è“ú
+                CommonMotions.SendMessage(txtInput35.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Ž{�HŠJŽn“ú
                 CommonMotions.SendMessage(txtInput36.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �¿‹��€”õŠJŽn“ú
-                CommonMotions.SendMessage(textBoxEX6.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �¿‹�“ú
+                CommonMotions.SendMessage(txtInput38.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ŠJŽn—\’è“ú
                 CommonMotions.SendMessage(textBoxEX1.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ‰¼Žó’�“ú
                 CommonMotions.SendMessage(textBoxEX2.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ”ñŽó’�“ú
+                CommonMotions.SendMessage(textBoxEX3.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Ž{�H�€”õŠJŽn“ú
                 CommonMotions.SendMessage(textBoxEX4.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ_–ñ�HŠúŠJŽn�i‰„’·Žž�j
                 CommonMotions.SendMessage(textBoxEX5.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Œ_–ñ�HŠúŠ®—¹�i‰„’·Žž�j
-                CommonMotions.SendMessage(textBoxEX3.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// Ž{�H�€”õŠJŽn“ú
-                //CommonMotions.SendMessage(textBoxEX8.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ’�•¶�‘—X‘—“ú
-                //CommonMotions.SendMessage(textBoxEX9.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ’�•¶�‘•Ô‘—“ú
-                //CommonMotions.SendMessage(textBoxEX10.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// ’�•¶�‘•Ô‘—Šm”F“ú
-                //CommonMotions.SendMessage(textBoxEX6.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �¿‹��‘—X‘—/Žè“n‚µ“ú
+                CommonMotions.SendMessage(textBoxEX6.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);			// �¿‹�Šm”F“ú
                 CommonMotions.SendMessage(textBoxEX7.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);          // ŒŸ�¸—\’è“ú
                 CommonMotions.SendMessage(textBoxEX8.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);          // ŒŸ�¸ŽÀ�s“ú
                 CommonMotions.SendMessage(textBoxEX9.Handle, 5377, new IntPtr(showFocus ? 1 : 0), CommonDefine.s_UndecidedString);          // ŒŸ�¸�¥�³Š®—¹“ú
 
                 // Enable‚ÌŽž‚É•\Ž¦‚·‚é•¶Žš‚ð�Ý’è‚·‚é�i“ü—ÍƒRƒ“ƒgƒ��[ƒ‹‚Å•¶Žš‚Ì�Ý’è�E�Á‹Ž‚ð�s‚Á‚Ä‚¢‚é�j
-                txtInput25.Text = CommonDefine.s_UndecidedString;			// �Å”²Žó’�Œˆ’è‹àŠz
-                txtInput28.Text = CommonDefine.s_UndecidedString;			// �Å�žŽó’�Œˆ’è‹àŠz
                 txtInput02.Text = CommonDefine.s_UndecidedString;			// Œ©�Ï’ñ�o“ú
                 txtInput03.Text = CommonDefine.s_UndecidedString;			// Žó’�“ú
-                txtInput38.Text = CommonDefine.s_UndecidedString;			// ŠJŽn—\’è“ú
-                txtInput34.Text = CommonDefine.s_UndecidedString;			// Š®�¬—\’è“ú
-                txtInput35.Text = CommonDefine.s_UndecidedString;			// Ž{�HŠJŽn“ú
                 txtInput04.Text = CommonDefine.s_UndecidedString;			// Ž{�HŠ®—¹“ú
+                txtInput06.Text = CommonDefine.s_UndecidedString;			// Œ©�Ï—LŒøŠúŒÀ
+                txtInput12.Text = CommonDefine.s_UndecidedString;			// �HŽ–ŠJŽn“ú
+                txtInput13.Text = CommonDefine.s_UndecidedString;			// �HŽ–�I—¹“ú
+                txtInput25.Text = CommonDefine.s_UndecidedString;			// �Å”²Žó’�Œˆ’è‹àŠz
                 txtInput27.Text = CommonDefine.s_UndecidedString;			// Œ©�Ï’ñ�oŠúŒÀ
-                txtInput06.Text = CommonDefine.s_UndecidedString;			// Œ©�Ï—LŒøŠúŒÀ
+                txtInput28.Text = CommonDefine.s_UndecidedString;			// �Å�žŽó’�Œˆ’è‹àŠz
                 txtInput29.Text = CommonDefine.s_UndecidedString;			// Œ_–ñ�HŠúŠJŽn
                 txtInput30.Text = CommonDefine.s_UndecidedString;			// Œ_–ñ�HŠúŠ®—¹
-                txtInput12.Text = CommonDefine.s_UndecidedString;			// �HŽ–ŠJŽn“ú
-                txtInput13.Text = CommonDefine.s_UndecidedString;			// �HŽ–�I—¹“ú
+                txtInput34.Text = CommonDefine.s_UndecidedString;			// Š®�¬—\’è“ú
+                txtInput35.Text = CommonDefine.s_UndecidedString;			// Ž{�HŠJŽn“ú
                 txtInput36.Text = CommonDefine.s_UndecidedString;			// �¿‹��€”õŠJŽn“ú
-                textBoxEX6.Text = CommonDefine.s_UndecidedString;			// �¿‹�“ú
+                txtInput38.Text = CommonDefine.s_UndecidedString;			// ŠJŽn—\’è“ú
                 textBoxEX1.Text = CommonDefine.s_UndecidedString;		    // ‰¼Žó’�“ú
                 textBoxEX2.Text = CommonDefine.s_UndecidedString;		    // ”ñŽó’�“ú
+                textBoxEX3.Text = CommonDefine.s_UndecidedString;		    // Ž{�H�€”õŠJŽn“ú
                 textBoxEX4.Text = CommonDefine.s_UndecidedString;		    // Œ_–ñ�HŠúŠJŽn�i‰„’·Žž�j
                 textBoxEX5.Text = CommonDefine.s_UndecidedString;		    // Œ_–ñ�HŠúŠ®—¹�i‰„’·Žž�j
-                textBoxEX3.Text = CommonDefine.s_UndecidedString;		    // Ž{�H�€”õŠJŽn“ú
-                //textBoxEX8.Text = CommonDefine.s_UndecidedString;		    // ’�•¶�‘—X‘—“ú
-                //textBoxEX9.Text = CommonDefine.s_UndecidedString;		    // ’�•¶�‘•Ô‘—“ú
-                //textBoxEX10.Text = CommonDefine.s_UndecidedString;		// ’�•¶�‘•Ô‘—Šm”F“ú
-                //textBoxEX6.Text = CommonDefine.s_UndecidedString;		    // �¿‹��‘—X‘—/Žè“n‚µ“ú
+                textBoxEX6.Text = CommonDefine.s_UndecidedString;			// �¿‹�Šm”F“ú
                 textBoxEX7.Text = CommonDefine.s_UndecidedString;           // ŒŸ�¸—\’è“ú
                 textBoxEX8.Text = CommonDefine.s_UndecidedString;           // ŒŸ�¸ŽÀ�s“ú
                 textBoxEX9.Text = CommonDefine.s_UndecidedString;           // ŒŸ�¸�¥�³Š®—¹“ú
@@ -5424,7 +5416,7 @@
             {
                 // �ó‘ÔŽæ“¾
                 int iStatusCount = GetStatusForCheckBox();
-
+                DateTime wrkDate = DateTime.Today;
                 switch (iStatusCount)
                 {
                     case (int)CommonDefine.StatNumArray.Status0:        // 0, ˆË—ŠŽó‚¯’†
@@ -5433,48 +5425,59 @@
                         m_DspCtrl[(int)DspCnt.EstimatesSubmitDeadline].Text = DateTime.Now.AddDays(s_EstimatesSubmitDeadline).ToShortDateString();   // Œ©�Ï’ñ�oŠúŒÀ‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status1:        // 1, Œ©�Ï’ñ�o
-                        if (m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate].Text = DateTime.Now.ToShortDateString();       // Œ©�Ï’ñ�o“ú‚Ì�Ý’è
                         m_DspCtrl[(int)DspCnt.EstimatesExpirationDate].Text = DateTime.Now.AddMonths(CommonDefine.s_EstimatesExpirationDeadline).ToShortDateString(); // Œ©�Ï—LŒøŠúŒÀ‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status2:        // 2, ˆê”Ê•â�C�HŽ–
-                        if (m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text = DateTime.Now.ToShortDateString();     // Ž{�HŠJŽn“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status3:        // 3, ‰¼ Žó ’�
-                        if (m_DspCtrl[(int)DspCnt.ProvisionalOrderDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ProvisionalOrderDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.ProvisionalOrderDate].Text = DateTime.Now.ToShortDateString();         // ‰¼Žó’�“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status4:        // 4, Žó�@�@’�
-                        if (m_DspCtrl[(int)DspCnt.OrderDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.OrderDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.OrderDate].Text = DateTime.Now.ToShortDateString();                    // Žó’�“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status5:        // 5, •”��ˆøŒp
-                        if (m_DspCtrl[(int)DspCnt.TransferConstructionDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.TransferConstructionDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.TransferConstructionDate].Text = DateTime.Now.ToShortDateString();     // •”��ˆøŒp“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status6:        // 6, Ž{�H�€”õ
-                        if (m_DspCtrl[(int)DspCnt.PreparationStartDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.PreparationStartDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.PreparationStartDate].Text = DateTime.Now.ToShortDateString();         // Ž{�H�€”õŠJŽn“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status7:        // 7, Ž{�HŠJŽn
-                        if (m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text = DateTime.Now.ToShortDateString();     // Ž{�HŠJŽn“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status8:        // 8, Ž{�HŠ®—¹
-                        if (m_DspCtrl[(int)DspCnt.ConstructionCompletionDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ConstructionCompletionDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.ConstructionCompletionDate].Text = DateTime.Now.ToShortDateString();   // Ž{�HŠ®—¹“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status9:        // 9, �¿‹��€”õ
-                        if (m_DspCtrl[(int)DspCnt.BillingStartDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.BillingStartDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.BillingStartDate].Text = DateTime.Now.ToShortDateString();             // �¿‹��€”õŠJŽn“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status10:       // 10, �¿‹�Šm”F
-                        if (m_DspCtrl[(int)DspCnt.BillingComplateDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.BillingComplateDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.BillingComplateDate].Text = DateTime.Now.ToShortDateString();          // �¿‹�Šm”F“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status11:       // 11, ”ñ Žó ’�
-                        if (m_DspCtrl[(int)DspCnt.NonOrderDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.NonOrderDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.NonOrderDate].Text = DateTime.Now.ToShortDateString();                 // ”ñŽó’�“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status12:       // 12, ‘�–±“ü‹àŠm”F
@@ -5482,11 +5485,13 @@
                     case (int)CommonDefine.StatNumArray.Status13:       // 13, ’S“–ŽÒ“ü‹àŠm”FŠ®—¹
                         break;
                     case (int)CommonDefine.StatNumArray.Status16:       // 16, ‹ó‰Æ•â�C�HŽ–
-                        if (m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text = DateTime.Now.ToShortDateString();     // Ž{�HŠJŽn“ú‚Ì�Ý’è
                         break;
                     case (int)CommonDefine.StatNumArray.Status17:       // 17, Hit'sV�HŽ–
-                        if (m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text.Length != 0) break;
+                        wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text).Date;
+                        if (wrkDate != DateTime.MinValue.Date) break;
                         m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text = DateTime.Now.ToShortDateString();     // Ž{�HŠJŽn“ú‚Ì�Ý’è
                         break;
                 }
@@ -6012,12 +6017,14 @@
         {
             try
             {
+                DateTime wrkDate = DateTime.Today;
+
                 // ŒŸ�¸�¥�³Š®—¹“ú‚ª“ü—Í‚³‚ê‚Ä‚¢‚È‚¯‚ê‚Î“ü—Í‚Ì‚½‚ßƒ�ƒbƒN‰ð�œ
-                TextBox txtRevComp = (TextBox)m_DspCtrl[(int)DspCnt.RevCompleteDate];
-                if (txtRevComp.Text.Length < 1 || txtRevComp.Text.Equals(CommonDefine.s_UndecidedString))
+                wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.RevCompleteDate].Text).Date;
+                if (wrkDate == DateTime.MinValue.Date)
                 {
                     // ŒŸ�¸�¥�³Š®—¹“ú
-                    txtRevComp.Enabled = true;
+                    m_DspCtrl[(int)DspCnt.RevCompleteDate].Enabled = true;
                     // ŒŸ�¸�¥�³Š®—¹ƒRƒ�ƒ“ƒg
                     m_DspCtrl[(int)DspCnt.RevCompleteComment].Enabled = true;
                 }
@@ -6027,11 +6034,11 @@
                     btnDataEntry.Visible = true;
                 }
                 // �¿‹�Šm”F“ú‚ª“ü—Í‚³‚ê‚Ä‚¢‚È‚¯‚ê‚Î“ü—Í‚Ì‚½‚ßƒ�ƒbƒN‰ð�œ
-                TextBox txtBillComp = (TextBox)m_DspCtrl[(int)DspCnt.BillingComplateDate];
-                if (txtBillComp.Text.Length < 1 || txtBillComp.Text.Equals(CommonDefine.s_UndecidedString))
+                wrkDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.BillingComplateDate].Text).Date;
+                if (wrkDate == DateTime.MinValue.Date)
                 {
                     // �¿‹�Šm”F“ú
-                    txtBillComp.Enabled = true;
+                    m_DspCtrl[(int)DspCnt.BillingComplateDate].Enabled = true;
                     // �¿‹�ƒRƒ�ƒ“ƒg
                     m_DspCtrl[(int)DspCnt.BillingComment].Enabled = true;
                 }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 402)
@@ -1622,7 +1622,8 @@
         /// <param name="e"></param>
         private void button2_Click(object sender, EventArgs e)
         {
-            TestDataTest();
+            SetBaseCompDate();
+            //TestDataTest();
             //RecalcalculationPersonnelExpenses();
             //ReCalculation();
         }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 402)
@@ -87,6 +87,14 @@
             this.btnLineDel = new System.Windows.Forms.Button();
             this.btnLineAdd = new System.Windows.Forms.Button();
             this.panel2 = new System.Windows.Forms.Panel();
+            this.lblCellTotal = new System.Windows.Forms.Label();
+            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.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -117,14 +125,6 @@
             this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.lblCellTotal = new System.Windows.Forms.Label();
-            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.lblReqSumType03 = new System.Windows.Forms.Label();
             this.lblReqSumType01 = new System.Windows.Forms.Label();
@@ -794,6 +794,113 @@
             this.panel2.Size = new System.Drawing.Size(1290, 450);
             this.panel2.TabIndex = 36;
             // 
+            // lblCellTotal
+            // 
+            this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.lblCellTotal.AutoSize = true;
+            this.lblCellTotal.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
+            this.lblCellTotal.ForeColor = System.Drawing.Color.Black;
+            this.lblCellTotal.Location = new System.Drawing.Point(100, 430);
+            this.lblCellTotal.Name = "lblCellTotal";
+            this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
+            this.lblCellTotal.TabIndex = 36;
+            // 
+            // 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;
+            this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
+            // 
+            // 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;
+            this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
+            // 
             // dgvAllDisplay
             // 
             this.dgvAllDisplay.AllowUserToAddRows = false;
@@ -1136,113 +1243,6 @@
             this.Column28.ReadOnly = true;
             this.Column28.Visible = false;
             // 
-            // lblCellTotal
-            // 
-            this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.lblCellTotal.AutoSize = true;
-            this.lblCellTotal.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
-            this.lblCellTotal.ForeColor = System.Drawing.Color.Black;
-            this.lblCellTotal.Location = new System.Drawing.Point(100, 430);
-            this.lblCellTotal.Name = "lblCellTotal";
-            this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
-            this.lblCellTotal.TabIndex = 36;
-            // 
-            // 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;
-            this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
-            // 
-            // 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;
-            this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
-            // 
             // grpExample1
             // 
             this.grpExample1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 402)
@@ -9819,12 +9819,63 @@
         }
         #endregion
 
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±è«‹æ±‚å®Œäº†æ—¥ã‚»ãƒƒãƒˆ
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±è«‹æ±‚å®Œäº†æ—¥ã‚»ãƒƒãƒˆ
+        /// </summary>
+        private void SetBaseCompDate()
+        {
+            IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("Select A.ConstructionCode, DATE(A.ChangeDate) From constructionprogressdate As A");
+                strSQL.Append(" Where A.ConstructionCode IN(");
+                strSQL.Append("                            Select B.ConstructionCode From constructionbaseinfo As B");
+                strSQL.Append("                            Where B.ConstructionStatusFlg = 10");
+                strSQL.Append("                            And DATE (B.BillingDate) = DATE('0001/01/01'))");
+                strSQL.Append(" And A.ConstructionStatusFlg = 10");
+                strSQL.Append(" Order By A.ConstructionCode");
+
+                ArrayList arList = new ArrayList();
+                BaseDB.ExecuteReader(strSQL.ToString(), ref arList);
+
+                BaseDB.connect(); BaseDB.beginTran();
+
+                int cnt = 0;
+                foreach (object[] objRec in arList)
+                {
+                    int nCode = CommonMotions.cnvInt(objRec[0]);
+                    DateTime wrkDT = CommonMotions.cnvDate(objRec[1]);
+
+                    if(!BaseDB.UpdateFeild(nCode,(int)IOConstructionBaseInfo.TableColumn.BillingDate,wrkDT,false))
+                    {
+                        BaseDB.rollback();
+                        MessageBox.Show("æ›´æ–°ã‚¨ãƒ©ãƒ¼");
+                        break;
+                    }
+                    cnt++;
+                }
+
+                MessageBox.Show(string.Format("çµ‚äº†ä»¶æ•°ï¼š{0}", cnt));
+                BaseDB.commit();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                BaseDB.close(); BaseDB = null;
+            }
+        }
+        #endregion
         // ---------- â€»ï¼Žãƒ‡ãƒ¼ã‚¿ã‚³ãƒ³ãƒ�ãƒ¼ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†‘â†‘
         #endregion
 
         #region â€»ï¼Žãƒ†ã‚¹ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†“â†“
         // ---------- â€»ï¼Žãƒ†ã‚¹ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†“â†“
-
+        #region å�°å¸³æ—¥ä»˜ã‚»ãƒƒãƒˆãƒ†ã‚¹ãƒˆ
         private void TestDataTest()
         {
             IOConstructionLedger LedgerDB = new IOConstructionLedger();
@@ -9859,6 +9910,7 @@
                 ExecDB.close(); ExecDB = null;
             }
         }
+        #endregion
         // ---------- â€»ï¼Žãƒ†ã‚¹ãƒˆãƒ­ã‚¸ãƒƒã‚¯â†‘â†‘
         #endregion
     }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrint/FrmRequestPrintSelAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrint/FrmRequestPrintSelAux.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrint/FrmRequestPrintSelAux.cs	(revision 402)
@@ -127,19 +127,32 @@
             try
             {
                 StringBuilder sql = new StringBuilder();
-                sql.Append(" As InvData");
+                sql.Append("SELECT InvData.* FROM InvoiceData As InvData");
+                sql.Append("                      Inner Join RequestHead As ReqHead");
+                sql.Append("                             On ReqHead.InvoiceNo = InvData.InvoiceNo");
+                sql.Append("                      Inner Join constructionbaseinfo As Base");
+                sql.Append("                             On Base.ConstructionCode = ReqHead.REQCONSTRUCTIONCODE");
+                sql.AppendFormat("                       And Base.BillingSplitFlg = {0}", m_ExecuteSubFlg);
                 sql.AppendFormat(" WHERE InvData.OrderersDivision = {0}", m_nOrderersDivision);
                 sql.AppendFormat(" AND InvData.OrderersCode = {0} ", m_nOrderersCode);
                 sql.AppendFormat(" AND InvData.RequestMonth = {0} ", m_nRequestMonth);
                 sql.AppendFormat(" AND InvData.COMPLETEFLG > {0}", (int)InvoiceData.CompleteFlgDef.Deleted);
-                sql.Append("       AND EXISTS( SELECT * FROM RequestHead ReqHead WHERE ReqHead.InvoiceNo = InvData.InvoiceNo )");
                 sql.Append(" ORDER BY InvData.CretateDate Asc, InvData.SeqNo Asc");
 
+                ArrayList arData = new ArrayList();
                 List<InvoiceData> InvoiceList = new List<InvoiceData>();
                 // SQLå®Ÿè¡Œ
-                if (!ioInvData.SelectAction(sql.ToString(), ref InvoiceList)) return;
+                if (!ioInvData.ExecuteReader(sql.ToString(), ref arData)) return;
 
                 // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
+                foreach (object[] objwrk in arData)
+                {
+                    InvoiceData work = new InvoiceData();
+                    ioInvData.Reader2Struct(objwrk, ref work);
+                    InvoiceList.Add(work);
+                }
+
+                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
                 m_dicInvData.Clear();
                 foreach(InvoiceData work in InvoiceList)
                 {
@@ -171,6 +184,9 @@
             {
                 StringBuilder sql = new StringBuilder();
                 sql.Append("Select A.* From RequestHead As A");
+                sql.Append("           Inner Join constructionbaseinfo As Base");
+                sql.Append("                  On Base.ConstructionCode = A.REQCONSTRUCTIONCODE");
+                sql.AppendFormat("            And Base.BillingSplitFlg = {0}", m_ExecuteSubFlg);
                 sql.Append("           Inner Join processapproval As B");
                 sql.Append("                  On B.ConstructionCode = A.REQCONSTRUCTIONCODE");
                 sql.AppendFormat("            And B.ApprovalCode = {0}", (int)ClsExcute.ApprovalListNo.OrderRequestApproval);
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintList.designer.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintList.designer.cs	(revision 402)
@@ -42,6 +42,7 @@
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataUpDate = new System.Windows.Forms.Button();
             this.lblCellTotal = new System.Windows.Forms.Label();
+            this.lblProcessTitil = new System.Windows.Forms.Label();
             this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
             this.label3 = new System.Windows.Forms.Label();
             this.label4 = new System.Windows.Forms.Label();
@@ -62,7 +63,6 @@
             this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.lblProcessTitil = new System.Windows.Forms.Label();
             this.groupBox1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).BeginInit();
@@ -121,6 +121,16 @@
             this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
             this.lblCellTotal.TabIndex = 31;
             // 
+            // lblProcessTitil
+            // 
+            this.lblProcessTitil.BackColor = System.Drawing.Color.White;
+            this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblProcessTitil.Location = new System.Drawing.Point(10, 10);
+            this.lblProcessTitil.Name = "lblProcessTitil";
+            this.lblProcessTitil.Size = new System.Drawing.Size(300, 20);
+            this.lblProcessTitil.TabIndex = 32;
+            this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
             // groupBox1
             // 
             this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
@@ -219,7 +229,9 @@
             this.cmbReqMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cmbReqMonth.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.cmbReqMonth.FormattingEnabled = true;
+            this.cmbReqMonth.ImeMode = System.Windows.Forms.ImeMode.Off;
             this.cmbReqMonth.Location = new System.Drawing.Point(422, 20);
+            this.cmbReqMonth.MaxDropDownItems = 12;
             this.cmbReqMonth.Name = "cmbReqMonth";
             this.cmbReqMonth.Size = new System.Drawing.Size(150, 23);
             this.cmbReqMonth.TabIndex = 1;
@@ -399,16 +411,6 @@
             this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column9.Visible = false;
             // 
-            // lblProcessTitil
-            // 
-            this.lblProcessTitil.BackColor = System.Drawing.Color.White;
-            this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblProcessTitil.Location = new System.Drawing.Point(10, 10);
-            this.lblProcessTitil.Name = "lblProcessTitil";
-            this.lblProcessTitil.Size = new System.Drawing.Size(300, 20);
-            this.lblProcessTitil.TabIndex = 32;
-            this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
             // FrmReqPrintList
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintListAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintListAuxiliary.cs	(revision 401)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintListAuxiliary.cs	(revision 402)
@@ -364,20 +364,22 @@
                 strSQL.Append(" requesthead as ReqHead");
                 strSQL.Append(" Inner Join constructionbaseinfo as Base");
                 strSQL.Append("    On Base.ConstructionCode = ReqHead.REQCONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND Base.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
+
                 strSQL.Append(" Inner Join orderersmaster as OrderM");
                 strSQL.Append("    On OrderM.OrderCotegory = ReqHead.ORDERERSDIVISION");
                 strSQL.Append("    And OrderM.OrderersCode = ReqHead.ORDERERSCODE");
+
                 strSQL.Append(" Left Join DivisionMaster as DivMas");
                 strSQL.AppendFormat(" On DivMas.DivisionCode = {0}", (int)DivisionMaster.DivisionMasterCodeDef.OrderDivision);
                 strSQL.Append("       And DivMas.NameCode = ReqHead.ORDERERSCODE");
                 strSQL.Append(" Where");
+
                 if (CommonMotions.BasePeriodYear())
                     strSQL.AppendFormat(" Base.ConstructionPeriod = {0}", numUDConstPro.Value);
                 else
                     strSQL.AppendFormat(" Base.ConstructionYear = {0}", numUDConstPro.Value);
 
-                strSQL.AppendFormat(" AND Base.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
-
                 if (cmbReqMonth.Text.Length > 0)
                 {
                     strSQL.AppendFormat(" And ReqHead.REQUESTMONTH = {0}", cmbReqMonth.SelectedValue);
@@ -384,7 +386,7 @@
                 }
                 if (cmbOrderer.Text.Length > 0)
                 {
-                    strSQL.AppendFormat(" And  ReqHead.ORDERERSDIVISION = {0}", cmbOrderer.SelectedValue);
+                    strSQL.AppendFormat(" And ReqHead.ORDERERSDIVISION = {0}", cmbOrderer.SelectedValue);
                 }
 
                 strSQL.Append(" Group by");
