リビジョン 345
common:経費率リスト取得処理・コンボボックスチェック追加
工事情報入力:営業期変更を受注迄に変更・データチェックループ処理へ変更
工事予算書入力:経費率リスト取得Commonへ移動
工事詳細台帳入力:経費率リスト取得Commonへ移動
部署別台帳一覧:経費率リスト取得Commonへ移動・経費数可変修正中
台帳未作成一覧:経費計算分が合計に反映されないバグ修正
注文書入力:作成中データ一括選択ボタン追加・終了時一覧画面へ戻る様に修正
メニュー:受注案件部署別計グリッドバグ修正
branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs | ||
---|---|---|
1325 | 1325 |
} |
1326 | 1326 |
#endregion |
1327 | 1327 |
|
1328 |
#region 画面フィールドコンボボックスチェック |
|
1329 |
/// <summary> |
|
1330 |
/// 画面フィールド入力コンボボックスチェック |
|
1331 |
/// </summary> |
|
1332 |
/// <param name="dispControl">コントロールオブジェクト</param> |
|
1333 |
/// <param name="indispensable">true:必須入力チェック</param> |
|
1334 |
/// <returns>false:エラー true:エラーなし</returns> |
|
1335 |
public static bool DispFieldCombCheck(Control dispControl, bool indispensable = false) |
|
1336 |
{ |
|
1337 |
bool bAns = true; |
|
1338 |
try |
|
1339 |
{ |
|
1340 |
ComboBox comboBox = (ComboBox)dispControl; |
|
1341 |
// 必須入力チェック |
|
1342 |
if (indispensable) |
|
1343 |
{ |
|
1344 |
bAns = DispFieldIndispensable(dispControl); |
|
1345 |
// 必須時未定はエラー |
|
1346 |
if (dispControl.Text.Equals(CommonDefine.s_UndecidedString)) bAns = false; |
|
1347 |
} |
|
1348 |
|
|
1349 |
if (dispControl.Text.ToString().Length != 0) |
|
1350 |
{ |
|
1351 |
// 未定はエラーにしない |
|
1352 |
if (!indispensable && dispControl.Text.Equals(CommonDefine.s_UndecidedString)) { } |
|
1353 |
else |
|
1354 |
{ |
|
1355 |
// 入力チェック |
|
1356 |
if (dispControl.Text.ToString().Length == 0) bAns = false; |
|
1357 |
} |
|
1358 |
} |
|
1359 |
} |
|
1360 |
catch (Exception ex) |
|
1361 |
{ |
|
1362 |
logger.ErrorFormat("システムエラー:{0}:{1}:{2}", GetMethodName(), GetMethodName(2), ex.Message); |
|
1363 |
bAns = false; |
|
1364 |
} |
|
1365 |
finally |
|
1366 |
{ |
|
1367 |
// 背景色変更 |
|
1368 |
chgBackColor(dispControl, bAns); |
|
1369 |
} |
|
1370 |
return bAns; |
|
1371 |
} |
|
1372 |
#endregion |
|
1373 |
|
|
1328 | 1374 |
#region 画面フィールド入力郵便番号チェック |
1329 | 1375 |
/// <summary> |
1330 | 1376 |
/// 画面フィールド入力郵便番号チェック |
... | ... | |
3542 | 3588 |
} |
3543 | 3589 |
#endregion |
3544 | 3590 |
|
3591 |
#region 経費率データ読込み並び |
|
3592 |
/// <summary> |
|
3593 |
/// 経費率データ読込み並び |
|
3594 |
/// </summary> |
|
3595 |
public enum ExpensesArray |
|
3596 |
{ |
|
3597 |
/// <summary> |
|
3598 |
/// 0:経費名称 |
|
3599 |
/// </summary> |
|
3600 |
ExpensesName = 0, |
|
3601 |
/// <summary> |
|
3602 |
/// 1:経費率 |
|
3603 |
/// </summary> |
|
3604 |
ExpensesRaito, |
|
3605 |
/// <summary> |
|
3606 |
/// 2:経費名称コード |
|
3607 |
/// </summary> |
|
3608 |
NameCode, |
|
3609 |
/// <summary> |
|
3610 |
/// 3:部署コード |
|
3611 |
/// </summary> |
|
3612 |
DepCode, |
|
3613 |
} |
|
3614 |
#endregion |
|
3615 |
|
|
3545 | 3616 |
#region 経費率リスト取得処理 |
3546 | 3617 |
/// <summary> |
3547 | 3618 |
/// 経費率リストを取得する |
... | ... | |
3560 | 3631 |
strSQL.Append(" A.NAMESTRING"); |
3561 | 3632 |
strSQL.Append(", IFNULL(B.EXPENSESRAITO, 0)"); |
3562 | 3633 |
strSQL.Append(", A.NAMECODE"); |
3634 |
strSQL.Append(", B.DEPARTMENTCODE"); |
|
3563 | 3635 |
strSQL.Append(" FROM"); |
3564 | 3636 |
strSQL.Append(" DIVISIONMASTER AS A"); |
3565 | 3637 |
strSQL.Append(" LEFT JOIN ("); |
... | ... | |
3572 | 3644 |
strSQL.Append(" DEPARTMENTEXPENSESMASTER) AS B"); |
3573 | 3645 |
strSQL.Append(" ON A.NAMECODE = B.NAMECODE"); |
3574 | 3646 |
strSQL.AppendFormat(" AND B.EXPENSESPERIOD = {0}", Preiod); |
3575 |
strSQL.AppendFormat(" AND B.DEPARTMENTCODE = {0}", DepartmentCode); |
|
3647 |
if(DepartmentCode > 0) strSQL.AppendFormat(" AND B.DEPARTMENTCODE = {0}", DepartmentCode);
|
|
3576 | 3648 |
strSQL.AppendFormat(" WHERE A.DIVISIONCODE = {0}", (int)DivisionMaster.DivisionMasterCodeDef.ConstructionExpenses); |
3577 | 3649 |
strSQL.Append(" ORDER BY A.DISPLAYORDER"); |
3578 | 3650 |
} |
... | ... | |
3582 | 3654 |
strSQL.Append(" NAMESTRING"); |
3583 | 3655 |
strSQL.Append(", EXPENSESRAITO"); |
3584 | 3656 |
strSQL.Append(", NAMECODE"); |
3657 |
strSQL.Append(", DEPARTMENTCODE"); |
|
3585 | 3658 |
strSQL.Append(" FROM"); |
3586 | 3659 |
strSQL.Append(" DEPARTMENTEXPENSESMASTER AS B"); |
3587 | 3660 |
strSQL.AppendFormat(" WHERE B.EXPENSESPERIOD = {0}", Preiod); |
3588 |
strSQL.AppendFormat(" AND B.DEPARTMENTCODE = {0}", DepartmentCode); |
|
3661 |
if (DepartmentCode > 0) strSQL.AppendFormat(" AND B.DEPARTMENTCODE = {0}", DepartmentCode);
|
|
3589 | 3662 |
strSQL.Append(" ORDER BY B.DISPLAYORDER"); |
3590 | 3663 |
} |
3591 | 3664 |
|
branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs | ||
---|---|---|
14 | 14 |
/// <summary> |
15 | 15 |
/// 本体バージョン |
16 | 16 |
/// </summary> |
17 |
public static int s_SystemVersion = 192;
|
|
17 |
public static int s_SystemVersion = 196;
|
|
18 | 18 |
|
19 | 19 |
/// <summary> |
20 | 20 |
/// コピー・環境バージョン |
branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsCommonCosts.cs | ||
---|---|---|
49 | 49 |
#region 積み上げ共通仮設費 |
50 | 50 |
/// <summary> |
51 | 51 |
/// 積み上げ共通仮設費[工種キー] |
52 |
/// 11 積み上げ共通仮設費 ※公共工事
|
|
52 |
/// 10 積み上げ共通仮設費 ※公共工事
|
|
53 | 53 |
/// </summary> |
54 |
public static int s_PileUpCommonTempory = 11;
|
|
54 |
public static int s_PileUpCommonTempory = 10;
|
|
55 | 55 |
#endregion |
56 | 56 |
|
57 | 57 |
#region 共通仮設算定率 |
branches/src/ProcessManagement/ProcessManagement/DataModel/DepartmentExpenses.cs | ||
---|---|---|
11 | 11 |
public class DepartmentExpenses |
12 | 12 |
{ |
13 | 13 |
#region メンバ変数 |
14 |
private int m_DepartmentCode = 0; // 工事種別コード
|
|
14 |
private int m_DepartmentCode = 0; // 部署コード
|
|
15 | 15 |
private int m_ExpensesPeriod = 0; // 事業期 |
16 | 16 |
private int m_NameCode = 0; // 経費区分コード |
17 | 17 |
private string m_NameString = string.Empty; // 経費名称 |
... | ... | |
28 | 28 |
|
29 | 29 |
#region プロパティ |
30 | 30 |
/// <summary> |
31 |
/// 区分コード
|
|
31 |
/// 部署コード
|
|
32 | 32 |
/// </summary> |
33 | 33 |
public int DepartmentCode |
34 | 34 |
{ |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs | ||
---|---|---|
410 | 410 |
/// <summary> |
411 | 411 |
/// ?t?B?[???h????e?[?u?? |
412 | 412 |
/// </summary> |
413 |
private List<KeyValuePair<int, string>> s_FieldName = new List<KeyValuePair<int, string>>(){ |
|
414 |
new KeyValuePair<int, string>( 0,"?H???R?[?h"), |
|
415 |
new KeyValuePair<int, string>( 1,"?H???N?x"), |
|
416 |
new KeyValuePair<int, string>( 2,"?H????"), |
|
417 |
new KeyValuePair<int, string>( 3,"?c??S????R?[?h"), |
|
418 |
new KeyValuePair<int, string>( 4,"?H???S????R?[?h"), |
|
419 |
new KeyValuePair<int, string>( 5,"??????"), |
|
420 |
new KeyValuePair<int, string>( 6,"?????o??"), |
|
421 |
new KeyValuePair<int, string>( 7,"?????o??????z"), |
|
422 |
new KeyValuePair<int, string>( 8,"?????o??????z"), |
|
423 |
new KeyValuePair<int, string>( 9,"???"), |
|
424 |
new KeyValuePair<int, string>(10,"?????\???"), |
|
425 |
new KeyValuePair<int, string>(11,"?{?H?J?n??"), |
|
426 |
new KeyValuePair<int, string>(12,"?{?H??????"), |
|
427 |
new KeyValuePair<int, string>(13,"??????????z"), |
|
428 |
new KeyValuePair<int, string>(14,"???????"), |
|
429 |
new KeyValuePair<int, string>(15,"??????R?[?h"), |
|
430 |
new KeyValuePair<int, string>(16,"????L??????"), |
|
431 |
new KeyValuePair<int, string>(17,"?H???J?n??"), |
|
432 |
new KeyValuePair<int, string>(18,"?H???I????"), |
|
433 |
new KeyValuePair<int, string>(19,"???????"), |
|
434 |
new KeyValuePair<int, string>(20,"?H??????"), |
|
435 |
new KeyValuePair<int, string>(21,"?X????"), |
|
436 |
new KeyValuePair<int, string>(22,"?H?????Z???P"), |
|
437 |
new KeyValuePair<int, string>(23,"?H?????Z???Q"), |
|
438 |
new KeyValuePair<int, string>(24,"?H?????Z???R"), |
|
439 |
new KeyValuePair<int, string>(25,"?H???T?v?P"), |
|
440 |
new KeyValuePair<int, string>(26,"?H???T?v?Q"), |
|
441 |
new KeyValuePair<int, string>(27,"?H???T?v?R"), |
|
442 |
new KeyValuePair<int, string>(28,"?H???T?v?S"), |
|
443 |
new KeyValuePair<int, string>(29,"?H???T?v?T"), |
|
444 |
new KeyValuePair<int, string>(30,"?x???i?P"), |
|
445 |
new KeyValuePair<int, string>(31,"?x???i?Q"), |
|
446 |
new KeyValuePair<int, string>(32,"??r?H???P"), |
|
447 |
new KeyValuePair<int, string>(33,"??r?H???Q"), |
|
448 |
new KeyValuePair<int, string>(34,"???l?P"), |
|
449 |
new KeyValuePair<int, string>(35,"???l?Q"), |
|
450 |
new KeyValuePair<int, string>(36,"?????\????R?????g"), |
|
451 |
new KeyValuePair<int, string>(37,"?H???S????R?????g"), |
|
452 |
new KeyValuePair<int, string>(38,"?{?H?????R?????g"), |
|
453 |
new KeyValuePair<int, string>(39,"?c??R?????g"), |
|
454 |
new KeyValuePair<int, string>(40,"?????R?????g"), |
|
455 |
new KeyValuePair<int, string>(41,"?????R?????g"), |
|
456 |
new KeyValuePair<int, string>(42,"??I?X?V??"), |
|
457 |
new KeyValuePair<int, string>(43,"?H?????"), |
|
458 |
new KeyValuePair<int, string>(44,"?????o????"), |
|
459 |
new KeyValuePair<int, string>(45,"?H???w????"), |
|
460 |
new KeyValuePair<int, string>(46,"?H??????R?[?h"), |
|
461 |
new KeyValuePair<int, string>(47,"?H??????"), |
|
462 |
new KeyValuePair<int, string>(48,"??????????z"), |
|
463 |
new KeyValuePair<int, string>(49,"?_??H???J?n"), |
|
464 |
new KeyValuePair<int, string>(50,"?_??H??????"), |
|
465 |
new KeyValuePair<int, string>(51,"???????(???g?b?v)"), |
|
466 |
new KeyValuePair<int, string>(52,"?????????J?n??"), |
|
467 |
new KeyValuePair<int, string>(53,"?????m?F??"), |
|
468 |
new KeyValuePair<int, string>(54,"?J?n?\???"), |
|
469 |
new KeyValuePair<int, string>(55,"?c??S??????"), |
|
470 |
new KeyValuePair<int, string>(56,"??Z????m?F?\????"), |
|
471 |
new KeyValuePair<int, string>(57,"??Z??????F??"), |
|
472 |
new KeyValuePair<int, string>(58,"??Z?\?Z?m?F?\????"), |
|
473 |
new KeyValuePair<int, string>(59,"??Z?\?Z???F??"), |
|
474 |
new KeyValuePair<int, string>(60,"?????"), |
|
475 |
new KeyValuePair<int, string>(61,"????"), |
|
476 |
new KeyValuePair<int, string>(62,"?H???S??????"), |
|
477 |
new KeyValuePair<int, string>(63,"?_??H???J?n?i???????j"), |
|
478 |
new KeyValuePair<int, string>(64,"?_??H???????i???????j"), |
|
479 |
new KeyValuePair<int, string>(65,"?{?H?????J?n??"), |
|
480 |
new KeyValuePair<int, string>(66,"?H???\?Z?\????"), |
|
481 |
new KeyValuePair<int, string>(67,"?H???\?Z???F??"), |
|
482 |
new KeyValuePair<int, string>(68,"???????\????"), |
|
483 |
new KeyValuePair<int, string>(69,"?????????F??"), |
|
484 |
new KeyValuePair<int, string>(70,"????????????"), |
|
485 |
new KeyValuePair<int, string>(71,"???????X????"), |
|
486 |
new KeyValuePair<int, string>(72,"???????????"), |
|
487 |
new KeyValuePair<int, string>(73,"??????????m?F??"), |
|
488 |
new KeyValuePair<int, string>(74,"???????\????"), |
|
489 |
new KeyValuePair<int, string>(75,"???????F??"), |
|
490 |
new KeyValuePair<int, string>(76,"????????????"), |
|
491 |
new KeyValuePair<int, string>(77,"???????X????"), |
|
492 |
new KeyValuePair<int, string>(78,"?H?????S??????"), |
|
493 |
new KeyValuePair<int, string>(79,"?w????????"), |
|
494 |
new KeyValuePair<int, string>(80,"?H?????S????R?[?h"), |
|
495 |
new KeyValuePair<int, string>(81,"?H???????????????"), |
|
496 |
new KeyValuePair<int, string>(82,"??????????"), |
|
497 |
new KeyValuePair<int, string>(83,"?????\???"), |
|
498 |
new KeyValuePair<int, string>(84,"???????s??"), |
|
499 |
new KeyValuePair<int, string>(85,"??????????????"), |
|
500 |
new KeyValuePair<int, string>(86,"?????????????R?????g") |
|
501 |
}; |
|
413 |
private List<KeyValuePair<int, string>> s_FieldName = new List<KeyValuePair<int, string>>(){ |
|
414 |
new KeyValuePair<int, string>( 0,"?H???R?[?h"), |
|
415 |
new KeyValuePair<int, string>( 1,"?H???N?x "), |
|
416 |
new KeyValuePair<int, string>( 2,"?H????"), |
|
417 |
new KeyValuePair<int, string>( 3,"?c??S????R?[?h"), |
|
418 |
new KeyValuePair<int, string>( 4,"?H???S????R?[?h"), |
|
419 |
new KeyValuePair<int, string>( 5,"??????"), |
|
420 |
new KeyValuePair<int, string>( 6,"?????o??"), |
|
421 |
new KeyValuePair<int, string>( 7,"?????o??????z"), |
|
422 |
new KeyValuePair<int, string>( 8,"?????o??????z"), |
|
423 |
new KeyValuePair<int, string>( 9,"???"), |
|
424 |
new KeyValuePair<int, string>( 10,"?????\???"), |
|
425 |
new KeyValuePair<int, string>( 11,"?{?H?J?n??"), |
|
426 |
new KeyValuePair<int, string>( 12,"?{?H??????"), |
|
427 |
new KeyValuePair<int, string>( 13,"??????????z"), |
|
428 |
new KeyValuePair<int, string>( 14,"???????"), |
|
429 |
new KeyValuePair<int, string>( 15,"??????R?[?h"), |
|
430 |
new KeyValuePair<int, string>( 16,"????L??????"), |
|
431 |
new KeyValuePair<int, string>( 17,"?H???J?n??"), |
|
432 |
new KeyValuePair<int, string>( 18,"?H???I????"), |
|
433 |
new KeyValuePair<int, string>( 19,"??????? "), |
|
434 |
new KeyValuePair<int, string>( 20,"?H??????"), |
|
435 |
new KeyValuePair<int, string>( 21,"?X????"), |
|
436 |
new KeyValuePair<int, string>( 22,"?H?????Z???P"), |
|
437 |
new KeyValuePair<int, string>( 23,"?H?????Z???Q"), |
|
438 |
new KeyValuePair<int, string>( 24,"?H?????Z???R"), |
|
439 |
new KeyValuePair<int, string>( 25,"?H???T?v?P"), |
|
440 |
new KeyValuePair<int, string>( 26,"?H???T?v?Q"), |
|
441 |
new KeyValuePair<int, string>( 27,"?H???T?v?R"), |
|
442 |
new KeyValuePair<int, string>( 28,"?H???T?v?S"), |
|
443 |
new KeyValuePair<int, string>( 29,"?H???T?v?T"), |
|
444 |
new KeyValuePair<int, string>( 30,"?x???i?P"), |
|
445 |
new KeyValuePair<int, string>( 31,"?x???i?Q"), |
|
446 |
new KeyValuePair<int, string>( 32,"??r?H???P"), |
|
447 |
new KeyValuePair<int, string>( 33,"??r?H???Q"), |
|
448 |
new KeyValuePair<int, string>( 34,"???l?P"), |
|
449 |
new KeyValuePair<int, string>( 35,"???l?Q"), |
|
450 |
new KeyValuePair<int, string>( 36,"?????\????R?????g"), |
|
451 |
new KeyValuePair<int, string>( 37,"?H???S????R?????g"), |
|
452 |
new KeyValuePair<int, string>( 38,"?{?H?????R?????g"), |
|
453 |
new KeyValuePair<int, string>( 39,"?c??R?????g"), |
|
454 |
new KeyValuePair<int, string>( 40,"?????R?????g"), |
|
455 |
new KeyValuePair<int, string>( 41,"?????R?????g"), |
|
456 |
new KeyValuePair<int, string>( 42,"?????????????R?????g"), |
|
457 |
new KeyValuePair<int, string>( 43,"??I?X?V??"), |
|
458 |
new KeyValuePair<int, string>( 44,"?H?????"), |
|
459 |
new KeyValuePair<int, string>( 45,"?????o????"), |
|
460 |
new KeyValuePair<int, string>( 46,"?H???w????"), |
|
461 |
new KeyValuePair<int, string>( 47,"?H??????R?[?h"), |
|
462 |
new KeyValuePair<int, string>( 48,"?H??????"), |
|
463 |
new KeyValuePair<int, string>( 49,"??????????z"), |
|
464 |
new KeyValuePair<int, string>( 50,"?_??H???J?n"), |
|
465 |
new KeyValuePair<int, string>( 51,"?_??H??????"), |
|
466 |
new KeyValuePair<int, string>( 52,"?H??????(???g?b?v)"), |
|
467 |
new KeyValuePair<int, string>( 53,"?????????J?n??"), |
|
468 |
new KeyValuePair<int, string>( 54,"?????m?F??"), |
|
469 |
new KeyValuePair<int, string>( 55,"?J?n?\???"), |
|
470 |
new KeyValuePair<int, string>( 56,"?c??S??????"), |
|
471 |
new KeyValuePair<int, string>( 57,"??Z????m?F?\????"), |
|
472 |
new KeyValuePair<int, string>( 58,"??Z??????F??"), |
|
473 |
new KeyValuePair<int, string>( 59,"??Z?\?Z?m?F?\????"), |
|
474 |
new KeyValuePair<int, string>( 60,"??Z?\?Z???F??"), |
|
475 |
new KeyValuePair<int, string>( 61,"?????"), |
|
476 |
new KeyValuePair<int, string>( 62,"????"), |
|
477 |
new KeyValuePair<int, string>( 63,"?H???S??????"), |
|
478 |
new KeyValuePair<int, string>( 64,"?_??H???J?n?i???????j"), |
|
479 |
new KeyValuePair<int, string>( 65,"?_??H???????i???????j"), |
|
480 |
new KeyValuePair<int, string>( 66,"?{?H?????J?n??"), |
|
481 |
new KeyValuePair<int, string>( 67,"?H???\?Z?\????"), |
|
482 |
new KeyValuePair<int, string>( 68,"?H???\?Z???F??"), |
|
483 |
new KeyValuePair<int, string>( 69,"???????\????"), |
|
484 |
new KeyValuePair<int, string>( 70,"?????????F??"), |
|
485 |
new KeyValuePair<int, string>( 71,"????????????"), |
|
486 |
new KeyValuePair<int, string>( 72,"???????X????"), |
|
487 |
new KeyValuePair<int, string>( 73,"???????????"), |
|
488 |
new KeyValuePair<int, string>( 74,"??????????m?F??"), |
|
489 |
new KeyValuePair<int, string>( 75,"???????\????"), |
|
490 |
new KeyValuePair<int, string>( 76,"???????F??"), |
|
491 |
new KeyValuePair<int, string>( 77,"????????????"), |
|
492 |
new KeyValuePair<int, string>( 78,"???????X????"), |
|
493 |
new KeyValuePair<int, string>( 79,"?H?????S??????"), |
|
494 |
new KeyValuePair<int, string>( 80,"?w????????"), |
|
495 |
new KeyValuePair<int, string>( 81,"?H?????S????R?[?h"), |
|
496 |
new KeyValuePair<int, string>( 82,"?H???????????????"), |
|
497 |
new KeyValuePair<int, string>( 83,"??????????"), |
|
498 |
new KeyValuePair<int, string>( 84,"?????\???"), |
|
499 |
new KeyValuePair<int, string>( 85,"???????s??"), |
|
500 |
new KeyValuePair<int, string>( 86,"??????????????"), |
|
501 |
new KeyValuePair<int, string>( 87,"?c????S??????"), |
|
502 |
new KeyValuePair<int, string>( 88,"?c????S????R?[?h")}; |
|
502 | 503 |
#endregion |
503 | 504 |
|
504 | 505 |
#region ?R???{?{?b?N?X?f?[?^?J???? |
... | ... | |
674 | 675 |
{false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false}, // 47:?H??????R?[?h |
675 | 676 |
{false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 48:?H?????? |
676 | 677 |
{false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false}, // 49:??????????z |
677 |
{false, false, true, false, false, false, true, true, true, true, true, false, false, false, false, false, true, true}, // 50:?_??H???J?n
|
|
678 |
{false, false, true, false, false, false, true, true, true, true, true, false, false, false, false, false, true, true}, // 51:?_??H??????
|
|
678 |
{false, false, true, false, true, true, true, true, true, true, true, false, false, false, false, false, true, true}, // 50:?_??H???J?n
|
|
679 |
{false, false, true, false, true, true, true, true, true, true, true, false, false, false, false, false, true, true}, // 51:?_??H??????
|
|
679 | 680 |
{true, true, true, true, true, true, true, true, true, true, true, false, false, false, false, false, true, true}, // 52:???????(???g?b?v) |
680 | 681 |
{false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 53:?????????J?n?? |
681 | 682 |
{false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 54:?????m?F?? |
... | ... | |
740 | 741 |
private static bool[,] FieldLockMap = new bool[,]{ |
741 | 742 |
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
742 | 743 |
{ false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 0:?H???R?[?h?i???x???j |
743 |
{ false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 1:?H???N?x ?i??\???j
|
|
744 |
{ true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 2:?H????
|
|
744 |
{ true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 1:?H???N?x ?i??\???j
|
|
745 |
{ true, true, false, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 2:?H????
|
|
745 | 746 |
{ true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 3:?c??S????R?[?h |
746 | 747 |
{ true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, true, true}, // 4:?H???S????R?[?h |
747 | 748 |
{ true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, // 5:?????? |
... | ... | |
1114 | 1115 |
} |
1115 | 1116 |
} |
1116 | 1117 |
#endregion |
1117 |
|
|
1118 |
|
|
1118 | 1119 |
#region ?Z???????{?^?????? |
1119 | 1120 |
/// <summary> |
1120 | 1121 |
/// ?Z???????{?^?????? |
... | ... | |
1151 | 1152 |
// ???\?? |
1152 | 1153 |
//Fad.ShowInTaskbar = false; |
1153 | 1154 |
Fad.ShowDialog(); |
1154 |
|
|
1155 |
|
|
1155 | 1156 |
// ?L?????Z???{?^?????? |
1156 | 1157 |
if (Fad.CancelButtonClick) return; |
1157 | 1158 |
|
... | ... | |
1250 | 1251 |
DispApprovalStatusListControl(); |
1251 | 1252 |
} |
1252 | 1253 |
#endregion |
1253 |
|
|
1254 |
|
|
1254 | 1255 |
#region ?~?{?^?????????? |
1255 | 1256 |
/// <summary> |
1256 | 1257 |
/// ?~?{?^?????????? |
... | ... | |
1568 | 1569 |
// ???????Z?b?g???? |
1569 | 1570 |
m_DspCtrl[(int)DspCnt.TransferConstructionDate].Text = DateTime.Now.ToShortDateString(); |
1570 | 1571 |
|
1571 |
|
|
1572 |
|
|
1572 | 1573 |
int transferCode = CommonMotions.cnvInt(cmbTransferConstruction.SelectedValue); |
1573 | 1574 |
if (transferCode > 99999) |
1574 | 1575 |
{ // ??????l????H???S???????? |
... | ... | |
2078 | 2079 |
BillingStatusChage(); |
2079 | 2080 |
|
2080 | 2081 |
CommonMotions.EntryEndMessage("?????m?F????", "??X"); |
2081 |
|
|
2082 |
|
|
2082 | 2083 |
this.Close(); |
2083 | 2084 |
} |
2084 | 2085 |
#endregion |
... | ... | |
2120 | 2121 |
private void cmbYear_SelectedIndexChanged(object sender, EventArgs e) |
2121 | 2122 |
{ |
2122 | 2123 |
// ?R???{?{?b?N?X?Z?b?g |
2123 |
SetDepartmentCombbox(); // ????
|
|
2124 |
SetDepartmentCombbox(false); // ????
|
|
2124 | 2125 |
} |
2125 | 2126 |
#endregion |
2126 | 2127 |
} |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs | ||
---|---|---|
200 | 200 |
// ?i?????? |
201 | 201 |
int iStatusCount = GetStatusForCheckBox(); |
202 | 202 |
|
203 |
// ?????? |
|
204 |
if (m_DspCtrl[(int)DspCnt.RequestedDate].Text.Length != 0) iLength++; |
|
205 |
bPara = FieldCheckMap[(int)DspCnt.RequestedDate, iStatusCount]; |
|
206 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.RequestedDate], bPara)) |
|
207 |
iNGno = (int)DspCnt.RequestedDate; |
|
203 |
int DspCtrlCnt = Enum.GetNames(typeof(DspCnt)).Length; |
|
204 |
for (int ix = 0; ix < DspCtrlCnt; ix++) |
|
205 |
{ |
|
206 |
switch (ix) |
|
207 |
{ |
|
208 |
// 1:?H???N?x |
|
209 |
case (int)DspCnt.ConstructionYear: |
|
210 |
// 2:?H???? |
|
211 |
case (int)DspCnt.ConstructionPeriod: |
|
212 |
break; |
|
213 |
// 3:?c??S????R?[?h |
|
214 |
case (int)DspCnt.SalesPersonCode: |
|
215 |
// 4:?H???S????R?[?h |
|
216 |
case (int)DspCnt.ConstructionPersonCode: |
|
217 |
// 15:??????R?[?h |
|
218 |
case (int)DspCnt.OrderersCode: |
|
219 |
// 14:??????? |
|
220 |
case (int)DspCnt.OrderersDivision: |
|
221 |
// 44:?H????? |
|
222 |
case (int)DspCnt.ConstructionType: |
|
223 |
// 46:?H???w???? |
|
224 |
case (int)DspCnt.ConstructionInstructor: |
|
225 |
// 47:?H??????R?[?h |
|
226 |
case (int)DspCnt.TransferConstruction: |
|
227 |
// 56:?c??S?????? |
|
228 |
case (int)DspCnt.SalesDepartment: |
|
229 |
// 63:?H???S?????? |
|
230 |
case (int)DspCnt.ConstructionDepartment: |
|
231 |
// 79:?H?????S?????? |
|
232 |
case (int)DspCnt.ConstrSubDepartment: |
|
233 |
// 80:?w???????? |
|
234 |
case (int)DspCnt.InstructorDepartment: |
|
235 |
// 81:?H?????S????R?[?h |
|
236 |
case (int)DspCnt.ConstrSubPersonCode: |
|
237 |
// 87:?c????S?????? |
|
238 |
case (int)DspCnt.SalesSubDepartment: |
|
239 |
// 88:?c????S????R?[?h |
|
240 |
case (int)DspCnt.SalesSubPersonCode: |
|
241 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
242 |
CommonMotions.chgBackColor(m_DspCtrl[ix], true); |
|
243 |
bPara = FieldCheckMap[ix, iStatusCount]; |
|
244 |
if (!CommonMotions.DispFieldCombCheck(m_DspCtrl[ix], bPara)) |
|
245 |
iNGno = ix; |
|
246 |
break; |
|
208 | 247 |
|
209 |
// ?H????? |
|
210 |
if (m_DspCtrl[(int)DspCnt.ConstructionType].Text.Length != 0) iLength++; |
|
211 |
if (!CommonMotions.DispFieldIndispensable(m_DspCtrl[(int)DspCnt.ConstructionType])) |
|
212 |
iNGno = (int)DspCnt.ConstructionType; |
|
248 |
// 7:?????o??????z |
|
249 |
case (int)DspCnt.EstimatesPrice0: |
|
250 |
// 8:?????o??????z |
|
251 |
case (int)DspCnt.EstimatesPrice1: |
|
252 |
// 13:??????????z |
|
253 |
case (int)DspCnt.OrdersDecisionPrice: |
|
254 |
// 49:??????????z |
|
255 |
case (int)DspCnt.OrdersDecisionPriceInTax: |
|
256 |
// ??????????z |
|
257 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
258 |
// ?w?i?F??X |
|
259 |
CommonMotions.chgBackColor(m_DspCtrl[ix], true); |
|
260 |
bPara = FieldCheckMap[ix, iStatusCount]; |
|
261 |
if (!bPara && m_DspCtrl[ix].Text == CommonDefine.s_UndecidedString) { } |
|
262 |
else |
|
263 |
if (!CommonMotions.DispFieldDoubleCheck(m_DspCtrl[ix], bPara)) |
|
264 |
iNGno = ix; |
|
265 |
break; |
|
213 | 266 |
|
214 |
// ?????o???? |
|
215 |
if (m_DspCtrl[(int)DspCnt.EstimatesSubmitDeadline].Text.Length != 0) iLength++; |
|
216 |
bPara = FieldCheckMap[(int)DspCnt.EstimatesSubmitDeadline, iStatusCount]; |
|
217 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.EstimatesSubmitDeadline], bPara)) |
|
218 |
iNGno = (int)DspCnt.EstimatesSubmitDeadline; |
|
267 |
// 5:?????? |
|
268 |
case (int)DspCnt.RequestedDate: |
|
269 |
// 6:?????o?? |
|
270 |
case (int)DspCnt.EstimatesSubmittedDate: |
|
271 |
// 9:??? |
|
272 |
case (int)DspCnt.OrderDate: |
|
273 |
// 10:?????\??? |
|
274 |
case (int)DspCnt.OrderCompletionDate: |
|
275 |
// 11:?{?H?J?n?? |
|
276 |
case (int)DspCnt.ConstructionStartingDate: |
|
277 |
// 12:?{?H?????? |
|
278 |
case (int)DspCnt.ConstructionCompletionDate: |
|
279 |
// 16:????L?????? |
|
280 |
case (int)DspCnt.EstimatesExpirationDate: |
|
281 |
// 17:?H???J?n?? |
|
282 |
case (int)DspCnt.StartDate: |
|
283 |
// 18:?H???I???? |
|
284 |
case (int)DspCnt.EndDate: |
|
285 |
// 45:?????o???? |
|
286 |
case (int)DspCnt.EstimatesSubmitDeadline: |
|
287 |
// 48:?H?????? |
|
288 |
case (int)DspCnt.TransferConstructionDate: |
|
289 |
// 50:?_??H???J?n |
|
290 |
case (int)DspCnt.ConstructionPeriodStart: |
|
291 |
// 51:?_??H?????? |
|
292 |
case (int)DspCnt.ConstructionPeriodEnd: |
|
293 |
// 53:?????????J?n?? |
|
294 |
case (int)DspCnt.BillingStartDate: |
|
295 |
// 54:?????m?F?? |
|
296 |
case (int)DspCnt.BillingComplateDate: |
|
297 |
// 55:?J?n?\??? |
|
298 |
case (int)DspCnt.OrderStartingDate: |
|
299 |
// 57:??Z????m?F?\???? |
|
300 |
case (int)DspCnt.EstimatePetition: |
|
301 |
// 58:??Z??????F?? |
|
302 |
case (int)DspCnt.EstimateApproval: |
|
303 |
// 59:??Z?\?Z?m?F?\???? |
|
304 |
case (int)DspCnt.EstimateBudgetPetition: |
|
305 |
// 60:??Z?\?Z???F?? |
|
306 |
case (int)DspCnt.EstimateBudgetApproval: |
|
307 |
// 61:????? |
|
308 |
case (int)DspCnt.ProvisionalOrderDate: |
|
309 |
// 62:???? |
|
310 |
case (int)DspCnt.NonOrderDate: |
|
311 |
// 64:?_??H???J?n?i???????j |
|
312 |
case (int)DspCnt.ConstructionPeriodStart2: |
|
313 |
// 65:?_??H???????i???????j |
|
314 |
case (int)DspCnt.ConstructionPeriodEnd2: |
|
315 |
// 66:?{?H?????J?n?? |
|
316 |
case (int)DspCnt.PreparationStartDate: |
|
317 |
// 67:?H???\?Z?\???? |
|
318 |
case (int)DspCnt.ConstructionBudgetPetition: |
|
319 |
// 68:?H???\?Z???F?? |
|
320 |
case (int)DspCnt.ConstructionBudgetApproval: |
|
321 |
// 82:?H??????????????? |
|
322 |
case (int)DspCnt.LedgerComplateDate: |
|
323 |
// 84:?????\??? |
|
324 |
case (int)DspCnt.InspectPlanningDate: |
|
325 |
// 85:???????s?? |
|
326 |
case (int)DspCnt.InspectExecuteDate: |
|
327 |
// 86:?????????????? |
|
328 |
case (int)DspCnt.RevCompleteDate: |
|
329 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
330 |
bPara = FieldCheckMap[ix, iStatusCount]; |
|
331 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[ix], bPara)) |
|
332 |
{ |
|
333 |
iNGno = ix; |
|
334 |
switch (ix) |
|
335 |
{ |
|
336 |
case (int)DspCnt.EstimatesExpirationDate: |
|
337 |
// ?L???????G???[?????o????t?H?[?J?X????? |
|
338 |
m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate].Focus(); |
|
339 |
break; |
|
340 |
default: |
|
341 |
break; |
|
342 |
} |
|
343 |
} |
|
344 |
break; |
|
219 | 345 |
|
220 |
// ?????o?? |
|
221 |
if (m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate].Text.Length != 0) iLength++; |
|
222 |
bPara = FieldCheckMap[(int)DspCnt.EstimatesSubmittedDate, iStatusCount]; |
|
223 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate], bPara)) |
|
224 |
iNGno = (int)DspCnt.EstimatesSubmittedDate; |
|
346 |
// 19:??????? |
|
347 |
case (int)DspCnt.OrderersName: |
|
348 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
349 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_OrderersNameLength, true)) |
|
350 |
iNGno = ix; |
|
351 |
break; |
|
352 |
// 20:?H?????? |
|
353 |
case (int)DspCnt.ConstructionName: |
|
354 |
// 52:?H??????(???g?b?v) |
|
355 |
case (int)DspCnt.ConstructionName2: |
|
356 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
357 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_ConstructionNameLength, true)) |
|
358 |
iNGno = ix; |
|
359 |
break; |
|
360 |
// 22:?H?????Z???P |
|
361 |
case (int)DspCnt.ConstructionPlace1: |
|
362 |
// 23:?H?????Z???Q |
|
363 |
case (int)DspCnt.ConstructionPlace2: |
|
364 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
365 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_ConstructionPlaceLength, true)) |
|
366 |
iNGno = ix; |
|
367 |
break; |
|
368 |
// 24:?H?????Z???R |
|
369 |
case (int)DspCnt.ConstructionPlace3: |
|
370 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
371 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_ConstructionPlaceLength)) |
|
372 |
iNGno = ix; |
|
373 |
break; |
|
374 |
// 25:?H???T?v?P |
|
375 |
case (int)DspCnt.Overview1: |
|
376 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
377 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_OverviewLength, true)) |
|
378 |
iNGno = ix; |
|
379 |
break; |
|
380 |
// 26:?H???T?v?Q |
|
381 |
case (int)DspCnt.Overview2: |
|
382 |
// 27:?H???T?v?R |
|
383 |
case (int)DspCnt.Overview3: |
|
384 |
// 28:?H???T?v?S |
|
385 |
case (int)DspCnt.Overview4: |
|
386 |
// 29:?H???T?v?T |
|
387 |
case (int)DspCnt.Overview5: |
|
388 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
389 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_OverviewLength)) |
|
390 |
iNGno = ix; |
|
391 |
break; |
|
392 |
// 30:?x???i?P |
|
393 |
case (int)DspCnt.PaidGoods1: |
|
394 |
// 31:?x???i?Q |
|
395 |
case (int)DspCnt.PaidGoods2: |
|
396 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
397 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_PaidGoodsLength)) |
|
398 |
iNGno = ix; |
|
399 |
break; |
|
400 |
// 32:??r?H???P |
|
401 |
case (int)DspCnt.SeparateProject1: |
|
402 |
// 33:??r?H???Q |
|
403 |
case (int)DspCnt.SeparateProject2: |
|
404 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
405 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_SeparateProjectLength)) |
|
406 |
iNGno = ix; |
|
407 |
break; |
|
408 |
// 34:???l?P |
|
409 |
case (int)DspCnt.Note1: |
|
410 |
// 35:???l?Q |
|
411 |
case (int)DspCnt.Note2: |
|
412 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
413 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_NoteLength)) |
|
414 |
iNGno = ix; |
|
415 |
break; |
|
416 |
// 36:?????\????R?????g |
|
417 |
case (int)DspCnt.OrdersDecisionComment: |
|
418 |
// 37:?H???S????R?????g |
|
419 |
case (int)DspCnt.ContructorComment: |
|
420 |
// 38:?{?H?????R?????g |
|
421 |
case (int)DspCnt.CompleteComment: |
|
422 |
// 39:?c??R?????g |
|
423 |
case (int)DspCnt.SalesComment: |
|
424 |
// 40:?????R?????g |
|
425 |
case (int)DspCnt.BillingComment: |
|
426 |
// 41:?????R?????g |
|
427 |
case (int)DspCnt.PaymentComment: |
|
428 |
// 42:?????????????R?????g |
|
429 |
case (int)DspCnt.RevCompleteComment: |
|
430 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
431 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[ix], s_NoteLength)) |
|
432 |
iNGno = ix; |
|
433 |
break; |
|
225 | 434 |
|
226 |
// ????? |
|
227 |
if (m_DspCtrl[(int)DspCnt.ProvisionalOrderDate].Text.Length != 0) iLength++; |
|
228 |
bPara = FieldCheckMap[(int)DspCnt.ProvisionalOrderDate, iStatusCount]; |
|
229 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ProvisionalOrderDate], bPara)) |
|
230 |
iNGno = (int)DspCnt.ProvisionalOrderDate; |
|
435 |
// 21:?X???? |
|
436 |
case (int)DspCnt.ZipCode: |
|
437 |
if (m_DspCtrl[ix].Text.Length != 0) iLength++; |
|
438 |
if (!CommonMotions.DispFieldZipCodeCheck(m_DspCtrl[ix], true)) |
|
439 |
iNGno = ix; |
|
440 |
break; |
|
231 | 441 |
|
232 |
// ??? |
|
233 |
if (m_DspCtrl[(int)DspCnt.OrderDate].Text.Length != 0) iLength++; |
|
234 |
bPara = FieldCheckMap[(int)DspCnt.OrderDate, iStatusCount]; |
|
235 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.OrderDate], bPara)) |
|
236 |
iNGno = (int)DspCnt.OrderDate; |
|
442 |
default: |
|
443 |
break; |
|
444 |
} |
|
445 |
} |
|
237 | 446 |
|
238 |
// ?J?n?\??? |
|
239 |
if (m_DspCtrl[(int)DspCnt.OrderStartingDate].Text.Length != 0) iLength++; |
|
240 |
bPara = FieldCheckMap[(int)DspCnt.OrderStartingDate, iStatusCount]; |
|
241 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.OrderStartingDate], bPara)) |
|
242 |
iNGno = (int)DspCnt.OrderStartingDate; |
|
243 |
|
|
244 |
// ?????\??? |
|
245 |
if (m_DspCtrl[(int)DspCnt.OrderCompletionDate].Text.Length != 0) iLength++; |
|
246 |
bPara = FieldCheckMap[(int)DspCnt.OrderCompletionDate, iStatusCount]; |
|
247 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.OrderCompletionDate], bPara)) |
|
248 |
iNGno = (int)DspCnt.OrderCompletionDate; |
|
249 |
|
|
447 |
// ----- ???t??O??`?F?b?N |
|
250 | 448 |
// --- ?J?n?\????E?????\????O??`?F?b?N |
251 | 449 |
if (!CompareDateField(m_DspCtrl[(int)DspCnt.OrderStartingDate].Text, m_DspCtrl[(int)DspCnt.OrderCompletionDate].Text)) |
252 | 450 |
{ |
... | ... | |
255 | 453 |
iNGno = (int)DspCnt.OrderCompletionDate; |
256 | 454 |
} |
257 | 455 |
|
258 |
// ?{?H?????J?n?? |
|
259 |
if (m_DspCtrl[(int)DspCnt.PreparationStartDate].Text.Length != 0) iLength++; |
|
260 |
bPara = FieldCheckMap[(int)DspCnt.PreparationStartDate, iStatusCount]; |
|
261 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.PreparationStartDate], bPara)) |
|
262 |
iNGno = (int)DspCnt.PreparationStartDate; |
|
263 |
|
|
264 |
// ?{?H?J?n?? |
|
265 |
if (m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text.Length != 0) iLength++; |
|
266 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionStartingDate, iStatusCount]; |
|
267 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ConstructionStartingDate], bPara)) |
|
268 |
iNGno = (int)DspCnt.ConstructionStartingDate; |
|
269 |
|
|
270 |
// ?{?H?????? |
|
271 |
if (m_DspCtrl[(int)DspCnt.ConstructionCompletionDate].Text.Length != 0) iLength++; |
|
272 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionCompletionDate, iStatusCount]; |
|
273 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ConstructionCompletionDate], bPara)) |
|
274 |
iNGno = (int)DspCnt.ConstructionCompletionDate; |
|
275 |
|
|
276 | 456 |
// --- ?J?n?\????E?????\????O??`?F?b?N |
277 | 457 |
if (!CompareDateField(m_DspCtrl[(int)DspCnt.ConstructionStartingDate].Text, m_DspCtrl[(int)DspCnt.ConstructionCompletionDate].Text)) |
278 | 458 |
{ |
... | ... | |
281 | 461 |
iNGno = (int)DspCnt.ConstructionCompletionDate; |
282 | 462 |
} |
283 | 463 |
|
284 |
// ???? |
|
285 |
if (m_DspCtrl[(int)DspCnt.NonOrderDate].Text.Length != 0) iLength++; |
|
286 |
bPara = FieldCheckMap[(int)DspCnt.NonOrderDate, iStatusCount]; |
|
287 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.NonOrderDate], bPara)) |
|
288 |
iNGno = (int)DspCnt.NonOrderDate; |
|
289 |
|
|
290 |
// ????L?????? |
|
291 |
if (m_DspCtrl[(int)DspCnt.EstimatesExpirationDate].Text.Length != 0) iLength++; |
|
292 |
bPara = FieldCheckMap[(int)DspCnt.EstimatesExpirationDate, iStatusCount]; |
|
293 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.EstimatesExpirationDate], bPara)) |
|
294 |
{ |
|
295 |
iNGno = (int)DspCnt.EstimatesExpirationDate; |
|
296 |
// ?L???????G???[?????o????t?H?[?J?X????? |
|
297 |
m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate].Focus(); |
|
298 |
} |
|
299 |
|
|
300 |
// ??\????R?????g |
|
301 |
if (m_DspCtrl[(int)DspCnt.OrdersDecisionComment].Text.Length != 0) iLength++; |
|
302 |
int ChkStat = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("?? ?? ??")).Key; |
|
303 |
if (GetStatusForCheckBox() == ChkStat) |
|
304 |
{ |
|
305 |
// ???????R?????g?K?{ |
|
306 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.OrdersDecisionComment], s_OrderersNameLength, true)) |
|
307 |
iNGno = (int)DspCnt.OrdersDecisionComment; |
|
308 |
} |
|
309 |
else |
|
310 |
{ |
|
311 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.OrdersDecisionComment], s_OrderersNameLength)) |
|
312 |
iNGno = (int)DspCnt.OrdersDecisionComment; |
|
313 |
} |
|
314 |
|
|
315 |
// ??????????z |
|
316 |
if (m_DspCtrl[(int)DspCnt.OrdersDecisionPrice].Text.Length != 0) iLength++; |
|
317 |
// ?w?i?F??X |
|
318 |
CommonMotions.chgBackColor(m_DspCtrl[(int)DspCnt.OrdersDecisionPrice], true); |
|
319 |
bPara = FieldCheckMap[(int)DspCnt.OrdersDecisionPrice, iStatusCount]; |
|
320 |
if (!bPara && m_DspCtrl[(int)DspCnt.OrdersDecisionPrice].Text == CommonDefine.s_UndecidedString) { } |
|
321 |
else |
|
322 |
if (!CommonMotions.DispFieldDoubleCheck(m_DspCtrl[(int)DspCnt.OrdersDecisionPrice], bPara)) |
|
323 |
iNGno = (int)DspCnt.OrdersDecisionPrice; |
|
324 |
|
|
325 |
// ??????????z |
|
326 |
if (m_DspCtrl[(int)DspCnt.OrdersDecisionPriceInTax].Text.Length != 0) iLength++; |
|
327 |
// ?w?i?F??X |
|
328 |
CommonMotions.chgBackColor(m_DspCtrl[(int)DspCnt.OrdersDecisionPriceInTax], true); |
|
329 |
bPara = FieldCheckMap[(int)DspCnt.OrdersDecisionPriceInTax, iStatusCount]; |
|
330 |
if (!bPara && m_DspCtrl[(int)DspCnt.OrdersDecisionPriceInTax].Text == CommonDefine.s_UndecidedString) { } |
|
331 |
else |
|
332 |
if (!CommonMotions.DispFieldDoubleCheck(m_DspCtrl[(int)DspCnt.OrdersDecisionPriceInTax], bPara)) |
|
333 |
iNGno = (int)DspCnt.OrdersDecisionPriceInTax; |
|
334 |
|
|
335 |
// ????R?[?h |
|
336 |
if (m_DspCtrl[(int)DspCnt.TransferConstruction].Text.Length != 0) iLength++; |
|
337 |
CommonMotions.chgBackColor(m_DspCtrl[(int)DspCnt.TransferConstruction], true); |
|
338 |
bPara = FieldCheckMap[(int)DspCnt.TransferConstruction, iStatusCount]; |
|
339 |
if (bPara) |
|
340 |
{ |
|
341 |
if (!CommonMotions.DispFieldIndispensable(m_DspCtrl[(int)DspCnt.TransferConstruction])) |
|
342 |
iNGno = (int)DspCnt.TransferConstruction; |
|
343 |
} |
|
344 |
|
|
345 |
// ?c??S????R?[?h |
|
346 |
if (m_DspCtrl[(int)DspCnt.SalesPersonCode].Text.Length != 0) iLength++; |
|
347 |
if (!CommonMotions.DispFieldIndispensable(m_DspCtrl[(int)DspCnt.SalesPersonCode])) |
|
348 |
iNGno = (int)DspCnt.SalesPersonCode; |
|
349 |
if (m_DspCtrl[(int)DspCnt.SalesPersonCode].Text.Trim().Equals(CommonDefine.s_UndecidedString)) |
|
350 |
{ |
|
351 |
iNGno = (int)DspCnt.SalesPersonCode; |
|
352 |
// ?w?i?F??X |
|
353 |
CommonMotions.chgBackColor(m_DspCtrl[(int)DspCnt.SalesPersonCode], false); |
|
354 |
} |
|
355 |
|
|
356 |
// ??????? |
|
357 |
if (m_DspCtrl[(int)DspCnt.OrderersDivision].Text.Length != 0) iLength++; |
|
358 |
if (!CommonMotions.DispFieldIndispensable(m_DspCtrl[(int)DspCnt.OrderersDivision])) |
|
359 |
iNGno = (int)DspCnt.OrderersDivision; |
|
360 |
|
|
361 |
// ??????R?[?h |
|
362 |
if (m_DspCtrl[(int)DspCnt.OrderersCode].Text.Length != 0) iLength++; |
|
363 |
if (!CommonMotions.DispFieldIndispensable(m_DspCtrl[(int)DspCnt.OrderersCode])) |
|
364 |
iNGno = (int)DspCnt.OrderersCode; |
|
365 |
|
|
366 |
// ????????? |
|
367 |
if (m_DspCtrl[(int)DspCnt.OrderersName].Text.Length != 0) iLength++; |
|
368 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.OrderersName], s_OrderersNameLength, true)) |
|
369 |
iNGno = (int)DspCnt.OrderersName; |
|
370 |
|
|
371 |
// ?H?????? |
|
372 |
if (m_DspCtrl[(int)DspCnt.ConstructionName].Text.Length != 0) iLength++; |
|
373 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.ConstructionName], s_ConstructionNameLength, true)) |
|
374 |
iNGno = (int)DspCnt.ConstructionName; |
|
375 |
|
|
376 |
// ?X???? |
|
377 |
if (m_DspCtrl[(int)DspCnt.ZipCode].Text.Length != 0) iLength++; |
|
378 |
if (!CommonMotions.DispFieldZipCodeCheck(m_DspCtrl[(int)DspCnt.ZipCode], true)) |
|
379 |
iNGno = (int)DspCnt.ZipCode; |
|
380 |
|
|
381 |
// ?H?????P |
|
382 |
if (m_DspCtrl[(int)DspCnt.ConstructionPlace1].Text.Length != 0) iLength++; |
|
383 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.ConstructionPlace1], s_ConstructionPlaceLength, true)) |
|
384 |
iNGno = (int)DspCnt.ConstructionPlace1; |
|
385 |
|
|
386 |
// ?H?????Q |
|
387 |
if (m_DspCtrl[(int)DspCnt.ConstructionPlace2].Text.Length != 0) iLength++; |
|
388 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.ConstructionPlace2], s_ConstructionPlaceLength, true)) |
|
389 |
iNGno = (int)DspCnt.ConstructionPlace2; |
|
390 |
|
|
391 |
// ?H?????R |
|
392 |
if (m_DspCtrl[(int)DspCnt.ConstructionPlace3].Text.Length != 0) iLength++; |
|
393 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.ConstructionPlace3], s_ConstructionNameLength)) |
|
394 |
iNGno = (int)DspCnt.ConstructionPlace3; |
|
395 |
|
|
396 |
// ?_??H???J?n |
|
397 |
if (m_DspCtrl[(int)DspCnt.ConstructionPeriodStart].Text.Length != 0) iLength++; |
|
398 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionPeriodStart, iStatusCount]; |
|
399 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ConstructionPeriodStart], bPara)) |
|
400 |
iNGno = (int)DspCnt.ConstructionPeriodStart; |
|
401 |
|
|
402 |
// ?_??H?????? |
|
403 |
if (m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd].Text.Length != 0) iLength++; |
|
404 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionPeriodEnd, iStatusCount]; |
|
405 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd], bPara)) |
|
406 |
iNGno = (int)DspCnt.ConstructionPeriodEnd; |
|
407 |
|
|
408 | 464 |
// --- ?_??H???J?n?E?_??H???????O??`?F?b?N |
409 | 465 |
if (!CompareDateField(m_DspCtrl[(int)DspCnt.ConstructionPeriodStart].Text, m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd].Text)) |
410 | 466 |
{ |
... | ... | |
413 | 469 |
iNGno = (int)DspCnt.ConstructionPeriodEnd; |
414 | 470 |
} |
415 | 471 |
|
416 |
// ?_??H???J?n?i???????j |
|
417 |
if (m_DspCtrl[(int)DspCnt.ConstructionPeriodStart2].Text.Length != 0) iLength++; |
|
418 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionPeriodStart2, iStatusCount]; |
|
419 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ConstructionPeriodStart2], bPara)) |
|
420 |
iNGno = (int)DspCnt.ConstructionPeriodStart2; |
|
421 |
|
|
422 |
// ?_??H???????i???????j |
|
423 |
if (m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd2].Text.Length != 0) iLength++; |
|
424 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionPeriodEnd2, iStatusCount]; |
|
425 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd2], bPara)) |
|
426 |
iNGno = (int)DspCnt.ConstructionPeriodEnd2; |
|
427 |
|
|
428 | 472 |
// --- ?_??H???J?n?E?_??H???????O??`?F?b?N |
429 | 473 |
if (!CompareDateField(m_DspCtrl[(int)DspCnt.ConstructionPeriodStart2].Text, m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd2].Text)) |
430 | 474 |
{ |
... | ... | |
433 | 477 |
iNGno = (int)DspCnt.ConstructionPeriodEnd2; |
434 | 478 |
} |
435 | 479 |
|
436 |
// ?{?H?J?n???H???S?????K?{???? |
|
437 |
bPara = FieldCheckMap[(int)DspCnt.ConstructionPersonCode, iStatusCount]; |
|
438 |
if (bPara) |
|
439 |
{ |
|
440 |
// ?w?i?F??X |
|
441 |
CommonMotions.chgBackColor(m_DspCtrl[(int)DspCnt.ConstructionPersonCode], true); |
|
442 |
// ?H???S????R?[?h |
|
443 |
if (m_DspCtrl[(int)DspCnt.ConstructionPersonCode].Text.Length != 0) iLength++; |
|
444 |
if (!CommonMotions.DispFieldIndispensable(m_DspCtrl[(int)DspCnt.ConstructionPersonCode])) |
|
445 |
iNGno = (int)DspCnt.ConstructionPersonCode; |
|
446 |
if (m_DspCtrl[(int)DspCnt.ConstructionPersonCode].Text.ToString().Equals(CommonDefine.s_UndecidedString)) |
|
447 |
{ |
|
448 |
iNGno = (int)DspCnt.ConstructionPersonCode; |
|
449 |
// ?w?i?F??X |
|
450 |
CommonMotions.chgBackColor(m_DspCtrl[(int)DspCnt.ConstructionPersonCode], false); |
|
451 |
} |
|
452 |
} |
|
453 |
// ?H???J?n?? |
|
454 |
if (m_DspCtrl[(int)DspCnt.StartDate].Text.Length != 0) iLength++; |
|
455 |
bPara = FieldCheckMap[(int)DspCnt.StartDate, iStatusCount]; |
|
456 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.StartDate], bPara)) |
|
457 |
iNGno = (int)DspCnt.StartDate; |
|
458 |
|
|
459 |
// ?H???I???? |
|
460 |
if (m_DspCtrl[(int)DspCnt.EndDate].Text.Length != 0) iLength++; |
|
461 |
bPara = FieldCheckMap[(int)DspCnt.EndDate, iStatusCount]; |
|
462 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.EndDate], bPara)) |
|
463 |
iNGno = (int)DspCnt.EndDate; |
|
464 |
|
|
465 | 480 |
// --- ?H???J?n???E?I?????O??`?F?b?N |
466 | 481 |
if (!CompareDateField(m_DspCtrl[(int)DspCnt.StartDate].Text, m_DspCtrl[(int)DspCnt.EndDate].Text)) |
467 | 482 |
{ |
... | ... | |
470 | 485 |
iNGno = (int)DspCnt.EndDate; |
471 | 486 |
} |
472 | 487 |
|
473 |
// ?H???T?v?P |
|
474 |
if (m_DspCtrl[(int)DspCnt.Overview1].Text.Length != 0) iLength++; |
|
475 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Overview1], s_OverviewLength, true)) |
|
476 |
iNGno = (int)DspCnt.Overview1; |
|
488 |
// ----- ??????????`?F?b?N |
|
489 |
// ???????\????R?????g |
|
490 |
int NotOrderStat = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("?? ?? ??")).Key; |
|
491 |
if (GetStatusForCheckBox() == NotOrderStat) |
|
492 |
{ |
|
493 |
// ???????R?????g?K?{ |
|
494 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.OrdersDecisionComment], s_OrderersNameLength, true)) |
|
495 |
iNGno = (int)DspCnt.OrdersDecisionComment; |
|
496 |
} |
|
497 |
else |
|
498 |
{ |
|
499 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.OrdersDecisionComment], s_OrderersNameLength)) |
|
500 |
iNGno = (int)DspCnt.OrdersDecisionComment; |
|
501 |
} |
|
477 | 502 |
|
478 |
// ?H???T?v?Q |
|
479 |
if (m_DspCtrl[(int)DspCnt.Overview2].Text.Length != 0) iLength++; |
|
480 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Overview2], s_OverviewLength)) |
|
481 |
iNGno = (int)DspCnt.Overview2; |
|
482 |
|
|
483 |
// ?H???T?v?R |
|
484 |
if (m_DspCtrl[(int)DspCnt.Overview3].Text.Length != 0) iLength++; |
|
485 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Overview3], s_OverviewLength)) |
|
486 |
iNGno = (int)DspCnt.Overview3; |
|
487 |
|
|
488 |
// ?H???T?v?S |
|
489 |
if (m_DspCtrl[(int)DspCnt.Overview4].Text.Length != 0) iLength++; |
|
490 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Overview4], s_OverviewLength)) |
|
491 |
iNGno = (int)DspCnt.Overview4; |
|
492 |
|
|
493 |
// ?H???T?v?T |
|
494 |
if (m_DspCtrl[(int)DspCnt.Overview5].Text.Length != 0) iLength++; |
|
495 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Overview5], s_OverviewLength)) |
|
496 |
iNGno = (int)DspCnt.Overview5; |
|
497 |
|
|
498 |
// ?x???i?P |
|
499 |
if (m_DspCtrl[(int)DspCnt.PaidGoods1].Text.Length != 0) iLength++; |
|
500 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.PaidGoods1], s_PaidGoodsLength)) |
|
501 |
iNGno = (int)DspCnt.PaidGoods1; |
|
502 |
|
|
503 |
// ?x???i?Q |
|
504 |
if (m_DspCtrl[(int)DspCnt.PaidGoods2].Text.Length != 0) iLength++; |
|
505 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.PaidGoods2], s_PaidGoodsLength)) |
|
506 |
iNGno = (int)DspCnt.PaidGoods2; |
|
507 |
|
|
508 |
// ??r?H???P |
|
509 |
if (m_DspCtrl[(int)DspCnt.SeparateProject1].Text.Length != 0) iLength++; |
|
510 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.SeparateProject1], s_SeparateProjectLength)) |
|
511 |
iNGno = (int)DspCnt.SeparateProject1; |
|
512 |
|
|
513 |
// ??r?H???Q |
|
514 |
if (m_DspCtrl[(int)DspCnt.SeparateProject2].Text.Length != 0) iLength++; |
|
515 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.SeparateProject2], s_SeparateProjectLength)) |
|
516 |
iNGno = (int)DspCnt.SeparateProject2; |
|
517 |
|
|
518 |
// ???l?P |
|
519 |
if (m_DspCtrl[(int)DspCnt.Note1].Text.Length != 0) iLength++; |
|
520 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Note1], s_NoteLength)) |
|
521 |
iNGno = (int)DspCnt.Note1; |
|
522 |
|
|
523 |
// ???l?Q |
|
524 |
if (m_DspCtrl[(int)DspCnt.Note2].Text.Length != 0) iLength++; |
|
525 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.Note2], s_NoteLength)) |
|
526 |
iNGno = (int)DspCnt.Note2; |
|
527 |
|
|
528 |
// ?H???S????R?????g |
|
529 |
if (m_DspCtrl[(int)DspCnt.ContructorComment].Text.Length != 0) iLength++; |
|
530 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.ContructorComment], s_NoteLength)) |
|
531 |
iNGno = (int)DspCnt.ContructorComment; |
|
532 |
|
|
533 |
// ?{?H?????R?????g |
|
534 |
if (m_DspCtrl[(int)DspCnt.CompleteComment].Text.Length != 0) iLength++; |
|
535 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.CompleteComment], s_NoteLength)) |
|
536 |
iNGno = (int)DspCnt.CompleteComment; |
|
537 |
|
|
538 |
// ?????????R?????g |
|
539 |
if (m_DspCtrl[(int)DspCnt.RevCompleteComment].Text.Length != 0) iLength++; |
|
540 |
if (!CommonMotions.DispFieldLengthCheck(m_DspCtrl[(int)DspCnt.RevCompleteComment], s_NoteLength)) |
|
541 |
iNGno = (int)DspCnt.RevCompleteComment; |
|
542 |
|
|
543 |
// ?????????J?n?? |
|
544 |
if (m_DspCtrl[(int)DspCnt.BillingStartDate].Text.Length != 0) iLength++; |
|
545 |
bPara = FieldCheckMap[(int)DspCnt.BillingStartDate, iStatusCount]; |
|
546 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.BillingStartDate], bPara)) |
|
547 |
iNGno = (int)DspCnt.BillingStartDate; |
|
548 |
|
|
549 |
// ?????m?F?? |
|
550 |
if (m_DspCtrl[(int)DspCnt.BillingComplateDate].Text.Length != 0) iLength++; |
|
551 |
bPara = FieldCheckMap[(int)DspCnt.BillingComplateDate, iStatusCount]; |
|
552 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.BillingComplateDate], bPara)) |
|
553 |
iNGno = (int)DspCnt.BillingComplateDate; |
|
554 |
|
|
555 |
// ?????\??? |
|
556 |
if (m_DspCtrl[(int)DspCnt.InspectPlanningDate].Text.Length != 0) iLength++; |
|
557 |
bPara = FieldCheckMap[(int)DspCnt.InspectPlanningDate, iStatusCount]; |
|
558 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.InspectPlanningDate], bPara)) |
|
559 |
iNGno = (int)DspCnt.InspectPlanningDate; |
|
560 |
|
|
561 |
// ???????s?? |
|
562 |
if (m_DspCtrl[(int)DspCnt.InspectExecuteDate].Text.Length != 0) iLength++; |
|
563 |
bPara = FieldCheckMap[(int)DspCnt.InspectExecuteDate, iStatusCount]; |
|
564 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.InspectExecuteDate], bPara)) |
|
565 |
iNGno = (int)DspCnt.InspectExecuteDate; |
|
566 |
|
|
567 |
// ?????????????? |
|
568 |
if (m_DspCtrl[(int)DspCnt.RevCompleteDate].Text.Length != 0) iLength++; |
|
569 |
bPara = FieldCheckMap[(int)DspCnt.RevCompleteDate, iStatusCount]; |
|
570 |
if (!CommonMotions.DispFieldDateCheck(m_DspCtrl[(int)DspCnt.RevCompleteDate], bPara)) |
|
571 |
iNGno = (int)DspCnt.RevCompleteDate; |
|
572 |
|
|
573 | 503 |
if (iLength == 0) |
574 | 504 |
{ |
575 | 505 |
MessageBox.Show("?f?[?^????????????????A?m?F????????????B", "?f?[?^?m?F", MessageBoxButtons.OK, MessageBoxIcon.Warning); |
... | ... | |
2374 | 2304 |
ComboBoxAction.InitDataSetCombBox(cmbConstrSubPerson, DataList3); |
2375 | 2305 |
ComboBoxAction.InitDataSetCombBox(cmbConstrInst, DataList4); |
2376 | 2306 |
|
2377 |
cmbSalesPerson.SelectedIndex = -1;
|
|
2378 |
cmbSalesSubPerson.SelectedIndex = -1;
|
|
2379 |
cmbConstrSubPerson.SelectedIndex = -1;
|
|
2380 |
cmbConstrInst.SelectedIndex = -1;
|
|
2307 |
cmbSalesPerson.SelectedIndex = 0;
|
|
2308 |
cmbSalesSubPerson.SelectedIndex = 0;
|
|
2309 |
cmbConstrSubPerson.SelectedIndex = 0;
|
|
2310 |
cmbConstrInst.SelectedIndex = 0;
|
|
2381 | 2311 |
} |
2382 | 2312 |
catch (Exception ex) |
2383 | 2313 |
{ |
... | ... | |
2480 | 2410 |
// ?V?K??O??N???A???? |
2481 | 2411 |
if (!bInit) |
2482 | 2412 |
{ |
2483 |
DepartmentCombClear(ArraryCode);
|
|
2413 |
DepCombClear(ref ArraryCode);
|
|
2484 | 2414 |
} |
2485 | 2415 |
|
2486 | 2416 |
// ?????}?X?^?????????? |
... | ... | |
2492 | 2422 |
// ?????}?X?^??? |
2493 | 2423 |
if (!dmDB.ExecuteReader(strSQL.ToString(), ref dmList)) return; |
2494 | 2424 |
|
2425 |
// ?V?K????O???????????????S???????Z?b?g |
|
2426 |
if (!bInit) |
|
2427 |
{ |
|
2428 |
ChangeDepCode(dmList, ref ArraryCode); |
|
2429 |
} |
|
2430 |
|
|
2495 | 2431 |
List<KeyValuePair<int, string>> DataList1 = new List<KeyValuePair<int, string>>(); |
2496 | 2432 |
List<KeyValuePair<int, string>> DataList2 = new List<KeyValuePair<int, string>>(); |
2497 | 2433 |
List<KeyValuePair<int, string>> DataList3 = new List<KeyValuePair<int, string>>(); |
... | ... | |
2548 | 2484 |
/// <summary> |
2549 | 2485 |
/// ?????R???{?{?b?N?X?N???A |
2550 | 2486 |
/// </summary> |
2551 |
private void DepartmentCombClear(int[] berefoCode)
|
|
2487 |
private void DepCombClear(ref int[] berefoCode)
|
|
2552 | 2488 |
{ |
2553 | 2489 |
try |
2554 | 2490 |
{ |
... | ... | |
2581 | 2517 |
} |
2582 | 2518 |
#endregion |
2583 | 2519 |
|
2520 |
#region ???X?g??????????????A???????X???? |
|
2521 |
/// <summary> |
|
2522 |
/// ???X?g??????????????A???????X???? |
|
2523 |
/// </summary> |
|
2524 |
private void ChangeDepCode(ArrayList dmList, ref int[] berefoCode) |
|
2525 |
{ |
|
2526 |
IOMPersonInCharge ChgManDB = new IOMPersonInCharge(); |
|
2527 |
try |
|
2528 |
{ |
|
2529 |
StringBuilder strSQL = new StringBuilder(); |
|
2530 |
for (int nCnt = 0; nCnt < berefoCode.Length; nCnt++) |
|
2531 |
{ |
|
2532 |
int CurDep = berefoCode[nCnt]; |
|
2533 |
if (CurDep < 1) continue; |
|
2534 |
// ?????????X?g??????H |
|
2535 |
var selData = dmList.Cast<object[]>().Where(x => CommonMotions.cnvInt(x[0]) == CurDep).ToArray(); |
|
2536 |
if (selData.Count() > 0) continue; |
|
2537 |
|
|
2538 |
// ????????S????}?X?^?????????? |
|
2539 |
ComboBox CurBox = null; |
|
2540 |
switch (nCnt) |
|
2541 |
{ |
|
2542 |
case 0: |
|
2543 |
CurBox = comboBoxEX1; |
|
2544 |
break; |
|
2545 |
case 1: |
|
2546 |
CurBox = comboBoxEX2; |
|
2547 |
break; |
|
2548 |
case 2: |
|
2549 |
CurBox = comboBoxEX3; |
|
2550 |
break; |
|
2551 |
case 3: |
|
2552 |
CurBox = comboBoxEX4; |
|
2553 |
break; |
|
2554 |
case 4: |
|
2555 |
CurBox = comboBoxEX5; |
|
2556 |
break; |
|
2557 |
} |
|
2558 |
|
|
2559 |
ComboBox ManBox = GetPerson2DepartComb(CurBox, false); |
|
2560 |
int SelManNo = CommonMotions.cnvInt(ManBox.SelectedValue); |
|
2561 |
strSQL.Clear(); |
|
2562 |
strSQL.Append(ChgManDB.CreatePrimarykeyString(SelManNo)); |
|
2563 |
PersonInChargeMaster ManRec = new PersonInChargeMaster(); |
|
2564 |
ChgManDB.SelectAction(strSQL.ToString(), ref ManRec); |
|
2565 |
berefoCode[nCnt] = ManRec.DepartmentCode; |
|
2566 |
} |
|
2567 |
} |
|
2568 |
catch (Exception ex) |
|
2569 |
{ |
|
2570 |
logger.ErrorFormat("?V?X?e???G???[?F{0}?F{1}", CommonMotions.GetMethodName(), ex.Message); |
|
2571 |
} |
|
2572 |
finally |
|
2573 |
{ |
|
2574 |
ChgManDB.close(); ChgManDB = null; |
|
2575 |
} |
|
2576 |
} |
|
2577 |
#endregion |
|
2578 |
|
|
2584 | 2579 |
#region ???R???{?{?b?N?X?Z?b?g |
2585 | 2580 |
/// <summary> |
2586 | 2581 |
/// ???R???{?{?b?N?X?Z?b?g |
... | ... | |
2854 | 2849 |
/// ?S????R???{?{?b?N?X????????R???{?{?b?N?X???????? |
2855 | 2850 |
/// </summary> |
2856 | 2851 |
/// <returns></returns> |
2857 |
private ComboBox GetPerson2DepartComb(ComboBox comboPerson)
|
|
2852 |
private ComboBox GetPerson2DepartComb(ComboBox comboBox, bool bPerson = true)
|
|
2858 | 2853 |
{ |
2859 | 2854 |
try |
2860 | 2855 |
{ |
2861 | 2856 |
ComboBox combDepWrk = null; |
2862 |
|
|
2863 |
if (comboPerson == cmbSalesPerson) |
|
2857 |
if (bPerson) |
|
2864 | 2858 |
{ |
2865 |
// 56: ?c??S?????? |
|
2866 |
combDepWrk = comboBoxEX1; |
|
2859 |
if (comboBox == cmbSalesPerson) |
|
2860 |
{ |
|
2861 |
// 56: ?c??S?????? |
|
2862 |
combDepWrk = comboBoxEX1; |
|
2863 |
} |
|
2864 |
else if (comboBox == cmbConstrPerson) |
|
2865 |
{ |
|
2866 |
// 63: ?H???S?????? |
|
2867 |
combDepWrk = comboBoxEX2; |
|
2868 |
} |
|
2869 |
else if (comboBox == cmbConstrSubPerson) |
|
2870 |
{ |
|
2871 |
// 79: ?H?????S?????? |
|
2872 |
combDepWrk = comboBoxEX3; |
|
2873 |
} |
|
2874 |
else if (comboBox == cmbConstrInst) |
|
2875 |
{ |
|
2876 |
// 80: ?w???????? |
|
2877 |
combDepWrk = comboBoxEX4; |
|
2878 |
} |
|
2879 |
else if (comboBox == cmbSalesSubPerson) |
|
2880 |
{ |
|
2881 |
/// 87:?c????S?????? |
|
2882 |
combDepWrk = comboBoxEX5; |
|
2883 |
} |
|
2867 | 2884 |
} |
2868 |
else if (comboPerson == cmbConstrPerson)
|
|
2885 |
else |
|
2869 | 2886 |
{ |
2870 |
// 63: ?H???S?????? |
|
2871 |
combDepWrk = comboBoxEX2; |
|
2887 |
if (comboBox == comboBoxEX1) |
|
2888 |
{ |
|
2889 |
// 3: ?c??S????R?[?h |
|
2890 |
combDepWrk = cmbSalesPerson; |
|
2891 |
} |
|
2892 |
else if (comboBox == comboBoxEX2) |
|
2893 |
{ |
|
2894 |
// 4: ?H???S????R?[?h |
|
2895 |
combDepWrk = cmbConstrPerson; |
|
2896 |
} |
|
2897 |
else if (comboBox == comboBoxEX3) |
|
2898 |
{ |
|
2899 |
// 81: ?H?????S????R?[?h |
|
2900 |
combDepWrk = cmbConstrSubPerson; |
|
2901 |
} |
|
2902 |
else if (comboBox == comboBoxEX4) |
|
2903 |
{ |
|
2904 |
// 46: ?H???w???? |
|
2905 |
combDepWrk = cmbConstrInst; |
|
2906 |
} |
|
2907 |
else if (comboBox == comboBoxEX5) |
|
2908 |
{ |
|
2909 |
/// 88:?c????S????R?[?h |
|
2910 |
combDepWrk = cmbSalesSubPerson; |
|
2911 |
} |
|
2872 | 2912 |
} |
2873 |
else if (comboPerson == cmbConstrSubPerson) |
|
2874 |
{ |
|
2875 |
// 79: ?H?????S?????? |
|
2876 |
combDepWrk = comboBoxEX3; |
|
2877 |
} |
|
2878 |
else if (comboPerson == cmbConstrInst) |
|
2879 |
{ |
|
2880 |
// 80: ?w???????? |
|
2881 |
combDepWrk = comboBoxEX4; |
|
2882 |
} |
|
2883 |
else if (comboPerson == cmbSalesSubPerson) |
|
2884 |
{ |
|
2885 |
/// 87:?c????S?????? |
|
2886 |
combDepWrk = comboBoxEX5; |
|
2887 |
} |
|
2888 |
|
|
2889 | 2913 |
return combDepWrk; |
2890 | 2914 |
} |
2891 | 2915 |
catch (Exception ex) |
... | ... | |
4546 | 4570 |
m_DspCtrl[(int)DspCnt.ConstructionCode] = lblConstructionCode; // 0: ?H???R?[?h |
4547 | 4571 |
m_DspCtrl[(int)DspCnt.ConstructionYear] = cmbConstructionYear; // 1: ?H???N?x |
4548 | 4572 |
m_DspCtrl[(int)DspCnt.ConstructionPeriod] = cmbConstructionPeriod; // 2: ?H???? |
4549 |
m_DspCtrl[(int)DspCnt.SalesPersonCode] = cmbSalesPerson; // 3: ?c??S????R?[?h |
|
4550 |
m_DspCtrl[(int)DspCnt.ConstructionPersonCode] = cmbConstrPerson; // 4: ?H???S????R?[?h |
|
4573 |
m_DspCtrl[(int)DspCnt.SalesPersonCode] = cmbSalesPerson; // 3: ?c??S????R?[?h
|
|
4574 |
m_DspCtrl[(int)DspCnt.ConstructionPersonCode] = cmbConstrPerson; // 4: ?H???S????R?[?h
|
|
4551 | 4575 |
m_DspCtrl[(int)DspCnt.RequestedDate] = txtInput01; // 5: ?????? |
4552 | 4576 |
m_DspCtrl[(int)DspCnt.EstimatesSubmittedDate] = txtInput02; // 6: ?????o?? |
4553 | 4577 |
m_DspCtrl[(int)DspCnt.EstimatesPrice0] = lblEstimatePrice0; // 7: ????????o???z |
... | ... | |
4589 | 4613 |
m_DspCtrl[(int)DspCnt.LastUpDate] = lblLastUpdate; // 43: ??I?X?V???i???x???j |
4590 | 4614 |
m_DspCtrl[(int)DspCnt.ConstructionType] = cmbConstructionType; // 44: ?H????? |
4591 | 4615 |
m_DspCtrl[(int)DspCnt.EstimatesSubmitDeadline] = txtInput27; // 45: ?????o???? |
4592 |
m_DspCtrl[(int)DspCnt.ConstructionInstructor] = cmbConstrInst; // 46: ?H???w???? |
|
4616 |
m_DspCtrl[(int)DspCnt.ConstructionInstructor] = cmbConstrInst; // 46: ?H???w????
|
|
4593 | 4617 |
m_DspCtrl[(int)DspCnt.TransferConstruction] = cmbTransferConstruction; // 47: ?H??????R?[?h |
4594 | 4618 |
m_DspCtrl[(int)DspCnt.TransferConstructionDate] = lblTransferDate; // 48: ?H?????? |
4595 | 4619 |
m_DspCtrl[(int)DspCnt.OrdersDecisionPriceInTax] = txtInput28; // 49: ??????????z |
... | ... | |
4624 | 4648 |
//m_DspCtrl[(int)DspCnt.BillingSendDate] = label122; // 78: ???????X??/??n???? |
4625 | 4649 |
m_DspCtrl[(int)DspCnt.ConstrSubDepartment] = comboBoxEX3; // 79: ?H?????S?????? |
4626 | 4650 |
m_DspCtrl[(int)DspCnt.InstructorDepartment] = comboBoxEX4; // 80: ?w???????? |
4627 |
m_DspCtrl[(int)DspCnt.ConstrSubPersonCode] = cmbConstrSubPerson; // 81: ?H?????S????R?[?h |
|
4651 |
m_DspCtrl[(int)DspCnt.ConstrSubPersonCode] = cmbConstrSubPerson; // 81: ?H?????S????R?[?h
|
|
4628 | 4652 |
m_DspCtrl[(int)DspCnt.LedgerComplateDate] = label118; // 82: ?H??????????????? |
4629 | 4653 |
m_DspCtrl[(int)DspCnt.BillingTypeName] = label87; // 83: ?????????? |
4630 | 4654 |
m_DspCtrl[(int)DspCnt.InspectPlanningDate] = textBoxEX7; // 84:?????\??? |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs | ||
---|---|---|
209 | 209 |
} |
210 | 210 |
#endregion |
211 | 211 |
|
212 |
#region 経費率データ読込み並び |
|
213 |
/// <summary> |
|
214 |
/// 経費率データ読込み並び |
|
215 |
/// </summary> |
|
216 |
private enum ExpensesArray |
|
217 |
{ |
|
218 |
/// <summary> |
|
219 |
/// 経費名称 |
|
220 |
/// </summary> |
|
221 |
ExpensesName = 0, |
|
222 |
/// <summary> |
|
223 |
/// 経費率 |
|
224 |
/// </summary> |
|
225 |
ExpensesRaito, |
|
226 |
/// <summary> |
|
227 |
/// 経費名称コード |
|
228 |
/// </summary> |
|
229 |
NameCode, |
|
230 |
} |
|
231 |
#endregion |
|
232 |
|
|
233 | 212 |
#region 経費率リスト取得処理 |
234 | 213 |
/// <summary> |
235 | 214 |
/// 経費率リストを取得する |
... | ... | |
1123 | 1102 |
foreach (object[] wrkExpense in m_ExpensesList) |
1124 | 1103 |
{ |
1125 | 1104 |
// 経費率取得 |
1126 |
double dExpenses = CommonMotions.cnvDouble(wrkExpense[(int)ExpensesArray.ExpensesRaito]); |
|
1105 |
double dExpenses = CommonMotions.cnvDouble(wrkExpense[(int)CommonMotions.ExpensesArray.ExpensesRaito]);
|
|
1127 | 1106 |
double dParcent = dExpenses / 100.0; |
1128 | 1107 |
int ExpenssValue = CommonMotions.cnvRound(OrdersPrice * dParcent); |
1129 | 1108 |
|
... | ... | |
1132 | 1111 |
RowData[(int)GridColumn.GroupCount] = (int)FrmConstructionBudget.DataGroup.Expenses; |
1133 | 1112 |
|
1134 | 1113 |
// 経費名称セット |
1135 |
string strVallue = CommonMotions.cnvString(wrkExpense[(int)ExpensesArray.ExpensesName]); |
|
1114 |
string strVallue = CommonMotions.cnvString(wrkExpense[(int)CommonMotions.ExpensesArray.ExpensesName]);
|
|
1136 | 1115 |
RowData[(int)GridColumn.No] = string.Format("{0}-{1}", (int)FrmConstructionBudget.DataGroup.Expenses, icnt); |
1137 | 1116 |
RowData[(int)GridColumn.FixFlg] = "*"; |
1138 |
RowData[(int)GridColumn.ComponentCode] = CommonMotions.cnvInt(wrkExpense[(int)ExpensesArray.NameCode]); |
|
1117 |
RowData[(int)GridColumn.ComponentCode] = CommonMotions.cnvInt(wrkExpense[(int)CommonMotions.ExpensesArray.NameCode]);
|
|
1139 | 1118 |
RowData[(int)GridColumn.ItemName] = string.Format("{0}({1}%)", strVallue, dExpenses.ToString("0.00")); |
1140 | 1119 |
RowData[(int)GridColumn.HopePrice] = ExpenssValue.ToString("#,#"); |
1141 | 1120 |
RowData[(int)GridColumn.ExecPrice] = ExpenssValue.ToString("#,#"); |
... | ... | |
1164 | 1143 |
IOMTypeExpenses TypeExpDB = new IOMTypeExpenses(); |
1165 | 1144 |
try |
1166 | 1145 |
{ |
1167 |
string strSQL = "SELECT A.TYPECODE, A.NAMESTRING, A.EXPENSESLINK, B.NAMECODE, B.EXPENSESRAITO"; |
|
1168 |
strSQL += " FROM CONSTRUCTIONTYPEMASTER A"; |
|
1169 |
strSQL += " LEFT JOIN TYPEEXPENSESMASTER B ON B.TYPECODE = A.TYPECODE"; |
|
1170 |
strSQL += string.Format(" AND B.EXPENSESPERIOD = {0}", CommonMotions.GetPeriodYear()); |
|
1171 |
strSQL += string.Format(" WHERE A.TYPECODE = {0} AND A.EXPENSESLINK = 1", m_ConstructionBaseInfo.ConstructionType); |
|
1146 |
StringBuilder strSQL = new StringBuilder(); |
|
1147 |
strSQL.Append("SELECT"); |
|
1148 |
strSQL.Append(" A.TYPECODE"); |
|
1149 |
strSQL.Append(", A.NAMESTRING"); |
|
1150 |
strSQL.Append(", A.EXPENSESLINK"); |
|
1151 |
strSQL.Append(", B.NAMECODE"); |
|
1152 |
strSQL.Append(", B.EXPENSESRAITO"); |
|
1153 |
strSQL.Append(" FROM CONSTRUCTIONTYPEMASTER A"); |
|
1154 |
strSQL.Append(" LEFT JOIN TYPEEXPENSESMASTER B ON B.TYPECODE = A.TYPECODE"); |
|
1155 |
strSQL.AppendFormat(" AND B.EXPENSESPERIOD = {0}", CommonMotions.GetPeriodYear()); |
|
1156 |
strSQL.AppendFormat(" WHERE A.TYPECODE = {0} AND A.EXPENSESLINK = 1", m_ConstructionBaseInfo.ConstructionType); |
|
1172 | 1157 |
|
1173 | 1158 |
ArrayList arList = new ArrayList(); |
1174 |
if (!TypeExpDB.ExecuteReader(strSQL, ref arList)) return; |
|
1159 |
if (!TypeExpDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
|
|
1175 | 1160 |
// 対象外は処理しない |
1176 | 1161 |
if (arList.Count == 0) return; |
1177 | 1162 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs | ||
---|---|---|
84 | 84 |
} |
85 | 85 |
#endregion |
86 | 86 |
|
87 |
#region 経費率データ読込み並び |
|
88 |
/// <summary> |
|
89 |
/// 経費率データ読込み並び |
|
90 |
/// </summary> |
|
91 |
private enum ExpensesArray |
|
92 |
{ |
|
93 |
/// <summary> |
|
94 |
/// 経費名称 |
|
95 |
/// </summary> |
|
96 |
ExpensesName = 0, |
|
97 |
/// <summary> |
|
98 |
/// 経費率 |
|
99 |
/// </summary> |
|
100 |
ExpensesRaito, |
|
101 |
/// <summary> |
|
102 |
/// 経費名称コード |
|
103 |
/// </summary> |
|
104 |
NameCode, |
|
105 |
} |
|
106 |
#endregion |
|
107 |
|
|
108 | 87 |
#region 経費率リスト取得処理 |
109 | 88 |
/// <summary> |
110 | 89 |
/// 経費率リストを取得する |
... | ... | |
1702 | 1681 |
foreach (object[] wrkExpense in m_ExpensesList) |
1703 | 1682 |
{ |
1704 | 1683 |
// 経費率取得 |
1705 |
string strVallue = CommonMotions.cnvString(wrkExpense[(int)ExpensesArray.ExpensesName]); |
|
1706 |
double dExpenses = CommonMotions.cnvDouble(wrkExpense[(int)ExpensesArray.ExpensesRaito]); |
|
1684 |
string strVallue = CommonMotions.cnvString(wrkExpense[(int)CommonMotions.ExpensesArray.ExpensesName]);
|
|
1685 |
double dExpenses = CommonMotions.cnvDouble(wrkExpense[(int)CommonMotions.ExpensesArray.ExpensesRaito]);
|
|
1707 | 1686 |
|
1708 | 1687 |
object[] RowData = new object[dgv.Columns.Count]; |
1709 | 1688 |
|
... | ... | |
1714 | 1693 |
RowData[(int)GridColumn.No] = string.Format("{0}-{1}", GroupNo, ++icnt); |
1715 | 1694 |
RowData[(int)GridColumn.FixFlg] = "*"; |
1716 | 1695 |
RowData[(int)GridColumn.GroupCount] = GroupNo; |
1717 |
RowData[(int)GridColumn.ComponentCode] = CommonMotions.cnvInt(wrkExpense[(int)ExpensesArray.NameCode]); |
|
1696 |
RowData[(int)GridColumn.ComponentCode] = CommonMotions.cnvInt(wrkExpense[(int)CommonMotions.ExpensesArray.NameCode]);
|
|
1718 | 1697 |
RowData[(int)GridColumn.ItemName] = string.Format("{0}({1}%)", strVallue, dExpenses.ToString("0.00")); |
1719 | 1698 |
RowData[(int)GridColumn.CompanyType] = 0; |
1720 | 1699 |
RowData[(int)GridColumn.CompanyCode] = 0; |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs | ||
---|---|---|
41 | 41 |
private enum DispColumn |
42 | 42 |
{ |
43 | 43 |
/// <summary> |
44 |
/// ?\?????f?[?^?R?[?h |
|
44 |
/// 0:?\?????f?[?^?R?[?h
|
|
45 | 45 |
/// </summary> |
46 | 46 |
SelectionCode = 0, |
47 | 47 |
/// <summary> |
48 |
/// ?? |
|
48 |
/// 1:??
|
|
49 | 49 |
/// </summary> |
50 | 50 |
No, |
51 | 51 |
/// <summary> |
52 |
/// ?\?????f?[?^?? |
|
52 |
/// 2:?\?????f?[?^??
|
|
53 | 53 |
/// </summary> |
54 | 54 |
SelectionName, |
55 | 55 |
/// <summary> |
56 |
/// ????z |
|
56 |
/// 3:????z
|
|
57 | 57 |
/// </summary> |
58 | 58 |
OrdersDecisionPrice, |
59 | 59 |
/// <summary> |
60 |
/// ???o?? |
|
60 |
/// 4:???o??
|
|
61 | 61 |
/// </summary> |
62 | 62 |
CompanyExpenses, |
63 | 63 |
/// <summary> |
64 |
/// ?????o?? |
|
64 |
/// 5:?????o??
|
|
65 | 65 |
/// </summary> |
66 | 66 |
DepartmentExpenses, |
67 | 67 |
/// <summary> |
68 |
/// ?c??o?? |
|
68 |
/// 6:?c??o??
|
|
69 | 69 |
/// </summary> |
70 | 70 |
SalesExpenses, |
71 | 71 |
/// <summary> |
72 |
/// ???x???z |
|
72 |
/// 7:???x???z
|
|
73 | 73 |
/// </summary> |
74 | 74 |
TotalPayment, |
75 | 75 |
/// <summary> |
76 |
/// ?e?? |
|
76 |
/// 8:?e??
|
|
77 | 77 |
/// </summary> |
78 | 78 |
GrossProfit, |
79 | 79 |
/// <summary> |
80 |
/// ?????v |
|
80 |
/// 9:?????v
|
|
81 | 81 |
/// </summary> |
82 | 82 |
NetProfit, |
83 | 83 |
} |
84 | 84 |
#endregion |
85 | 85 |
|
86 |
#region ?\???J?????O?? |
|
87 |
/// <summary> |
|
88 |
/// ?\???J?????O?? |
|
89 |
/// </summary> |
|
90 |
private enum DCFirstHalf |
|
91 |
{ |
|
92 |
/// <summary> |
|
93 |
/// 0:?\?????f?[?^?R?[?h |
|
94 |
/// </summary> |
|
95 |
SelectionCode = 0, |
他の形式にエクスポート: Unified diff