How to Calculate discount for opportunity in Salesforce based on percentage field?
Table of Contents
Introduction to scenario
โ Apex Trigger 5
Prerequisite
Create a Custom field on Opportunity โDiscountโ and the data type of this field should be percent.
Create a Custom...
Table of Contents
Introduction to scenario
โ Apex Trigger Scenario 7
Develop an Apex Trigger so that when an opportunity is created and the account is blank, create a task under Opportunity. Hint: - AccountId == null
Subject - Opportunity is...
Apex Trigger Scenario
โ Apex Trigger 2Develop an Apex Trigger so that every time when any account is created or updated then Set the Value of the Billing Address is to Shipping Address.Shipping AddressShippingStreetShippingCityShippingStateShippingPostalCodeShippingCountryBilling AddressBillingStreetBillingCityBillingStateBillingPostalCodeBillingCountry
Hands on
// trigger
trigger AccountTrigger on Account...
Develop an Apex Trigger so that every time any account is inserted then set the value of the Industry field to Education. Also, check if the Description is blank then set the value for the description field to โAccount Description is blankโ
The Salesforce CLI is not just a tool; itโs the cornerstone of development on the Salesforce Platform. Itโs your go-to for building, testing, deploying, and more. As one of the most important development tools in our ecosystem