When viewing a list of people from the company (i.e. Person tab), the count of the records is wrong. I can tell by looking at the screen and by reading another post that the record count is only counting records where the Person type is NULL. The type is populated in the field PeLi_Type.
From a previous post I found in the community, it appears the count is calculated as follows…
select count(distinct pers_personid) as fcount
from vListPerson WITH (NOLOCK)
WHERE PeLi_CompanyId=[Company ID] and PeLi_Type is null
I am hoping someone can tell me how to adjust the record count so that is calculating the correct number of records. I do not know where the information for the record count is stored in the system.
Thank you for any assistance you can provide!