リビジョン 222
請求まとめ(承認申請画面への支払承認情報データのキー引渡)
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs | ||
---|---|---|
18 | 18 |
using ProcessManagement.DB.Core; |
19 | 19 |
using ProcessManagement.Forms.CustomControls; |
20 | 20 |
using ProcessManagement.Forms.ControlsAction; |
21 |
|
|
21 | 22 |
//*---------------------------- ?????????? --------------------------* |
22 | 23 |
// 2016/12/20 Ver1.0.0.0 Create Source |
23 | 24 |
// |
... | ... | |
4321 | 4322 |
/// <param name="e"></param> |
4322 | 4323 |
private void btnPetition_Click(object sender, EventArgs e) |
4323 | 4324 |
{ |
4324 |
// ?\???{?^?????????? |
|
4325 |
PetitionProcess(); |
|
4325 |
|
|
4326 |
// ?I?????????o |
|
4327 |
DataGridView dgv = null; |
|
4328 |
DataGridViewCell SelectCell = null; |
|
4329 |
if (dgvCompany.Visible == true) // ???P??\?? |
|
4330 |
{ |
|
4331 |
dgv = dgvCompany; |
|
4332 |
} |
|
4333 |
else if (dgvProject.Visible == true) // ????P??\?? |
|
4334 |
{ |
|
4335 |
dgv = dgvProject; |
|
4336 |
} |
|
4337 |
foreach (DataGridViewCell c in dgv.SelectedCells) |
|
4338 |
{ |
|
4339 |
SelectCell = c; |
|
4340 |
} |
|
4341 |
|
|
4342 |
if (SelectCell != null) |
|
4343 |
{ |
|
4344 |
// ?x?????F???f?[?^??? |
|
4345 |
PaymentApprovalInfo PaIWork = new PaymentApprovalInfo(); |
|
4346 |
PaIWork.CompanyCode = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[m_Company_Column].Value); |
|
4347 |
PaIWork.TargetDate = m_Select_TargetDate; |
|
4348 |
PaIWork.SeqNo = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[(int)DispColumn.GroupSeqNo].Value); |
|
4349 |
PaIWork.LineCount = CommonMotions.cnvInt(dgv.Rows[SelectCell.RowIndex].Cells[(int)DispColumn.LineCount].Value); |
|
4350 |
|
|
4351 |
if ((PaIWork.CompanyCode == 0) |
|
4352 |
|| (PaIWork.SeqNo == 0) |
|
4353 |
|| (PaIWork.LineCount == 0) |
|
4354 |
) |
|
4355 |
{ |
|
4356 |
MessageBox.Show("????????????????????F?\?????s???????B", "???F?\???G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); return; |
|
4357 |
} |
|
4358 |
if (MessageBox.Show("?I??????????s????F?\?????s??????B", "???F?\???m?F", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return; |
|
4359 |
|
|
4360 |
// ???F?\?????? |
|
4361 |
PetitionProcess(PaIWork); |
|
4362 |
} |
|
4363 |
else |
|
4364 |
{ |
|
4365 |
MessageBox.Show("?s???I?????????????????F?\?????s???????B", "???F?\???G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); return; |
|
4366 |
} |
|
4326 | 4367 |
} |
4327 | 4368 |
#endregion |
4328 | 4369 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs | ||
---|---|---|
1263 | 1263 |
/// <summary> |
1264 | 1264 |
/// ?\???{?^?????????? |
1265 | 1265 |
/// </summary> |
1266 |
private void PetitionProcess() |
|
1266 |
private void PetitionProcess(PaymentApprovalInfo PaymentApprovalInfoData)
|
|
1267 | 1267 |
{ |
1268 | 1268 |
try |
1269 | 1269 |
{ |
... | ... | |
1282 | 1282 |
// ??t??? |
1283 | 1283 |
ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(CommonDefine.s_Default_OrderNo); |
1284 | 1284 |
|
1285 |
// ?x?????F???f?[?^ |
|
1286 |
ArrayList PaymentApprovalInfoDataList = new ArrayList(); |
|
1287 |
PaymentApprovalInfoDataList.Add(PaymentApprovalInfoData); |
|
1288 |
ClsExcute.ProcControlPara[NowPoint].ArrayParameter.Add(PaymentApprovalInfoDataList); |
|
1289 |
|
|
1285 | 1290 |
// ???t?H?[???I?? |
1286 | 1291 |
this.Close(); |
1287 | 1292 |
} |
他の形式にエクスポート: Unified diff