Esempio n. 1
0
        public decimal ContraVoucherMasterGetMaxPlusOne(decimal decVoucherTypeId)
        {
            decimal decMId = 0;

            try
            {
                decMId = SpContraMaster.ContraVoucherMasterGetMaxPlusOne(decVoucherTypeId);
            }

            catch (Exception ex)
            {
                MessageBox.Show("CV:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(decMId);
        }
Esempio n. 2
0
        public decimal ContraVoucherMasterGetMaxPlusOne(decimal decVoucherTypeId)
        {
            decimal max = 0;

            try
            {
                ContraMasterSP spContraMaster = new ContraMasterSP();
                max = spContraMaster.ContraVoucherMasterGetMaxPlusOne(decVoucherTypeId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("CVBLL:8" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(max);
        }