I want to make a special CustInvoiceJournal. In a normal custinvoicejournal we have a list of salesorders and which invoiceId they are refering to. But some invoices contains of more than 1 salesorders. And we can see all the salesorders in the "lines" of the invoice.
My question is, how can I make a cust invoice journal, where I can see ALL the salesorders and invoiceid's etc.
I found out that if I use CustInvoiceTrans as datasource, it will solve my problem. I needed to show every saleslines, and I wanted to be able to see if an invoice contains more than one salesorder. With the field OriginalSalesId I can see it