プロジェクト

全般

プロフィール

リビジョン 414

堀内6年以上前に追加

他の画面へボタンへ入金入力を追加
承認経路登録:製品版対応
管理マスタ:初期値表示修正
工事種別マスタメンテ:削除修正・データ論理削除へ変更
対項目マスタメンテ:削除修正・データ論理削除へ変更

差分を表示:

trunk/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs
3757 3757
                    strSQL.Append(" ) As InDep");
3758 3758
                    strSQL.Append(" GROUP BY InDep.DEPARTMENTCODE) ");
3759 3759
                }
3760

  
3760
                strSQL.Append(" Group By A.PersonCode");
3761 3761
                strSQL.Append(" Order By A.DeleteFlg ASC, A.EmployeeClassFlg ASC, A.DisplayOrder ASC");
3762 3762
            }
3763 3763
            catch (Exception ex)
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsCommonCosts.cs
430 430
            {
431 431
                StringBuilder strSQL = new StringBuilder();
432 432
                strSQL.AppendFormat(" Where PublicFlg = {0}", (int)ConstructionTypeMaster.PublicFlgDef.Community);
433
                strSQL.AppendFormat(" And DeleteFlg = {0}", (int)CommonDefine.DataDeleteDef.Exists);
433 434
                strSQL.Append(" Order by TypeCode ASC");
434 435
                List<ConstructionTypeMaster> ctList = new List<ConstructionTypeMaster>();
435 436
                ctDB.SelectAction(strSQL.ToString(), ref ctList);
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsOtherProc.cs
721 721
            try
722 722
            {
723 723
                // フォーム登録
724
                //int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput;
725
                //ExecFormEntry(ProcessNo, CurProcNo, (Form)frm);
724
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput;
725
                ExecFormEntry(ProcessNo, CurProcNo, (Form)frm);
726 726

  
727
                //// 請求入力入力起動
728
                //frm.ConstructionCode = ClsProcessExist.GetParentConstrCode(ConstrCode);
729
                //frm.ShowInTaskbar = true;
727
                // 請求入力入力起動
728
                frm.ConstrCode = ClsProcessExist.GetParentConstrCode(ConstrCode);
729
                frm.SelectionMode = true;
730
                frm.ShowInTaskbar = true;
730 731

  
731
                //frm.Show();
732
                frm.Show();
732 733

  
733
                //// フォームをずらす
734
                //frm.Location = CommonMotions.SetFormPosion(ParentsForm.Location);
734
                // フォームをずらす
735
                frm.Location = CommonMotions.SetFormPosion(ParentsForm.Location);
735 736
            }
736 737
            catch (Exception ex)
737 738
            {
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsProcessExist.cs
1282 1282
            IORequestHead ReqHed = new IORequestHead();
1283 1283
            try
1284 1284
            {
1285
                return false;
1286
                //StringBuilder strSQL = new StringBuilder();
1287
                //strSQL.Append("Select Count(*) From RequestHead As ReqHead");
1288
                //strSQL.Append(" Inner Join InvoiceData As InvData");
1289
                //strSQL.Append("       On InvData.InvoiceNo = ReqHead.InvoiceNo");
1290
                //strSQL.AppendFormat(" Where ReqHead.REQCONSTRUCTIONCODE = {0}", m_SearchCode);
1285
                StringBuilder strSQL = new StringBuilder();
1286
                strSQL.Append("Select Count(*) From RequestHead As ReqHead");
1287
                strSQL.Append(" Inner Join InvoiceData As InvData");
1288
                strSQL.Append("       On InvData.InvoiceNo = ReqHead.InvoiceNo");
1289
                strSQL.AppendFormat(" Where ReqHead.REQCONSTRUCTIONCODE = {0}", m_SearchCode);
1291 1290

  
1292
                //ArrayList ReqList = new ArrayList();
1293
                //if (!ReqHed.ExecuteReader(strSQL.ToString(), ref ReqList)) return false;
1294
                //if (ReqList.Count < 1) return false;
1295
                //object[] ObjRec = (object[])ReqList[0];
1296
                //if (CommonMotions.cnvInt(ObjRec[0]) < 1) return false;
1291
                ArrayList ReqList = new ArrayList();
1292
                if (!ReqHed.ExecuteReader(strSQL.ToString(), ref ReqList)) return false;
1293
                if (ReqList.Count < 1) return false;
1294
                object[] ObjRec = (object[])ReqList[0];
1295
                if (CommonMotions.cnvInt(ObjRec[0]) < 1) return false;
1297 1296

  
1298
                //return true;
1297
                return true;
1299 1298
            }
1300 1299
            catch (Exception ex)
1301 1300
            {
trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMComponent.cs
308 308
        }
309 309
        #endregion
310 310

  
311
        #region 1項目更新処理
312
        /// <summary>
313
        /// 1項目の更新を行う
314
        /// </summary>
315
        /// <returns></returns>
316
        public bool UpdateFeild(int ComponentCode, int FeildNo, object value, bool bConnect = true)
317
        {
318
            StringBuilder strcmd = new StringBuilder();
319
            try
320
            {
321
                strcmd.Append("UPDATE ComponentMaster");
322

  
323
                strcmd.Append(" SET");
324
                switch (FeildNo)
325
                {
326
                    case (int)NameColumn.ComponentCode:
327
                        strcmd.AppendFormat(" ComponentCode = {0}", ((int)value).ToString());
328
                        break;
329
                    case (int)NameColumn.DisplayOrder:
330
                        strcmd.AppendFormat(" DisplayOrder = {0}", ((int)value).ToString());
331
                        break;
332
                    case (int)NameColumn.ComponentName:
333
                        strcmd.AppendFormat(" ComponentName = '{0}'", value.ToString());
334
                        break;
335
                    case (int)NameColumn.SubitemsFlg:
336
                        strcmd.AppendFormat(" SubitemsFlg = {0}", ((int)value).ToString());
337
                        break;
338
                    case (int)NameColumn.DirectInputFlg:
339
                        strcmd.AppendFormat(" DirectInputFlg = {0}", ((int)value).ToString());
340
                        break;
341
                    case (int)NameColumn.MyExpensesFlg:
342
                        strcmd.AppendFormat(" MyExpensesFlg = {0}", ((int)value).ToString());
343
                        break;
344
                    case (int)NameColumn.DeleteFlg:
345
                        strcmd.AppendFormat(" DeleteFlg = {0}", ((int)value).ToString());
346
                        break;
347
                }
348

  
349
                strcmd.Append(", UpdateDate = NOW()");
350
                strcmd.Append(CreatePrimarykeyString(ComponentCode));
351

  
352
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
353

  
354
                return true;
355
            }
356
            catch (Exception ex)
357
            {
358
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
359
                return false;
360
            }
361
        }
362
        #endregion
363

  
311 364
        #region 工事構成マスタ削除
312 365
        /// <summary>
313 366
        /// 工事構成マスタ削除
......
499 552
            return strWork.ToString();
500 553
        }
501 554
        #endregion
502

  
503
        #region 1項目更新処理
504
        /// <summary>
505
        /// 1項目の更新を行う
506
        /// </summary>
507
        /// <param name="ComponentCode"></param>
508
        /// <param name="FeildNo"></param>
509
        /// <param name="value"></param>
510
        /// <param name="bConnect"></param>
511
        /// <returns></returns>
512
        public bool UpdateFeild(int ComponentCode, int FeildNo, object value, bool bConnect = true)
513
        {
514
            StringBuilder strcmd = new StringBuilder();
515
            try
516
            {
517

  
518
                strcmd.Append("UPDATE ComponentMaster");
519

  
520
                strcmd.Append(" SET");
521
                switch (FeildNo)
522
                {
523
                    case (int)NameColumn.ComponentCode:
524
                        strcmd.AppendFormat(" ComponentCode = {0}", ((int)value).ToString());
525
                        break;
526
                    case (int)NameColumn.DisplayOrder:
527
                        strcmd.AppendFormat(" DisplayOrder = {0}", ((int)value).ToString());
528
                        break;
529
                    case (int)NameColumn.ComponentName:
530
                        strcmd.AppendFormat(" ComponentName = '{0}'", value.ToString());
531
                        break;
532
                    case (int)NameColumn.SubitemsFlg:
533
                        strcmd.AppendFormat(" SubitemsFlg = {0}", ((int)value).ToString());
534
                        break;
535
                    case (int)NameColumn.DirectInputFlg:
536
                        strcmd.AppendFormat(" DirectInputFlg = {0}", ((int)value).ToString());
537
                        break;
538
                    case (int)NameColumn.MyExpensesFlg:
539
                        strcmd.AppendFormat(" MyExpensesFlg = {0}", ((int)value).ToString());
540
                        break;
541
                    case (int)NameColumn.DeleteFlg:
542
                        strcmd.AppendFormat(" DeleteFlg = {0}", ((int)value).ToString());
543
                        break;
544
                }
545

  
546
                strcmd.Append(", UpdateDate = NOW()");
547
                strcmd.Append(CreatePrimarykeyString(ComponentCode));
548

  
549
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
550

  
551
                return true;
552
            }
553
            catch (Exception ex)
554
            {
555
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
556
                return false;
557
            }
558
        }
559
        #endregion
560

  
561 555
    }
562 556
}
trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMComponentLink.cs
288 288
        }
289 289
        #endregion
290 290

  
291

  
292
        #region 1項目更新処理
293
        /// <summary>
294
        /// 1項目の更新を行う
295
        /// </summary>
296
        /// <returns></returns>
297
        public bool UpdateFeild(int ComponentCode, int FeildNo, object value, bool bConnect = true)
298
        {
299
            StringBuilder strcmd = new StringBuilder();
300
            try
301
            {
302
                strcmd.Append("UPDATE ComponentLinkMaster");
303

  
304
                strcmd.Append(" SET");
305
                switch (FeildNo)
306
                {
307
                    case (int)NameColumn.ComponentCode:
308
                        strcmd.AppendFormat(" ComponentCode = {0}", ((int)value).ToString());
309
                        break;
310
                    case (int)NameColumn.ItemCode:
311
                        strcmd.AppendFormat(" ItemCode = {0}", ((int)value).ToString());
312
                        break;
313
                    case (int)NameColumn.DisplayOrder:
314
                        strcmd.AppendFormat(" DisplayOrder = {0}", ((int)value).ToString());
315
                        break;
316
                }
317

  
318
                strcmd.Append(", UpdateDate = NOW()");
319
                strcmd.Append(CreatePrimarykeyString(ComponentCode));
320

  
321
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
322

  
323
                return true;
324
            }
325
            catch (Exception ex)
326
            {
327
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
328
                return false;
329
            }
330
        }
331
        #endregion
332

  
291 333
        #region 構成関連マスタ削除
292 334
        /// <summary>
293 335
        /// 構成関連マスタ削除
trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMConstructionTypeMaster.cs
316 316
        }
317 317
        #endregion
318 318

  
319
        #region 1項目更新処理
320
        /// <summary>
321
        /// 1項目の更新を行う
322
        /// </summary>
323
        /// <returns></returns>
324
        public bool UpdateFeild(int TypeCode, int FeildNo, object value, bool bConnect = true)
325
        {
326
            StringBuilder strcmd = new StringBuilder();
327
            try
328
            {
329
                strcmd.Append("UPDATE ConstructionTypeMaster");
330

  
331
                strcmd.Append(" SET");
332
                switch (FeildNo)
333
                {
334
                    case (int)NameColumn.TypeCode:
335
                        strcmd.AppendFormat(" TypeCode = {0}", ((int)value).ToString());
336
                        break;
337
                    case (int)NameColumn.DisplayOrder:
338
                        strcmd.AppendFormat(" DisplayOrder = {0}", ((int)value).ToString());
339
                        break;
340
                    case (int)NameColumn.NameString:
341
                        strcmd.AppendFormat(" NameString = '{0}'", value.ToString());
342
                        break;
343
                    case (int)NameColumn.PublicFlg:
344
                        strcmd.AppendFormat(" PublicFlg = {0}", ((int)value).ToString());
345
                        break;
346
                    case (int)NameColumn.RepairFlg:
347
                        strcmd.AppendFormat(" RepairFlg = {0}", ((int)value).ToString());
348
                        break;
349
                    case (int)NameColumn.SecRank:
350
                        strcmd.AppendFormat(" SecRank = {0}", ((int)value).ToString());
351
                        break;
352
                    case (int)NameColumn.ExpensesLink:
353
                        strcmd.AppendFormat(" ExpensesLink = {0}", ((int)value).ToString());
354
                        break;
355
                    case (int)NameColumn.DeleteFlg:
356
                        strcmd.AppendFormat(" DeleteFlg = {0}", ((int)value).ToString());
357
                        break;
358
                }
359

  
360
                strcmd.Append(", UpdateDate = NOW()");
361
                strcmd.Append(CreatePrimarykeyString(TypeCode));
362

  
363
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
364

  
365
                return true;
366
            }
367
            catch (Exception ex)
368
            {
369
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
370
                return false;
371
            }
372
        }
373
        #endregion
374

  
319 375
        #region 削除処理
320 376
        /// <summary>
321 377
        /// 名称マスタ削除
trunk/src/ProcessManagement/ProcessManagement/DataModel/ConstructionTypeMaster.cs
39 39
        public enum RepairFlgDef
40 40
        {
41 41
            /// <summary>
42
            /// 省略時
42
            /// 0:省略時
43 43
            /// </summary>
44 44
            Default = 0,
45 45
            /// <summary>
46
            /// 新築
46
            /// 1:新築
47 47
            /// </summary>
48 48
            Create,
49 49
            /// <summary>
50
            /// 改修
50
            /// 2:改修
51 51
            /// </summary>
52 52
            Modify,
53 53
        }
54 54
        #endregion
55

  
56
        #region 経費使用区分
57
        /// <summary>
58
        /// 経費使用区分
59
        /// </summary>
60
        public enum ExpensesLinkDef
61
        {
62
            /// <summary>
63
            /// 0:部署毎
64
            /// </summary>
65
            ByDepartment = 0,
66
            /// <summary>
67
            /// 1:種別毎
68
            /// </summary>
69
            PerType,
70
        }
55 71
        #endregion
56 72

  
73
        #endregion
74

  
57 75
        #region メンバ変数
58 76
        private int         m_TypeCode = 0;	                    // 工事種別コード
59 77
        private int         m_DisplayOrder = 0;	                // 表示順
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs
891 891
                if (CommonMotions.BasePeriodYear()) { for (int i = 0; i < s_SQLPart3_1_1.Length; i++) wrkFormat.Append(s_SQLPart3_1_1[i]); }
892 892
                else { for (int i = 0; i < s_SQLPart3_1_2.Length; i++) wrkFormat.Append(s_SQLPart3_1_2[i]); }
893 893

  
894
                wrkFormat.Append(" LEFT JOIN constructiontypemaster As ConstrType ON ConstrType.TypeCode = A.ConstructionType");
894
                wrkFormat.Append(" LEFT JOIN constructiontypemaster As ConstrType");
895
                wrkFormat.Append("       ON ConstrType.TypeCode = A.ConstructionType");
895 896
                wrkFormat.Append(", PROCESSAPPROVAL App");
896 897

  
897 898
                if (CommonMotions.BasePeriodYear()) { for (int i = 0; i < s_SQLPart5.Length; i++) wrkFormat.Append(s_SQLPart5[i]); }
......
913 914

  
914 915
                strSQL.AppendFormat(" OR (A.JOINFLG = {0}))", (int)ConstructionBaseInfo.TyingFlgDef.Parent);
915 916

  
916
                strSQL.Append(" AND A.ConstructionPersonCode != 0");
917
                strSQL.Append("       AND A.ConstructionPersonCode != 0");
917 918

  
918 919
                strSQL.AppendFormat(" AND ((ConstrType.PublicFlg != {0}", (int)ConstructionTypeMaster.PublicFlgDef.Community);
919
                strSQL.Append(" And (A.ConstructionCode IN (SELECT AA1.CONSTRUCTIONCODE FROM CONSTRUCTIONBUDGETDETAIL AA1");
920
                strSQL.Append(" WHERE AA1.COMPANYCODE != 0 AND AA1.COMPANYCODE != -1");
921
                strSQL.Append(" GROUP BY AA1.CONSTRUCTIONCODE, AA1.COMPANYCODE");
922
                strSQL.AppendFormat(" HAVING SUM(AA1.EXECUTIONAMOUNT) >= {0})))", CommonDefine.s_PrintOutPrice);
920
                strSQL.Append("             And (A.ConstructionCode IN (SELECT AA1.CONSTRUCTIONCODE FROM CONSTRUCTIONBUDGETDETAIL AA1");
921
                strSQL.Append("                                         WHERE AA1.COMPANYCODE != 0 AND AA1.COMPANYCODE != -1");
922
                strSQL.Append("                                         GROUP BY AA1.CONSTRUCTIONCODE, AA1.COMPANYCODE");
923
                strSQL.AppendFormat("                                   HAVING SUM(AA1.EXECUTIONAMOUNT) >= {0})))", CommonDefine.s_PrintOutPrice);
923 924

  
924 925
                strSQL.AppendFormat(" OR (ConstrType.PublicFlg = {0}", (int)ConstructionTypeMaster.PublicFlgDef.Community);
925
                strSQL.Append(" And (A.ConstructionCode IN (SELECT AA1.CONSTRUCTIONCODE FROM CONSTRUCTIONBUDGETDETAIL AA1");
926
                strSQL.Append(" WHERE AA1.COMPANYCODE != 0 AND AA1.COMPANYCODE != -1");
927
                strSQL.Append(" GROUP BY AA1.CONSTRUCTIONCODE, AA1.COMPANYCODE");
928
                strSQL.AppendFormat(" HAVING SUM(AA1.EXECUTIONAMOUNT) >= {0}))))", CommonDefine.s_PrintOutPricePublic);
926
                strSQL.Append("           And (A.ConstructionCode IN (SELECT AA1.CONSTRUCTIONCODE FROM CONSTRUCTIONBUDGETDETAIL AA1");
927
                strSQL.Append("                                       WHERE AA1.COMPANYCODE != 0 AND AA1.COMPANYCODE != -1");
928
                strSQL.Append("                                       GROUP BY AA1.CONSTRUCTIONCODE, AA1.COMPANYCODE");
929
                strSQL.AppendFormat("                                 HAVING SUM(AA1.EXECUTIONAMOUNT) >= {0}))))", CommonDefine.s_PrintOutPricePublic);
929 930

  
930 931
                // Left Join???????????????
931 932
                strSQL.Append(" And (");
......
1239 1240
                strSQL.Append("    And A4.SeqNo = 1");
1240 1241

  
1241 1242
                strSQL.Append(" Inner Join constructionbaseinfo AS Base");
1242
                strSQL.Append("    On Base.ConstructionCode = A1.ConstructionCode");
1243
                strSQL.Append("       On Base.ConstructionCode = A1.ConstructionCode");
1243 1244

  
1244 1245
                strSQL.Append(" Inner Join constructiontypemaster As ConstrType");
1245
                strSQL.Append("    On  ConstrType.TypeCode = Base.ConstructionType");
1246
                strSQL.Append("       On ConstrType.TypeCode = Base.ConstructionType");
1246 1247

  
1247 1248
                strSQL.AppendFormat(" WHERE A1.CONSTRUCTIONCODE = {0}", ParentCode);
1248 1249
                strSQL.AppendFormat("  And A1.SOURCECODE = {0}", SourceCode);
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs
2820 2820
                List<ConstructionTypeMaster> typeList = new List<ConstructionTypeMaster>();
2821 2821

  
2822 2822
                StringBuilder strSQL = new StringBuilder();
2823
                strSQL.AppendFormat(" WHERE DeleteFlg = {0} ORDER BY DISPLAYORDER", (int)CommonDefine.DataDeleteDef.Exists);
2823
                strSQL.Append(" ORDER BY DISPLAYORDER");
2824 2824

  
2825 2825
                if (!TypeDB.SelectAction(strSQL.ToString(), ref typeList)) return;
2826 2826
                if (typeList.Count == 0) return;
......
5844 5844
            try
5845 5845
            {
5846 5846
                int TypeCode = CommonMotions.cnvInt(cmbConstructionType.SelectedValue);
5847
                string strSQL = ConTypeDB.CreatePrimarykeyString(TypeCode);
5847
                StringBuilder strSQL = new StringBuilder();
5848
                strSQL.Append(ConTypeDB.CreatePrimarykeyString(TypeCode));
5849
                strSQL.AppendFormat(" AND DeleteFlg = {0}", (int)CommonDefine.DataDeleteDef.Exists);
5850

  
5848 5851
                ConstructionTypeMaster TypeRec = new ConstructionTypeMaster();
5849
                if (!ConTypeDB.SelectAction(strSQL, ref TypeRec))
5852
                if (!ConTypeDB.SelectAction(strSQL.ToString(), ref TypeRec))
5850 5853
                {
5851 5854
                    MessageBox.Show("?H???????G???[?B", "?H?????`?F?b?N?G???[", MessageBoxButtons.OK, MessageBoxIcon.Error);
5852 5855
                    cmbConstructionType.SelectedValue = 0;
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs
1549 1549
        }
1550 1550
        #endregion
1551 1551

  
1552
        #region 請求印刷のクローズを取得する
1552
        #region 入金入力のクローズを取得する
1553 1553
        /// <summary>
1554
        /// 請求印刷のクローズを取得する
1554
        /// 入金入力のクローズを取得する
1555 1555
        /// </summary>
1556 1556
        /// <param name="sender"></param>
1557 1557
        /// <param name="e"></param>
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs
1387 1387
                strSQL.Append(", B.NAMECODE");
1388 1388
                strSQL.Append(", B.EXPENSESRAITO");
1389 1389
                strSQL.Append(" FROM CONSTRUCTIONTYPEMASTER A");
1390
                strSQL.Append(" LEFT JOIN TYPEEXPENSESMASTER B ON B.TYPECODE = A.TYPECODE");
1391
                strSQL.AppendFormat(" AND B.EXPENSESPERIOD = {0}", CommonMotions.GetPeriodYear());
1392
                strSQL.AppendFormat(" WHERE A.TYPECODE = {0} AND A.EXPENSESLINK = 1", m_ConstructionBaseInfo.ConstructionType);
1390
                strSQL.Append("      LEFT JOIN TYPEEXPENSESMASTER As B");
1391
                strSQL.Append("            ON B.TYPECODE = A.TYPECODE");
1392
                strSQL.AppendFormat("      AND B.EXPENSESPERIOD = {0}", CommonMotions.GetPeriodYear());
1393
                strSQL.AppendFormat(" WHERE A.TYPECODE = {0}", m_ConstructionBaseInfo.ConstructionType);
1394
                strSQL.AppendFormat(" AND A.EXPENSESLINK = {0}",(int)ConstructionTypeMaster.ExpensesLinkDef.PerType);
1393 1395

  
1394 1396
                ArrayList arList = new ArrayList();
1395 1397
                if (!TypeExpDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1502 1541
        }
1503 1542
        #endregion
1504 1543

  
1544
        #region 入金入力のクローズを取得する
1545
        /// <summary>
1546
        /// 入金入力のクローズを取得する
1547
        /// </summary>
1548
        /// <param name="sender"></param>
1549
        /// <param name="e"></param>
1550
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1551
        {
1552
            try
1553
            {
1554
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1555
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1556

  
1557
                // フォームのクリア
1558
                ClsOtherProc.ProcFormClose(ProcessNo);
1559

  
1560
                UpDateProcessContextMenu();
1561
                this.Activate();
1562
            }
1563
            catch (Exception ex)
1564
            {
1565
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1566
            }
1567
        }
1568
        #endregion
1569

  
1505 1570
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1506 1571
    }
1507 1572
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1502 1541
        }
1503 1542
        #endregion
1504 1543

  
1544
        #region 入金入力のクローズを取得する
1545
        /// <summary>
1546
        /// 入金入力のクローズを取得する
1547
        /// </summary>
1548
        /// <param name="sender"></param>
1549
        /// <param name="e"></param>
1550
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1551
        {
1552
            try
1553
            {
1554
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1555
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1556

  
1557
                // フォームのクリア
1558
                ClsOtherProc.ProcFormClose(ProcessNo);
1559

  
1560
                UpDateProcessContextMenu();
1561
                this.Activate();
1562
            }
1563
            catch (Exception ex)
1564
            {
1565
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1566
            }
1567
        }
1568
        #endregion
1569

  
1505 1570
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1506 1571
    }
1507 1572
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
857 860
        }
858 861
        #endregion
859 862

  
863
        #region 入金入力
864
        /// <summary>
865
        /// 入金入力
866
        /// </summary>
867
        /// <param name="sender"></param>
868
        /// <param name="e"></param>
869
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
870
        {
871
            try
872
            {
873
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
874
                // フォームがあれば最前面へ
875
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
876
                if (frm != null)
877
                {
878
                    frm.Activate();
879
                    return;
880
                }
881

  
882
                // 請求入力起動
883
                frm = new FrmSelectPayment();
884
                // クロースドハンドラをこちらで定義する
885
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
886

  
887
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
888
                                                    , m_ConstructionCode
889
                                                    , s_CurrentProcessNo
890
                                                    , this);
891
            }
892
            catch (Exception ex)
893
            {
894
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
895
            }
896
        }
897
        #endregion
898

  
860 899
        #endregion // ---------- 他プロセス起動ハンドラ群 END
861 900

  
862 901
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1448 1487
        }
1449 1488
        #endregion
1450 1489

  
1490
        #region 入金入力のクローズを取得する
1491
        /// <summary>
1492
        /// 入金入力のクローズを取得する
1493
        /// </summary>
1494
        /// <param name="sender"></param>
1495
        /// <param name="e"></param>
1496
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1497
        {
1498
            try
1499
            {
1500
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1501
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1502

  
1503
                // フォームのクリア
1504
                ClsOtherProc.ProcFormClose(ProcessNo);
1505

  
1506
                UpDateProcessContextMenu();
1507
                this.Activate();
1508
            }
1509
            catch (Exception ex)
1510
            {
1511
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1512
            }
1513
        }
1514
        #endregion
1515

  
1451 1516
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1452 1517
    }
1453 1518
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrintAuxiliary.cs
980 980
                        LineCount++;
981 981
                    }
982 982

  
983
                    objPrint[LineCount, (int)DetailColumCharctor.ColumB] = CommonMotions.ComentSucstring(LargeList[iy].ItemName, "※");  // 名称
984
                    objPrint[LineCount, (int)DetailColumCharctor.ColumC] = LargeList[iy].SpecName;                                      // 品質・形状・寸法
985
                    objPrint[LineCount, (int)DetailColumCharctor.ColumG] = LargeList[iy].PriceValue.ToString("#,#");                    // 金額
986
                    objPrint[LineCount, (int)DetailColumCharctor.ColumH] = LargeList[iy].Note;                                          // 備考
983
                    switch (ProductDefine.ProductType)                                                                      // 名称
984
                    {
985
                        case (int)ProductDefine.ProductTypeDef.Originals:
986
                            objPrint[LineCount, (int)DetailColumCharctor.ColumB] = CommonMotions.ComentSucstring(LargeList[iy].ItemName, "※");
987
                            break;
988
                        default:
989
                            objPrint[LineCount, (int)DetailColumCharctor.ColumB] = LargeList[iy].ItemName;
990
                            break;
991
                    }
992
                    objPrint[LineCount, (int)DetailColumCharctor.ColumC] = LargeList[iy].SpecName;                          // 品質・形状・寸法
993
                    objPrint[LineCount, (int)DetailColumCharctor.ColumG] = LargeList[iy].PriceValue.ToString("#,#");        // 金額
994
                    objPrint[LineCount, (int)DetailColumCharctor.ColumH] = LargeList[iy].Note;                              // 備考
987 995

  
988 996
                    // 固定行以外の構成行
989 997
                    if (CommonMotions.chkNumeric(LargeList[iy].FixedItemCode, ref dwork))
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
1549
        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
1550
        {
1551
            try
1552
            {
1553
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
1554
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
1555

  
1556
                // フォームのクリア
1557
                ClsOtherProc.ProcFormClose(ProcessNo);
1558

  
1559
                UpDateProcessContextMenu();
1560
                this.Activate();
1561
            }
1562
            catch (Exception ex)
1563
            {
1564
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1565
            }
1566
        }
1567
        #endregion
1568

  
1504 1569
        #endregion // ---------- 他プロセス終了ハンドラ群 END
1505 1570
    }
1506 1571
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs
134 134
                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:資材返却
135 135
                            handle = ProcessExecute_MaterialReturn;
136 136
                            break;
137
                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:入金入力
138
                            handle = ProcessExecute_PaymentConfirmation;
139
                            break;
137 140
                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:請求入力
138 141
                            handle = ProcessExecute_RequestInput;
139 142
                            break;
......
904 907
        }
905 908
        #endregion
906 909

  
910
        #region 入金入力
911
        /// <summary>
912
        /// 入金入力
913
        /// </summary>
914
        /// <param name="sender"></param>
915
        /// <param name="e"></param>
916
        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
917
        {
918
            try
919
            {
920
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
921
                // フォームがあれば最前面へ
922
                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
923
                if (frm != null)
924
                {
925
                    frm.Activate();
926
                    return;
927
                }
928

  
929
                // 請求入力起動
930
                frm = new FrmSelectPayment();
931
                // クロースドハンドラをこちらで定義する
932
                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
933

  
934
                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
935
                                                    , m_ConstructionCode
936
                                                    , s_CurrentProcessNo
937
                                                    , this);
938
            }
939
            catch (Exception ex)
940
            {
941
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
942
            }
943
        }
944
        #endregion
945

  
907 946
        #endregion // ---------- 他プロセス起動ハンドラ群 END
908 947

  
909 948
        #region    // ---------- 他プロセス終了ハンドラ群 START
......
1501 1540
        }
1502 1541
        #endregion
1503 1542

  
1543
        #region 入金入力のクローズを取得する
1544
        /// <summary>
1545
        /// 入金入力のクローズを取得する
1546
        /// </summary>
1547
        /// <param name="sender"></param>
1548
        /// <param name="e"></param>
... 差分の行数が表示可能な上限を超えました。超過分は表示しません。

他の形式にエクスポート: Unified diff