ProductCategoryProduct

Represents the association (junction) between a Product2 record and a ProductCategory record, indicating which categories a product belongs to and which one is its primary category. This object is available in API version 68.0 and later.

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

No additional setup or permissions beyond standard object- and field-level security are required.

Type: reference

Properties: Filter, Group, Sort

Description: The product catalog associated with this product-category association, derived from the related category. This field is a relationship field.

Relationship Name: Catalog

Refers To: ProductCatalog

Type: picklist

Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The ISO code for the currency used for amount fields on this record, in orgs with multicurrency enabled. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD.

Type: boolean

Properties: Create, Defaulted on create, Filter, Group, Sort, Update

Description: Indicates whether this category is the product’s primary category. The default value is false.

Type: string

Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort

Description: An auto-generated name that identifies this product-category association record.

Type: reference

Properties: Create, Filter, Group, Sort

Description: The product category in this association. This field is a relationship field. It’s the master in a master-detail relationship (ProductCategory is the master object).

Relationship Name: ProductCategory

Refers To: ProductCategory

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: The product in this association. This field is a relationship field.

Relationship Name: Product

Refers To: Product2

Type: string

Properties: Filter, Group, Sort

Description: A concatenated, filterable representation of the product-to-category association used for search and reporting.

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.