---
schema_version: "1"
id: 4a8b3290c353ed4c4f8ff3be56ae058bc0d356515e9884e6581ebc29ad44a590
title: SfdcPartnerTenantPackage
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_sfdcpartnertenantpackage.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_sfdcpartnertenantpackage.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1c6cb0f81152dab11831c424715ce6d544ee65baff3b4f6d22003697bd3b3995
description: Represents a package installed in a tenant org and tracked in a Partner Business Org (PBO). This object is available in API version 66.0 and later.
---
# SfdcPartnerTenantPackage

Represents a package installed in a tenant org and tracked in a Partner Business Org (PBO). This object is available in API version 66.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| InstalledDate | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the package was initially installed.



 |
| LastInstalledDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the package was last installed.



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



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The auto-generated name of the tenant package, in the format: PTP-{00000000}.



 |
| PartnerPackageId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the package that is installed in the tenant org.

This field is a relationship field.

Relationship Name

PartnerPackage

Refers To

SfdcPartnerPackage



 |
| PartnerPackageVersion | 

Type

reference

Properties

Filter, Group, Sort

Description

The ackage version that is installed in the tenant org.

This field is a relationship field.

Relationship Name

SfdcPartnerTenantPackageVersions

Refers To

SfdcPartnerPackageVersion



 |
| PartnerTenantId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the Salesforce org that installed the package.

This field is a relationship field.

Relationship Name

PartnerTenant

Refers To

SfdcPartnerTenant



 |
| Status | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The install status of the package in the tenant org.

Possible values are:

- i—Installed
- u—Uninstalled





 |