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
jagjitsingh@indivar.comjagjitsingh@indivar.com 

Assets Count

Hi

 

How this can be done   to do a simple count of the number of Assets associated to a Contact or Account and display that number in a field on the appropriate account record?
 
Thanks
Santhosh KumarSanthosh Kumar

 

May be querying for assets using child query and getting the size of child records and updating in account?

 

select id, (select id from assets) from Account 

 

sunny_mhl10@yahoo.comsunny_mhl10@yahoo.com

Hi

 

   Thanks ,  but i am not clear how much this will help . What is Asset Object & how it is used .

 

Thanks

hemantgarghemantgarg

In sigle line , Asset is used to keep track of products purchased by a customer (account) .