Thank You very much for the post .I tried he same fetch method but still its not working.Also i noticed that in this method we are not using Purch line nd item id anywhere .
There is no need to specify the purchline or item Id as the call to super() will execute the query.
The fetch method in my previous post selects one record from PurchTable and execute the body of purchTable as well as all purchLines that corresponds to the selected purchId one by one.
Is there a body section for PurchLine in your design?
When i edit some of your code ,I am getting the items on the report but all items are getting displayed not the one corresponding to a particular purch id …
I only want to show those which are against a particular id.
Is the same thing possible when instead of SalesTable and SalesLine we have to take CustInvoiceJour and CustInvoiceTrans table.
As with these table ,it is giving an error.
The reason why i want to do this is i want to attach this report to the the Sales Table form and presently there the system report is being shown to which i have to replace with the report i have made.
Its working… i.e i have created a new report Dom_TaxInvoice =>Datasource CustInvoiceTrans and link this report to SalesTable form.
When we open Dom_TaxInvoice report it shows the data correctly But when we create a partial Invoice on SalesTable form and open the report all items related to salesid display on report. it is not correct …