The requirement from the client was to get all payables documents, and link to receivers and POs where we could. The also wanted all the debit distributions.
When including dists, you nave to understand that you'll get more than one line for each invoice at times.
This view requires 4 helper functions:
ddf_Address
ddf_CommaSeparatedPOs
ddf_CommaSeparatedReceipts
ddf_Phone