Exemple #1
0
		private void CancelSOReturn()
		{
			long CreditMemoID = Convert.ToInt64(lblCreditMemoID.Text);
			string Remarks = txtRemarks.Text;

            SOReturns clsSOReturns = new SOReturns();
            clsSOReturns.Cancel(CreditMemoID, DateTime.Now, Remarks, Convert.ToInt64(Session["UID"].ToString()));
            clsSOReturns.CommitAndDispose();

			Common Common = new Common();
			Response.Redirect("Default.aspx?task=" + Common.Encrypt("list",Session.SessionID));		
		}