public decimal CreditNoteMasterAdd(CreditNoteMasterInfo creditnotemasterinfo) { decimal decId = 0; try { decId = SpCreditNoteMaster.CreditNoteMasterAdd(creditnotemasterinfo); } catch (Exception ex) { MessageBox.Show("CNB:4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(decId); }
/// <summary> /// Function to insert values to account group Table /// </summary> /// <param name="creditnotemasterinfo"></param> /// <returns></returns> public decimal CreditNoteMasterAdd(CreditNoteMasterInfo creditnotemasterinfo) { decimal identity = 0; try { identity = SpCreditNoteMaster.CreditNoteMasterAdd(creditnotemasterinfo); } catch (Exception ex) { MessageBox.Show("CRNT:12" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(identity); }