You need to sign in to do that
Don't have an account?
Ryan Mastbergen 5
Creating a License Snapshot
I am working on creating a new custom object called 'License Managment' that would automatically create a new record the first of every month. This way we have a 'snapshot' or history of our usuage. I know you can pull these figures in a report, however is there a way to pull them into a field?
The numbers I want to pull into a field are...
- Available Licenses
- Used Licenses
The numbers I want to pull into a field are...
- Available Licenses
- Used Licenses
you can use below query to get available and used license for each license type.
SELECT MasterLabel,Name,Status,TotalLicenses,UsedLicenses,UsedLicensesLastUpdated FROM UserLicense
refer to below url for more details about the query
https://salesforcecodex.com/2019/08/getting-salesforce-licenses-information/