---
schema_version: "1"
id: 4e9559599d21c499c1a6f191df6fc49c99272141cb45d3ad3435a0d66e9321e4
title: SfdcPartnerTntPkgLicense
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_sfdcpartnertntpkglicense.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_sfdcpartnertntpkglicense.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: df7f6b23955b15e80ff97a56874b4e77da513ec15a03ea199907a225928241d0
description: Represents package license tracking for a tenant package in a Partner Business Org (PBO). Used to track seats, expiration dates, and license statuses from both the Management and Subscriber org for package licenses. This object is available in API version 66.0 and later.
---
# SfdcPartnerTntPkgLicense

Represents package license tracking for a tenant package in a Partner Business Org (PBO). Used to track seats, expiration dates, and license statuses from both the Management and Subscriber org for package licenses. This object is available in API version 66.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| LastReferencedDate | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate), but not viewed it.



 |
| ManagementExpirationDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the license expires for the management org.



 |
| ManagementLicenseStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Describes whether the licenses from the management org have been provisioned.

Possible values are:

- Active
- Free
- Trial





 |
| ManagementProvisionedSeats | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number of seats provisioned from the partner org.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The auto-generated name of the license in the format: PTL-{00000000}.



 |
| PartnerTenantPackageId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the tenant package this package license record belongs to.

This field is a relationship field.

Relationship Name

PartnerTenantPackage

Refers To

SfdcPartnerTenantPackage



 |
| SubscriberExpirationDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the license expires for the subscriber.



 |
| SubscriberLicenseStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Describes whether the licenses for the subscriber have been provisioned.

Possible values are:

- Active
- Free
- Trial





 |
| SubscriberProvisionedSeats | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of seats provisioned in the Subscriber Org.



 |
| UsedSeats | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of seats for the license that have been assigned at the subscriber org.



 |