The splitting is done if it finds at least one incoming payment attached with the invoice.
Reminder: we can create several sales orders, and create only one invoice for all deliveries done according to the sales orders.
The program finds the sales orders attached to the invoice and look for the corresponding incoming payment. The incoming payment must be an open item, should be booked with the special G/L indicator “A” and the info of the sales order must be filled in the reference of payment “KIDNO”. (without “0”)