Represents the data models or sets of objects of a particular
cloud that the pricing data store consumes during design time and run time.
Parent Type
This type extends the Metadata metadata type and inherits its fullName
field.
File Suffix and Directory Location
PricingRecipe components have the suffix .pricingRecipe and are stored in the pricingRecipe folder.
Version
PricingRecipe components are available in API version 60.0 and later.
Special Access Rules
This metadata type is available with Salesforce Pricing.
Fields
| defaultPricingProcedure |
- Field Type
- ExpressionSetDefinition
- Description
- Expression set definition that's associated with this pricing recipe setting.
|
| defaultPricingProcedureDeveloperName |
- Field Type
- string
- Description
- For
internal use only.
|
| defaultPricingProcedureId |
- Field Type
- string
- Description
- ID of the pricing procedure of the pricing recipe.
|
| developerName |
- Field Type
- string
- Description
-
Required.
API
name of the pricing recipe.
|
| isActive |
- Field Type
- boolean
- Description
- Indicates whether the pricing recipe is active (true) or not (false).
The default value is false
|
| isInternal |
- Field Type
- boolean
- Description
- Indicates whether the price recipe record is created internally by the Salesforce
platform (true) or
not (false).
The
default value is false
|
| masterLabel |
- Field Type
- string
- Description
-
Required.
Name for pricing recipe that's defined when the pricing recipe is created.
|
| pricingRecipeTableMapping |
- Field Type
- PricingRecipeTableMapping[]
- Description
- Mapping of the pricing components of a lookup table with the chosen pricing recipe.
|
PricingRecipeTableMapping
Represents the mapping of the lookup table with the chosen pricing recipe.
| isInternal |
- Field Type
- boolean
- Description
- Indicates whether the price recipe field mapping record is created internally by the
Salesforce platform (true) or not (false).
The default value is false.
|
| lookupTable |
- Field Type
- DecisionTable
- DecisionMatrixDefinition
- Description
- Lookup table that's associated with either a decision matrix or decision table.
|
| lookupTableDeveloperName |
- Field Type
- string
- Description
- For internal use only.
|
| pricingComponentType |
- Field Type
- string
- Description
- Pricing component field data that the decision table is built on.
- Valid values are:
- AttributeDiscount
- BundleDiscount
- DerivedPricing
- ListPrice
- PriceAdjustmentMatrix
- PromotionsDiscount
- VolumeDiscount
- VolumeTierDiscount
-
DiscountDistributionService. This value
is available in API version 60.0 and later.
-
MinimumPrice. Available in API version
62.0 and later.
|
| pricingProcedureOutputMapList |
- Field Type
- PricingProcedureOutputMap[]
- Description
- List of the mappings of the outputs of the pricing procedures to the associated lookup
tables. Available in API version 60.0 and later.
|
| pricingRecipe |
- Field Type
- string
- Description
-
Required.
Pricing data store that's associated with this pricing recipe field mapping.
|
PricingProcedureOutputMap
Represents the mapping of the outputs of the pricing procedures to the associated lookup
tables. Each record specifies the output mapping of the associated lookup table
based on the pricing component type specified in the PricingRecipeTableMapping
object.
| fieldName |
- Field Type
- string
- Description
- For internal use only.
|
| isPricingRecipeActive |
- Field Type
- boolean
- Description
- Indicates whether the associated pricing recipe is active (true) or not (false).
- The default value is false.
|
| outputFieldName |
- Field Type
- string
- Description
- Field name that contains the output type that's generated from the pricing element.
|
| outputFieldNameString |
- Field Type
- string
- Description
- Derived field that references a specific column in a decision table or decision
matrix.
|
| outputType |
- Field Type
- string
- Description
- Output type that's generated from a pricing element.
- Valid values are:
- AdjustmentType
- AdjustmentValue
- CustomOutput
- HashOutput
- UnitPrice
|
| pricingElementType |
- Field Type
- PricingElementType
(enumeration of type string)
- Description
- Type of pricing element, which is a derived field from PricingRecipeTableMapping.PricingComponentType.
Valid
values are:
- AssetDiscovery
- AttributeDiscount
- BundleDiscount
- DerivedPricing
- DiscountDistributionService
- ListPrice
- MinimumPrice
- PriceAdjustmentMatrix
- PriceRevision
- PromotionsDiscount
- RuleFetch
- VolumeDiscount
- VolumeTierDiscount
|
Declarative Metadata Sample Definition
The following is an example of a PricingRecipe component.
The following is an example package.xml that
references the previous definition.