예제 #1
0
        /// <summary>
        /// F1430_GetCalculatorDetails gets the calculator details on load.
        /// </summary>
        /// <param name="statementId">The statement id.</param>
        /// <returns>TypedDataSet</returns>
        public static F1430InterestCalculatorData F1430_GetCalculatorDetails(int statementId)
        {
            F1430InterestCalculatorData getCalculatorDetails = new F1430InterestCalculatorData();
            Hashtable ht = new Hashtable();

            ht.Add("@StatementID", statementId);
            string[] tableNames = new string[] { getCalculatorDetails.GetPayDetails.TableName, getCalculatorDetails.CalculatorFields.TableName };
            Utility.LoadDataSet(getCalculatorDetails, "f1430_pcget_InterestCalc", ht, tableNames);
            return(getCalculatorDetails);
        }
예제 #2
0
        /// <summary>
        /// F1430_GetInterestDetails get the interest and deliquency details.
        /// </summary>
        /// <param name="statementId">The statement id.</param>
        /// <param name="interestDate">The interest date.</param>
        /// <param name="taxAmount">The tax amount.</param>
        /// <returns>TypedDataSet</returns>
        public static F1430InterestCalculatorData F1430_GetInterestDetails(int statementId, DateTime interestDate, decimal taxAmount)
        {
            F1430InterestCalculatorData getInterestDetails = new F1430InterestCalculatorData();
            Hashtable ht = new Hashtable();

            ht.Add("@StatmentID", statementId);
            ht.Add("@InterestDate", interestDate);
            ht.Add("@TaxAmount", taxAmount);
            Utility.LoadDataSet(getInterestDetails.InterestDescription, "f1430_pcget_InterestDescription", ht);
            return(getInterestDetails);
        }