• SF Buzz Vutukuri
  • NEWBIE
  • 50 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 26
    Questions
  • 18
    Replies
Hi, 
How to insert related opportunity for a contact through apex and soql. PLease help me in this.
How to display recordtypename of the case along with other case fields in the visualforce page, can some one hlep me please.
Hi,
Could anyone help in customizing serach layout in salesforce1

User-added image

I want to remove that (USD 15.82) from currency field in account object

HI please help me caluculate percentage between 2 number in apex

for exampple

decimal a=2; decimal b=10;
how to caluculate percentage for this number ??? (2/10)*100.

math.mod() is not supporting decimal values ................ If we take integer values then we wont get correct result

 

PLease I want reg expression in Javascript for phone number validation
fomat is 0dddddddddd -------

i wrotethis----- /^\[0]d{10}$/; but it is not working

HI please help me coverting any other currency to EURO's in the account object field...........

I am inserting some currency data belonging to USD it should convert in to EURO

// the below sample code showing me error
 if(Trigger.isBefore && Trigger.isUpdate )
    {
      for(Lead led:Trigger.new)
        {
           string compnayname='company';
  Lead oldled= Trigger.oldMap.get(led.ID);

    if(oldled.compnayname!=led.compnayname)// ERROR : there is no such field company name :( (But there I am using the variable name instead of using field API directly, to acheive the requirement. Could plese tell me how to acheive this using the variable name)
 {

              leadids.add(ld.id);    
        }
    
    }
Hi,

Can any one help us to stop the trigger twice..

Below code not working,we were calling future callouts from trigger only updation made SF end only not API.

can any one guide me how to stop trigger when updation made fromAPI end.

//+++++++++++++My trigger+++++++++++++++++++

trigger LeadstopApICalls on Lead (after update) {

    List<Id>leadids=new List<Id>();

    if(Trigger.isAfter && Trigger.isUpdate )
    {
    
      if (stoprecursive.stopapifire==false)
      {
       Boolean b=false;
       String methodtype='Update';
        for(Lead ld :Trigger.new)
        {
           if(ld.APIUpdate__c=='API')
           {
            b=true;
           }
           leadids.add(ld.id);    
        }
        
        if(!b){
           //call  API class  
            Apicallcontroller.updateLead(leadids,methodtype);
        }
       if(b==true){

          List<Lead>updatefield=[select APIUpdate__c from Lead where Id In :leadids]; 
          
          for(Lead lh:updatefield){
          lh.APIUpdate__c='';
          
          }
          
          //stop the trigger fire again by using static class

          stoprecursive.stopapifire=true; 
          
          update updatefield;
          
        }
     
     
        
    }
        
    }
}

//Static class 
Public class stoprecursive
{

  public static boolean stopapifire=false;

}





 

HI,
Please help to generate reports which contains only leadstatus change information..................

no other changes than leadstatus should get reflected in the report

Hi,
We are trying to add data from PHP to salesforce, but data.com duplicate management is showing error alert and I still want to save record from API. I want to do the functionality 'saveignorant' from API can u please tell me how to do that
Can u please explain this matching rule for me
I am unable to get that (Account: Name FUZZY:COMPANY NAME MatchBlank = FALSE)

(Account: Name FUZZY: COMPANY NAME MatchBlank = FALSE)OR 
(Account: Mactive_Account_ID EXACTMatchBlank = FALSE)
We already got the API token for professional edition, but I have one more query 
i.e. We are using custom and SOAP and REST services in out APP, are that custom services work in professional edition ?
HI,
My logic is like if(userprofile=="systemadminstrator") then do something....

But one of my clients is having french language settings, so my logic is getting failed can anyone help me in getting out of it....
 
HI,
My logic is like if(userprofile=="systemadminstrator") then do something....

But one of my clients is having french language settings, so my logic is getting failed can anyone help me in getting out of it....

 
Hi,
We already submitted 2.1 version APP to appexchange present it is running, we want to sumit new version 2.2 to appexchange will it cause any effect on the users who are already downloaded 2.1 and using that

 <apex:facet name="header">Name : <apex:inputText value="{!SearchName}" title="Enter Name"  html-placeholder="Enter Name to search..."  /></apex:facet>

Here I'm not abel to display both "Name :" and "input textbox" can any one please help me..

i tried to keep label attribute in <apex:inputtext> but still it is not working


Hi,
I want workflow to send email if the diffrence between created date and closed date of the opportunity is less than 15 days.............
Hi,
I want workflow to send email if the diffrence between created date and closed date of the opportunity is less than 15 days.............

HI,
Please help to generate reports which contains only leadstatus change information..................

no other changes than leadstatus should get reflected in the report

How to display recordtypename of the case along with other case fields in the visualforce page, can some one hlep me please.
Hi,
Could anyone help in customizing serach layout in salesforce1

User-added image

I want to remove that (USD 15.82) from currency field in account object

HI please help me caluculate percentage between 2 number in apex

for exampple

decimal a=2; decimal b=10;
how to caluculate percentage for this number ??? (2/10)*100.

math.mod() is not supporting decimal values ................ If we take integer values then we wont get correct result

 

// the below sample code showing me error
 if(Trigger.isBefore && Trigger.isUpdate )
    {
      for(Lead led:Trigger.new)
        {
           string compnayname='company';
  Lead oldled= Trigger.oldMap.get(led.ID);

    if(oldled.compnayname!=led.compnayname)// ERROR : there is no such field company name :( (But there I am using the variable name instead of using field API directly, to acheive the requirement. Could plese tell me how to acheive this using the variable name)
 {

              leadids.add(ld.id);    
        }
    
    }
HI,
My logic is like if(userprofile=="systemadminstrator") then do something....

But one of my clients is having french language settings, so my logic is getting failed can anyone help me in getting out of it....
 

 <apex:facet name="header">Name : <apex:inputText value="{!SearchName}" title="Enter Name"  html-placeholder="Enter Name to search..."  /></apex:facet>

Here I'm not abel to display both "Name :" and "input textbox" can any one please help me..

i tried to keep label attribute in <apex:inputtext> but still it is not working


Hi,
I want workflow to send email if the diffrence between created date and closed date of the opportunity is less than 15 days.............
Hello,
I want to display richtext area field value to be rendered without the HTML tags but i am not able to. I have tried with both of the below lines.
<apex:outputtext value="{!objWorkFeedback.Feedback}" escape="false"/>
<apex:outputfield value="{!objWorkFeedback.Feedback}"/>

I am not sure what the reason could be? Any suggestions or workarounds ?

Thanks is advance

 
HI,
We got a requirement, need to get the version number of a installed package from PHP side so that we can maintain dffrnt folders from each version in PHP.
please help me in getting version number of installed package from the side of PHP through API

HI,
Please say me the way to clear the values in the textbox  on button click .......

I've tried like  
<apex:form id="fromA">
<apex:inputext value="{!a}" Id="txt"/>
<apex:commandbutton value="clear" onClick="clearfun()"/>
</apex:form>
<script>
 function clearfun()
{
 // document.formA.[txt]= " ";
 or
document.getElementbyid("txt").value=" ";
}
</script>

but the above code isn't working :(