• Sarath C R
  • NEWBIE
  • 20 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 4
    Replies
Position: Sales force developer
Location: SHANGHAI, CHINA
Duration: 8 to 12 months

 
We are looking for SFDC Business Analyst who is more functional, i.e. someone who can gather business requirement and communicate with users and internal IT staff, someone should know the standard vanilla salesforce.com function and know how to do data conversion and configuration, not necessarily an experienced developer.  Ideally that person should have several full cycle salesforce.com CRM project deployment as a business analyst or functional consultant role, not a developer.
 
Job Requirements to satisfy above Reqt:

• Bachelors Degree required in Business, Computer Science, Software Engineering or Equivalent
• 3-5 years Salesforce experience
• Apex and Visualforce 
• Proven ability to design and optimize business processes and to integrate business processes across disparate systems 
• Experience with Salesforce.com documentation and business analysis
• SFDC Force.com Developer Certification (DEV 401) preferred; Must have proven experience in SFDC development and configuration.
 
Key Points:
 
1. This position needs coding skills, it means that he/she might do some coding work, but only occupy approximately 10% work-load in coding work.
2. 3~5 years work experience is too strict, if the person is confident, 2~3 years work experience is ok.
3. The workload will mainly focus on data conversion

Please contact : jasmine@bestitexperts.com ( or) pansy@bestitexperts.com ( or )  sam.raju@bestitexperts.com
 
I have to use a custom button to update a picklist. The field is 'Industry' in the 'Lead' tab. I have created the button and entered the java script below
{!REQUIRESCRIPT ("/soap/ajax/24.0/connection.js")}

var records = {!GETRECORDIDS($ObjectType.Lead)};
var newRecords = [];
if (records[0] == null) {
alert("Please select at least one lead")
}
else {
for (var n=0; n<records.length; n++) {
var c = new sforce.SObject("Lead");
c.id = records[n];
c.Industry =new Industry;
newRecords.push(c);
}
result = sforce.connection.update(newRecords);
window.location.reload();
}

but its showing the error like ' Industry is not defined '.

Can anyone help?
error::::'System.NullPointerException: Attempt to de-reference a null object' 
Class.massUpdateLeadController.<init>: line 7, column 1

​Please check the following class

public with sharing class massUpdateLeadController { 
    public List<Lead> Leadlst;     
    list<Id> lstId = new List<id>();     
    public Lead lead{get;set;}
    public massUpdateLeadController(ApexPages.StandardController sc) {
             lead = (Lead)sc.getRecord();
             lstId = ApexPages.currentPage().getParameters().get('recs').split(',',-2);
             leadlst = [select id, Industry from Lead where Id In : lstId];    
              }
    public pagereference updateLeads(){
          for(Lead l: Leadlst){
                       l.Industry = lead.Industry;
                                }
          update Leadlst;
          pagereference pg = new pagereference('/00Q/o');
          return pg;
          }     
          public pagereference cancel(){
                   pagereference pg = new pagereference('/00Q/o');
                   return pg;     } 

}
Anyone please tell me what this means. I've created an apex class and I'm trying to access in VF. It throws an error like the above. 

Please help me out. I'm new to apex
error::::'System.NullPointerException: Attempt to de-reference a null object' 
Class.massUpdateLeadController.<init>: line 7, column 1

​Please check the following class

public with sharing class massUpdateLeadController { 
    public List<Lead> Leadlst;     
    list<Id> lstId = new List<id>();     
    public Lead lead{get;set;}
    public massUpdateLeadController(ApexPages.StandardController sc) {
             lead = (Lead)sc.getRecord();
             lstId = ApexPages.currentPage().getParameters().get('recs').split(',',-2);
             leadlst = [select id, Industry from Lead where Id In : lstId];    
              }
    public pagereference updateLeads(){
          for(Lead l: Leadlst){
                       l.Industry = lead.Industry;
                                }
          update Leadlst;
          pagereference pg = new pagereference('/00Q/o');
          return pg;
          }     
          public pagereference cancel(){
                   pagereference pg = new pagereference('/00Q/o');
                   return pg;     } 

}
Anyone please tell me what this means. I've created an apex class and I'm trying to access in VF. It throws an error like the above. 

Please help me out. I'm new to apex