Twin Fields in Salesforce RLM
Step 1) Create New field in Product and Quote Line Item Object's
Field Name : Discount Code
Picklist Values : ABC - 10
DEF - 20
GHI - 30
KLM - 40
Step 2) De-Active Custom Pricing Procedure
1) Product Discovery Pricing Procedure_MK
2) Revenue Management Default Pricing Procedure_MK
Step 3) From Setup-->Context Definitions--> ProductDiscoveryContext_MK--> Click 'Deactive'
Click "Edit" Button in "ProductDiscoveryContext_MK" -- > Add attribute
From the Map Data Tab --> Clone the "ProductDiscoveryMapping"
From "ProductDiscoveryMapping_Ext" --> Map the CategoryProduct to Product2 Object
--> Map the Discount_Code__c to Discount_Code__c Field
Step 4) From Setup--> Context Definitions--> SalesTransactionContext_MK--> Click 'Deactive'
Click "Edit" Button in "SalesTransactionContext_MK" -- > Add attribute
--> Map the SalesTransactionItem to CategoryProduct
--> Map the Discount_Code__c to Discount_Code__c Field
From "SalesTransactionContext_MK" --> "Map Data" TAB --> QuoteEntitiesMapping
--> Map the SalesTransactionItem to QuoteLineItem
--> Map the Discount_Code__c to Discount_Code__c Field
Step 5) Active Both Context Definition's and Pricing Procedure's
Step 6) Create Quote and Add the Product to test data is populated or not
Comments
Post a Comment