public bool PurchaseOrderCancelCheckStatus(decimal decVoucherTypeId) { PurchaseOrderMasterSP SPPurchaseOrderMaster = new PurchaseOrderMasterSP(); bool isTrue = false; try { isTrue = SPPurchaseOrderMaster.PurchaseOrderCancelCheckStatus(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("PoBll 13:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return isTrue; }