Page 1 of 1

Include custom fields in transaction/payment list

Posted: Wed May 22, 2019 7:12 pm
by marcel
I try to make a CSV list of payments per quarter of a year using the PHP API library.
Its easy to get the list of standard fields, i can't find out how to include the custom fields.
I also tried to use exportAccountHistoryToCSV( $params) this function keeps "saying" I have NO access (as an ADMIN)

Hopefully someone can help me.

Re: Include custom fields in transaction/payment list

Posted: Thu May 23, 2019 11:15 am
by marcel
I came a bit further; I managed to use AccountService->exportAccountHistoryToCSV(). The problem is i can't read the output. May be its serialized, now im finding out how to get it readable. Another option i figured out is using AccountService->searchAccountHistory, in this case i didn't succeeed to get the custom fields.