RetentionStoreUsage
Tracks storage usage for archived or retained data.
Columns
| Name | Type | References | Description |
| Id [KEY] | String | Unique identifier of the record. | |
| OwnerId | String | ID of the user or queue that currently owns the record. | |
| IsDeleted | Bool | Indicates whether the record has been moved to the Recycle Bin (true) or not (false). | |
| Name | String | Name of the record. | |
| CurrencyIsoCode | String | ISO code for the currency in which the record's currency fields are expressed. | |
| CreatedById | String |
User.Id | ID of the user who created the record. |
| LastModifiedDate | Datetime | Date and time when the record was last modified. | |
| LastModifiedById | String |
User.Id | ID of the user who last modified the record. |
| UsageDateTime | Datetime | Date and time that this usage was recorded for. | |
| RetentionType | String | Type of data retention that this usage applies to. | |
| MetricType | String | Type of metric being measured. | |
| UnitOfMeasure | String | Unit of measure used for this usage metric. | |
| Usage | String | Amount of usage recorded. | |
| AttributeDetail | String | Additional detail describing this usage record. | |
| SystemModstamp | Datetime | Date and time when the record was last modified by a user or by an automated process. | |
| CreatedDate | Datetime | Date and time when the record was created. |
Pseudocolumns
Pseudocolumn fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.
| Name | Type | Description | |
| OwnerIdType | String | Specifies the type of the 'OwnerId' polymorphic field to use in the statement. | |
| OwnerIdExternalFieldName | String | Specifies the external field name of the 'OwnerId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| SOQL | String | Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. |