You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How many are legal professionals, notaries - within the past year registered liens or amended liens
How many are businesses or individuals? - within the past year registered liens or amended liens
Is there any way for us to run a query to find out how many PPR registrations have been submitted by a legal professional or a service provider (like dye and duram) and then how many have been registered by individuals or business owners (garages for example)
Doug Lovett
We store the account ID and user ID but not the type of account when creating PPR registrations. We can distinguish registrations created by the API accounts, which may be all the service providers. Otherwise if a list of account ID's is provided I can get the counts for those and the remainder would be indviduals/business owners.
I have sandbox auth-db database access - a recent snapshot from prod. Two extracts are attached here: all active ppr accounts, and active ppr accounts that are a law office or notary business type. export-sb-auth-db-ppr.zip
Developer Notes:
Auth-DB query for extract:
select o.id, o.name, o.business_type
-- select count(o.id)
from product_subscriptions ps, orgs o
where ps.status_code = 'ACTIVE'
and ps.product_code in ('PPR', 'RPPR')
and o.id = ps.org_id
and o.status_code = 'ACTIVE'
and type_code not in ('STAFF', 'SBC_STAFF')
and o.has_api_access = false
-- and o.business_type in ('LAW', 'LAWNP')
order by o.id
--fetch first 100 rows only
;
Auth-DB extract loaded into PROD PPR database table temp_auth_ppr_accounts.
PPR registration count queries will use the lawyer/notary account ID's.
Activity
[-]Support Call Increase Stats [/-][+]PPR API - Support Call Increase Stats [/+]doug-lovett commentedon Apr 22, 2025
@mbertucci I have updated the results to only include RL registration types here:
https://docs.google.com/spreadsheets/d/15Ax9mNHwNynPPnYV1TP5W8NSMNbqPTdOzyOUhstdZ9c/edit?gid=1488734796#gid=1488734796