• prashanth murukonda
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 4
    Replies
Can we use GROUP BY in SOSL?
What is GROUP BY in SOQL.When to use it in SOQL?
What happens when we convert MASTERDETAIL to LOOKUP relationship?
Can anyone please tell me how to do One to One Relationship?
I want to run Job3 after Job1.How can we do this in Batch Apex?
Why Salesforce introduced CustomSettings instead we have CustomObjects?
Why we use StandardController in Extensions why not CustomController?
This is my code

global class BatchSchedule implements Database.Batchable<Sobject>{
    global String Query;
    global BatchSchedule(){
        Query='Select Id,FirstName,LastName from Contact';
        
    }
    global Database.QueryLocator Start(Database.BatchableContext bc){
        return Database.getQueryLocator(Query);
        
    }
    global void execute(Database.BatchableContext bc,List<Sobject> scope){
        List<Contact> con=new List<Contact>();
        for(Contact c:scope){
            c.FirstName='Jayanth';
            c.LastName='Chowdary';
                con.add(c);
            }
        update scope;
        }
    
    global void finish(Database.BatchableContext bc){
        
    }
}
How to Convert Leads In Salesforce?
This Question is asked in my Interview.Can anyone please tell me how to convert Leads?

 
What are Extensions in Salesforce?
This is my code

global class BatchSchedule implements Database.Batchable<Sobject>{
    global String Query;
    global BatchSchedule(){
        Query='Select Id,FirstName,LastName from Contact';
        
    }
    global Database.QueryLocator Start(Database.BatchableContext bc){
        return Database.getQueryLocator(Query);
        
    }
    global void execute(Database.BatchableContext bc,List<Sobject> scope){
        List<Contact> con=new List<Contact>();
        for(Contact c:scope){
            c.FirstName='Jayanth';
            c.LastName='Chowdary';
                con.add(c);
            }
        update scope;
        }
    
    global void finish(Database.BatchableContext bc){
        
    }
}
How to Convert Leads In Salesforce?
This Question is asked in my Interview.Can anyone please tell me how to convert Leads?

 

Hello All,

 

I am new to SFDC tech. I do not work on this tech but i learnt it through docs and blogs.

 

I have gone through  all satndard documents but I did not get practical knowledge regarding my queries for Triggers.

 

I  have following queries regarding Triggers-

 

1- In real time what is "before" and  "after" trigger.

 

2- In which scenarios we should go for "before" and "after".

 

3-In reference of salesforce.com database what is significance of "before" and "after".

 

4- practical difference between "Trigger.new" and "Trigger.old"

 

5- Are there any best practices where we do use "Trigger.new" and "Trigger.old".

 

I would like to say thanks in advance for your valuable suggestions.

 

I learnt a lot from this community.

 

I would appreciate if anyone please provide some real time(practical) explanation. It will help me to digest it.

 

 

Thanks again for your time and knowledge sharing.

 

Thanks,

jaanVivek