/// <summary> /// function to use Check Cancel Status /// </summary> /// <param name="decId"></param> /// <returns></returns> public bool CheckCancelStatus(decimal decId) { bool isCancelled = false; try { SalesOrderBll spSalesOrder = new SalesOrderBll(); isCancelled = spSalesOrder.SalesOrderCancelCheckStatus(decId); } catch (Exception ex) { MessageBox.Show("SO52:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return isCancelled; }