Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 331)
@@ -14,7 +14,7 @@
         /// <summary>
         /// æœ¬ä½“ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
         /// </summary>
-        public static int s_SystemVersion = 155;
+        public static int s_SystemVersion = 156;
 
         /// <summary>
         /// ã‚³ãƒ”ãƒ¼ãƒ»ç’°å¢ƒãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalListAuxiliary.cs	(revision 331)
@@ -283,7 +283,7 @@
         /// <summary>
         /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             bool bSave = m_bInitFlg;
@@ -291,6 +291,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(this.cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -303,7 +304,7 @@
 
                 // •”��ƒ}ƒXƒ^“Ç�ž
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -319,12 +320,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -388,7 +388,7 @@
         /// <summary>
         /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbPersons()
+        private void SetcmbPersons()
         {
             IOMPersonInCharge picDB = new IOMPersonInCharge();
             bool bSave = m_bInitFlg;
@@ -396,6 +396,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(this.cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -408,7 +409,7 @@
 
                 // ’S“–ŽÒƒ}ƒXƒ^“Ç�ž
                 ArrayList workList = new ArrayList();
-                if (!picDB.ExecuteReader(strSQL.ToString(), ref workList)) return false;
+                if (!picDB.ExecuteReader(strSQL.ToString(), ref workList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -425,12 +426,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return true;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs	(revision 331)
@@ -349,7 +349,7 @@
                 bool bSelPerson = false;
                 if (PersonCode != 0) bSelPerson = true;
 
-                if (bSelPerson)
+                if (bSelPerson && cmbDepartment.Visible)
                 {
                     if(radioButton1.Checked)
                     {
@@ -2093,6 +2093,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -2121,6 +2122,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -2147,6 +2149,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -2176,7 +2179,8 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue= nBeforeCode;
+
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoinAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoinAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoinAuxiliary.cs	(revision 331)
@@ -259,6 +259,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -287,7 +288,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -314,6 +315,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -343,7 +345,8 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
+
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/CreateLedgerSQL.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/CreateLedgerSQL.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/CreateLedgerSQL.cs	(revision 331)
@@ -97,9 +97,9 @@
 
                 StringBuilder strSQL = new StringBuilder();
 
-                DateTime dtDefaultStart = DateTime.MinValue;
-                DateTime dtDefaultEnd = DateTime.MinValue;
-                CreateDefaultStartAndEndDate(BusinessPeriod, ref dtDefaultStart, ref dtDefaultEnd);
+                DateTime dtDefaultStart = CommonMotions.GetOpeningEndDate(BusinessPeriod, true);
+                DateTime dtDefaultEnd = CommonMotions.GetOpeningEndDate(BusinessPeriod, false);
+
                 strSQL.Append("Select");
                 strSQL.Append(" Person.DepartmentCode");
                 strSQL.Append(", Person.PersonCode");
@@ -112,31 +112,36 @@
                 strSQL.Append(", Person.EndDate");
                 strSQL.Append(" From");
                 strSQL.Append(" personinchargemaster As Person");
-                strSQL.Append(" Left Join (Select");
-                strSQL.Append(" Ledger.PersonCode AS PersonCode");
-                strSQL.Append(" , MIN(Ledger.Start0) As SDate");
-                strSQL.Append(" , MAX(Ledger.Comp0) AS EDate");
-                strSQL.Append(" From");
-                strSQL.Append(" (Select");
-                strSQL.Append(" LDetail.CompanyCode As PersonCode");
-                strSQL.Append(", Ledger.ConstructionStart As Start0");
-                strSQL.Append(", Ledger.ConstructionEnd As Comp0");
-                strSQL.Append(", LDetail.GROUPCOUNT");
-                strSQL.Append(", LDetail.ConstructionCode");
-                strSQL.Append(" From");
-                strSQL.Append(" constructionledgerdetail As LDetail");
-                strSQL.Append(" Inner Join constructionledger As Ledger On Ledger.ConstructionCode = LDetail.ConstructionCode");
-                strSQL.Append(", constructionbaseinfo As Base");
-                strSQL.Append(" Where");
-                strSQL.AppendFormat(" LDetail.GroupCount IN ({0}, {1}, {2})"
-                                , (int)FrmConstructionLedger.DataGroup.Instructor
-                                , (int)FrmConstructionLedger.DataGroup.Assistant
-                                , (int)FrmConstructionLedger.DataGroup.Payroll);
-                strSQL.Append(" And LDetail.CompanyCode <> 0");
-                strSQL.Append(" And Base.ConstructionCode = LDetail.ConstructionCode");
-                strSQL.AppendFormat(" And Base.ConstructionStatusFlg <> {0}", NotOrder);
-                strSQL.AppendFormat(" And Base.ConstructionPeriod = {0}) As Ledger", BusinessPeriod);
-                strSQL.Append(" Group By Ledger.PersonCode) As Detail");
+
+                strSQL.Append(" Left Join chgchargedep As DepHis");
+                strSQL.Append(" ON DepHis.PersonCode = Person.PersonCode");
+                strSQL.AppendFormat(" AND ((DATE(DepHis.STARTDATE) <= DATE('{0}'))", dtDefaultEnd.ToShortDateString());
+                strSQL.AppendFormat(" AND (DATE('{0}') <= DATE(DepHis.CompDate)", dtDefaultStart.ToShortDateString());
+                strSQL.AppendFormat(" OR DATE('{0}') = DATE(DepHis.CompDate)))", DateTime.MinValue.ToShortDateString());
+
+                strSQL.Append(" Left Join (Select Ledger.PersonCode AS PersonCode");
+                strSQL.Append("                 , MIN(Ledger.Start0) As SDate");
+                strSQL.Append("                 , MAX(Ledger.Comp0) AS EDate");
+                strSQL.Append("            From");
+                strSQL.Append("              (Select LDetail.CompanyCode As PersonCode");
+                strSQL.Append("                 , Ledger.ConstructionStart As Start0");
+                strSQL.Append("                 , Ledger.ConstructionEnd As Comp0");
+                strSQL.Append("                 , LDetail.GROUPCOUNT");
+                strSQL.Append("                 , LDetail.ConstructionCode");
+                strSQL.Append("              From constructionledgerdetail As LDetail");
+                strSQL.Append("              Inner Join constructionledger As Ledger");
+                strSQL.Append("                    On Ledger.ConstructionCode = LDetail.ConstructionCode");
+                strSQL.Append("              , constructionbaseinfo As Base");
+                strSQL.AppendFormat("            Where LDetail.GroupCount IN ({0}, {1}, {2})"
+                                                        , (int)FrmConstructionLedger.DataGroup.Instructor
+                                                        , (int)FrmConstructionLedger.DataGroup.Assistant
+                                                        , (int)FrmConstructionLedger.DataGroup.Payroll);
+                strSQL.Append("                  And LDetail.CompanyCode <> 0");
+                strSQL.Append("                  And Base.ConstructionCode = LDetail.ConstructionCode");
+                strSQL.AppendFormat("            And Base.ConstructionStatusFlg <> {0}", NotOrder);
+                strSQL.AppendFormat("            And Base.ConstructionPeriod = {0}) As Ledger", BusinessPeriod);
+                strSQL.Append("                  Group By Ledger.PersonCode) As Detail");
+
                 strSQL.Append(" ON Detail.PersonCode = Person.PersonCode");
                 strSQL.AppendFormat(" Where Person.LEDGERFLG = {0}", (int)PersonInChargeMaster.LedgerDivNoDef.CalcTarget);
 
@@ -162,22 +167,14 @@
                 else
                 {
                     // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰é�¸æŠžæ™‚ã�¯éƒ¨ç½²ã‚’æ¤œç´¢æ�¡ä»¶ã�¸å…¥ã‚Œã‚‹
-                    strSQL.AppendFormat(" AND Person.DEPARTMENTCODE = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepHis.DEPARTMENTCODE = {0}", DepartmentCode);
                 }
                 if (PersonCode != 0) strSQL.AppendFormat(" AND Person.PERSONCODE = {0}", PersonCode);
 
-                strSQL.AppendFormat(" And ((DATE(Person.StartDate) <= DATE ('{0}') And DATE (Person.EndDate) = DATE ('{1}'))"
-                                    , dtDefaultStart.ToShortDateString()
-                                    , DateTime.MinValue.ToShortDateString());
+                strSQL.AppendFormat(" AND ((DATE(Person.STARTDATE) <= DATE('{0}'))", dtDefaultEnd.ToShortDateString());
+                strSQL.AppendFormat(" AND (DATE('{0}') <= DATE(Person.ENDDATE)", dtDefaultStart.ToShortDateString());
+                strSQL.AppendFormat(" OR DATE('{0}') = DATE(Person.ENDDATE)))", DateTime.MinValue.ToShortDateString());
 
-                strSQL.AppendFormat(" Or (DATE('{0}') <= DATE(Person.StartDate) And DATE(Person.StartDate) <= DATE('{1}'))"
-                                    , dtDefaultStart.ToShortDateString()
-                                    , dtDefaultEnd.ToShortDateString());
-
-                strSQL.AppendFormat(" Or (DATE('{0}') <= DATE(Person.EndDate) And DATE(Person.EndDate) <= DATE('{1}')))"
-                                    , dtDefaultStart.ToShortDateString()
-                                    , dtDefaultEnd.ToShortDateString());
-
                 strSQL.AppendFormat(" ORDER BY Person.EmployeeClassFlg, Person.DISPLAYORDER");
 
                 if (!PersonDB.ExecuteReader(strSQL.ToString(), ref TargetList)) return 0;
@@ -196,56 +193,6 @@
         }
         #endregion
 
-        #region ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã�®æœŸé¦–æ—¥ãƒ»æœŸæœ«æ—¥ã‚’æ±‚ã‚�ã‚‹
-        /// <summary>
-        /// ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã�®æœŸé¦–æ—¥ãƒ»æœŸæœ«æ—¥ã‚’æ±‚ã‚�ã‚‹
-        /// </summary>
-        /// <param name="dtStart"></param>
-        /// <param name="dtEnd"></param>
-        public static void CreateDefaultStartAndEndDate(int BusinessPeriod, ref DateTime dtStart, ref DateTime dtEnd)
-        {
-            IOMBizPeriodHistory BizHisDB = new IOMBizPeriodHistory();
-            try
-            {
-                // å½“æœŸæœŸé¦–å¹´æœˆæ—¥ã‚’å�–å¾—
-                int iYear = 0;
-                int month = 0;
-                int day = 0;
-                bool bPeriod = false;
-                if (CommonMotions.SystemMasterData.ConstructionNoBase == (int)SystemMaster.ConstrNoBaseDef.BusinessPeriod)
-                {   // å–¶æ¥­æœŸ
-                    iYear = CommonMotions.PeriodCountToYear(BusinessPeriod);
-                    bPeriod = true;
-                }
-                else
-                {   // å·¥äº‹å¹´åº¦
-                    iYear = CommonMotions.SystemMasterData.ConstrYear;
-                }
-                CommonMotions.GetNowBeginMonthDay(bPeriod, ref month, ref day);
-                dtStart = new DateTime(iYear, month, day);
-
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.AppendFormat(" Where DATE(BeginDate) = DATE('{0}')", dtStart.ToShortDateString());
-                strSQL.AppendFormat(" And PeriodFlag = {0}", CommonMotions.SystemMasterData.ConstructionNoBase);
-                strSQL.Append(" Order By PeriodFlag Asc, PeriodYear Asc");
-
-                List<BizPeriodHistory> BizList = new List<BizPeriodHistory>();
-                if (!BizHisDB.SelectAction(strSQL.ToString(), ref BizList)) return;
-
-                // çµ‚äº†å¹´æœˆæ—¥
-                dtEnd = BizList[0].CompleteDate;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                BizHisDB.close(); BizHisDB = null;
-            }
-        }
-        #endregion
-
         #region è¨ˆç®—é–‹å§‹ãƒ»çµ‚äº†æ—¥ã�®ãƒ�ã‚§ãƒƒã‚¯å…¥ã‚Œæ›¿ã�ˆ
         /// <summary>
         /// è¨ˆç®—é–‹å§‹ãƒ»çµ‚äº†æ—¥ã�®ãƒ�ã‚§ãƒƒã‚¯å…¥ã‚Œæ›¿ã�ˆ
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerListAuxiliary.cs	(revision 331)
@@ -1013,9 +1013,8 @@
                 prgber.Update();
 
                 // ƒfƒtƒHƒ‹ƒgŠJŽn�E�I—¹‚ðŽæ“¾‚·‚é
-                DateTime dtDefaultStart = DateTime.MinValue;
-                DateTime dtDefaultEnd = DateTime.MinValue;
-                CreateLedgerSQL.CreateDefaultStartAndEndDate((int)numUDConstPro.Value, ref dtDefaultStart, ref dtDefaultEnd);
+                DateTime dtDefaultStart = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, true);
+                DateTime dtDefaultEnd = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, false);
 
                 // ----- Œo‰ß‹‹—^•\Ž¦�iƒwƒbƒ_�[‚É•\Ž¦�j
                 SetPayrollData(TargetList, dtDefaultStart, dtDefaultEnd, SalaryDB, LedgerDB);
@@ -1526,6 +1525,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -1554,7 +1554,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -1581,6 +1581,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -1610,7 +1611,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionSplit/FrmConstructionSplitAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionSplit/FrmConstructionSplitAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionSplit/FrmConstructionSplitAuxiliary.cs	(revision 331)
@@ -190,6 +190,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -218,7 +219,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -245,6 +246,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -274,7 +276,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CopyTargetList/FrmCopyTargetListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CopyTargetList/FrmCopyTargetListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CopyTargetList/FrmCopyTargetListAuxiliary.cs	(revision 331)
@@ -648,7 +648,7 @@
         /// <summary>
         /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             bool bSave = m_initDataLoad;
@@ -656,6 +656,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -668,7 +669,7 @@
 
                 // •”��ƒ}ƒXƒ^“Ç�ž
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -684,12 +685,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -704,7 +704,7 @@
         /// <summary>
         /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbPersons()
+        private void SetcmbPersons()
         {
             IOMPersonInCharge picDB = new IOMPersonInCharge();
             bool bSave = m_initDataLoad;
@@ -712,6 +712,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -724,7 +725,7 @@
 
                 // ’S“–ŽÒƒ}ƒXƒ^“Ç�ž
                 ArrayList workList = new ArrayList();
-                if (!picDB.ExecuteReader(strSQL.ToString(), ref workList)) return false;
+                if (!picDB.ExecuteReader(strSQL.ToString(), ref workList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -741,12 +742,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return true;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistListAuxiliary.cs	(revision 331)
@@ -619,6 +619,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -647,7 +648,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -674,6 +675,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -703,7 +705,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRListAuxiliary.cs	(revision 331)
@@ -851,7 +851,7 @@
         /// <summary>
         /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             bool bSave = m_initDataLoad;
@@ -859,6 +859,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -871,7 +872,7 @@
 
                 // •”��ƒ}ƒXƒ^“Ç�ž
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -887,12 +888,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -915,6 +915,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -943,6 +944,8 @@
 
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
+
+                cmbConstructionPerson.SelectedValue= nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs	(revision 331)
@@ -290,7 +290,7 @@
                 SetcmbDepartment();
 
                 // æ‹…å½“è€…ã�®ã‚»ãƒƒãƒˆ
-                SetcombBoxPerson();
+                SetcmbPersons();
 
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 InitCombBox();
@@ -520,7 +520,7 @@
             }
 
             // æ‹…å½“è€…ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-            SetcombBoxPerson();
+            SetcmbPersons();
 
             // å¤‰æ•°ã‚’å�–ã‚Šè¾¼ã‚€
             SetVariableValue();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 331)
@@ -718,7 +718,7 @@
                 else
                 {
                     cmbDepartment.SelectedValue = CommonMotions.LoginUserData.DepartmentCode;
-                    SetcombBoxPerson();
+                    SetcmbPersons();
                     cmbConstructionPerson.SelectedValue = CommonMotions.LoginUserData.PersonCode;
                 }
 
@@ -1003,6 +1003,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -1033,6 +1034,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
+                cmbConstructionPerson.SelectedValue= nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -1051,7 +1053,7 @@
         /// <summary>
         /// æ‹…å½“è€…ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã�¸æ–‡å­—ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// </summary>
-        private void SetcombBoxPerson()
+        private void SetcmbPersons()
         {
             IOMPersonInCharge picDB = new IOMPersonInCharge();
             bool bSave = m_bInitFlg;
@@ -1058,6 +1060,9 @@
             m_bInitFlg = true;
             try
             {
+                cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
+
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
                 cmbConstructionPerson.Text = "";
@@ -1087,7 +1092,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -1097,6 +1102,8 @@
             {
                 picDB.close(); picDB = null;
                 m_bInitFlg = bSave;
+
+                cmbConstructionPerson.SelectedIndexChanged += new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
             }
         }
         #endregion
@@ -1129,7 +1136,7 @@
                     bool bSave = m_bInitFlg;
                     m_bInitFlg = true;
                     cmbDepartment.SelectedValue = PersonRec.DepartmentCode;
-                    SetcombBoxPerson();    // æ‹…å½“è€…ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹å¤‰æ›´
+                    SetcmbPersons();    // æ‹…å½“è€…ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹å¤‰æ›´
                     cmbConstructionPerson.SelectedValue = PersonCode;
                     m_bInitFlg = bSave;
                 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs	(revision 331)
@@ -466,12 +466,13 @@
         /// <summary>
         /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -484,7 +485,7 @@
 
                 // •”��ƒ}ƒXƒ^“Ç�ž
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, "�@‘S�@ŽÐ�@"));
@@ -500,12 +501,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -516,9 +516,9 @@
         }
         #endregion
 
-        #region •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
+        #region •”��ƒRƒ“ƒ{‚æ‚è•”��ƒR�[ƒh‚ðŽæ“¾‚·‚é
         /// <summary>
-        /// •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// •”��ƒRƒ“ƒ{‚æ‚è•”��ƒR�[ƒh‚ðŽæ“¾‚·‚é
         /// </summary>
         /// <returns></returns>
         private int GetDepartmentCode()
@@ -803,9 +803,8 @@
                 prgber.Update();
                 
                 // ƒfƒtƒHƒ‹ƒgŠJŽn�E�I—¹‚ðŽæ“¾‚·‚é
-                DateTime dtDefaultStart = DateTime.MinValue;
-                DateTime dtDefaultEnd = DateTime.MinValue;
-                CreateLedgerSQL.CreateDefaultStartAndEndDate((int)numUDConstPro.Value, ref dtDefaultStart, ref dtDefaultEnd);
+                DateTime dtDefaultStart = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, true);
+                DateTime dtDefaultEnd = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, false);
 
                 // ----- Œo‰ß‹‹—^•\Ž¦�iƒwƒbƒ_�[‚É•\Ž¦�j
                 SetPayrollData(TargetList, dtDefaultStart, dtDefaultEnd, SalaryDB, LedgerDB);
@@ -1025,8 +1024,8 @@
                 strSQL.Append(", SUM(A.GROSSPROFIT)");
                 strSQL.Append(", SUM(A.NETPROFIT)");
 
-                strSQL.Append(" FROM PERSONINCHARGEMASTER C");
-                strSQL.Append(" LEFT JOIN CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" FROM PERSONINCHARGEMASTER AS C");
+                strSQL.Append(" LEFT JOIN CONSTRUCTIONBASEINFO AS B");
                 strSQL.Append("      ON B.CONSTRUCTIONPERSONCODE = C.PERSONCODE");
                 strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
                 strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG != {0}", NotOrder);
@@ -1034,11 +1033,12 @@
                 strSQL.Append(" LEFT JOIN constructionbaseinfodetail AS E");
                 strSQL.Append("       On E.ConstructionCode = B.ConstructionCode");
                 strSQL.AppendFormat(" And E.DetailNo = {0}",(int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-                strSQL.Append(" LEFT JOIN CONSTRUCTIONLEDGER A ON A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.Append(" LEFT JOIN CONSTRUCTIONLEDGER AS A");
+                strSQL.Append("       ON A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
                 strSQL.Append(", DEPARTMENTMASTER D");
                 strSQL.Append(" WHERE D.DEPARTMENTCODE = B.ConstrDepCode");
 
-                strSQL.Append(" GROUP BY  C.DEPARTMENTCODE, E.DetailString, D.DISPLAYORDER");
+                strSQL.Append(" GROUP BY  B.ConstrDepCode, E.DetailString, D.DISPLAYORDER");
                 strSQL.Append(" ORDER BY DISPLAYORDER ASC");
             }
             catch (Exception ex)
@@ -1070,7 +1070,7 @@
         /// <summary>
         /// •”��‚²‚Æ‚Ìˆê——‚r‚p‚k‚ð�ì�¬‚·‚é
         /// </summary>
-        private void CreateType2SQL(bool bDelFlg, ref StringBuilder strSQL)
+        private void CreateType2SQL(bool bExistsFlg, ref StringBuilder strSQL)
         {
             try
             {
@@ -1077,6 +1077,10 @@
                 int NotOrder = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("”ñ Žó ’�")).Key;
                 int DepCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
+                // Šú‚©‚çŠúŽñ�EŠú––“ú‚ðŽæ“¾‚·‚é
+                DateTime dtDefaultStart = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, true);
+                DateTime dtDefaultEnd = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, false);
+
                 // ----- ‚r‚p‚k�ì�¬
                 // ‘¶�Ý�Ú�×‘ä’ ƒf�[ƒ^ŒŸ�õ
                 strSQL.Append("SELECT");
@@ -1093,24 +1097,47 @@
                 strSQL.Append(" ,SUM(A.NETPROFIT)");
                 strSQL.Append(" ,C.EMPLOYEECLASSFLG AS EMPLOYEECLASSFLG");
 
-                strSQL.Append(" FROM PERSONINCHARGEMASTER C");
-                strSQL.Append(" LEFT JOIN CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" FROM PERSONINCHARGEMASTER AS C");
+
+                strSQL.Append(" LEFT JOIN chgchargedep AS D");
+                strSQL.Append(" ON D.PersonCode = C.PersonCode");
+                strSQL.AppendFormat(" AND((DATE(D.STARTDATE) <= DATE('{0}'))", dtDefaultEnd.ToShortDateString());
+                strSQL.AppendFormat(" AND(DATE('{0}') <= DATE(D.CompDate)", dtDefaultStart.ToShortDateString());
+                strSQL.AppendFormat(" OR DATE('{0}') = DATE(D.CompDate)))", DateTime.MinValue.ToShortDateString());
+
+                strSQL.Append(" LEFT JOIN CONSTRUCTIONBASEINFO AS B");
                 strSQL.Append("      ON B.CONSTRUCTIONPERSONCODE = C.PERSONCODE");
                 strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
                 strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG != {0}", NotOrder);
                 strSQL.AppendFormat(" AND B.TyingFlg != {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
                 strSQL.AppendFormat(" AND B.JoinFlg != {0}", (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren);
+
                 strSQL.Append(" LEFT JOIN constructionbaseinfodetail AS E");
                 strSQL.Append("       On E.ConstructionCode = B.ConstructionCode");
                 strSQL.AppendFormat(" And E.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-                strSQL.Append(" LEFT JOIN CONSTRUCTIONLEDGER A");
+
+                strSQL.Append(" LEFT JOIN CONSTRUCTIONLEDGER AS A");
                 strSQL.Append("      ON A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-                strSQL.AppendFormat(" WHERE C.DepartmentCode = {0}", DepCode);
-                
-                if (bDelFlg)
-                    strSQL.Append(" AND C.DELETEFLG = 0");
+
+                strSQL.Append(" WHERE");
+                strSQL.AppendFormat(" ((DATE(C.STARTDATE) <= DATE('{0}'))", dtDefaultEnd.ToShortDateString());
+                strSQL.AppendFormat(" AND(DATE('{0}') <= DATE(C.ENDDATE)", dtDefaultStart.ToShortDateString());
+                strSQL.AppendFormat(" OR DATE('{0}') = DATE(C.ENDDATE)))", DateTime.MinValue.ToShortDateString());
+
+                strSQL.AppendFormat(" AND C.LedgerFlg = {0}", (int)PersonInChargeMaster.LedgerDivNoDef.CalcTarget);
+
+                strSQL.AppendFormat(" AND D.DepartmentCode = {0}", DepCode);
+
+                if (bExistsFlg)
+                {   // ‘Î�ÛŠú‚Í�Ý�Ð‚µ‚½�l
+                    strSQL.AppendFormat(" AND (DATE('{0}') < DATE(C.EndDate)", dtDefaultEnd.ToShortDateString());
+                    strSQL.AppendFormat(" OR DATE('{0}') = DATE(C.ENDDATE))", DateTime.MinValue.ToShortDateString());
+                }
                 else
-                    strSQL.Append(" AND C.DELETEFLG != 0");
+                {   // ‘Î�ÛŠú‚ÉŽ«‚ß‚½’S“–ŽÒ
+                    strSQL.AppendFormat(" AND(DATE('{0}') <= DATE(C.EndDate)", dtDefaultStart.ToShortDateString());
+                    strSQL.AppendFormat(" AND DATE(C.EndDate) <= DATE('{0}'))", dtDefaultEnd.ToShortDateString());
+                }
 
                 strSQL.Append(" GROUP BY C.DISPLAYORDER, C.PERSONCODE, C.PERSONNAME, C.EMPLOYEECLASSFLG");
                 strSQL.Append(" ORDER BY EMPLOYEECLASSFLG ASC, DISPLAYORDER ASC");
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLListAuxiliary.cs	(revision 331)
@@ -1046,6 +1046,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -1074,7 +1075,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -1102,6 +1103,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -1131,7 +1133,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudgetAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudgetAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudgetAuxiliary.cs	(revision 331)
@@ -611,7 +611,7 @@
         /// <summary>
         /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             bool bSave = m_initDataLoad;
@@ -619,6 +619,7 @@
             try
             {
                 this.cmbDepartment.SelectedIndexChanged -= new System.EventHandler(this.cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -631,7 +632,7 @@
 
                 // •”��ƒ}ƒXƒ^“Ç�ž
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
@@ -648,12 +649,11 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -676,6 +676,7 @@
             try
             {
                 this.cmbConstructionPerson.SelectedIndexChanged -= new System.EventHandler(this.cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -705,6 +706,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
+                cmbConstructionPerson.SelectedValue= nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedingsAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedingsAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedingsAuxiliary.cs	(revision 331)
@@ -962,7 +962,7 @@
         /// <summary>
         /// éƒ¨ç½²ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã�¸æ–‡å­—ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             bool bSave = m_bInitFlg;
@@ -970,6 +970,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(this.cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -982,7 +983,7 @@
 
                 // éƒ¨ç½²ãƒžã‚¹ã‚¿èª­è¾¼
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -998,12 +999,11 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -1051,6 +1051,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(this.cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -1081,7 +1082,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatusAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatusAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatusAuxiliary.cs	(revision 331)
@@ -243,7 +243,7 @@
                 bool bSelPerson = false;
                 if (PersonCode != 0) bSelPerson = true;
 
-                if (bSelPerson)
+                if (bSelPerson && cmbDepartment.Visible)
                 {
                     if (radioButton1.Checked)
                     {
@@ -1019,6 +1019,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -1047,7 +1048,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -1074,6 +1075,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -1103,7 +1105,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs	(revision 331)
@@ -231,7 +231,7 @@
                 bool bSelPerson = false;
                 if (PersonCode != 0) bSelPerson = true;
 
-                if (bSelPerson)
+                if (bSelPerson && cmbDepartment.Visible)
                 {
                     if (radioButton1.Checked)
                     {
@@ -977,6 +977,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -1005,7 +1006,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -1032,6 +1033,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -1061,7 +1063,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs	(revision 331)
@@ -870,6 +870,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -899,7 +900,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -926,6 +927,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -955,7 +957,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 331)
@@ -310,6 +310,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new System.EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -338,7 +339,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -386,6 +387,7 @@
             try
             {
                 cmbPerson.SelectedIndexChanged -= new EventHandler(cmbPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbPerson.SelectedValue);
 
                 cmbPerson.DataSource = null;
                 cmbPerson.Items.Clear();
@@ -415,7 +417,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbPerson, ConstructionDataList);
 
-                return;
+                cmbPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegistListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegistListAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegistListAuxiliary.cs	(revision 331)
@@ -691,6 +691,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -719,7 +720,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
@@ -747,6 +748,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -776,7 +778,7 @@
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs	(revision 331)
@@ -354,7 +354,7 @@
         /// <summary>
         /// éƒ¨ç½²ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã�¸æ–‡å­—ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// </summary>
-        private bool SetcmbDepartment()
+        private void SetcmbDepartment()
         {
             IOMDepartment depDB = new IOMDepartment();
             bool bSave = m_bInitFlg;
@@ -362,6 +362,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -374,7 +375,7 @@
 
                 // éƒ¨ç½²ãƒžã‚¹ã‚¿èª­è¾¼
                 ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
                 List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
                 ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
@@ -390,12 +391,11 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return true;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
             }
             finally
             {
@@ -419,6 +419,7 @@
             try
             {
                 cmbConstructionPerson.SelectedIndexChanged -= new EventHandler(cmbConstructionPerson_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
 
                 cmbConstructionPerson.DataSource = null;
                 cmbConstructionPerson.Items.Clear();
@@ -448,7 +449,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
 
-                return;
+                cmbConstructionPerson.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 331)
@@ -5905,6 +5905,7 @@
             try
             {
                 cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
                 cmbDepartment.DataSource = null;
                 cmbDepartment.Items.Clear();
@@ -5933,7 +5934,7 @@
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
                 ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
 
-                return;
+                cmbDepartment.SelectedValue = nBeforeCode;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 330)
+++ branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 331)
@@ -32,7 +32,7 @@
 // ã�™ã�¹ã�¦ã�®å€¤ã‚’æŒ‡å®šã�™ã‚‹ã�‹ã€�ä¸‹ã�®ã‚ˆã�†ã�« '*' ã‚’ä½¿ã�£ã�¦ãƒ“ãƒ«ãƒ‰ã�Šã‚ˆã�³ãƒªãƒ“ã‚¸ãƒ§ãƒ³ç•ªå�·ã‚’ 
 // æ—¢å®šå€¤ã�«ã�™ã‚‹ã�“ã�¨ã�Œã�§ã��ã�¾ã�™:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.1.155")]
-[assembly: AssemblyFileVersion("1.0.1.155")]
+[assembly: AssemblyVersion("1.0.1.156")]
+[assembly: AssemblyFileVersion("1.0.1.156")]
 // Log4netã‚’ä½¿ç”¨ã�™ã‚‹
 [assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
