public decimal SalesInvoiceQuantityDetailsAgainstSalesReturn(decimal decvoucherTypeId, string strvoucherNo) { decimal decCompanyId = 0; try { decCompanyId = SPSalesMaster.SalesInvoiceQuantityDetailsAgainstSalesReturn(decvoucherTypeId, strvoucherNo); } catch (Exception ex) { MessageBox.Show("CB:9" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(decCompanyId); }