ProductSpecificationRecType
Represents the association of a product specification type with record types defined on the Product object. The product specification record type also determines if the product specification is sold commercially or not.
Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
This type extends the Metadata metadata type and inherits its fullName field.
ProductSpecificationRecType components have the suffix .productSpecificationRecType and are stored in the productSpecificationRecTypes folder.
ProductSpecificationRecType components are available in API version 60.0 and later.
Ensure Product Catalog Management is enabled to access this metadata type.
| Field Name | Field Type | Description |
|---|---|---|
isCommercial | boolean | Required. Indicates whether the product is sold commercially (true) or not (false). The default value is true. |
masterLabel | string | Required. A user-friendly name for the product specification record type, which is defined when the metadata component is created. |
productSpecificationType | string | Required. Product specification type that’s associated with the record type. This field is unique within your organization. |
recordType | string | Required. Custom record type of Product2 object. |
The following is an example of a ProductSpecificationRecType component.
The following is an example package.xml that references the previous definition.
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.