You are here:
Customize Multisite Quote
You can synchronize custom fields, add new price-impacting attributes, and Read Quote Line Item Recipient (QLIR) Custom Field Values in CML.
Synchronize Custom Fields from OPR to QLIR
Propagate custom field values from Opportunity Product Recipient (OPR) records to Quote Line Item Recipient (QLIR) records by configuring the data mapping.
Create Custom Fields on QLIR
Customize the transaction data structure by adding attributes and aligning the field mappings to the Quote and Order objects.
- From Setup, open the Object Manager.
- Select the Quote Line Item Recipient object.
- Create custom fields that correspond to the fields on the OPR object.
Extend and Configure Context Definition
Edit the extended context definition, mappings, and activate the context definition.
- Extend the SalesTransactionRecipient node.
- Edit the extended context definition.
- Add the custom attributes corresponding to the OPR custom fields you want to map.
- Add the tag values for the custom attributes.
- Click the Map Data tab to edit the mappings.
- Mark OppLineItemRcpntMapping as default.
- Edit the OppLineItemRcpntMapping mapping and map the newly added custom attributes to the corresponding OPR custom fields.
- Edit the QuoteLineItemRcpntMapping mapping and map the newly added custom attributes to the corresponding QLIR custom fields.
- Save the mappings and then activate the context definition.
Add New Price-Impacting Attributes
Configure new product attributes that affect pricing, such as contract duration, by modifying the Product Catalog Management settings.
- From the App Launcher, find and select Product Catalog Management.
- Go to the home page.
- Create attributes according to the Revenue Cloud Product Catalog Management guidelines.
- Follow the standard procedures to create a new product and bind the attribute as price impacting.
- In the Constraint model expression set, add the attribute to the parent product type definition using the DeveloperName of the Attribute Definition.
- In the product group type definition, add the attribute, the parent reference, and the constraint.
Read Custom Field Values in CML
Populate product attribute values using custom fields from the Quote Line Item Recipient (QLIR) to drive logic in the Constraint Model Language (CML).
Create and Map Custom Fields
Create a custom field on the Quote Line Item Recipient object, extend the sales transaction context definition, and map the new attribute to Quote and Order entities.
Update the Constraint Model Expression Set
Deactivate the custom expression set, update it, and reactivate it.
- From the App Launcher, search for and select Constraint Model.
- Click the EU product constraint.
- Open the activated version and deactivate it.
- Update the CML to read the newly created tag in the context definition.
- Add constraints to set the value.
- Activate the constraint model.
