As far as I can tell there is no way of knowing which sales invoice
generated which commission invoice.
How about setting parentInvoiceId to the id of the originating sales invoice
in the corresponding commission InvoiceItem ?
On Fri, Jan 2, 2009 at 12:49 PM, Daniel Riquelme
<
[hidden email]>wrote:
> Given a normal sales invoice, how can I determine which commission invoices
> relates to it ?
>
> regards,
> Daniel
>