リビジョン 294
部署まとめ・台帳まとめ給与計算不具合修正
工事情報一覧:注文書作成・印刷判定修正
請求まとめ修正途中
| branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs | ||
|---|---|---|
| 2640 | 2640 |
{
|
| 2641 | 2641 |
int RetSalary = 0; |
| 2642 | 2642 |
|
| 2643 |
StringBuilder strSQL = new StringBuilder(1200);
|
|
| 2643 |
StringBuilder strSQL = new StringBuilder(); |
|
| 2644 | 2644 |
strSQL.Append("SELECT SUM(SAL.SALARY) FROM");
|
| 2645 | 2645 |
strSQL.Append(" (SELECT AX.hiduke,");
|
| 2646 | 2646 |
strSQL.AppendFormat(" ROUND((AX.salary * {0}) / DATE_FORMAT(LAST_DAY(AX.hiduke), '%d')) AS SALARY,", CommonDefine.s_SalaryCorrection);
|
| branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs | ||
|---|---|---|
| 14 | 14 |
/// <summary> |
| 15 | 15 |
/// 本体バージョン |
| 16 | 16 |
/// </summary> |
| 17 |
public static int s_SystemVersion = 103;
|
|
| 17 |
public static int s_SystemVersion = 104;
|
|
| 18 | 18 |
|
| 19 | 19 |
/// <summary> |
| 20 | 20 |
/// コピー・環境バージョン |
| branches/src/ProcessManagement/ProcessManagement/DataModel/ConstructionLedgerDetail.cs | ||
|---|---|---|
| 74 | 74 |
public enum PurOrderFlgDef |
| 75 | 75 |
{
|
| 76 | 76 |
/// <summary> |
| 77 |
/// 未作成 |
|
| 77 |
/// 0:未作成
|
|
| 78 | 78 |
/// </summary> |
| 79 | 79 |
NoCreate = 0, |
| 80 | 80 |
/// <summary> |
| 81 |
/// 作成済 |
|
| 81 |
/// 1:作成済
|
|
| 82 | 82 |
/// </summary> |
| 83 | 83 |
Making = 1, |
| 84 | 84 |
/// <summary> |
| 85 |
/// 作成しない |
|
| 85 |
/// 9:作成しない
|
|
| 86 | 86 |
/// </summary> |
| 87 | 87 |
NotMakingData = 9, |
| 88 | 88 |
} |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs | ||
|---|---|---|
| 769 | 769 |
} |
| 770 | 770 |
#endregion |
| 771 | 771 |
|
| 772 |
#region 最終承認時:支払明細データ更新
|
|
| 772 |
#region 支払明細データ更新 |
|
| 773 | 773 |
/// <summary> |
| 774 |
/// 最終承認時:支払明細データ更新
|
|
| 774 |
/// 支払明細データ更新 |
|
| 775 | 775 |
/// </summary> |
| 776 | 776 |
/// <returns></returns> |
| 777 | 777 |
private bool PaymentDataDetailUpdate(IOPaymentDataDetail PayDetailDB, PaymentApprovalInfo PaIWork, int nAppStat) |
| 778 | 778 |
{
|
| 779 | 779 |
try |
| 780 | 780 |
{
|
| 781 |
// データ存在確認 |
|
| 782 |
StringBuilder strSelectSQL = new StringBuilder(); |
|
| 783 |
strSelectSQL.Append(PayDetailDB.CreatePrimarykeyString(PaIWork.CompanyCode |
|
| 784 |
, PaIWork.TargetDate |
|
| 785 |
, PaIWork.SeqNo |
|
| 786 |
, PaIWork.LineCount)); |
|
| 787 |
List<PaymentDataDetail> ExistList = new List<PaymentDataDetail>(); |
|
| 788 |
if (!PayDetailDB.SelectAction(strSelectSQL.ToString(), ref ExistList, false)) return false; |
|
| 789 |
if (ExistList.Count < 1) return true; |
|
| 790 |
|
|
| 781 | 791 |
StringBuilder strActionSQL = new StringBuilder(); |
| 782 | 792 |
// 支払明細データ更新 |
| 783 | 793 |
switch (nAppStat) |
| ... | ... | |
| 805 | 815 |
StringBuilder strSQL = new StringBuilder(); |
| 806 | 816 |
strSQL.Append("UPDATE paymentdatadetail SET");
|
| 807 | 817 |
strSQL.Append(strActionSQL.ToString()); |
| 808 |
strSQL.Append(PayDetailDB.CreatePrimarykeyString(PaIWork.CompanyCode, PaIWork.TargetDate, PaIWork.SeqNo, PaIWork.LineCount));
|
|
| 818 |
strSQL.Append(strSelectSQL.ToString());
|
|
| 809 | 819 |
|
| 810 | 820 |
if (!PayDetailDB.ExecuteNonQuery(strSQL.ToString(), false)) return false; |
| 811 | 821 |
|
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.cs | ||
|---|---|---|
| 33 | 33 |
#endregion |
| 34 | 34 |
|
| 35 | 35 |
#region ?? |
| 36 |
#region ?\???J???? |
|
| 36 | 37 |
/// <summary> |
| 37 | 38 |
/// ?\???J???? |
| 38 | 39 |
/// </summary> |
| ... | ... | |
| 50 | 51 |
ConstructionCode, |
| 51 | 52 |
OrderNo, |
| 52 | 53 |
} |
| 54 |
#endregion |
|
| 53 | 55 |
|
| 54 | 56 |
#region ?R???g???[???C?x???g??` |
| 55 | 57 |
/// <summary> |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs | ||
|---|---|---|
| 75 | 75 |
/// </summary> |
| 76 | 76 |
private enum GetData |
| 77 | 77 |
{
|
| 78 |
CONSTRUCTIONCODE, |
|
| 78 |
CONSTRUCTIONCODE = 0,
|
|
| 79 | 79 |
CONSTRUCTIONPERIOD, |
| 80 | 80 |
CONSTRUCTIONNAME, |
| 81 | 81 |
CONSTRUCTIONSTATUSFLG, |
| ... | ... | |
| 703 | 703 |
for (int i = 0; i < s_SQLPart4.Length; i++) wrkFormat.Append(s_SQLPart4[i]); |
| 704 | 704 |
|
| 705 | 705 |
strSQL.AppendFormat(wrkFormat.ToString(), numUDConstPro.Value); |
| 706 |
strSQL.Append(" AND NOT EXISTS (SELECT * FROM PURCHASEORDER B1 WHERE B1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE)");
|
|
| 707 |
strSQL.AppendFormat(" And ((A.TYINGFLG != {0} AND ({1} <= A.ConstructionStatusFlg And A.ConstructionStatusFlg <= {2}))",
|
|
| 708 |
(int)ConstructionBaseInfo.TyingFlgDef.Tying, ProgressStart, ProgressComplete); |
|
| 709 |
strSQL.AppendFormat(" OR (A.TYINGFLG = {0} AND ({1} <= A.ConstructionStatusFlg And A.ConstructionStatusFlg <= {2})))",
|
|
| 710 |
(int)ConstructionBaseInfo.TyingFlgDef.Tying, ProgressStart, ProgressComplete2); |
|
| 706 |
|
|
| 707 |
strSQL.Append(" AND NOT EXISTS");
|
|
| 708 |
strSQL.Append(" (SELECT * FROM PURCHASEORDER B1");
|
|
| 709 |
strSQL.Append(" WHERE B1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE)");
|
|
| 710 |
strSQL.AppendFormat(" And ((A.TYINGFLG != {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
|
|
| 711 |
strSQL.AppendFormat(" AND ({0} <= A.ConstructionStatusFlg", ProgressStart);
|
|
| 712 |
strSQL.AppendFormat(" And A.ConstructionStatusFlg <= {0}))", ProgressComplete);
|
|
| 713 |
|
|
| 714 |
strSQL.AppendFormat(" OR (A.TYINGFLG = {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
|
|
| 715 |
strSQL.AppendFormat(" AND ({0} <= A.ConstructionStatusFlg", ProgressStart);
|
|
| 716 |
strSQL.AppendFormat(" And A.ConstructionStatusFlg <= {0})))", ProgressComplete2);
|
|
| 717 |
|
|
| 711 | 718 |
strSQL.Append(" AND A.ConstructionPersonCode != 0");
|
| 712 | 719 |
strSQL.Append(" AND ((A.ConstructionCode IN ");
|
| 713 |
strSQL.Append(" (SELECT AA1.CONSTRUCTIONCODE FROM CONSTRUCTIONBUDGETDETAIL AA1 WHERE (AA1.COMPANYCODE != 0 AND AA1.COMPANYCODE != -1)");
|
|
| 720 |
|
|
| 721 |
strSQL.Append(" (SELECT AA1.CONSTRUCTIONCODE");
|
|
| 722 |
strSQL.Append(" FROM CONSTRUCTIONBUDGETDETAIL AA1");
|
|
| 723 |
strSQL.Append(" WHERE (AA1.COMPANYCODE != 0");
|
|
| 724 |
strSQL.Append(" AND AA1.COMPANYCODE != -1)");
|
|
| 714 | 725 |
strSQL.Append(" GROUP BY AA1.CONSTRUCTIONCODE, AA1.COMPANYCODE");
|
| 726 |
|
|
| 715 | 727 |
strSQL.AppendFormat(" HAVING SUM(AA1.EXECUTIONAMOUNT) >= {0}))", CommonDefine.s_PrintOutPrice);
|
| 716 | 728 |
strSQL.Append(" AND (A1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
|
| 717 |
strSQL.AppendFormat(" AND A1.APPROVALCODE = {0} AND A1.SEQNO = 1", (int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval);
|
|
| 729 |
strSQL.AppendFormat(" AND A1.APPROVALCODE = {0}", (int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval);
|
|
| 730 |
strSQL.Append(" AND A1.SEQNO = 1");
|
|
| 718 | 731 |
strSQL.AppendFormat(" AND A1.APPROVALSTATUS = {0})", (int)CommonDefine.ApprovalStatus.Approval);
|
| 719 | 732 |
strSQL.Append(" OR A.JOINFLG = 1)");
|
| 720 | 733 |
|
| ... | ... | |
| 729 | 742 |
|
| 730 | 743 |
wrkFormat.Clear(); |
| 731 | 744 |
for (int i = 0; i < s_SQLPart1.Length; i++) wrkFormat.Append(s_SQLPart1[i]); |
| 732 |
wrkFormat.Append(", ifnull(App.ApprovalStatus, -1), ifnull(App.OrderNo, 0)");
|
|
| 745 |
wrkFormat.Append(", ifnull(App.ApprovalStatus, -1)");
|
|
| 746 |
wrkFormat.Append(", ifnull(App.OrderNo, 0)");
|
|
| 733 | 747 |
for (int i = 0; i < s_SQLPart1_1.Length; i++) wrkFormat.Append(s_SQLPart1_1[i]); |
| 734 | 748 |
|
| 735 | 749 |
for (int i = 0; i < s_SQLPart2.Length; i++) wrkFormat.Append(s_SQLPart2[i]); |
| 736 | 750 |
for (int i = 0; i < s_SQLPart3.Length; i++) wrkFormat.Append(s_SQLPart3[i]); |
| 737 | 751 |
|
| 738 |
wrkFormat.Append(" LEFT JOIN processapproval AS App ON App.ConstructionCode = A.ConstructionCode");
|
|
| 752 |
wrkFormat.Append(" LEFT JOIN processapproval AS App");
|
|
| 753 |
wrkFormat.Append(" ON App.ConstructionCode = A.ConstructionCode");
|
|
| 739 | 754 |
wrkFormat.AppendFormat(" AND App.ApprovalCode = {0}", (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval);
|
| 740 | 755 |
wrkFormat.AppendFormat(" And App.OrderNo = {0}", CommonDefine.s_Default_OrderNo);
|
| 741 | 756 |
wrkFormat.Append(" And App.SeqNo = 1");
|
| ... | ... | |
| 745 | 760 |
|
| 746 | 761 |
strSQL.Append(" UNION (");
|
| 747 | 762 |
strSQL.AppendFormat(wrkFormat.ToString(), numUDConstPro.Value); |
| 748 |
strSQL.Append(" AND EXISTS (SELECT * FROM PURCHASEORDER B1 WHERE B1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE)");
|
|
| 763 |
|
|
| 764 |
strSQL.Append(" AND EXISTS");
|
|
| 765 |
strSQL.Append(" (SELECT * FROM PURCHASEORDER B1");
|
|
| 766 |
strSQL.Append(" WHERE B1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE)");
|
|
| 767 |
|
|
| 749 | 768 |
strSQL.Append(" AND A.CONSTRUCTIONPERSONCODE != 0");
|
| 750 | 769 |
strSQL.Append(" AND A1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
|
| 751 | 770 |
|
| ... | ... | |
| 980 | 999 |
strSQL.Append(" And A4.ApprovalCode = A3.ApprovalCode");
|
| 981 | 1000 |
strSQL.Append(" And A4.OrderNo = A3.OrderNo");
|
| 982 | 1001 |
strSQL.Append(" And A4.SeqNo = 1");
|
| 983 |
strSQL.Append(" WHERE");
|
|
| 984 |
strSQL.AppendFormat(" A1.CONSTRUCTIONCODE = {0}", ParentCode);
|
|
| 1002 |
strSQL.AppendFormat(" WHERE A1.CONSTRUCTIONCODE = {0}", ParentCode);
|
|
| 1003 |
strSQL.AppendFormat(" And A1.SOURCECODE = {0}", SourceCode);
|
|
| 985 | 1004 |
strSQL.AppendFormat(" AND A1.GROUPCOUNT = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
|
| 986 | 1005 |
strSQL.Append(" AND A1.COMPANYCODE > 0");
|
| 987 | 1006 |
strSQL.AppendFormat(" And A1.EXECUTIONAMOUNT >= {0}", CommonDefine.s_PrintOutPrice);
|
| ... | ... | |
| 998 | 1017 |
{
|
| 999 | 1018 |
int OrderFlg = CommonMotions.cnvInt(objRec[0]); |
| 1000 | 1019 |
int Status = CommonMotions.cnvInt(objRec[7]); |
| 1020 |
|
|
| 1001 | 1021 |
// ???????????????I?? |
| 1002 | 1022 |
if (OrderFlg == (int)ConstructionLedgerDetail.PurOrderFlgDef.NoCreate) |
| 1003 | 1023 |
{
|
| ... | ... | |
| 1461 | 1481 |
ProgressBar.Value = 0; |
| 1462 | 1482 |
if (m_ExecuteFlg == (int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo) grpExample1.Visible = !bDisp; |
| 1463 | 1483 |
|
| 1464 |
btnDataEntry.Visible = !bDisp; |
|
| 1465 | 1484 |
btnEnd.Visible = !bDisp; |
| 1466 | 1485 |
btnDataCopy.Visible = !bDisp; |
| 1467 | 1486 |
btnDataUpDate.Visible = !bDisp; |
| ... | ... | |
| 1472 | 1491 |
radioButton1.Enabled = !bDisp; |
| 1473 | 1492 |
radioButton2.Enabled = !bDisp; |
| 1474 | 1493 |
|
| 1494 |
if (m_DataAddtionButton) btnDataEntry.Visible = !bDisp; |
|
| 1495 |
|
|
| 1475 | 1496 |
this.Update(); |
| 1476 | 1497 |
} |
| 1477 | 1498 |
catch (Exception ex) |
| ... | ... | |
| 1605 | 1626 |
} |
| 1606 | 1627 |
|
| 1607 | 1628 |
// ?f?[?^???????{?^????\??
|
| 1608 |
if (!m_DataAddtionButton) |
|
| 1609 |
{
|
|
| 1610 |
btnDataEntry.Visible = false; |
|
| 1611 |
} |
|
| 1629 |
btnDataEntry.Visible = m_DataAddtionButton; |
|
| 1612 | 1630 |
|
| 1613 | 1631 |
switch (m_ExecuteFlg) |
| 1614 | 1632 |
{
|
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.designer.cs | ||
|---|---|---|
| 792 | 792 |
this.label9.Name = "label9"; |
| 793 | 793 |
this.label9.Size = new System.Drawing.Size(110, 25); |
| 794 | 794 |
this.label9.TabIndex = 0; |
| 795 |
this.label9.Text = "当期経過給与";
|
|
| 795 |
this.label9.Text = "当期必要給与";
|
|
| 796 | 796 |
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
| 797 | 797 |
// |
| 798 | 798 |
// lblPayroll |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.designer.cs | ||
|---|---|---|
| 43 | 43 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 44 | 44 |
this.btnEnd = new System.Windows.Forms.Button(); |
| 45 | 45 |
this.label1 = new System.Windows.Forms.Label(); |
| 46 |
this.lblCellTotal = new System.Windows.Forms.Label(); |
|
| 47 |
this.ProgressBar = new System.Windows.Forms.ProgressBar(); |
|
| 48 |
this.btnLedgerStatus = new System.Windows.Forms.Button(); |
|
| 49 |
this.dgvMaster = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
| 50 |
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 51 |
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 52 |
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 53 |
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 54 |
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 55 |
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 56 |
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 57 |
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 58 |
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 59 |
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 46 | 60 |
this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx(); |
| 47 | 61 |
this.pnlPayroll = new System.Windows.Forms.Panel(); |
| 48 | 62 |
this.label18 = new System.Windows.Forms.Label(); |
| ... | ... | |
| 80 | 94 |
this.numUDConstPro = new System.Windows.Forms.NumericUpDown(); |
| 81 | 95 |
this.label4 = new System.Windows.Forms.Label(); |
| 82 | 96 |
this.label7 = new System.Windows.Forms.Label(); |
| 83 |
this.lblCellTotal = new System.Windows.Forms.Label(); |
|
| 84 |
this.ProgressBar = new System.Windows.Forms.ProgressBar(); |
|
| 85 |
this.btnLedgerStatus = new System.Windows.Forms.Button(); |
|
| 86 |
this.dgvMaster = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
| 87 |
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 88 |
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 89 |
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 90 |
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 91 |
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 92 |
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 93 |
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 94 |
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 95 |
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 96 |
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 97 |
((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit(); |
|
| 97 | 98 |
this.groupBox1.SuspendLayout(); |
| 98 | 99 |
this.pnlPayroll.SuspendLayout(); |
| 99 | 100 |
((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit(); |
| 100 |
((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit(); |
|
| 101 | 101 |
this.SuspendLayout(); |
| 102 | 102 |
// |
| 103 | 103 |
// btnEnd |
| ... | ... | |
| 127 | 127 |
this.label1.Text = "部 署 別 台 帳 一 覧"; |
| 128 | 128 |
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
| 129 | 129 |
// |
| 130 |
// lblCellTotal |
|
| 131 |
// |
|
| 132 |
this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
| 133 |
this.lblCellTotal.AutoSize = true; |
|
| 134 |
this.lblCellTotal.BackColor = System.Drawing.Color.Black; |
|
| 135 |
this.lblCellTotal.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 136 |
this.lblCellTotal.ForeColor = System.Drawing.Color.White; |
|
| 137 |
this.lblCellTotal.Location = new System.Drawing.Point(200, 628); |
|
| 138 |
this.lblCellTotal.Name = "lblCellTotal"; |
|
| 139 |
this.lblCellTotal.Size = new System.Drawing.Size(0, 13); |
|
| 140 |
this.lblCellTotal.TabIndex = 29; |
|
| 141 |
// |
|
| 142 |
// ProgressBar |
|
| 143 |
// |
|
| 144 |
this.ProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
| 145 |
this.ProgressBar.Location = new System.Drawing.Point(5, 619); |
|
| 146 |
this.ProgressBar.Name = "ProgressBar"; |
|
| 147 |
this.ProgressBar.Size = new System.Drawing.Size(388, 30); |
|
| 148 |
this.ProgressBar.TabIndex = 30; |
|
| 149 |
this.ProgressBar.Visible = false; |
|
| 150 |
// |
|
| 151 |
// btnLedgerStatus |
|
| 152 |
// |
|
| 153 |
this.btnLedgerStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
| 154 |
this.btnLedgerStatus.BackColor = System.Drawing.Color.DodgerBlue; |
|
| 155 |
this.btnLedgerStatus.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 156 |
this.btnLedgerStatus.ForeColor = System.Drawing.Color.Black; |
|
| 157 |
this.btnLedgerStatus.Location = new System.Drawing.Point(1185, 5); |
|
| 158 |
this.btnLedgerStatus.Name = "btnLedgerStatus"; |
|
| 159 |
this.btnLedgerStatus.Size = new System.Drawing.Size(150, 30); |
|
| 160 |
this.btnLedgerStatus.TabIndex = 48; |
|
| 161 |
this.btnLedgerStatus.Text = "未作成台帳確認"; |
|
| 162 |
this.btnLedgerStatus.UseVisualStyleBackColor = false; |
|
| 163 |
this.btnLedgerStatus.Click += new System.EventHandler(this.btnLedgerStatus_Click); |
|
| 164 |
// |
|
| 165 |
// dgvMaster |
|
| 166 |
// |
|
| 167 |
this.dgvMaster.AllowUserToAddRows = false; |
|
| 168 |
this.dgvMaster.AllowUserToDeleteRows = false; |
|
| 169 |
this.dgvMaster.AllowUserToResizeColumns = false; |
|
| 170 |
this.dgvMaster.AllowUserToResizeRows = false; |
|
| 171 |
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); |
|
| 172 |
this.dgvMaster.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
| 173 |
this.dgvMaster.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
| 174 |
| System.Windows.Forms.AnchorStyles.Left) |
|
| 175 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
| 176 |
this.dgvMaster.BackgroundColor = System.Drawing.Color.White; |
|
| 177 |
this.dgvMaster.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
| 178 |
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 179 |
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; |
|
| 180 |
dataGridViewCellStyle2.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 181 |
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; |
|
| 182 |
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
| 183 |
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
| 184 |
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
| 185 |
this.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
| 186 |
this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
| 187 |
this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
| 188 |
this.Column3, |
|
| 189 |
this.Column1, |
|
| 190 |
this.Column14, |
|
| 191 |
this.Column5, |
|
| 192 |
this.Column6, |
|
| 193 |
this.Column7, |
|
| 194 |
this.Column8, |
|
| 195 |
this.Column9, |
|
| 196 |
this.Column10, |
|
| 197 |
this.Column12}); |
|
| 198 |
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
| 199 |
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window; |
|
| 200 |
dataGridViewCellStyle13.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 201 |
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.ControlText; |
|
| 202 |
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.LightSeaGreen; |
|
| 203 |
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
| 204 |
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
|
| 205 |
this.dgvMaster.DefaultCellStyle = dataGridViewCellStyle13; |
|
| 206 |
this.dgvMaster.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; |
|
| 207 |
this.dgvMaster.EnableHeadersVisualStyles = false; |
|
| 208 |
this.dgvMaster.Location = new System.Drawing.Point(5, 168); |
|
| 209 |
this.dgvMaster.Name = "dgvMaster"; |
|
| 210 |
this.dgvMaster.RowHeadersVisible = false; |
|
| 211 |
this.dgvMaster.RowHeadersWidth = 20; |
|
| 212 |
this.dgvMaster.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
| 213 |
this.dgvMaster.RowTemplate.Height = 21; |
|
| 214 |
this.dgvMaster.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
| 215 |
this.dgvMaster.Size = new System.Drawing.Size(1330, 446); |
|
| 216 |
this.dgvMaster.TabIndex = 5; |
|
| 217 |
this.dgvMaster.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick); |
|
| 218 |
this.dgvMaster.SelectionChanged += new System.EventHandler(this.dgvMaster_SelectionChanged); |
|
| 219 |
this.dgvMaster.Leave += new System.EventHandler(this.dgvMaster_Leave); |
|
| 220 |
this.dgvMaster.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvMaster_MouseUp); |
|
| 221 |
// |
|
| 222 |
// Column3 |
|
| 223 |
// |
|
| 224 |
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 225 |
this.Column3.DefaultCellStyle = dataGridViewCellStyle3; |
|
| 226 |
this.Column3.Frozen = true; |
|
| 227 |
this.Column3.HeaderText = "コード"; |
|
| 228 |
this.Column3.Name = "Column3"; |
|
| 229 |
this.Column3.ReadOnly = true; |
|
| 230 |
this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 231 |
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 232 |
this.Column3.Visible = false; |
|
| 233 |
this.Column3.Width = 5; |
|
| 234 |
// |
|
| 235 |
// Column1 |
|
| 236 |
// |
|
| 237 |
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 238 |
this.Column1.DefaultCellStyle = dataGridViewCellStyle4; |
|
| 239 |
this.Column1.Frozen = true; |
|
| 240 |
this.Column1.HeaderText = "№"; |
|
| 241 |
this.Column1.Name = "Column1"; |
|
| 242 |
this.Column1.ReadOnly = true; |
|
| 243 |
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 244 |
this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 245 |
this.Column1.Width = 50; |
|
| 246 |
// |
|
| 247 |
// Column14 |
|
| 248 |
// |
|
| 249 |
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 250 |
this.Column14.DefaultCellStyle = dataGridViewCellStyle5; |
|
| 251 |
this.Column14.Frozen = true; |
|
| 252 |
this.Column14.HeaderText = "部 署"; |
|
| 253 |
this.Column14.Name = "Column14"; |
|
| 254 |
this.Column14.ReadOnly = true; |
|
| 255 |
this.Column14.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 256 |
this.Column14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 257 |
this.Column14.Width = 280; |
|
| 258 |
// |
|
| 259 |
// Column5 |
|
| 260 |
// |
|
| 261 |
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 262 |
dataGridViewCellStyle6.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 263 |
this.Column5.DefaultCellStyle = dataGridViewCellStyle6; |
|
| 264 |
this.Column5.Frozen = true; |
|
| 265 |
this.Column5.HeaderText = "受注金額"; |
|
| 266 |
this.Column5.Name = "Column5"; |
|
| 267 |
this.Column5.ReadOnly = true; |
|
| 268 |
this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 269 |
this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 270 |
this.Column5.Width = 140; |
|
| 271 |
// |
|
| 272 |
// Column6 |
|
| 273 |
// |
|
| 274 |
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 275 |
dataGridViewCellStyle7.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 276 |
this.Column6.DefaultCellStyle = dataGridViewCellStyle7; |
|
| 277 |
this.Column6.Frozen = true; |
|
| 278 |
this.Column6.HeaderText = "会社経費"; |
|
| 279 |
this.Column6.Name = "Column6"; |
|
| 280 |
this.Column6.ReadOnly = true; |
|
| 281 |
this.Column6.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 282 |
this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 283 |
this.Column6.Width = 140; |
|
| 284 |
// |
|
| 285 |
// Column7 |
|
| 286 |
// |
|
| 287 |
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 288 |
dataGridViewCellStyle8.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 289 |
this.Column7.DefaultCellStyle = dataGridViewCellStyle8; |
|
| 290 |
this.Column7.Frozen = true; |
|
| 291 |
this.Column7.HeaderText = "部署経費"; |
|
| 292 |
this.Column7.Name = "Column7"; |
|
| 293 |
this.Column7.ReadOnly = true; |
|
| 294 |
this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 295 |
this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 296 |
this.Column7.Width = 140; |
|
| 297 |
// |
|
| 298 |
// Column8 |
|
| 299 |
// |
|
| 300 |
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 301 |
dataGridViewCellStyle9.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 302 |
this.Column8.DefaultCellStyle = dataGridViewCellStyle9; |
|
| 303 |
this.Column8.Frozen = true; |
|
| 304 |
this.Column8.HeaderText = "営業経費"; |
|
| 305 |
this.Column8.Name = "Column8"; |
|
| 306 |
this.Column8.ReadOnly = true; |
|
| 307 |
this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 308 |
this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 309 |
this.Column8.Width = 140; |
|
| 310 |
// |
|
| 311 |
// Column9 |
|
| 312 |
// |
|
| 313 |
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 314 |
dataGridViewCellStyle10.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 315 |
this.Column9.DefaultCellStyle = dataGridViewCellStyle10; |
|
| 316 |
this.Column9.Frozen = true; |
|
| 317 |
this.Column9.HeaderText = "総支払額"; |
|
| 318 |
this.Column9.Name = "Column9"; |
|
| 319 |
this.Column9.ReadOnly = true; |
|
| 320 |
this.Column9.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 321 |
this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 322 |
this.Column9.Width = 140; |
|
| 323 |
// |
|
| 324 |
// Column10 |
|
| 325 |
// |
|
| 326 |
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 327 |
dataGridViewCellStyle11.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 328 |
this.Column10.DefaultCellStyle = dataGridViewCellStyle11; |
|
| 329 |
this.Column10.Frozen = true; |
|
| 330 |
this.Column10.HeaderText = "粗 利"; |
|
| 331 |
this.Column10.Name = "Column10"; |
|
| 332 |
this.Column10.ReadOnly = true; |
|
| 333 |
this.Column10.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 334 |
this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 335 |
this.Column10.Width = 140; |
|
| 336 |
// |
|
| 337 |
// Column12 |
|
| 338 |
// |
|
| 339 |
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 340 |
dataGridViewCellStyle12.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 341 |
this.Column12.DefaultCellStyle = dataGridViewCellStyle12; |
|
| 342 |
this.Column12.Frozen = true; |
|
| 343 |
this.Column12.HeaderText = "純利益"; |
|
| 344 |
this.Column12.Name = "Column12"; |
|
| 345 |
this.Column12.ReadOnly = true; |
|
| 346 |
this.Column12.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 347 |
this.Column12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 348 |
this.Column12.Width = 140; |
|
| 349 |
// |
|
| 130 | 350 |
// groupBox1 |
| 131 | 351 |
// |
| 132 | 352 |
this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top; |
| ... | ... | |
| 496 | 716 |
this.label6.Name = "label6"; |
| 497 | 717 |
this.label6.Size = new System.Drawing.Size(110, 25); |
| 498 | 718 |
this.label6.TabIndex = 0; |
| 499 |
this.label6.Text = "当期経過給与";
|
|
| 719 |
this.label6.Text = "当期必要給与";
|
|
| 500 | 720 |
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
| 501 | 721 |
// |
| 502 | 722 |
// lblPayroll |
| ... | ... | |
| 621 | 841 |
this.label7.Text = "第"; |
| 622 | 842 |
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
| 623 | 843 |
// |
| 624 |
// lblCellTotal |
|
| 625 |
// |
|
| 626 |
this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
| 627 |
this.lblCellTotal.AutoSize = true; |
|
| 628 |
this.lblCellTotal.BackColor = System.Drawing.Color.Black; |
|
| 629 |
this.lblCellTotal.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 630 |
this.lblCellTotal.ForeColor = System.Drawing.Color.White; |
|
| 631 |
this.lblCellTotal.Location = new System.Drawing.Point(200, 628); |
|
| 632 |
this.lblCellTotal.Name = "lblCellTotal"; |
|
| 633 |
this.lblCellTotal.Size = new System.Drawing.Size(0, 13); |
|
| 634 |
this.lblCellTotal.TabIndex = 29; |
|
| 635 |
// |
|
| 636 |
// ProgressBar |
|
| 637 |
// |
|
| 638 |
this.ProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
| 639 |
this.ProgressBar.Location = new System.Drawing.Point(5, 619); |
|
| 640 |
this.ProgressBar.Name = "ProgressBar"; |
|
| 641 |
this.ProgressBar.Size = new System.Drawing.Size(388, 30); |
|
| 642 |
this.ProgressBar.TabIndex = 30; |
|
| 643 |
this.ProgressBar.Visible = false; |
|
| 644 |
// |
|
| 645 |
// btnLedgerStatus |
|
| 646 |
// |
|
| 647 |
this.btnLedgerStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
| 648 |
this.btnLedgerStatus.BackColor = System.Drawing.Color.DodgerBlue; |
|
| 649 |
this.btnLedgerStatus.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 650 |
this.btnLedgerStatus.ForeColor = System.Drawing.Color.Black; |
|
| 651 |
this.btnLedgerStatus.Location = new System.Drawing.Point(1185, 5); |
|
| 652 |
this.btnLedgerStatus.Name = "btnLedgerStatus"; |
|
| 653 |
this.btnLedgerStatus.Size = new System.Drawing.Size(150, 30); |
|
| 654 |
this.btnLedgerStatus.TabIndex = 48; |
|
| 655 |
this.btnLedgerStatus.Text = "未作成台帳確認"; |
|
| 656 |
this.btnLedgerStatus.UseVisualStyleBackColor = false; |
|
| 657 |
this.btnLedgerStatus.Click += new System.EventHandler(this.btnLedgerStatus_Click); |
|
| 658 |
// |
|
| 659 |
// dgvMaster |
|
| 660 |
// |
|
| 661 |
this.dgvMaster.AllowUserToAddRows = false; |
|
| 662 |
this.dgvMaster.AllowUserToDeleteRows = false; |
|
| 663 |
this.dgvMaster.AllowUserToResizeColumns = false; |
|
| 664 |
this.dgvMaster.AllowUserToResizeRows = false; |
|
| 665 |
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); |
|
| 666 |
this.dgvMaster.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
| 667 |
this.dgvMaster.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
| 668 |
| System.Windows.Forms.AnchorStyles.Left) |
|
| 669 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
| 670 |
this.dgvMaster.BackgroundColor = System.Drawing.Color.White; |
|
| 671 |
this.dgvMaster.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
| 672 |
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 673 |
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; |
|
| 674 |
dataGridViewCellStyle2.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 675 |
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; |
|
| 676 |
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
| 677 |
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
| 678 |
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
| 679 |
this.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
| 680 |
this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
| 681 |
this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
| 682 |
this.Column3, |
|
| 683 |
this.Column1, |
|
| 684 |
this.Column14, |
|
| 685 |
this.Column5, |
|
| 686 |
this.Column6, |
|
| 687 |
this.Column7, |
|
| 688 |
this.Column8, |
|
| 689 |
this.Column9, |
|
| 690 |
this.Column10, |
|
| 691 |
this.Column12}); |
|
| 692 |
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
| 693 |
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window; |
|
| 694 |
dataGridViewCellStyle13.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 695 |
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.ControlText; |
|
| 696 |
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.LightSeaGreen; |
|
| 697 |
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
| 698 |
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
|
| 699 |
this.dgvMaster.DefaultCellStyle = dataGridViewCellStyle13; |
|
| 700 |
this.dgvMaster.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; |
|
| 701 |
this.dgvMaster.EnableHeadersVisualStyles = false; |
|
| 702 |
this.dgvMaster.Location = new System.Drawing.Point(5, 168); |
|
| 703 |
this.dgvMaster.Name = "dgvMaster"; |
|
| 704 |
this.dgvMaster.RowHeadersVisible = false; |
|
| 705 |
this.dgvMaster.RowHeadersWidth = 20; |
|
| 706 |
this.dgvMaster.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
| 707 |
this.dgvMaster.RowTemplate.Height = 21; |
|
| 708 |
this.dgvMaster.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
| 709 |
this.dgvMaster.Size = new System.Drawing.Size(1330, 446); |
|
| 710 |
this.dgvMaster.TabIndex = 5; |
|
| 711 |
this.dgvMaster.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick); |
|
| 712 |
this.dgvMaster.SelectionChanged += new System.EventHandler(this.dgvMaster_SelectionChanged); |
|
| 713 |
this.dgvMaster.Leave += new System.EventHandler(this.dgvMaster_Leave); |
|
| 714 |
this.dgvMaster.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvMaster_MouseUp); |
|
| 715 |
// |
|
| 716 |
// Column3 |
|
| 717 |
// |
|
| 718 |
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 719 |
this.Column3.DefaultCellStyle = dataGridViewCellStyle3; |
|
| 720 |
this.Column3.Frozen = true; |
|
| 721 |
this.Column3.HeaderText = "コード"; |
|
| 722 |
this.Column3.Name = "Column3"; |
|
| 723 |
this.Column3.ReadOnly = true; |
|
| 724 |
this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 725 |
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 726 |
this.Column3.Visible = false; |
|
| 727 |
this.Column3.Width = 5; |
|
| 728 |
// |
|
| 729 |
// Column1 |
|
| 730 |
// |
|
| 731 |
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 732 |
this.Column1.DefaultCellStyle = dataGridViewCellStyle4; |
|
| 733 |
this.Column1.Frozen = true; |
|
| 734 |
this.Column1.HeaderText = "№"; |
|
| 735 |
this.Column1.Name = "Column1"; |
|
| 736 |
this.Column1.ReadOnly = true; |
|
| 737 |
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 738 |
this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 739 |
this.Column1.Width = 50; |
|
| 740 |
// |
|
| 741 |
// Column14 |
|
| 742 |
// |
|
| 743 |
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 744 |
this.Column14.DefaultCellStyle = dataGridViewCellStyle5; |
|
| 745 |
this.Column14.Frozen = true; |
|
| 746 |
this.Column14.HeaderText = "部 署"; |
|
| 747 |
this.Column14.Name = "Column14"; |
|
| 748 |
this.Column14.ReadOnly = true; |
|
| 749 |
this.Column14.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 750 |
this.Column14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 751 |
this.Column14.Width = 280; |
|
| 752 |
// |
|
| 753 |
// Column5 |
|
| 754 |
// |
|
| 755 |
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 756 |
dataGridViewCellStyle6.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 757 |
this.Column5.DefaultCellStyle = dataGridViewCellStyle6; |
|
| 758 |
this.Column5.Frozen = true; |
|
| 759 |
this.Column5.HeaderText = "受注金額"; |
|
| 760 |
this.Column5.Name = "Column5"; |
|
| 761 |
this.Column5.ReadOnly = true; |
|
| 762 |
this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 763 |
this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 764 |
this.Column5.Width = 140; |
|
| 765 |
// |
|
| 766 |
// Column6 |
|
| 767 |
// |
|
| 768 |
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 769 |
dataGridViewCellStyle7.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 770 |
this.Column6.DefaultCellStyle = dataGridViewCellStyle7; |
|
| 771 |
this.Column6.Frozen = true; |
|
| 772 |
this.Column6.HeaderText = "会社経費"; |
|
| 773 |
this.Column6.Name = "Column6"; |
|
| 774 |
this.Column6.ReadOnly = true; |
|
| 775 |
this.Column6.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 776 |
this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 777 |
this.Column6.Width = 140; |
|
| 778 |
// |
|
| 779 |
// Column7 |
|
| 780 |
// |
|
| 781 |
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 782 |
dataGridViewCellStyle8.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 783 |
this.Column7.DefaultCellStyle = dataGridViewCellStyle8; |
|
| 784 |
this.Column7.Frozen = true; |
|
| 785 |
this.Column7.HeaderText = "部署経費"; |
|
| 786 |
this.Column7.Name = "Column7"; |
|
| 787 |
this.Column7.ReadOnly = true; |
|
| 788 |
this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 789 |
this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 790 |
this.Column7.Width = 140; |
|
| 791 |
// |
|
| 792 |
// Column8 |
|
| 793 |
// |
|
| 794 |
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 795 |
dataGridViewCellStyle9.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 796 |
this.Column8.DefaultCellStyle = dataGridViewCellStyle9; |
|
| 797 |
this.Column8.Frozen = true; |
|
| 798 |
this.Column8.HeaderText = "営業経費"; |
|
| 799 |
this.Column8.Name = "Column8"; |
|
| 800 |
this.Column8.ReadOnly = true; |
|
| 801 |
this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 802 |
this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 803 |
this.Column8.Width = 140; |
|
| 804 |
// |
|
| 805 |
// Column9 |
|
| 806 |
// |
|
| 807 |
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 808 |
dataGridViewCellStyle10.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 809 |
this.Column9.DefaultCellStyle = dataGridViewCellStyle10; |
|
| 810 |
this.Column9.Frozen = true; |
|
| 811 |
this.Column9.HeaderText = "総支払額"; |
|
| 812 |
this.Column9.Name = "Column9"; |
|
| 813 |
this.Column9.ReadOnly = true; |
|
| 814 |
this.Column9.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 815 |
this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 816 |
this.Column9.Width = 140; |
|
| 817 |
// |
|
| 818 |
// Column10 |
|
| 819 |
// |
|
| 820 |
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 821 |
dataGridViewCellStyle11.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 822 |
this.Column10.DefaultCellStyle = dataGridViewCellStyle11; |
|
| 823 |
this.Column10.Frozen = true; |
|
| 824 |
this.Column10.HeaderText = "粗 利"; |
|
| 825 |
this.Column10.Name = "Column10"; |
|
| 826 |
this.Column10.ReadOnly = true; |
|
| 827 |
this.Column10.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 828 |
this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 829 |
this.Column10.Width = 140; |
|
| 830 |
// |
|
| 831 |
// Column12 |
|
| 832 |
// |
|
| 833 |
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; |
|
| 834 |
dataGridViewCellStyle12.Font = new System.Drawing.Font("MS P明朝", 9F, System.Drawing.FontStyle.Bold);
|
|
| 835 |
this.Column12.DefaultCellStyle = dataGridViewCellStyle12; |
|
| 836 |
this.Column12.Frozen = true; |
|
| 837 |
this.Column12.HeaderText = "純利益"; |
|
| 838 |
this.Column12.Name = "Column12"; |
|
| 839 |
this.Column12.ReadOnly = true; |
|
| 840 |
this.Column12.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
|
| 841 |
this.Column12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
| 842 |
this.Column12.Width = 140; |
|
| 843 |
// |
|
| 844 | 844 |
// FrmDepExpenssList |
| 845 | 845 |
// |
| 846 | 846 |
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); |
| ... | ... | |
| 866 | 866 |
this.Load += new System.EventHandler(this.FrmConstructionBaseInfoList_Load); |
| 867 | 867 |
this.SizeChanged += new System.EventHandler(this.FrmDepExpenssList_SizeChanged); |
| 868 | 868 |
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmDepExpenssList_KeyDown); |
| 869 |
((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit(); |
|
| 869 | 870 |
this.groupBox1.ResumeLayout(false); |
| 870 | 871 |
this.pnlPayroll.ResumeLayout(false); |
| 871 | 872 |
this.pnlPayroll.PerformLayout(); |
| 872 | 873 |
((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).EndInit(); |
| 873 |
((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit(); |
|
| 874 | 874 |
this.ResumeLayout(false); |
| 875 | 875 |
this.PerformLayout(); |
| 876 | 876 |
|
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs | ||
|---|---|---|
| 294 | 294 |
|
| 295 | 295 |
// ???^???? |
| 296 | 296 |
int workSalary = 0; |
| 297 |
if (numUDConstPro.Value <= CommonMotions.SystemMasterData.BusinessPeriod) |
|
| 298 |
{
|
|
| 299 |
workSalary = CommonMotions.CalcElapsedSalary(SalaryDB, stDate, edDate, CurPersonCode); |
|
| 300 |
} |
|
| 297 |
workSalary = CommonMotions.CalcElapsedSalary(SalaryDB, stDate, edDate, CurPersonCode); |
|
| 298 |
|
|
| 301 | 299 |
// ??v???Z |
| 302 | 300 |
TotalSalary += workSalary; |
| 303 | 301 |
} |
| ... | ... | |
| 332 | 330 |
CreateLedgerSQL.GetPersonExpensesCostValue(CostDB, 0, PersonCode, dtDefaultStart, dtDefaultEnd, ref CostValue2); |
| 333 | 331 |
|
| 334 | 332 |
// ???^???? |
| 335 |
if (numUDConstPro.Value <= CommonMotions.SystemMasterData.BusinessPeriod) |
|
| 336 |
{
|
|
| 337 |
TotalSalary = CommonMotions.CalcElapsedSalary(SalaryDB, stDate, edDate, PersonCode); |
|
| 338 |
} |
|
| 333 |
TotalSalary = CommonMotions.CalcElapsedSalary(SalaryDB, stDate, edDate, PersonCode); |
|
| 339 | 334 |
|
| 340 | 335 |
// ?U?????^???z?E?????v???z?E?e???v???z?? |
| 341 | 336 |
CreateLedgerSQL.ProfitGeneral(LedgerDB, (int)numUDConstPro.Value, DepartmentCode, PersonCode, ref OnSalary, false); |
| ... | ... | |
| 357 | 352 |
// ???Z |
| 358 | 353 |
wrkArray[(int)DBGetData.NetProfit] += CostValue3.Sum(); // ?????v |
| 359 | 354 |
// ------------------------------------------------------------------------------------------ |
| 355 |
// ?S??\?????A?S??O??\??????? |
|
| 356 |
if (PersonCode == 0 && wrkArray.Sum() == 0) { return; }
|
|
| 360 | 357 |
|
| 358 |
// ------------------------------------------------------------------------------------------ |
|
| 361 | 359 |
dgv.Rows.Add(objwrk[(int)DBGetData.DepartmentCode], |
| 362 | 360 |
ino++, |
| 363 | 361 |
CommonMotions.cnvString(objwrk[(int)DBGetData.DepartmentString]), |
| ... | ... | |
| 1045 | 1043 |
strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG != {0}", NotOrder);
|
| 1046 | 1044 |
strSQL.AppendFormat(" AND B.TyingFlg != {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
|
| 1047 | 1045 |
strSQL.AppendFormat(" AND B.JoinFlg != {0}", (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren);
|
| 1048 |
strSQL.Append(" LEFT JOIN CONSTRUCTIONLEDGER A ON A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE,");
|
|
| 1049 |
strSQL.Append(" DEPARTMENTMASTER D");
|
|
| 1050 |
strSQL.Append(" WHERE B.CONSTRUCTIONPERSONCODE = C.PERSONCODE");
|
|
| 1051 |
strSQL.Append(" AND C.DEPARTMENTCODE = D.DEPARTMENTCODE");
|
|
| 1046 |
strSQL.Append(" LEFT JOIN CONSTRUCTIONLEDGER A ON A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
|
|
| 1047 |
strSQL.Append(", DEPARTMENTMASTER D");
|
|
| 1048 |
strSQL.Append(" Where C.DEPARTMENTCODE = D.DEPARTMENTCODE");
|
|
| 1052 | 1049 |
|
| 1053 | 1050 |
strSQL.Append(" GROUP BY C.DEPARTMENTCODE, D.DEPARTMENTSTRING, D.DISPLAYORDER");
|
| 1054 | 1051 |
strSQL.Append(" ORDER BY 3 ASC");
|
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryListAuxiliary.cs | ||
|---|---|---|
| 213 | 213 |
strSQL.Append(" GROUP BY SUMTBL.SOURCECODE, SUMTBL.COMPANYCODE, SUMTBL.PURCHASEORDERFLG");
|
| 214 | 214 |
strSQL.AppendFormat(" HAVING SUM(SUMTBL.EXECUTIONAMOUNT) >= {0}))", CommonDefine.s_PrintOutPrice);
|
| 215 | 215 |
|
| 216 |
//int SetConstructionCode = 0; |
|
| 217 |
//if (SearchCode == 0) |
|
| 218 |
// SetConstructionCode = ParentCode; |
|
| 219 |
//else |
|
| 220 |
// SetConstructionCode = SearchCode; |
|
| 221 |
//strSQL.Append(" OR ((A.SOURCECODE, A.COMPANYCODE) IN");
|
|
| 222 |
//strSQL.AppendFormat(" (SELECT POR.CONSTRUCTIONCODE, POR.COMPANYCODE FROM PURCHASEORDER POR WHERE POR.CONSTRUCTIONCODE = {0})))", SetConstructionCode);
|
|
| 223 |
|
|
| 224 | 216 |
strSQL.Append(" AND NOT EXISTS (SELECT * FROM purchaseorderdetail AS C, purchaseorder AS D");
|
| 225 | 217 |
strSQL.Append(" WHERE C.ConstructionCode = A.SourceCode");
|
| 226 | 218 |
strSQL.Append(" AND D.ConstructionCode = C.ConstructionCode");
|
| ... | ... | |
| 235 | 227 |
strSQL.Append(", A.SECONDSTRING");
|
| 236 | 228 |
strSQL.Append(", A.COMPANYCODE AS COMPANYCODE");
|
| 237 | 229 |
strSQL.Append(", A.COMPANYNAME");
|
| 238 |
strSQL.Append(", A.EXECUTIONAMOUNT");
|
|
| 230 |
|
|
| 231 |
//strSQL.Append(", A.EXECUTIONAMOUNT");
|
|
| 232 |
|
|
| 233 |
strSQL.Append(", Case ifnull(F.OrderPrice, 0)");
|
|
| 234 |
strSQL.Append(" When 0 Then A.EXECUTIONAMOUNT");
|
|
| 235 |
strSQL.Append(" Else F.OrderPrice");
|
|
| 236 |
strSQL.Append(" End AS EXECUTIONAMOUNT");
|
|
| 237 |
|
|
| 239 | 238 |
strSQL.Append(", A.SOURCECODE");
|
| 240 | 239 |
strSQL.Append(", A.PURCHASEORDERFLG");
|
| 241 | 240 |
strSQL.Append(", B.DETAILSTRING");
|
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs | ||
|---|---|---|
| 1702 | 1702 |
// 協力会社の変更チェック |
| 1703 | 1703 |
ChangeCompany = ChangeCompanyTab(DataTab, ref BeforeCode); |
| 1704 | 1704 |
|
| 1705 |
// 変更がない場合は処理しない |
|
| 1706 |
if (!ChangeCompany) return true; |
|
| 1707 |
|
|
| 1705 | 1708 |
DataGridView dgv = DataTab.Group1DataGridView; |
| 1706 | 1709 |
foreach (DataGridViewRow CurRow in dgv.Rows) |
| 1707 | 1710 |
{
|
| ... | ... | |
| 1715 | 1718 |
if (QuantityVal == 0 && PriceVal == 0) continue; |
| 1716 | 1719 |
if (LedgerLine == 0) continue; |
| 1717 | 1720 |
|
| 1718 |
// 変更がある場合は協力会社を変更する |
|
| 1719 |
if (ChangeCompany) |
|
| 1721 |
// ----- 変更がある場合は協力会社を対象外に変更し行追加 |
|
| 1722 |
// 協力会社名変更 |
|
| 1723 |
TargetField = (int)IOConstructionLedgerDetail.TableColumn.CompanyName; |
|
| 1724 |
strSQL.Clear(); |
|
| 1725 |
strSQL.Append(LDetailDB.CreatePrimarykeyString(TargetCode)); |
|
| 1726 |
strSQL.AppendFormat(" AND SOURCECODE = {0}", m_ConstructionCode);
|
|
| 1727 |
strSQL.AppendFormat(" AND GROUPCOUNT = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
|
|
| 1728 |
strSQL.AppendFormat(" AND COMPANYCODE = {0}", BeforeCode);
|
|
| 1729 |
strSQL.AppendFormat(" AND LINECOUNT = {0}", LedgerLine);
|
|
| 1730 |
if (!LDetailDB.UpdateFeild(strSQL.ToString(), TargetField, DataTab.EntryTab.Text, false)) |
|
| 1720 | 1731 |
{
|
| 1721 |
// 協力会社名変更 |
|
| 1722 |
TargetField = (int)IOConstructionLedgerDetail.TableColumn.CompanyName; |
|
| 1723 |
strSQL.Clear(); |
|
| 1724 |
strSQL.Append(LDetailDB.CreatePrimarykeyString(TargetCode)); |
|
| 1725 |
strSQL.AppendFormat(" AND SOURCECODE = {0}", m_ConstructionCode);
|
|
| 1726 |
strSQL.AppendFormat(" AND GROUPCOUNT = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
|
|
| 1727 |
strSQL.AppendFormat(" AND COMPANYCODE = {0}", BeforeCode);
|
|
| 1728 |
//strSQL += string.Format(" AND EXECUTIONAMOUNT = {0}", PriceVal);
|
|
| 1729 |
//if (LedgerLine != 0) strSQL.AppendFormat(" AND LINECOUNT = {0}", LedgerLine);
|
|
| 1730 |
strSQL.AppendFormat(" AND LINECOUNT = {0}", LedgerLine);
|
|
| 1731 |
if (!LDetailDB.UpdateFeild(strSQL.ToString(), TargetField, DataTab.EntryTab.Text, false)) |
|
| 1732 |
{
|
|
| 1733 |
LogicalErrorMessage("注文書データ:協力会社名称変更に失敗しました。", "更新エラー", CommonMotions.GetMethodName());
|
|
| 1734 |
return false; |
|
| 1735 |
} |
|
| 1736 |
// 協力会社コード変更 |
|
| 1737 |
TargetField = (int)IOConstructionLedgerDetail.TableColumn.CompanyCode; |
|
| 1738 |
if (!LDetailDB.UpdateFeild(strSQL.ToString(), TargetField, DataTab.OrderCompanyCode, false)) |
|
| 1739 |
{
|
|
| 1740 |
LogicalErrorMessage("注文書データ:協力会社コード変更に失敗しました。", "更新エラー", CommonMotions.GetMethodName());
|
|
| 1741 |
return false; |
|
| 1742 |
} |
|
| 1732 |
LogicalErrorMessage("注文書データ:協力会社名称変更に失敗しました。", "更新エラー", CommonMotions.GetMethodName());
|
|
| 1733 |
return false; |
|
| 1743 | 1734 |
} |
| 1735 |
// 協力会社コード変更 |
|
| 1736 |
TargetField = (int)IOConstructionLedgerDetail.TableColumn.CompanyCode; |
|
| 1737 |
if (!LDetailDB.UpdateFeild(strSQL.ToString(), TargetField, DataTab.OrderCompanyCode, false)) |
|
| 1738 |
{
|
|
| 1739 |
LogicalErrorMessage("注文書データ:協力会社コード変更に失敗しました。", "更新エラー", CommonMotions.GetMethodName());
|
|
| 1740 |
return false; |
|
| 1741 |
} |
|
| 1742 |
|
|
| 1744 | 1743 |
// 注文書作成フラグON |
| 1745 | 1744 |
TargetField = (int)IOConstructionLedgerDetail.TableColumn.PurchaseOrderFlg; |
| 1746 | 1745 |
strSQL.Clear(); |
| ... | ... | |
| 1748 | 1747 |
strSQL.AppendFormat(" AND SOURCECODE = {0}", m_ConstructionCode);
|
| 1749 | 1748 |
strSQL.AppendFormat(" AND GROUPCOUNT = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
|
| 1750 | 1749 |
strSQL.AppendFormat(" AND COMPANYCODE = {0}", DataTab.OrderCompanyCode);
|
| 1751 |
//strSQL += string.Format(" AND EXECUTIONAMOUNT = {0}", PriceVal);
|
|
| 1752 |
//if (LedgerLine != 0) strSQL.AppendFormat(" AND LINECOUNT = {0}", LedgerLine);
|
|
| 1753 | 1750 |
strSQL.AppendFormat(" AND LINECOUNT = {0}", LedgerLine);
|
| 1754 | 1751 |
if (!LDetailDB.UpdateFeild(strSQL.ToString(), TargetField, (int)ConstructionLedgerDetail.PurOrderFlgDef.Making, false)) |
| 1755 | 1752 |
{
|
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrint.Designer.cs | ||
|---|---|---|
| 479 | 479 |
// |
| 480 | 480 |
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| 481 | 481 |
this.Column4.DefaultCellStyle = dataGridViewCellStyle5; |
| 482 |
this.Column4.HeaderText = "注文書作成日";
|
|
| 482 |
this.Column4.HeaderText = "注文書印刷日";
|
|
| 483 | 483 |
this.Column4.Name = "Column4"; |
| 484 | 484 |
this.Column4.ReadOnly = true; |
| 485 | 485 |
this.Column4.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs | ||
|---|---|---|
| 198 | 198 |
} |
| 199 | 199 |
#endregion |
| 200 | 200 |
|
| 201 |
#region 注文書データフィールドSQL作成 |
|
| 202 |
/// <summary> |
|
| 203 |
/// 注文書データフィールドSQL作成 |
|
| 204 |
/// </summary> |
|
| 205 |
/// <param name="Alias"></param> |
|
| 206 |
/// <returns></returns> |
|
| 207 |
private string CerateFieldSQL(string Alias) |
|
| 208 |
{
|
|
| 209 |
try |
|
| 210 |
{
|
|
| 211 |
StringBuilder strcmd = new StringBuilder(); |
|
| 212 |
|
|
| 213 |
strcmd.AppendFormat(" {0}ConstructionCode", Alias);
|
|
| 214 |
strcmd.AppendFormat(",{0}SeqNo", Alias);
|
|
| 215 |
strcmd.AppendFormat(",{0}CompanyCode", Alias);
|
|
| 216 |
strcmd.AppendFormat(",DATE_FORMAT({0}CreateDate, '%Y/%m/%d')", Alias);
|
|
| 217 |
strcmd.AppendFormat(",{0}OrderPrice", Alias);
|
|
| 218 |
strcmd.AppendFormat(",DATE_FORMAT({0}LastRowStringDate, '%Y/%m/%d')", Alias);
|
|
| 219 |
|
|
| 220 |
strcmd.AppendFormat(",{0}OrderSheetType", Alias);
|
|
| 221 |
strcmd.AppendFormat(",{0}PaymentTerms", Alias);
|
|
| 222 |
strcmd.AppendFormat(",{0}CashRatio", Alias);
|
|
| 223 |
strcmd.AppendFormat(",{0}BillPeriod", Alias);
|
|
| 224 |
|
|
| 225 |
strcmd.AppendFormat(",{0}PrePayments", Alias);
|
|
| 226 |
strcmd.AppendFormat(",{0}PrePaymentsDays", Alias);
|
|
| 227 |
strcmd.AppendFormat(",{0}PrePaymentsPrice", Alias);
|
|
| 228 |
strcmd.AppendFormat(",{0}PartialPayment", Alias);
|
|
| 229 |
strcmd.AppendFormat(",{0}PartialPaymentMounth", Alias);
|
|
| 230 |
strcmd.AppendFormat(",{0}PartialPaymentDay1", Alias);
|
|
| 231 |
strcmd.AppendFormat(",{0}PartialPaymentDay2", Alias);
|
|
| 232 |
strcmd.AppendFormat(",{0}PartialPaymentPrice", Alias);
|
|
| 233 |
strcmd.AppendFormat(",{0}CompletionPayment", Alias);
|
|
| 234 |
strcmd.AppendFormat(",{0}CompletionPaymentDays", Alias);
|
|
| 235 |
strcmd.AppendFormat(",{0}CompletionPaymentPrice", Alias);
|
|
| 236 |
strcmd.AppendFormat(",{0}LeadEngineerCode", Alias);
|
|
| 237 |
strcmd.AppendFormat(",{0}LeadEngineerName", Alias);
|
|
| 238 |
strcmd.AppendFormat(",{0}SafetyOfficerCode", Alias);
|
|
| 239 |
strcmd.AppendFormat(",{0}SafetyOfficerName", Alias);
|
|
| 240 |
strcmd.AppendFormat(",{0}WorkersCount", Alias);
|
|
| 241 |
strcmd.AppendFormat(",DATE_FORMAT({0}PrintoutDate, '%Y/%m/%d')", Alias);
|
|
| 242 |
|
|
| 243 |
strcmd.AppendFormat(", DATE_FORMAT({0}EntryDate, '%Y/%m/%d %H:%i:%s')", Alias);
|
|
| 244 |
strcmd.AppendFormat(", DATE_FORMAT({0}UpdateDate, '%Y/%m/%d %H:%i:%s')", Alias);
|
|
| 245 |
|
|
| 246 |
return strcmd.ToString(); |
|
| 247 |
|
|
| 248 |
} |
|
| 249 |
catch (System.Exception ex) |
|
| 250 |
{
|
|
| 251 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
|
|
| 252 |
return string.Empty; |
|
| 253 |
} |
|
| 254 |
} |
|
| 255 |
#endregion |
|
| 256 |
|
|
| 257 | 201 |
#region 注文書データを取得 |
| 258 | 202 |
/// <summary> |
| 259 | 203 |
/// 注文書データを取得して画面表示する |
| ... | ... | |
| 266 | 210 |
try |
| 267 | 211 |
{
|
| 268 | 212 |
// 注文書データ読込 |
| 269 |
string strSQL = "SELECT"; |
|
| 270 |
strSQL += CerateFieldSQL("A.");
|
|
| 271 |
strSQL += " FROM PURCHASEORDER A, PROCESSAPPROVALDETAIL B, PROCESSAPPROVAL C"; |
|
| 272 |
strSQL += string.Format(" WHERE A.CONSTRUCTIONCODE = {0}", m_ConstructionCode);
|
|
| 273 |
strSQL += " AND B.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE"; |
|
| 274 |
strSQL += string.Format(" AND B.APPROVALCODE = {0}", (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval);
|
|
| 275 |
strSQL += string.Format(" AND B.ORDERNO = {0}", m_OrderNo);
|
|
| 276 |
strSQL += " AND B.LINKCODE = A.SEQNO"; |
|
| 277 |
strSQL += " AND C.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE AND C.APPROVALCODE = B.APPROVALCODE AND C.ORDERNO = B.ORDERNO AND C.SEQNO = 1"; |
|
| 278 |
strSQL += string.Format(" AND C.APPROVALSTATUS = {0}", (int)CommonDefine.ApprovalStatus.Approval);
|
|
| 279 |
strSQL += " ORDER BY A.SEQNO"; |
|
| 213 |
StringBuilder strSQL = new StringBuilder(); |
|
| 214 |
strSQL.Append("SELECT");
|
|
| 280 | 215 |
|
| 216 |
strSQL.Append(" A.ConstructionCode");
|
|
| 217 |
strSQL.Append(",A.SeqNo");
|
|
| 218 |
strSQL.Append(",A.CompanyCode");
|
|
| 219 |
strSQL.Append(",DATE_FORMAT(A.CreateDate, '%Y/%m/%d')");
|
|
| 220 |
strSQL.Append(",A.OrderPrice");
|
|
| 221 |
strSQL.Append(",DATE_FORMAT(A.LastRowStringDate, '%Y/%m/%d')");
|
|
| 222 |
|
|
| 223 |
strSQL.Append(",A.OrderSheetType");
|
|
| 224 |
strSQL.Append(",A.PaymentTerms");
|
|
| 225 |
strSQL.Append(",A.CashRatio");
|
|
| 226 |
strSQL.Append(",A.BillPeriod");
|
|
| 227 |
|
|
| 228 |
strSQL.Append(",A.PrePayments");
|
|
| 229 |
strSQL.Append(",A.PrePaymentsDays");
|
|
| 230 |
strSQL.Append(",A.PrePaymentsPrice");
|
|
| 231 |
strSQL.Append(",A.PartialPayment");
|
|
| 232 |
strSQL.Append(",A.PartialPaymentMounth");
|
|
| 233 |
strSQL.Append(",A.PartialPaymentDay1");
|
|
| 234 |
strSQL.Append(",A.PartialPaymentDay2");
|
|
| 235 |
strSQL.Append(",A.PartialPaymentPrice");
|
|
| 236 |
strSQL.Append(",A.CompletionPayment");
|
|
| 237 |
strSQL.Append(",A.CompletionPaymentDays");
|
|
| 238 |
strSQL.Append(",A.CompletionPaymentPrice");
|
|
| 239 |
strSQL.Append(",A.LeadEngineerCode");
|
|
| 240 |
strSQL.Append(",A.LeadEngineerName");
|
|
| 241 |
strSQL.Append(",A.SafetyOfficerCode");
|
|
| 242 |
strSQL.Append(",A.SafetyOfficerName");
|
|
| 243 |
strSQL.Append(",A.WorkersCount");
|
|
| 244 |
strSQL.Append(",DATE_FORMAT(A.PrintoutDate, '%Y/%m/%d')");
|
|
| 245 |
|
|
| 246 |
strSQL.Append(", DATE_FORMAT(A.EntryDate, '%Y/%m/%d %H:%i:%s')");
|
|
| 247 |
strSQL.Append(", DATE_FORMAT(A.UpdateDate, '%Y/%m/%d %H:%i:%s')");
|
|
| 248 |
|
|
| 249 |
strSQL.Append(" FROM PURCHASEORDER A");
|
|
| 250 |
strSQL.Append(", PROCESSAPPROVALDETAIL B");
|
|
| 251 |
strSQL.Append(", PROCESSAPPROVAL C");
|
|
| 252 |
strSQL.AppendFormat(" WHERE A.CONSTRUCTIONCODE = {0}", m_ConstructionCode);
|
|
| 253 |
strSQL.Append(" AND B.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
|
|
| 254 |
strSQL.AppendFormat(" AND B.APPROVALCODE = {0}", (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval);
|
|
| 255 |
strSQL.AppendFormat(" AND B.ORDERNO = {0}", m_OrderNo);
|
|
| 256 |
strSQL.Append(" AND B.LINKCODE = A.SEQNO");
|
|
| 257 |
strSQL.Append(" AND C.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE AND C.APPROVALCODE = B.APPROVALCODE AND C.ORDERNO = B.ORDERNO AND C.SEQNO = 1");
|
|
| 258 |
strSQL.AppendFormat(" AND C.APPROVALSTATUS = {0}", (int)CommonDefine.ApprovalStatus.Approval);
|
|
| 259 |
strSQL.Append(" ORDER BY A.SEQNO");
|
|
| 260 |
|
|
| 281 | 261 |
ArrayList arList = new ArrayList(); |
| 282 |
if (!OrderDB.ExecuteReader(strSQL, ref arList)) return false; |
|
| 262 |
if (!OrderDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
|
|
| 283 | 263 |
if (arList.Count == 0) return false; |
| 284 | 264 |
|
| 285 | 265 |
int icnt = 1; |
| 286 | 266 |
PurchaseOrder OrderRec = new PurchaseOrder(); |
| 267 |
string strPrintDate = string.Empty; |
|
| 287 | 268 |
foreach (object[] objRec in arList) |
| 288 | 269 |
{
|
| 289 | 270 |
OrderDB.Reader2Struct(objRec, ref OrderRec); |
| ... | ... | |
| 314 | 295 |
PurchaseString += "引渡時払"; // 引渡し時の支払 |
| 315 | 296 |
} |
| 316 | 297 |
} |
| 298 |
strPrintDate = OrderRec.PrintoutDate.ToShortDateString(); |
|
| 299 |
if (OrderRec.PrintoutDate.Date == DateTime.MinValue.Date) |
|
| 300 |
strPrintDate = string.Empty; |
|
| 301 |
|
|
| 317 | 302 |
dgvAllDisplay.Rows.Add(icnt, |
| 318 | 303 |
OrderRec.SeqNo, |
| 319 | 304 |
string.Format("{0}-{1}", OrderRec.ConstructionCode, OrderRec.SeqNo.ToString("000")), // 発注番号セット
|
| 320 | 305 |
SubConRec.CompanyName, // 発注先会社名 |
| 321 |
OrderRec.CreateDate.ToShortDateString(), // 注文書作成日
|
|
| 306 |
strPrintDate, // 注文書印刷日
|
|
| 322 | 307 |
OrderRec.OrderPrice.ToString("#,0"), // 発注金額
|
| 323 | 308 |
PurchaseString, // 支払条件 |
| 324 | 309 |
true); |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs | ||
|---|---|---|
| 144 | 144 |
TantoShoninCode, |
| 145 | 145 |
TantoShonin, |
| 146 | 146 |
TantoDate, |
| 147 |
TantoDepCode, |
|
| 147 | 148 |
Shonin1Code, |
| 148 | 149 |
Shonin1, |
| 149 | 150 |
Shonin1Date, |
| ... | ... | |
| 198 | 199 |
ShohiZeiRitu, |
| 199 | 200 |
ConstructionLedgerLineNo, |
| 200 | 201 |
ConstructionLedgerColNo, |
| 201 |
DepartmentCode, |
|
| 202 |
ConstructionPerson, |
|
| 202 |
ConstrDepCode, |
|
| 203 |
ConstrPerson, |
|
| 204 |
SalesPerson, |
|
| 205 |
AssistPerson, |
|
| 206 |
InstrPerson, |
|
| 207 |
SalesDepCode, |
|
| 208 |
AssistDepCode, |
|
| 209 |
InstrDepCode, |
|
| 203 | 210 |
} |
| 204 | 211 |
#endregion |
| 205 | 212 |
|
| ... | ... | |
| 234 | 241 |
ApprovalPersonCode, // ?\???S???? |
| 235 | 242 |
TantoNM, // ?\???S????? |
| 236 | 243 |
ApprovalDate, // ?\?????t |
| 237 |
ApprovalEndFlg, |
|
| 238 |
SalesPersonCode, |
|
| 244 |
ApprovalEndFlg, // ??I???F?t???O |
|
| 245 |
AppDepCode, // ?\??????? |
|
| 246 |
SalesPersonCode, // ?c??S???? |
|
| 239 | 247 |
ConstructionPersonCode, // ?H???S???? |
| 240 | 248 |
ConstrSubPersonCode, // ???S???? |
| 241 | 249 |
ConstructionInstructor, // ?w???? |
| 242 |
DepartmentCode, // ?H???S????????R?[?h |
|
| 250 |
ConstrDepCode, // ?H???S????????R?[?h |
|
| 251 |
SalesDepCode, // ?c??S????????R?[?h |
|
| 252 |
AssistDepCode, // ???S????????R?[?h |
|
| 253 |
InstrDepCode, // ?w?????????R?[?h |
|
| 243 | 254 |
PurchaseOrderMailingDate, // ???????X???? |
| 244 | 255 |
PurchaseOrderReturnDate, // ??????????? |
| 245 | 256 |
PaData, // ?\?Z?? |
| ... | ... | |
| 1404 | 1415 |
} |
| 1405 | 1416 |
#endregion |
| 1406 | 1417 |
|
| 1418 |
#region ??V?????`?? |
|
| 1407 | 1419 |
/// <summary> |
| 1420 |
/// ??V?????`?? |
|
| 1421 |
/// </summary> |
|
| 1422 |
/// <param name="sender"></param> |
|
| 1423 |
/// <param name="e"></param> |
|
| 1424 |
private void btnDataUpDate_Click(object sender, EventArgs e) |
|
| 1425 |
{
|
|
| 1426 |
// ?f?[?^?\?? |
|
| 1427 |
DispGridData(); |
|
| 1428 |
} |
|
| 1429 |
#endregion |
|
| 1430 |
|
|
| 1431 |
/// <summary> |
|
| 1408 | 1432 |
/// ???E??????????\??????i?e?X?g??j |
| 1409 | 1433 |
/// </summary> |
| 1410 | 1434 |
/// <param name="sender"></param> |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs | ||
|---|---|---|
| 30 | 30 |
{
|
| 31 | 31 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 32 | 32 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 33 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
| 34 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
| 35 | 33 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 36 | 34 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 37 | 35 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| ... | ... | |
| 57 | 55 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 58 | 56 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 59 | 57 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 58 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
| 59 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
| 60 | 60 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 61 | 61 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); |
| 62 | 62 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); |
| ... | ... | |
| 104 | 104 |
this.button1 = new System.Windows.Forms.Button(); |
| 105 | 105 |
this.btnOtherProc = new System.Windows.Forms.Button(); |
| 106 | 106 |
this.DataProgressBar = new System.Windows.Forms.ProgressBar(); |
| 107 |
this.btnShowView = new System.Windows.Forms.Button(); |
|
| 108 |
this.btnDataUpDate = new System.Windows.Forms.Button(); |
|
| 107 | 109 |
this.groupBoxEx1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx(); |
| 108 | 110 |
this.label11 = new System.Windows.Forms.Label(); |
| 109 | 111 |
this.cmbPerson = new System.Windows.Forms.ComboBox(); |
| ... | ... | |
| 126 | 128 |
this.cmbTargetMonth = new System.Windows.Forms.ComboBox(); |
| 127 | 129 |
this.label3 = new System.Windows.Forms.Label(); |
| 128 | 130 |
this.dgvCompany = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
| 129 |
this.dgvProject = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
| 130 |
this.btnShowView = new System.Windows.Forms.Button(); |
|
| 131 | 131 |
this.Column135 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 132 | 132 |
this.Column133 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 133 | 133 |
this.Column71 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| ... | ... | |
| 164 | 164 |
this.Column36 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 165 | 165 |
this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 166 | 166 |
this.Column66 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 167 |
this.Column155 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 167 | 168 |
this.Column37 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 168 | 169 |
this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 169 | 170 |
this.Column65 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| ... | ... | |
| 220 | 221 |
this.Column140 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 221 | 222 |
this.Column145 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 222 | 223 |
this.Column147 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 224 |
this.Column149 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 225 |
this.Column150 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 226 |
this.Column151 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 227 |
this.Column152 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 228 |
this.Column153 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 229 |
this.Column154 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 230 |
this.dgvProject = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
| 223 | 231 |
this.Column136 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 224 | 232 |
this.Column134 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 225 | 233 |
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| ... | ... | |
| 256 | 264 |
this.Column50 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 257 | 265 |
this.Project_Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 258 | 266 |
this.Column78 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 267 |
this.Column156 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 259 | 268 |
this.Column52 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 260 | 269 |
this.Project_Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 261 | 270 |
this.Column79 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| ... | ... | |
| 312 | 321 |
this.Column142 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 313 | 322 |
this.Column146 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 314 | 323 |
this.Column148 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| 324 |
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 325 |
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 326 |
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 327 |
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 328 |
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 329 |
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
| 315 | 330 |
this.panel1.SuspendLayout(); |
| 316 | 331 |
this.groupBoxEx1.SuspendLayout(); |
| 317 | 332 |
this.panel2.SuspendLayout(); |
| ... | ... | |
| 554 | 569 |
this.DataProgressBar.TabIndex = 96; |
| 555 | 570 |
this.DataProgressBar.Visible = false; |
| 556 | 571 |
// |
| 572 |
// btnShowView |
|
| 573 |
// |
|
| 574 |
this.btnShowView.BackColor = System.Drawing.Color.Blue; |
|
| 575 |
this.btnShowView.ForeColor = System.Drawing.Color.White; |
|
| 576 |
this.btnShowView.Location = new System.Drawing.Point(206, 6); |
|
| 577 |
this.btnShowView.Margin = new System.Windows.Forms.Padding(4); |
|
| 578 |
this.btnShowView.Name = "btnShowView"; |
|
| 579 |
this.btnShowView.Size = new System.Drawing.Size(120, 30); |
|
| 580 |
this.btnShowView.TabIndex = 8; |
|
| 581 |
this.btnShowView.Text = "表 示"; |
|
| 582 |
this.btnShowView.UseVisualStyleBackColor = false; |
|
| 583 |
this.btnShowView.Visible = false; |
|
| 584 |
this.btnShowView.Click += new System.EventHandler(this.btnShowView_Click); |
|
| 585 |
// |
|
| 586 |
// btnDataUpDate |
|
| 587 |
// |
|
| 588 |
this.btnDataUpDate.BackColor = System.Drawing.Color.Aquamarine; |
|
| 589 |
this.btnDataUpDate.Font = new System.Drawing.Font("MS 明朝", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 590 |
this.btnDataUpDate.ForeColor = System.Drawing.Color.Black; |
|
| 591 |
this.btnDataUpDate.Location = new System.Drawing.Point(206, 5); |
|
| 592 |
this.btnDataUpDate.Name = "btnDataUpDate"; |
|
| 593 |
this.btnDataUpDate.Size = new System.Drawing.Size(120, 30); |
|
| 594 |
this.btnDataUpDate.TabIndex = 97; |
|
| 595 |
this.btnDataUpDate.Text = "最新状態に更新"; |
|
| 596 |
this.btnDataUpDate.UseVisualStyleBackColor = false; |
|
| 597 |
this.btnDataUpDate.Click += new System.EventHandler(this.btnDataUpDate_Click); |
|
| 598 |
// |
|
| 557 | 599 |
// groupBoxEx1 |
| 558 | 600 |
// |
| 559 | 601 |
this.groupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
| ... | ... | |
| 906 | 948 |
this.Column36, |
| 907 | 949 |
this.Column17, |
| 908 | 950 |
this.Column66, |
| 951 |
this.Column155, |
|
| 909 | 952 |
this.Column37, |
| 910 | 953 |
this.Column18, |
| 911 | 954 |
this.Column65, |
| ... | ... | |
| 961 | 1004 |
this.Column139, |
| 962 | 1005 |
this.Column140, |
| 963 | 1006 |
this.Column145, |
| 964 |
this.Column147}); |
|
| 1007 |
this.Column147, |
|
| 1008 |
this.Column149, |
|
| 1009 |
this.Column150, |
|
| 1010 |
this.Column151, |
|
| 1011 |
this.Column152, |
|
| 1012 |
this.Column153, |
|
| 1013 |
this.Column154}); |
|
| 965 | 1014 |
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| 966 | 1015 |
dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Window; |
| 967 | 1016 |
dataGridViewCellStyle27.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
| ... | ... | |
| 991 | 1040 |
this.dgvCompany.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValueChanged); |
| 992 | 1041 |
this.dgvCompany.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView_CurrentCellDirtyStateChanged); |
| 993 | 1042 |
// |
| 994 |
// dgvProject |
|
| 995 |
// |
|
| 996 |
this.dgvProject.AllowUserToAddRows = false; |
|
| 997 |
this.dgvProject.AllowUserToDeleteRows = false; |
|
| 998 |
this.dgvProject.AllowUserToResizeRows = false; |
|
| 999 |
this.dgvProject.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
| 1000 |
| System.Windows.Forms.AnchorStyles.Left) |
|
| 1001 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
| 1002 |
this.dgvProject.BackgroundColor = System.Drawing.Color.White; |
|
| 1003 |
this.dgvProject.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
| 1004 |
dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
| 1005 |
dataGridViewCellStyle28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); |
|
| 1006 |
dataGridViewCellStyle28.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 1007 |
dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
| 1008 |
this.dgvProject.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28; |
|
| 1009 |
this.dgvProject.ColumnHeadersHeight = 45; |
|
| 1010 |
this.dgvProject.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
| 1011 |
this.dgvProject.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
| 1012 |
this.Column136, |
|
| 1013 |
this.Column134, |
|
| 1014 |
this.dataGridViewTextBoxColumn1, |
|
| 1015 |
this.Column63, |
|
| 1016 |
this.Column35, |
|
| 1017 |
this.Project_Column1, |
|
| 1018 |
this.Column90, |
|
| 1019 |
this.Column51, |
|
| 1020 |
this.Project_Column2, |
|
| 1021 |
this.Project_Column3, |
|
| 1022 |
this.Project_Column4, |
|
| 1023 |
this.Project_Column5, |
|
| 1024 |
this.Project_Column6, |
|
| 1025 |
this.Column138, |
|
| 1026 |
this.Project_Column7, |
|
| 1027 |
this.Column144, |
|
| 1028 |
this.Project_Column8, |
|
| 1029 |
this.Project_Column9, |
|
| 1030 |
this.Project_Column10, |
|
| 1031 |
this.Project_Column11, |
|
| 1032 |
this.Project_Column12, |
|
| 1033 |
this.Project_Column13, |
|
| 1034 |
this.Project_Column14, |
|
| 1035 |
this.Project_Column15, |
|
| 1036 |
this.Project_Column16, |
|
| 1037 |
this.Project_Column17, |
|
| 1038 |
this.Project_Column18, |
|
| 1039 |
this.Project_Column19, |
|
| 1040 |
this.Column100, |
|
| 1041 |
this.KyouryokuKin_Pro, |
|
| 1042 |
this.Project_Column21, |
|
| 1043 |
this.Project_Column22, |
|
| 1044 |
this.Project_Column23, |
|
| 1045 |
this.Column50, |
|
| 1046 |
this.Project_Column24, |
|
| 1047 |
this.Column78, |
|
| 1048 |
this.Column52, |
|
| 1049 |
this.Project_Column25, |
|
| 1050 |
this.Column79, |
|
| 1051 |
this.Column113, |
|
| 1052 |
this.Column114, |
|
| 1053 |
this.Column53, |
|
| 1054 |
this.Project_Column26, |
|
| 1055 |
this.Column81, |
|
| 1056 |
this.Column115, |
|
| 1057 |
this.Column116, |
|
| 1058 |
this.Column54, |
|
| 1059 |
this.Project_Column27, |
|
| 1060 |
this.Column82, |
|
| 1061 |
this.Column117, |
|
| 1062 |
this.Column118, |
|
| 1063 |
this.Column55, |
|
| 1064 |
this.Project_Column28, |
|
| 1065 |
this.Column83, |
|
| 1066 |
this.Column119, |
|
| 1067 |
this.Column120, |
|
| 1068 |
this.Column56, |
|
| 1069 |
this.Project_Column29, |
|
| 1070 |
this.Column84, |
|
| 1071 |
this.Column121, |
|
| 1072 |
this.Column122, |
|
| 1073 |
this.Column57, |
|
| 1074 |
this.Project_Column30, |
|
| 1075 |
this.Column80, |
|
| 1076 |
this.Column123, |
|
| 1077 |
this.Column124, |
|
| 1078 |
this.Column58, |
|
| 1079 |
this.Project_Column31, |
|
| 1080 |
this.Column85, |
|
| 1081 |
this.Column125, |
|
| 1082 |
this.Column126, |
|
| 1083 |
this.Column59, |
|
| 1084 |
this.Project_Column32, |
|
| 1085 |
this.Column86, |
|
| 1086 |
this.Column127, |
|
| 1087 |
this.Column128, |
|
| 1088 |
this.Column60, |
|
| 1089 |
this.Project_Column33, |
|
| 1090 |
this.Column87, |
|
| 1091 |
this.Column129, |
|
| 1092 |
this.Column130, |
|
| 1093 |
this.Column61, |
|
| 1094 |
this.Project_Column34, |
|
| 1095 |
this.Column88, |
|
| 1096 |
this.Column131, |
|
| 1097 |
this.Column132, |
|
| 1098 |
this.Column21, |
|
| 1099 |
this.Column77, |
|
| 1100 |
this.Column141, |
|
| 1101 |
this.Column142, |
|
| 1102 |
this.Column146, |
|
| 1103 |
this.Column148}); |
|
| 1104 |
dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
| 1105 |
dataGridViewCellStyle58.BackColor = System.Drawing.SystemColors.Window; |
|
| 1106 |
dataGridViewCellStyle58.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
| 1107 |
dataGridViewCellStyle58.ForeColor = System.Drawing.SystemColors.ControlText; |
|
| 1108 |
dataGridViewCellStyle58.SelectionBackColor = System.Drawing.Color.LightSeaGreen; |
|
| 1109 |
dataGridViewCellStyle58.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
| 1110 |
dataGridViewCellStyle58.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
|
| 1111 |
this.dgvProject.DefaultCellStyle = dataGridViewCellStyle58; |
|
| 1112 |
this.dgvProject.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; |
|
| 1113 |
this.dgvProject.EnableHeadersVisualStyles = false; |
|
| 1114 |
this.dgvProject.Location = new System.Drawing.Point(10, 114); |
|
| 1115 |
this.dgvProject.Margin = new System.Windows.Forms.Padding(4); |
|
| 1116 |
this.dgvProject.MultiSelect = false; |
|
| 1117 |
this.dgvProject.Name = "dgvProject"; |
|
| 1118 |
this.dgvProject.RowHeadersVisible = false; |
|
| 1119 |
this.dgvProject.RowHeadersWidth = 20; |
|
| 1120 |
this.dgvProject.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
| 1121 |
this.dgvProject.RowTemplate.Height = 21; |
|
| 1122 |
this.dgvProject.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
| 1123 |
this.dgvProject.Size = new System.Drawing.Size(1320, 530); |
|
| 1124 |
this.dgvProject.TabIndex = 3; |
|
| 1125 |
this.dgvProject.Visible = false; |
|
| 1126 |
this.dgvProject.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit); |
|
| 1127 |
this.dgvProject.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick); |
|
| 1128 |
this.dgvProject.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter); |
|
| 1129 |
this.dgvProject.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting); |
|
| 1130 |
this.dgvProject.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValidated); |
|
| 1131 |
this.dgvProject.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValueChanged); |
|
| 1132 |
this.dgvProject.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView_CurrentCellDirtyStateChanged); |
|
| 1133 |
// |
|
| 1134 |
// btnShowView |
|
| 1135 |
// |
|
| 1136 |
this.btnShowView.BackColor = System.Drawing.Color.Blue; |
|
| 1137 |
this.btnShowView.ForeColor = System.Drawing.Color.White; |
|
| 1138 |
this.btnShowView.Location = new System.Drawing.Point(206, 6); |
|
| 1139 |
this.btnShowView.Margin = new System.Windows.Forms.Padding(4); |
|
| 1140 |
this.btnShowView.Name = "btnShowView"; |
|
| 1141 |
this.btnShowView.Size = new System.Drawing.Size(120, 30); |
|
| 1142 |
this.btnShowView.TabIndex = 8; |
|
| 1143 |
this.btnShowView.Text = "表 示"; |
|
| 1144 |
this.btnShowView.UseVisualStyleBackColor = false; |
|
| 1145 |
this.btnShowView.Visible = false; |
|
| 1146 |
this.btnShowView.Click += new System.EventHandler(this.btnShowView_Click); |
|
| 1147 |
// |
|
| 1148 | 1043 |
// Column135 |
| 1149 | 1044 |
// |
| 1150 | 1045 |
this.Column135.HeaderText = "CompanyDispOrder"; |
| ... | ... | |
| 1464 | 1359 |
this.Column66.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
| 1465 | 1360 |
this.Column66.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
| 1466 | 1361 |
// |
| 1362 |
// Column155 |
|
| 1363 |
// |
|
| 1364 |
this.Column155.HeaderText = "担当者部署コード"; |
|
| 1365 |
this.Column155.Name = "Column155"; |
|
| 1366 |
this.Column155.Visible = false; |
|
| 1367 |
// |
|
| 1467 | 1368 |
// Column37 |
| 1468 | 1369 |
// |
他の形式にエクスポート: Unified diff