Merge trigger example in Salesforce
When merge event occurs, in the deleted records, MasterRecordId field will be populated with the winning record id. The winning record will be updated with the values selected. In the ....
When merge event occurs, in the deleted records, MasterRecordId field will be populated with the winning record id. The winning record will be updated with the values selected. In the ....
To create and view Visualforce page in Salesforce, follow the below steps 1. Go to Setup --> Develop --> Pages and click "New" button. 2. Click "Preview" button to view ....
Sample Code: Visualforce page: <apex:page controller="DeletingCheckedRowsController"> <apex:pagemessages /> <apex:form > <apex:pageBlock id="pg"> <apex:pageBlockTable value="{!listWrapper}" var="w"> ....
Sample SOQL: SELECT Id, (SELECT Id FROM CampaignMembers) FROM lead Cheers!!!
All the Salesforce triggers will be stored in ApexTrigger Entity. So, we can execute a SOQL fetch all the trigger names from a Salesforce Organization. Sample SOQL: SELECT Id, Name, TableEnumOrId ....
Sample Code: DateTime: DateTime myDate = datetime.now(); DateTime dueDate = DateTime.newInstance( 2008, 1, 30 ); //return true if myDate and dueDate are same else return false Boolean dueNow = myDate.isSameDay( ....
Credit Note is nothing but a form or letter issued by the seller to the buyer. If the purchaser paid extra money to the goods purchased, the seller will provide a Credit ....
Debit Note is nothing but a form or letter issued by the seller to the buyer. If the purchaser didn't pay the full amount for the goods purchased, the seller will provide ....
In the below example, when the Account's Billing Street or City gets updated, it's related Contacts Mailing Street and City are updated from Account's Billing Street and City. Sample ....