• sreee
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 19
    Questions
  • 13
    Replies

How to call Two methods in  One Button click???????????thx in advance

  • December 03, 2013
  • Like
  • 0

How to call Two methods in  One Button click???????????thx in advance

  • December 03, 2013
  • Like
  • 0

i dont want insert duplicate records in table ,how can achieve with apex code...thanks in advance

  • November 10, 2013
  • Like
  • 0

can any one explain about filterid...thanx in advance.

 

  • October 28, 2013
  • Like
  • 0

how can i convert chatterfeed answers into knowledge articles?can anybody pls help me ?

  • September 12, 2013
  • Like
  • 0

Iam facing following error System.ListException: List index out of bounds: 5 ...Plz need help..thanks in Advance

 

public with sharing class WrapperIntStringDisplayClassTest {
List<Testing__c> lsttest = new List<Testing__c>();
List<DataLoadTestingClass__c> lstdlt = new List<DataLoadTestingClass__c>();
public List<wrapper> lstw = new List<wrapper>();
public List<wrapper> getLstwrapperIntString() {
lsttest = [select name,city__c from Testing__c];
lstdlt = [select country__c,phone__c from DataLoadTestingClass__c];
for(Integer i=0;i<lstdlt.size();i++){
lstw.add(new wrapper(lsttest[i].name,lsttest[i].city__c,lstdlt[i].country__c,lstdlt[i].phone__c));
}
return lstw;
}


public class wrapper{
public String Tname{get;set;}
public String Tcity{get;set;}
public String Dcountry{get;set;}
public String Dphone{get;set;}

public wrapper(String Tname,String Tcity,String Dcountry,String Dphone){
this.Tname=Tname;
this.Tcity=Tcity;
this.Dcountry=Dcountry;
this.Dphone=Dphone;
}
}
}

 

  • August 16, 2013
  • Like
  • 0

How to map custom lead fields for account,contact or opportunity while Lead conversion?

Thanks in Advance

 

  • July 20, 2013
  • Like
  • 0
Hi,
 
i have 3 cust fields result1, result2, result3 fields in contact and total field in account, now i want to add 3 fields in con and display in account total...Plz help me...thanx in advance
 
global class batchcontactUpdate implements Database.Batchable<sObject>
{
    global Database.QueryLocator start(Database.BatchableContext BC)
    {
        String query = 'SELECT result1__c,result2__c,result3__c FROM contact, total__c.account from account', 
        //String query =   'SELECT  totsl__c from account';
        return Database.getQueryLocator(query);
    }
   
    global void execute(Database.BatchableContext BC, List<contact> scope)
    global void execute(Database.BatchableContext BC, List<account> scope1)
    {
         for(contact c : scope)
         {
           
           for(  account a:scope1)
           {
           a.total__c= c.result1__c+c.result2__c+c.result3__c;
         }
    }   
    global void finish(Database.BatchableContext BC)
    {
    }
}

 

  • July 18, 2013
  • Like
  • 0

when ever contact record is created/updated then address fields data in contact should be updated into account address fields.can we do it with workflow....?

 

thanks in  Advance

  • July 15, 2013
  • Like
  • 0

if u want to retrieve the user name nd save it on top of the ur vf page,,den hw wud u do it??

 

Thanks in Advance

  • July 09, 2013
  • Like
  • 0
<apex:pageBlock>
<apex:pageBlockTable value="{!position.Job_Application__r}" var="JA" title="job applications">
<apex:column value="{!JA.candidate__r.first_name__c}"/>
<apex:column value="{!JA.Candidate__r.Last_Name__c}"/>
</apex:pageBlockTable>
 
Thanks in Advance
 
  • July 09, 2013
  • Like
  • 0

can we write test class inside vf page???

 

test class inside trigger?

 

test class inside controller?

 

Thanks in Advance

  • June 28, 2013
  • Like
  • 0

Diff between Inputfield and inputtext  ......can any one help me? Thx in Advance

  • June 11, 2013
  • Like
  • 0

can we give numbering for retrieved records in vf page???????

Can any one Explain.......Thanx in Advance

 
  • June 09, 2013
  • Like
  • 0

Can Any one explain in 2 lines

 

Set controller VS List controller????

  • June 09, 2013
  • Like
  • 0

can we call from one future annotation with another???????

  • June 09, 2013
  • Like
  • 0

Can we control the execution of controllers extension's?

 

Example :-- Suppose Ext1,Ext2 are controllers extensions...... normaly Ext1 get executed but can we execute Ext2 first?

Thanx in advance

 

 

 

  • June 05, 2013
  • Like
  • 0

Hi,

 

Can any one Please let me know difference between list and set controllers with example. THX IN ADVANCE

  • June 04, 2013
  • Like
  • 0

Force.com IDE Deployment Color Coding

 

Can any one help me??

  • June 04, 2013
  • Like
  • 0
Hi,
 
i have 3 cust fields result1, result2, result3 fields in contact and total field in account, now i want to add 3 fields in con and display in account total...Plz help me...thanx in advance
 
global class batchcontactUpdate implements Database.Batchable<sObject>
{
    global Database.QueryLocator start(Database.BatchableContext BC)
    {
        String query = 'SELECT result1__c,result2__c,result3__c FROM contact, total__c.account from account', 
        //String query =   'SELECT  totsl__c from account';
        return Database.getQueryLocator(query);
    }
   
    global void execute(Database.BatchableContext BC, List<contact> scope)
    global void execute(Database.BatchableContext BC, List<account> scope1)
    {
         for(contact c : scope)
         {
           
           for(  account a:scope1)
           {
           a.total__c= c.result1__c+c.result2__c+c.result3__c;
         }
    }   
    global void finish(Database.BatchableContext BC)
    {
    }
}

 

  • July 18, 2013
  • Like
  • 0

when ever contact record is created/updated then address fields data in contact should be updated into account address fields.can we do it with workflow....?

 

thanks in  Advance

  • July 15, 2013
  • Like
  • 0
<apex:pageBlock>
<apex:pageBlockTable value="{!position.Job_Application__r}" var="JA" title="job applications">
<apex:column value="{!JA.candidate__r.first_name__c}"/>
<apex:column value="{!JA.Candidate__r.Last_Name__c}"/>
</apex:pageBlockTable>
 
Thanks in Advance
 
  • July 09, 2013
  • Like
  • 0

Diff between Inputfield and inputtext  ......can any one help me? Thx in Advance

  • June 11, 2013
  • Like
  • 0

can we give numbering for retrieved records in vf page???????

Can any one Explain.......Thanx in Advance

 
  • June 09, 2013
  • Like
  • 0

Can Any one explain in 2 lines

 

Set controller VS List controller????

  • June 09, 2013
  • Like
  • 0