This functionality controls the "allocations or pairings" of Debit and Credit Party Transactions.

In v2 we have just changed the notation [in the code and the tables also] - we now use the term "allocation" instead of "distribution".

The table that supports allocation is now named: tParty_allocate and can handle and mix allocations - for the same party - from Sales and Purchases.