/// <summary> /// Creates the receipt. /// </summary> /// <param name="currentImportId">The current import id.</param> /// <param name="templateId">The template id.</param> /// <param name="templateName">Name of the template.</param> /// <param name="filePath">The file path.</param> /// <param name="sourceTypeId">The source type id.</param> /// <param name="receiptDate">The receipt date.</param> /// <param name="interestDate">The interest date.</param> /// <param name="payCode">The pay code.</param> /// <param name="userId">The user id.</param> /// <param name="rollYear">The roll year.</param> /// <param name="ppaymentId">The ppayment id.</param> /// <param name="flag">if set to <c>true</c> [flag].</param> /// <returns>DataSet</returns> public static MortageImportData CreateReceipt(int currentImportId, int templateId, string templateName, string filePath, int sourceTypeId, DateTime receiptDate, DateTime interestDate, bool payCode, int FirsthalfPaycode, int userId, int rollYear, int?ppaymentId, bool flag) { return(WSHelper.CreateReceipt(currentImportId, templateId, templateName, filePath, sourceTypeId, receiptDate, interestDate, payCode, FirsthalfPaycode, userId, rollYear, ppaymentId, flag)); }