示例#1
0
        public decimal ReceiptMasterAdd(ReceiptMasterInfo receiptmasterinfo)
        {
            decimal decResult = 0;

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

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