コード例 #1
0
        /// <summary>
        /// Gets the Excise Tax Statement ID
        /// </summary>
        /// <returns>Excise Tax Statement ID</returns>
        public static ExciseTaxStatementData ListExciseTaxStatement()
        {
            ExciseTaxStatementData exicseTaxStatementData = new ExciseTaxStatementData();
            Hashtable ht = new Hashtable();

            Utility.LoadDataSet(exicseTaxStatementData.ListExciseTaxStatementID, "f1100_pclst_ExciseTaxStatementID", ht);
            return(exicseTaxStatementData);
        }
コード例 #2
0
        /// <summary>
        /// Gets the Excise Tax Statement
        /// </summary>
        /// <param name="statementId">The statement id.</param>
        /// <returns>Excise Tax Statement Details</returns>
        public static ExciseTaxStatementData GetExciseTaxStatement(int statementId)
        {
            ExciseTaxStatementData exciseTaxStatementData = new ExciseTaxStatementData();
            Hashtable ht = new Hashtable();

            ht.Add("@StatementID", statementId);
            Utility.LoadDataSet(exciseTaxStatementData, "f1100_pcget_ExciseTaxReceiptDetails", ht, new string[] { "GetExciseTaxStatement", "GetExciseTaxReceipt" });
            return(exciseTaxStatementData);
        }
コード例 #3
0
        /// <summary>
        /// Saves the excise tax receipt.
        /// </summary>
        /// <param name="statementItems">The statement items.</param>
        /// <param name="userId">The userId.</param>
        /// <returns>typed dataset</returns>
        public static ExciseTaxStatementData SaveExciseTaxReceipt(string statementItems, int userId)
        {
            ExciseTaxStatementData exciseTaxStatementData = new ExciseTaxStatementData();
            Hashtable ht = new Hashtable();

            ht.Add("@StatementItems", statementItems);
            ht.Add("@UserID", userId);
            Utility.LoadDataSet(exciseTaxStatementData.ExciseTaxReceiptResultSet, "f1100_pcins_ExciseTaxReceipt", ht);
            return(exciseTaxStatementData);
        }