When Importing Orders / Invoices with Business Partners to create in the same Transaction the Process tries to create a Business Partner on every Line even though it has already been created in the same import Process as the query to find the BP does not use the same transaction as the BP creation query.
The attaches patch fixes this for us.
the second patch adds the function with the transaction to the bp model