Duplicate Invoice Output

Duplicate Invoice Output

Forum member · Aug 28, 2018
using the cete.DynamicPDF designer and ceTe.DynamicPDF.ReportWriter and a dplx template to build an invoice PDF receipt, I created a subreport with an embedded query. when i run the below command var reportParms = new ParameterDictionary(); reportParms.Add("InvoiceNumber", invoiceID); reportParms.Add("Id", Id); Document document = report.Run(reportParms); var fileContent = document.Draw(); I get duplicate invoice. with the same data showing up on multiple page, to be precise it is showing the same data on page 1 and 2. don't know what i am doing wrong

Re: Duplicate Invoice Output

Forum member · Aug 28, 2018
Found My error sub Query returned duplicate data hence it perform the task twice hence the duplicate result.