You are here:
Set Up Product Configurator for Rehashing Loans or Leases
Set up attributes and pricing procedures to rehash your loan or lease.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To create attribute definitions: | Product Catalog Management Designer permission set |
| To create price impacting attributes: | Salesforce Pricing Design Time OR Salesforce Pricing Run Time |
| To clone context definitions: | Context Service Admin |
| To create a decision table: | Rule Designer Admin |
| To create a pricing procedure: | Salesforce Pricing Design Time permission set |
Set up attributes and make them price impacting to enable their use in calculating new offers.
Create Product Attributes and Attribute Picklists
Create product attributes for the following attributes as done
during Vehicle and Asset Lending self-intake setup.
LoanTerm
| Field | Value |
|---|---|
| Name | LoanTerm |
| Label | Loan Term |
| API Name | LoanTerm |
| Data Type | Picklist |
| Picklist | LoanTerm |
DownPayment
| Field | Value |
|---|---|
| Name | DownPayment |
| Label | Down Payment |
| API Name | DownPayment |
| Data Type | Currency |
MSRP (Manufacturer's Suggested Retail Price)
| Field | Value |
|---|---|
| Name | MSRP |
| Label | MSRP |
| API Name | MSRP |
| Data Type | Currency |
LoanAmount
| Field | Value |
|---|---|
| Name | LoanAmount |
| Label | Loan Amount |
| API Name | LoanAmount |
| Data Type | Currency |
RequestedAmount
| Field | Value |
|---|---|
| Name | RequestedAmount |
| Label | Requested Amount |
| API Name | RequestedAmount |
| Data Type | Currency |
Create Product Classification Records
Reuse the product classification records created for Vehicle and Asset Lending self-intake
setup or create more and assign them the LoanTerm, DownPayment, MSRP (Manufacturer's Suggested
Retail Price), and LoanAmount attributes as required. Follow the steps in Create Product Classifications for Vehicle and Asset
Lending.
Configure Attributes as Price Impacting
- From the App Launcher select Product Catalog Management, and then click Product Classifications.
- Open your product classification record and go to the attributes tab.
- Click on the LoanTerm attribute, and click Edit.
- Select Is Price Impacting.
- Save your changes.
- Repeat step 1 to 5 for the DownPayment, LoanAmount, and MSRP as well.
Clone and Configure the Context Definition
- In Setup, in the quick find box, enter Context Definitions, and select Context Definitions.
- On the Standard Definitions tab, for the AssetLendingRehashingContext record, click Clone from the drop-down menu.
- Enter a name with the prefix AssetLending and save your changes.
- Go to the Custom Definitions tab and find the cloned definition.
-
On the Map Data tab, click
, and click Edit SObject Mapping.
- Update the Mapping name to LendingProductConfigMapping and click Map.
-
Go back to the Context Definition tab and click Activate.
You can extend the context definition and mapping to add more attributes as per your business requirements.
Create a Decision Table
-
Create a decision table if not already done during Vehicle and Asset Lending self-intake
setup, and map it to the NGPDefaultRecipe pricing recipe. See Create a Decision Table for Vehicle and Asset Lending
Proposals and step 1 of Create a Pricing Procedure for Vehicle and Asset
Lending.
Make sure your lending products have list rates for each product. See Add Product List Rates for Vehicle and Asset Lending.
- Create a decision table that uses the product and term values as input and provides the interest type and interest rate as output values. See Create a Term-Based Adjustment Decision Table.
Create a Pricing Procedure for Rehashing
- From App Launcher, find and select Pricing Procedures.
- Click New.
- Enter name as asset_lending_demo.
- Select Pricing as the usage type.
- For context definition, select AssetLendingRehashingContext.
- Save your changes.
- On the Details tab, in the Pricing Procedure Versions section, click the asset_lending_demo V1 version.
- In the Pricing Procedure Properties tab, expand Advanced Details, and enter Rank as 1.
-
Create a resource to store the price.
- Click Add Resource.
- For Type, select Constant.
- Enter a name. For example, DummyPrice.
- For Data Type, select Number.
- Enter a default value of 0.
- Enter other details as required.
- Click Done.
-
Create a resource to store the quantity.
- Click Add Resource.
- For Type, select Constant.
- Enter a name. For example, DummyQuantity.
- For Data Type, select Number.
- Enter a default value of 1.
- Enter other details as required.
- Click Done.
-
Drag the Pricing Setting element to the canvas and enter these values.
- For the Line Item input variable, select ProductId.
- For the Net Unit Price output variable, select the resource you created in step 9.
- For Subtotal output variable, select AFPPInterestRate.
-
Drag the List Price element to the canvas and enter these values.
- For the Lookup Table Details field, select Product List Rate Decision Table.
- For the Product input rule variable, select ProductId.
- For the Quantity input variable, select the resource you created in step 10.
- For the List Price output variable, select AFPPInterestRate.
- For the Subtotal output variable, select AFPPInterestRate.
-
Drag the Price Adjustment Matrix element to the canvas and enter these values.
- For the Lookup Table Details field, select TermBasedAdjustmentDT.
- For the Term input rule variable, select AFPPLoanTerm.
- For the Product input rule variable, select ProductId.
- For the Quantity input variable, select the resource you created in step 10.
- For the Input Unit Price input variable, select AFPPInterestRate.
- For the Net Unit Price output variable, select AFPPInterestRate.
- For the Subtotal output variable, select AFPPInterestRate.
- Save your changes and activate the procedure.
Did this article solve your issue?
Let us know so we can improve!

