Field help (GDEBPR) 

This field makes it possible to define the search order of the collective account.
For instance, when a Business Partner is both a customer and a supplier, the field specifies for which type of BP the collective account to be allocated should be looked for.

The search order is defined as follows:
1 = customer
2 = supplier
3 = carrier
4 = factor
5 = sales rep.
6 = miscellaneous BP.

For instance: 612 means that the search will be conducted in priority on the collective account associated with the accounting code of type "miscellaneous BP", then to the accounting code of type "customer" and finally to the accounting code of type "supplier".