---
schema_version: "1"
id: bb55d2417a23a29d40d70582278827a93047d050f46c7ea93444b2a6fcafb20f
title: SfdcPartnerProductLicense
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_sfdcpartnerproductlicense.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_sfdcpartnerproductlicense.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2eb0133eb5ec003df11a7e26cc70341a01b8133986801b27fc5e73d9add665e8
description: Represents the mapping between a provisionable product and a package license or permission set licenses (PSL) in a Partner Business Org (PBO). This object is available in API version 64.0 and later.
---
# SfdcPartnerProductLicense

Represents the mapping between a provisionable product and a package license or permission set licenses (PSL) in a Partner Business Org (PBO). This object is available in API version 64.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## 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.



 |
| LicenseId | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the license (package or PSL) being mapped to this product.

This field is a polymorphic relationship field.

Relationship Name

License

Refers To

SfdcPartnerPackage, SfdcPartnerPermSetLicense



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Auto-generated name of the license, with the format: PPL-{00000000}.



 |
| PartnerProvisionProductId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The associated provisionable product.

This field is a relationship field.

Relationship Name

PartnerProvisionProduct

Refers To

SfdcPartnerProvisionProduct



 |
| Quantity | 

Type

int

Properties

Create, Filter, Group, Sort, Update

Description

Required. The quantity of mapped licenses.



 |