/// <summary> /// Function for Check reference and delete /// </summary> /// <param name="TaxId"></param> /// <param name="decLedgerId"></param> /// <returns></returns> public decimal TaxReferenceDelete(decimal TaxId, decimal decLedgerId) { decimal decReturnValue = 0; try { decReturnValue = spTax.TaxReferenceDelete(TaxId, decLedgerId); } catch (Exception ex) { MessageBox.Show("TBLL4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(decReturnValue); }