private void btnStatus_ItemClick(object sender, ItemClickEventArgs e) { if (grdViewReceipt.GetFocusedRow() == null) { return; } int iRegId = Convert.ToInt32(CommFun.IsNullCheck(grdViewReceipt.GetRowCellValue(grdViewReceipt.FocusedRowHandle, "ReceiptId"), CommFun.datatypes.vartypenumeric)); string sRefNo = CommFun.IsNullCheck(grdViewReceipt.GetRowCellValue(grdViewReceipt.FocusedRowHandle, "ReceiptNo"), CommFun.datatypes.vartypestring).ToString(); BsfForm.frmLogHistory frm = new BsfForm.frmLogHistory(); frm.Execute(iRegId, "Buyer Receipt", "Buyer-Receipt-Approve", sRefNo, BsfGlobal.g_sCRMDBName); }
private void btnReqStatus_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (ReqListView.GetFocusedRow() == null) { return; } int iRegId = Convert.ToInt32(clsStatics.IsNullCheck(ReqListView.GetRowCellValue(ReqListView.FocusedRowHandle, "RequestId"), clsStatics.datatypes.vartypenumeric)); string sRefNo = clsStatics.IsNullCheck(ReqListView.GetRowCellValue(ReqListView.FocusedRowHandle, "RequestNo"), clsStatics.datatypes.vartypestring).ToString(); BsfForm.frmLogHistory frm = new BsfForm.frmLogHistory(); frm.Execute(iRegId, "Request", "Request-Approve", sRefNo, BsfGlobal.g_sVendorDBName); }
private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (grdCancelView.GetFocusedRow() == null) { return; } int iRegId = Convert.ToInt32(CommFun.IsNullCheck(grdCancelView.GetRowCellValue(grdCancelView.FocusedRowHandle, "CancelId"), CommFun.datatypes.vartypenumeric)); string sRefNo = CommFun.IsNullCheck(grdCancelView.GetRowCellValue(grdCancelView.FocusedRowHandle, "FlatNo"), CommFun.datatypes.vartypestring).ToString(); BsfForm.frmLogHistory frm = new BsfForm.frmLogHistory(); frm.Execute(iRegId, "Flat-Cancellation", "Flat-Cancellation-Create", sRefNo, BsfGlobal.g_sCRMDBName); }
private void barButtonItem2_ItemClick(object sender, ItemClickEventArgs e) { if (DGvTransView.GetFocusedRow() == null) { return; } if (DGvTransView.FocusedRowHandle == -1) { return; } int iRegId = Convert.ToInt32(CommFun.IsNullCheck(DGvTransView.GetRowCellValue(DGvTransView.FocusedRowHandle, "RegBillId"), CommFun.datatypes.vartypenumeric)); string sRefNo = CommFun.IsNullCheck(DGvTransView.GetRowCellValue(DGvTransView.FocusedRowHandle, "BillRefNo"), CommFun.datatypes.vartypestring).ToString(); BsfForm.frmLogHistory frm = new BsfForm.frmLogHistory(); frm.Execute(iRegId, "CRM-ServiceBill", "CRM-ServiceBill-Approval", sRefNo, BsfGlobal.g_sCRMDBName); }
private void btnStatus_ItemClick(object sender, ItemClickEventArgs e) { if (grdPBRegView.GetFocusedRow() == null) { return; } int iRegId = Convert.ToInt32(CommFun.IsNullCheck(grdPBRegView.GetRowCellValue(grdPBRegView.FocusedRowHandle, "ProgRegId"), CommFun.datatypes.vartypenumeric)); string sRefNo = CommFun.IsNullCheck(grdPBRegView.GetRowCellValue(grdPBRegView.FocusedRowHandle, "PNo"), CommFun.datatypes.vartypestring).ToString(); BsfForm.frmLogHistory frm = new BsfForm.frmLogHistory(); if (m_sBussinessType == "B") { frm.Execute(iRegId, "Progress Bill", "Progress Bill-Add", sRefNo, BsfGlobal.g_sCRMDBName); } else { frm.Execute(iRegId, "Plot Progress Bill", "Plot-Progress-Bill-Add", sRefNo, BsfGlobal.g_sCRMDBName); } }