function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
scoopscoop 

LAst Activity on reports equivilent

Hi,

As there is no access to reports via the api now is there a way to simulate the "last activity" checkbox on the "accounts general" section of accounts reporting via the api?

Thanks.

  

 

benjasikbenjasik
No way to get this in the api today, we are considering it for the future
AllisonAllison

Can you at least define how 'Last Activity' is determined?  Is it derived from any associated object update or just specific objects?

thanks

benjasikbenjasik
Yes, any associated object update should update the lastActivity field.
AllisonAllison
Sorry to be dense but is there really a 'field' called lastActivity or is this a calculated value?
benjasikbenjasik
It's a calculated value, available in reports and lists. It's on the roadmap to make it available queryable in the API