Posts

Showing posts with the label admin

Understand CPQ Data Model

Image
Core objects used in CPQ   Quote: The main proposal sent to the customer, linked to a sales deal (Opportunity). It holds all items, prices, and customer details. Quote Line: Each row in the quote, like “5 Laptops at 50,000 each”. Every product, quantity, and price is one quote line. Product: What you sell. It can be a simple item (one laptop) or part of a bundle (Laptop + Mouse + Warranty). Price Book: A price list, like “Standard Prices” or “Partner Prices”. Price Book Entry: Connects one product to one price list with its list price (e.g., Laptop in Standard Price Book at 50,000). Product Options: The individual choices inside a bundle, like adding a mouse or extra warranty to a laptop. Product Features: Groups of related options, like “Accessories” or “Support Plans”, to keep options organized. Configuration Attributes: Extra questions asked during setup, such as color, size, or memory, to fine-tune the product. Quote Line Group: A way to group lines on a quote, like “Hardwar...

Why you might need Salesforce CPQ

Image
What CPQ Does? CPQ software makes creating customer quotes fast and error-free, replacing old pencil-and-paper methods. Upfront CPQ setup takes effort, but pays off with button-click quotes generation like pricing 10 custom chairs perfectly in seconds. Benifits of having CPQ CPQ software boosts sales by automating quotes, cutting errors, and speeding up deals. Fast, accurate quotes: Guides reps through configs, options, and discounts in minutes, with auto-approvals to skip long waits. Error reduction: Handles complex math, currencies, subscriptions, and custom pricing rules flawlessly. Consistency: Locks in pricing and discounts to avoid mistakes in deals. Revenue growth: Speed up the sales cycle, enables analytics for trends, and replicates deals easily for repeat customers. CPQ software benefits all sales players by simplifying workflows and boosting outcomes. Customer Gains Clear visuals and instant pricing help buyers grasp orders and stick to budgets easily. Company Advantages Cut...

Salesforce CPQ or Revenue Cloud Basics

Image
Salesforce is like a super organizer for businesses to track customers and sales. It keeps all info, contacts, deals, emails in one spot so teams collaborate easily. Salesforce CPQ (also known as Revenue Cloud) simplifies quoting for sales teams handling complex products. It breaks down into three steps: Configure products, Price them accurately, and Quote professionally. Sales reps spend only 27% of time selling; most is wasted on quotes and approvals. Salesforce CPQ helps sales teams handle tricky products without mistakes. Configure Pick products and add features customers want, like bundles or extras. Rules guide you to smart choices, like suggesting add-ons. Price The system auto-calculates costs with discounts, deals, or currency changes. No math errors or forgetting rules. Quote Create a sharp, branded document ready to email. Everything’s accurate, speeding up sales and happy customers. Salesforce CPQ shines for businesses with lots of products or tricky prices, like custom l...

Headless action button using LWC (No Modals)

Image
  A headless quick action executes custom code in a Lightning web component. Unlike a screen action, a headless action doesn’t open a modal window. Expose invoke() as a public method for headless quick actions; the invoke() method executes every time the quick action is triggered. Return type of invoke() is void . Using async will make invoke()  execute asynchronously.  // js file import { LightningElement, api } from 'lwc'; import { ShowToastEvent } from 'lightning/platformShowToastEvent'; export default class DispatchEventHeadlessAction extends LightningElement {     @api recordId;      isExecuting = false;     @api async invoke() {           if (this.isExecuting) {           // This code uses a boolean flag to block a double execution            return;          }           this.isExecuting ...

Keyboard Shortcuts for salesforce developer console

Image
Ctrl + E Open the Execute Anonymous Window. Ctrl + O Open files. Ctrl + Shift + a Open Lightning Resources Ctrl + Shift + h Search in files Ctrl + ALT + / Close all tabs Ctrl + , Navigate backward through the view history Ctrl + . Navigate forward through the view history

Visual Force Email Templates being sent as blank by Automated Process User

This might happen if an automated process user updates a record and then uses the same record to send an email using the Visual Force email template. Example of email template: Hi, XYZ has submitted {!relatedTo.Name} for your re-approval. The following title of a known issues article in Salesforce is: VF Workflow Emails are Blank when the records are Last Modified by "Automated Process" user Solution: To replace/override the automated process user by any user who has required permissions. step 1: Login to workbench step 2: Use below POST endpoint /services/data/v58.0/tooling/sobjects/PlatformEventSubscriberConfig step 3: JSON body should appear below: {     "BatchSize" : "50",     "DeveloperName" : "",     "MasterLabel" : "",     "PlatformEventConsumerId" : "01qXXXXXX..", // APEX Trigger's ID     "UserId" : "005XXXX..." // User's ID } step 4: Hit Execute, that will ove...

How to Give Permissions to Automated Process Users or System Context Users

Image
What is Automated Process Users Automated Process Users are special users created automatically by Salesforce, are essential to the execution of automated jobs and background processes. These users are essential for executing tasks that require no direct human intervention, such as: Flows: Automated Process Users can run Flow automations that perform actions like updating records, sending emails, or creating tasks. Approval Processes: They can act on behalf of users in approval processes, ensuring that approvals move forward even without direct user interaction. Scheduled Jobs: These users can run scheduled jobs that perform maintenance tasks or batch data processing. 1. How to fetch automated process user using SOQL? SELECT ProfileId, name FROM User WHERE Alias = 'autoproc' 2. How to give permission of apex class to automated process user step 1: visit following link <ORG_BASE_URL>/_ui/system/user/ProfileApexClassPermissionEdit/e?profile_id=<Automated_Process_User...

All About Permission Sets and Permission Set Group

Image
  What is Permission Sets? Permission set is a way to give a user access permission to various tools and functions, Salesforce recommends permission sets as a way to manage user permissions because they do not change access settings on profiles. What is Permission Sets Groups? Permission set groups are collections of individual permission sets. They are a convenient way to group or bundle related permission sets, making access management easier for users who have several tasks or jobs that require different permissions at the user level. User can have multiple Permission sets and permission set groups. Best Practice: When possible, assign users the Minimum Access (OWD, Profile level), and then use permission sets and permission set groups to grant users only the permissions that they require. Create a muting permission set to remove permissions from a permission set group while keeping the included permission sets intact. There is no need to build almost similar permission sets wit...