Example #1
0
        public bool ContraVoucherCheckExistence(string voucherNo, decimal voucherTypeId, decimal masterId)
        {
            bool isResult = false;

            try
            {
                isResult = SpContraMaster.ContraVoucherCheckExistence(voucherNo, voucherTypeId, masterId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("CV:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(isResult);
        }
Example #2
0
        public bool ContraVoucherCheckExistence(string voucherNo, decimal voucherTypeId, decimal masterId)
        {
            bool trueOrfalse = false;

            try
            {
                ContraMasterSP spContraMaster = new ContraMasterSP();
                trueOrfalse = spContraMaster.ContraVoucherCheckExistence(voucherNo, voucherTypeId, masterId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("CVBLL:9" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(trueOrfalse);
        }