示例#1
0
        /// <summary>
        /// F36011_s the list Depr FuncCategory
        /// </summary>
        /// <returns>Typed dataset containing the Depr FuncCategory table</returns>
        public static F36011MiscImprovementOverviewData F36011_ListDeprFuncCategory()
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            Utility.LoadDataSet(miscImprovementOverviewData.ListDeprFuncCategory, "f36011_pclst_DeprFuncCategory", ht);
            return(miscImprovementOverviewData);
        }
示例#2
0
        /// <summary>
        /// F36011_s the list Condition
        /// </summary>
        /// <returns>Typed dataset containing the Condition table</returns>
        public static F36011MiscImprovementOverviewData F36011_ListCondition()
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            Utility.LoadDataSet(miscImprovementOverviewData.ListCondition, "f36011_pclst_Condition", ht);
            return(miscImprovementOverviewData);
        }
示例#3
0
        /// <summary>
        /// F36011_s the list quality res.
        /// </summary>
        /// <returns>Typed dataset containing the Quality Res table</returns>
        public static F36011MiscImprovementOverviewData F36011_ListQualityRes()
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            Utility.LoadDataSet(miscImprovementOverviewData.ListQualityRes, "f36011_pclst_QualityRes", ht);
            return(miscImprovementOverviewData);
        }
示例#4
0
        /// <summary>
        /// To List Misc Improvements details.
        /// </summary>
        /// <param name="miscId">The misc id.</param>
        /// <returns>Typed dataset containing the Misc Improvements details</returns>
        public static F36011MiscImprovementOverviewData F36011_ListMiscImprovements(int miscId)
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            ht.Add("@MID", miscId);
            Utility.LoadDataSet(miscImprovementOverviewData.ListMiscImprovementsNew, "f36011_pcget_MiscImprovements", ht);
            return(miscImprovementOverviewData);
        }
示例#5
0
        /// <summary>
        /// To List Catalog Code Details.
        /// </summary>
        /// <param name="valueSliceId">The value slice id.</param>
        /// <returns>Typed Dataset containg the MICatalog Code Details</returns>
        public static F36011MiscImprovementOverviewData F36011_ListCatalogCode(int valueSliceId)
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            ht.Add("@ValueSliceID", valueSliceId);
            Utility.LoadDataSet(miscImprovementOverviewData.ListMICodeComboboxDatatable, "f36011_pclst_MICatalogCode", ht);
            return(miscImprovementOverviewData);
        }
示例#6
0
        /// <summary>
        ///To List Misc Code Details.
        /// </summary>
        /// <param name="valueSliceId">The value slice id.</param>
        /// <returns>Typed dataset containing the Misc Code Details</returns>
        public static F36011MiscImprovementOverviewData F36011_ListMiscCode(int valueSliceId)
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            ht.Add("@ValueSliceID", valueSliceId);
            string[] optionalParameter = new string[] { miscImprovementOverviewData.ListMICodeNew.TableName, miscImprovementOverviewData.ListValidValueSliceID.TableName };
            Utility.LoadDataSet(miscImprovementOverviewData, "f36011_pclst_MICode", ht, optionalParameter);
            return(miscImprovementOverviewData);
        }
示例#7
0
        /// <summary>
        /// F36012_s the list misc catalog choice.
        /// </summary>
        /// <param name="miscCodeId">The misc code id.</param>
        /// <param name="fieldNum">The field num.</param>
        /// <returns>Typed dataset containing the MiscCatalogChoice table</returns>
        public static F36011MiscImprovementOverviewData F36012_ListMiscCatalogChoice(int miscCodeId, int fieldNum)
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            ht.Add("@MICodeID", miscCodeId);
            ht.Add("@FieldNum", fieldNum);
            Utility.LoadDataSet(miscImprovementOverviewData.ListMiscCatalogChoice, "f36012_pclst_MiscCatalogChoice", ht);
            return(miscImprovementOverviewData);
        }
示例#8
0
        /// <summary>
        /// To List the recalcMiscDepr Table details
        /// </summary>
        /// <param name="withPrimary">The withPrimary.</param>
        /// /// <param name="yearIn">yearIn</param>
        /// <param name="valueSliceId">The value slice id.</param>
        /// <param name="condition">condition</param>
        /// <param name="economicLife">economicLife</param>
        /// <param name="effectiveAge">effectiveAge</param>
        /// <param name="physDeprPerc">physDeprPerc</param>
        /// <param name="funcDeprPerc">funcDeprPerc</param>
        /// <param name="BaseCost">BaseCost</param>
        /// <param name="physDepr">physDepr</param>
        /// <param name="funcDepr">funcDepr</param>
        /// <param name="valueSliceId">valueSliceId</param>
        /// <param name="miscCodeId">miscCodeId</param>
        /// <returns>
        /// Typed dataset containing the reCalcMiscDepr Table details
        /// </returns>
        public static F36011MiscImprovementOverviewData F36011_RecalcMiscImprovement(bool withprimary, int?yearIn, string condition, int?economicLife, int?effectiveAge, decimal?physDeprPerc, decimal?funcDeprPerc, decimal?BaseCost, decimal?physDepr, decimal?funcDepr, int valueSliceId, int miscCodeId)
        {
            F36011MiscImprovementOverviewData miscImprovementOverviewData = new F36011MiscImprovementOverviewData();
            Hashtable ht = new Hashtable();

            ht.Add("@WithPrimary", withprimary);
            ht.Add("@YearIn", yearIn);
            ht.Add("@Condition", condition);
            ht.Add("@EconomicLife", economicLife);
            ht.Add("@EffectiveAge", effectiveAge);
            ht.Add("@PhysDeprPercent", physDeprPerc);
            ht.Add("@FuncDeprPercent", funcDeprPerc);
            ht.Add("@BaseCost", BaseCost);
            ht.Add("@PhysDepr", physDepr);
            ht.Add("@FuncDepr", funcDepr);
            ht.Add("@ValuesliceID", valueSliceId);
            ht.Add("@MICodeID", miscCodeId);
            Utility.LoadDataSet(miscImprovementOverviewData.RecalcMiscImprovement, "f36011_pcget_RecalcMiscImprovement", ht);
            return(miscImprovementOverviewData);
        }