How to reproduce:
- AP -> Reports -> Vendor invoices
- on the filter form, click on Details, instead of summary
- you will get a list, with invoices and relevant COA account lists
- Clicking on one of the accounts -> you will get a server error
Same with AR.
Clicking on Invoice# or Vendor link, it works well, as expected.