Refactors to query directly the SQL API common data account