ccrz__E_PricelistItem__c
Represents a specific price for a product in a price list.
Compatibility
This reference applies to:
Release | Managed Package Version | API Version |
---|---|---|
B2B Commerce for Visualforce Winter ’21 | 4.13 | 12 |
B2B Commerce for Visualforce Spring ’20 | 4.12 | 11 |
B2B Commerce for Visualforce Summer ’19 | 4.11 | 10 |
B2B Commerce for Visualforce Spring ’19 | 4.10 | 9 |
B2B Commerce for Visualforce Summer ’18 | 4.9 | 8 |
API Usage
Class used with: ccrz.ccApiPriceList
Fetch sizing: To specify which fields the ccrz.ccApiPriceList.fetch or ccrz.ccApiPriceList.fetchPriceListItems method returns for each price list item record, request a specific data size for the ccrz.ccApiPriceList.PLI_ENTITYNAME key in your input data:
ccrz.ccApi.SIZING => new Map<String, Object> {
ccrz.ccApiPriceList.ENTITYNAME_PLI => new Map<String, Object> {
ccrz.ccApi.SZ_DATA => ccrz.ccApi.SZ_L
}
}
The reference for each field indicates which data size the field is returned with.
Fields
- Attribute Pricing
- JSON data for attribute pricing.
-
Usage Field Name Data Type Input on object ccrz__AttributePricing__c Text Area (Long) (32000) Input or output with API (with SZ_XL) attributePricing String - End Date
- The date when the price list item is no longer valid. For example, if End Date is 12/31/2099, then December 30, 2099 is the final day that the price for this price list item is valid.
-
Usage Field Name Data Type Input on object ccrz__EndDate__c Date Input or output with API (with SZ_L or larger) endDate Date - Item Type
- By default, the managed package doesn't use this field.
-
Usage Field Name Data Type Input on object ccrz__ItemType__c Text (255) Input or output with API (with SZ_S or larger) itemType String - Max Qty
- By default, the managed package doesn't use this field.
-
Usage Field Name Data Type Input on object ccrz__MaxQty__c Number (18, 0) Input or output with API (with SZ_L or larger) maxQty Integer - Min Qty
- By default, the managed package doesn't use this field.
-
Usage Field Name Data Type Input on object ccrz__MinQty__c Number (18, 0) Input or output with API (with SZ_L or larger) minQty Integer - Price
- The price for the product in the price list.
-
Usage Field Name Data Type Input on object ccrz__Price__c Currency (16, 2) Input or output with API (with SZ_S or larger) price Decimal - Pricelist
- The price for the product in the price list.
-
Usage Field Name Data Type Input on object ccrz__Pricelist__c Master-Detail Relationship (ccrz__E_PriceList__c) Input or output with API (with SZ_S or larger) pricelist ID Input or output with API (with SZ_M or larger) pricelistR Map<String, Object>, which contains the following ccrz__E_PriceList__c fields: - currencyISOCode
- seller
- sfdcName
- Pricelist Item Id
- A unique ID that associates the record with an external system.
-
Usage Field Name Data Type Input on object ccrz__PricelistItemId__c Text (255) Input or output with API (with SZ_S or larger) pricelistItemId String - PricelistItemAutoNumber
- A unique, automatically assigned ID for the record.
-
Usage Field Name Data Type Input on object Name Auto Number Input or output with API (with SZ_S or larger) sfdcName String - Pricing Tiers
- JSON data for tiered pricing. For more information about tiered pricing, see https://help.salesforce.com/articleView?id=sf.b2b_commerce_tiered_pricing.htm.
-
Usage Field Name Data Type Input on object ccrz__PricingTiers__c Text Area (Long) (32766) Input or output with API (with SZ_XL) pricingTiers String - Product
- The product assigned a price in the price list.
-
Usage Field Name Data Type Input on object ccrz__Product__c Lookup Relationship (ccrz__E_Product__c) Input or output with API (with SZ_S or larger) product ID Input or output with API (with SZ_M or larger) productR Map<String, Object>, which contains the following ccrz__E_Product__c fields: - sku
- Recurring Price
- Whether the price assigned in this price list item is recurring (selected) or the upfront price (not selected) in a subscription.
-
Usage Field Name Data Type Input on object ccrz__RecurringPrice__c Checkbox Input or output with API (with SZ_S) pricingTiers Boolean - Start Date
- The date when the price list item is valid.
-
Usage Field Name Data Type Input on object ccrz__StartDate__c Date Input or output with API (with SZ_L or larger) startDate Date - SubProdTerm
- The subscription term that the price list item applies to.
-
Usage Field Name Data Type Input on object ccrz__SubProdTerm__c Lookup Relationship (ccrz__E_SubProdTerm__c) Input or output with API (with SZ_M or larger) subProdTerm ID
Deprecated Fields
The following fields exist on the object but aren't used by the managed package. Don't use these fields in any development or customization.
Field Label | Field Name | Data Type |
---|---|---|
Unit Of Measure | ccrz__UnitOfMeasure__c | Text (255) |