プロジェクト

全般

プロフィール

リビジョン 454

堀内約6年前に追加

入金入力:掲示板メッセージタイトル発注先名修正
他の画面へボタン:製品版対応モレ修正

差分を表示:

trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsProcessExist.cs
355 355
                string MenuProcName = "メニューへ戻る";
356 356
                ProcList.Add(new KeyValuePair<int, string>(MenuProcNo, MenuProcName));
357 357

  
358
                switch (ProductDefine.ProductType)
359
                {
360
                    case (int)ProductDefine.ProductTypeDef.Originals:
361
                        // ----- オリジナル版
362
                        GetProcessListOriginals(ref ProcList, OperationPrcess);
363
                        break;
364
                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
365
                        // ----- 製品版
366
                        GetProcessListMassProductionType1(ref ProcList, OperationPrcess);
367
                        break;
368
                    default:
369
                        break;
370
                }
371

  
372

  
373
            }
374
            catch (Exception ex)
375
            {
376
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
377
            }
378
            finally
379
            {
380
                BaseDB.close(); BaseDB = null;
381
            }
382
        }
383
        #endregion
384

  
385
        #region オリジナル版の実行可能プロセスの一覧を取得する
386
        /// <summary>
387
        /// オリジナル版の実行可能プロセスの一覧を取得する
388
        /// </summary>
389
        public static void GetProcessListOriginals(ref List<KeyValuePair<int, string>> ProcList, int OperationPrcess)
390
        {
391
            try
392
            {
358 393
                int ProcNo = 0;
359 394
                // 2:工事情報入力データの存在確認
360 395
                if (ExistBaseInfoData())
......
487 522
            {
488 523
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
489 524
            }
490
            finally
525
        }
526
        #endregion
527

  
528
        #region 製品版タイプ1の実行可能プロセスの一覧を取得する
529
        /// <summary>
530
        /// 製品版タイプ1の実行可能プロセスの一覧を取得する
531
        /// </summary>
532
        public static void GetProcessListMassProductionType1(ref List<KeyValuePair<int, string>> ProcList, int OperationPrcess)
533
        {
534
            try
491 535
            {
492
                BaseDB.close(); BaseDB = null;
536
                int ProcNo = 0;
537
                // 2:工事情報入力データの存在確認
538
                if (ExistBaseInfoData())
539
                {
540
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo;
541
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
542
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
543
                }
544
                // 3:積算見積書入力データ存在確認
545
                if (ExistEstimateData(OperationPrcess))
546
                {
547
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.EstimateInput;
548
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
549
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
550
                }
551
                // 4:積算見積書印刷データ存在確認
552
                if (ExistEstimateDataPrint())
553
                {
554
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.EstimatePrint;
555
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
556
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
557
                }
558
                // 5:積算予算書入力データ存在確認
559
                if (ExistEstimateBudget(OperationPrcess))
560
                {
561
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.EstimateBudget;
562
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
563
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
564
                }
565
                // 6:工事予算書入力データ存在確認
566
                if (ExistConstructionBudget())
567
                {
568
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.ConstructionBudget;
569
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
570
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
571
                }
572
                // 8:工事案件コピー機能データ存在確認
573
                if (ExistConstructionDataCopy())
574
                {
575
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.ConstructionCopyList;
576
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
577
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
578
                }
579
                // 9:注文書入力データ存在確認
580
                if (ExistPurchaseOrder())
581
                {
582
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry;
583
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
584
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
585
                }
586
                //10:注文書印刷データ存在確認
587
                if (ExistPurchasePrint())
588
                {
589
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint;
590
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
591
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
592
                }
593
                // 13:工事詳細台帳
594
                if (ExistConstructionLedger())
595
                {
596
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
597
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
598
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
599
                }
600
                // 31:請求入力データ存在確認
601
                if (ExistRequestInput())
602
                {
603
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.RequestInput;
604
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
605
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
606
                }
607
                // 32:請求書印刷データ存在確認
608
                if (ExistRequestPrint())
609
                {
610
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
611
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
612
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
613
                }
614
                // 30:入金入力データ存在確認
615
                if (ExistPaymentConf())
616
                {
617
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
618
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
619
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
620
                }
621
                // 16:工事日報入力
622
                if (ExistDRConstruction())
623
                {
624
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.DRConstruction;
625
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
626
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
627
                }
628
                // 17:打合せ議事録入力
629
                if (ExistProceedings())
630
                {
631
                    ProcNo = (int)ClsExcute.ProcessExecuteNo.Proceedings;
632
                    string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", "");
633
                    ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName));
634
                }
493 635
            }
636
            catch (Exception ex)
637
            {
638
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
639
            }
494 640
        }
495 641
        #endregion
496 642

  
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.cs
907 907
                data.FromCode = CommonMotions.LoginUserData.PersonCode;
908 908
                data.FromName = CommonMotions.LoginUserData.PersonName;
909 909

  
910
                data.MessageTitle = string.Format("入金確認({0})", OrderersName.Text);
910
                data.MessageTitle = string.Format("入金確認({0})", OrderersName.Text.Trim());
911 911

  
912 912
                StringBuilder strContentText = new StringBuilder();
913
                strContentText.AppendFormat("{0}様より入金がありました。\r\n", OrderersName.Text);
913
                strContentText.AppendFormat("{0}様より入金がありました。\r\n", OrderersName.Text.Trim());
914 914
                strContentText.Append("入金内容の確認をよろしくお願いします。");
915 915

  
916 916
                // 入金情報

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