How to preview the Visualforce page in Salesforce?
Cheers!!!
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 ....
Sample Batch: global class OldRecordDeleteBatch implements Database.Batchable<sObject> { global Database.QueryLocator start(Database.BatchableContext bc) { Date threeDaysBefore = System.today().addDays(-3); String SOQL = ....
Sample Code: trigger PostFeed on Opportunity(after insert, after update) { List<FeedItem> FIList = new List<FeedItem>(); Map<Id, Opportunity> oldMap = trigger.oldMap; for(Opportunity oppty: trigger.new) { ....