Example #1
0
        public decimal ReceiptMasterEdit(ReceiptMasterInfo receiptmasterinfo)
        {
            decimal decResult = 0;

            try
            {
                decResult = spReceiptMaster.ReceiptMasterEdit(receiptmasterinfo);
            }
            catch (Exception)
            {
                throw;
            }
            return(decResult);
        }
        public decimal ReceiptMasterEdit(ReceiptMasterInfo receiptmasterinfo)
        {
            decimal decRecieptMasterId = 0;

            try
            {
                ReceiptMasterSP spReceiptMaster = new ReceiptMasterSP();
                decRecieptMasterId = spReceiptMaster.ReceiptMasterEdit(receiptmasterinfo);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RD8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(decRecieptMasterId);
        }