We need to follow some steps to enable and configure Multicurrency in salesfroce 1. Enabling Multicurrency Setup -> Company Information -> Edit -> Activate Multiple Currencies (Check this check box). Note : Once Multicurrency is enabled we con't disable it. 2. See all the available New Currencies Setup -> Company Information -> Currency Setup (button) as shown in the image below. 3. How to Create Multiple Currencies in Salesforce Setup -> Company Information -> Currency Setup -> New As shown in the image below, we can create new Currencies. 4. How to use Multiple Currencies in Opportunity Creation. Note : If you enable Multy-currency then In the opportunity(Object), "Opportunity Currency" (field) is mandatory to create an opportunity. 5. How to use Multi-currency in Quote Note: 1. If you gave currency for opportunity as EUR, and in quot...
1. Scenario Overview This automation solves an Amazon Interview Question based on a parent-child relationship between a parent object, Tax_Firm__c , and a child object, Employee__c . The parent features two currency fields: Max_Salary__c and Min_Salary__c . The system must dynamically recalculate and roll up the highest and lowest employee salary values to these parent fields whenever any child employee record is inserted, updated, deleted, or undeleted . Additionally, the solution handles the edge case where all related employees are deleted from a firm, safely resetting the parent summary values to zero instead of leaving stale metrics behind . or Show the Min & Max Salary of Employee records on the Parent Company record. 2. Apex Handler Class java public class EmployeeTriggerHandler { public static void updateSalaryRollups ( List < Employee__c > newEmployees , Map < Id , Employee__c > oldEmployeeMap ) { Set < Id > taxFirmIds = new...
Comments
Post a Comment