Converted account report old to new api

Hello

I have converted postgres report old to new API.

thanks.
Call the compute() method using recordset(s).