SQL ile CRM Entity Kayıt Sayısı Bulabilme Querysi
FetchXML ile veya diğer toollar ile eğer entitylerdeki kayıta sayılarını bulma imkanı yoksa SQL üzerinde SQL query ile aşağıdaki sorguyu kullanarak entitylerdeki data sayılarını bulabilirsiniz.
SELECT TOP 1000 [Count]
,[RecordCountSnapshotId]
,entityview.ObjectTypeCode, Name
FROM [DoktorCRM_MSCRM].[dbo].[RecordCountSnapshot] , EntityView
where entityview.ObjectTypeCode = RecordCountSnapshot.ObjectTypeCode
and count > 0 order by count desc
Referans : https://stackoverflow.com/questions/46179978/msd-crm-get-the-count-of-records-of-all-entities-in-crm
Yorum gönder