Ejemplo n.º 1
0
        /// <summary>
        /// Function to get particular values from BudgetMaster table based on the parameter
        /// </summary>
        /// <param name="budgetMasterId"></param>
        /// <returns></returns>
        public BudgetMasterInfo BudgetMasterView(decimal budgetMasterId)
        {
            BudgetMasterInfo budgetmasterinfo = new BudgetMasterInfo();

            try
            {
                budgetmasterinfo = SPBudgetMaster.BudgetMasterView(budgetMasterId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("BGBll11:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(budgetmasterinfo);
        }
        public BudgetMasterInfo BudgetMasterView(decimal DecMasterId)
        {
            BudgetMasterInfo InfoBudgetMaster = new BudgetMasterInfo();

            try
            {
                InfoBudgetMaster = SpBudgetMaster.BudgetMasterView(DecMasterId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("SB6:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(InfoBudgetMaster);
        }