Yes, it is a customised report.
I have added the following code:
CustHeader.SETFILTER("date filter",somedatefilter); // add this.
It does convert the Customer Statement report into pdf but it does not take the date into consideration.
What i meant by:
Can you please advise how we can link these two reports so that the date filter entered in the customer statement - pdf is populated directly in the date filter field of the customer statement report.In the customised Customer statement report, there is a required filter field named Date Filter which is being used to setfilter on the posting date in the cust. ledger entry table.
What i wanted to do was to remove the required filter field [Date Filter] from the Customer Statement report so that when i enter a date in the Customer Statement - PDF report, the customer statement report captures that date automatically to generate the report according to the date entered.