Posts

My Trigger Scenario's

 Scenario 1 : Prevent Contact Update by Same User Within 1 Hour ? Trigger TimeLastmodified on Contact (Before update) {     Set<Id> contactIds = new Set<Id>();     for (Contact con : Trigger.new) {         contactIds.add(con.Id);     }     for (Contact newCon : Trigger.new) {         if (newCon.LastModifiedById == UserInfo.getUserId()) {             Long minutesSinceLastUpdate = DateTime.now().getTime() - newCon.LastModifiedDate.getTime();             minutesSinceLastUpdate = minutesSinceLastUpdate / (60 * 1000); ...

Guided Product Selection in Salesforce Revenue Cloud - Full Setup

Image
 Step 1)  Go to Setup -> Discovery Framework -> General Settings               Enable Sample Templates. Step 2) Go to -> Product Discovery Settings --> Disable below 2 Guided settings initially                  1.1)  Use Indexed Data for Product Listing and Search               1.2) Guided Product Selection             From the " Use Indexed Data for Product Listing and Search" Click "Create Full Index" Go to "Manage Fields & Attributes", Click Edit then Select "Product Family" as " Searchable and Filterable" Go to "Indexes" Tab and "Rebuild Index". Once "Full Index Rebuild" Wait till Status is Completed  Go to -> Product Discovery Settings --> Enable below 2 Guided settings               1.1) Use Indexed Data for ...

Configure types Of Products in CPQ and Revenue Cloud ?

Image
 1) Non-Subscription/One-Time Product : In CPQ :  1)As the name suggests such products are sold as one-time purchases or do not involve recurring billing        or subscription-based pricing.  2) These products are typically purchased once and do not require ongoing payments or renewals.                                          In Revenue Cloud :  2) Subscription Product :   Subscription products are sold as services that last for a specific period (whether that's days, months, or years). Subscription products have recurring payments associated with them. Upon contracting these products become a Subscription  associated with the Contract and renewals can be generated. Example:  Netflix or Amazon Prime. Or buying a cell phone subscription for a month.   In CPQ : Required Fields a...