/// <summary> /// Gets the affidavit statement id. /// </summary> /// <param name="formId">The form id.</param> /// <param name="orderField">The order field.</param> /// <param name="orderBy">The order by.</param> /// <returns>Returns dataset for list of statementID</returns> public static ExciseTaxAffidavitData GetAffidavitStatementId(int formId, string orderField, string orderBy) { string affidavitStatementIdDataValue; ExciseTaxAffidavitData affidavitStatementIdData = new ExciseTaxAffidavitData(); affidavitStatementIdDataValue = smartClientService.GetAffidavitStatementId(formId, orderField, orderBy); affidavitStatementIdData.ReadXml(Utilities.SharedFunctions.XmlParser(affidavitStatementIdDataValue)); return(affidavitStatementIdData); }
/// <summary> /// Gets the excise tax affidavit details. /// </summary> /// <param name="statmentId">The statment id.</param> /// <returns>Return ExciseTaxAffidavitData Dataset</returns> public static ExciseTaxAffidavitData GetExciseTaxAffidavitDetails(int statmentId) { string exciseTaxAffidavitDataValue; ExciseTaxAffidavitData exciseTaxAffidavitData = new ExciseTaxAffidavitData(); exciseTaxAffidavitDataValue = smartClientService.GetExciseTaxAffidavitDetails(statmentId); exciseTaxAffidavitData.ReadXml(Utilities.SharedFunctions.XmlParser(exciseTaxAffidavitDataValue)); return(exciseTaxAffidavitData); }