Include custom fields in transaction/payment list

Any issue about Cyclos 4 scripting and Webservices

Moderators: hugo, alexandre, rmvanarkel

Post Reply
marcel
Posts: 53
Joined: Mon May 25, 2009 9:29 am
Location: The Netherlands
Contact:

Include custom fields in transaction/payment list

Post by marcel » Wed May 22, 2019 7:12 pm

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.

marcel
Posts: 53
Joined: Mon May 25, 2009 9:29 am
Location: The Netherlands
Contact:

Re: Include custom fields in transaction/payment list

Post by marcel » Thu May 23, 2019 11:15 am

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.

Post Reply