Beispiel #1
0
        private void SubmitForApproval()
        {
            try
            {
                Security.AccessUserDetails clsAccessUserDetails = (Security.AccessUserDetails)Session["AccessUserDetails"];

                Int64 WBranchTransferID = Convert.ToInt64(lblWBranchTransferID.Text);

                WBranchTransfer clsWBranchTransfer = new WBranchTransfer();
                clsWBranchTransfer.SubmitForApproval(WBranchTransferID, clsAccessUserDetails.Name);
                clsWBranchTransfer.CommitAndDispose();

                string stParam = "?task=" + Common.Encrypt("list", Session.SessionID) + "&WBranchTransferID=" + Common.Encrypt(WBranchTransferID.ToString(), Session.SessionID);
                Response.Redirect("Default.aspx" + stParam);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }