• Rockzz
  • NEWBIE
  • 4 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 23
    Replies
Hi All...


Every time my DE edition password going to expiring...
 
  for example i reset the my DE edition password,I loged out my user and closed the my browser and again i opening my browser i am logging DE edition getting below error..Can any please help me for this.

User-added image


Thanks,
Cool Sfdc
  • December 24, 2013
  • Like
  • 0

Hi All..

 

How to change my Community nick name in http://boards.developerforce.com

 

Please help me...

 

Thanks,

Cooll Sfdc

  • December 03, 2013
  • Like
  • 0

 

What is the Use of Sharing rules?

 

 

Thanks,

Munna

 

  • January 24, 2013
  • Like
  • 0

@future annotation is find methods  and its excute asynchronously.. What synchronous and asynchronous Explain with Example?

 

Thanks,

Munna

  • January 22, 2013
  • Like
  • 0

Every one class maintained test code coverage is 75%..totally for all classes how much maintain test code coverage in org..can any one tell me please

 

 

Thanks,

Munna

  • January 21, 2013
  • Like
  • 0

what is a recursive trigger? how to handle it?

 

Thanks,

Munna.

  • January 20, 2013
  • Like
  • 0

 

Can any one tell me please 

How to create Data model in real time projects?

 

Thanks,

Munna

 

 

 

  • January 18, 2013
  • Like
  • 0

 

Can any One tell me How to integrate visaulforce page with web service? ......

 

 

 

Thanks,

Munna G

 

  • January 17, 2013
  • Like
  • 0

At the time of salesforce outlook instalation i got the ms-word error ,error is please install  KB2584063 this update how to resolve this problem...i tried to install number of times but i got always this issue can any tell me solutions for this issue....

 

Thanks & regards,

Manjunath G

  • November 21, 2012
  • Like
  • 0

 

 

At the time of salesforce outlook instalation i got the ms-word error ,error is please install  KB2584063 this update how to resolve this problem...i tried to install number of times but i got always this issue can any tell me solutions for this issue....

 

Thanks & regards,

Manjunath G

 

 

  • November 21, 2012
  • Like
  • 0

Hi i idi Java but i m intrested to convert SFDC ...can u any tell me how to prepare SFDC subject(My own Preparation)...please i need ur suggestions please help me my mail id is:manju4naidu@gmail.com

 

Thanks & regards,

Munna4Manju

  • November 15, 2012
  • Like
  • 0

 

Hi i idi Java but i m intrested to convert SFDC ...can u any tell me how to prepare SFDC subject(My own Preparation)...please i need ur suggestions please help me and send documents about SFDC for preparstion.. my mail id is:manju4naidu@gmail.com

 

 

Thanks & regards,

Munna4Manju

 

  • November 15, 2012
  • Like
  • 0

Hi

 

i have one custom button to send email. its working fine.

I have one email field.

 

what i have to do is in my email field if i give like this

test@gmail.com,test1@gmail.com,test2@gmail.com,test3@gmail.com

i need to send email to all emails i provided in the email field

 

Is this possibel in salesforce

can any one tell me how can i achive this

 

 

Regards

venkatesh.

Hi,

 

I'm trying to remove duplicate eleements from a list using iterator and it's not allowing me to do so, saying that you can't modify the  list while iterating the same.

 

Iterator<InvoiceLineItem__c> itr = invoiceLineItems.iterator();
        
        while(itr.hasNext()){
           for (integer i = 0; i < invoiceLineItems.size(); i++){
                if (itr.next() == invoiceLineItems.get(i)){
                    invoiceLineItems.remove(i);
                }
            }
        }

 

 

If you guys knowing any of it's solutions than plz let me know. thanks in advance ................ :)

  • December 04, 2013
  • Like
  • 0

In a test class, I am trying to create an opportunity of a specified record type. 

 

   //create opportunity record
        String opportunityName= 'xxxx';
            Opportunity o = new Opportunity(
            AccountId=a.Id, 
            Name=opportunityName, 
            StageName='Prospecting', 
            CloseDate=Date.today(),
            Opportunity_Type__c='New',
            LeadSource='xxx',
            RecordTypeId= [Select Id From RecordType Where Name = 'xxx' and SobjectType= 'Opportunity'].Id);
            
        insert o;
        system.debug(o.RecordType.Name);
        

 

However this returns- null in the debug statement. I'm sure i'm overlooking something simple. Any help?

  • December 03, 2013
  • Like
  • 0

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

  • December 03, 2013
  • Like
  • 0

Hi,

usually when I save to server from eclipse to sand box of saleforce it works fine ,

but today I keep
getting this error pop up window:

"Fetch Cycle Limit Reached

Server processing time has exceeded (600 sec)

Abort operation or continue waiting for the server? "

my sb server cs8, seems to work fine in trust.saleforce.com

any idea what I can do ?

Thanks a lot,
Eyal

  • December 03, 2013
  • Like
  • 0
trigger insertMember2 on Account (after insert) {
 Set<Id> Ids= new Set<Id>();
    for (Account member : Trigger.new)
    {
        Ids.add(member.Id);        
    }
 List<Account> memberList = new List<Account>([Select Id,BillingStreet,BillingCity,BillingState,BillingPostalCode,BillingCountry From Account e where Id in :Ids]);

    for(Account temp : memberList )
    {
        Quote member2 = new Quote();
        member2.ShippingStreet = temp.BillingStreet;
        member2.ShippingCity = temp.BillingCity;
        member2.ShippingState = temp.BillingState;
        member2.ShippingPostalCode = temp.BillingPostalCode;
        member2.ShippingCountry = temp.BillingCountry;
        insert member2;

    }


 }

 How can i solve this error..??

Hi,

 

       1. Is der any specific steps for writting trigger ? if it is ......please suggest me, because i am very confusing in this topic. Please help me out.

 

       2. How to write test class for trigger and If i write trigger logic in class, again i need to write a test class for that trigger.

 

 

Thank You,

Vivek.

 

Hi,

 

I'm having a problem with my list of elements and now i want to create an iterator for this list. so can anyone plz tell me that how to create or use iterator in salesforce using apex.

 

thanks in advance ... :)

  • December 03, 2013
  • Like
  • 0

Hi ,

I want to create a gmail gadget which will show th salesforce data into that gadget - now i want to authenticate salesforce from google how will i authnticate this? please tell me...

How  to get the current page date in pdf format once click download button in object  

 

 

Kindely Share that Code fully pls

I am brand new to Apex, so please forgive the basic question, but I am getting the following error from this Apex class: Compile Error: expecting right curly bracket, found 'insert' at line 3

 

public class CloneClassAttendance {

Campaign NewCamp = new Campaign(Name = 'Test Campaign record');

insert NewCamp;

 

Campaign NewCamp = [SELECT Type FROM Campaign WHERE Name = 'Test Campaign record'];

NewCamp.Type = 'Class Attendance';

update NewCamp;

}

 

Any help would be much appreciated.

Thanks, Michele

Does anyone know whether the Finish method executes or not , when the batch apex is aborted?

 

 

Hi Everyone,

 

I have Quest and charge custom objects and Have look up relationship with Quest as parent. There are multiple charges on a single quest.

 

Requirement: Update the max value of discount on charge to percentage field in Quest.

 

i have the following trigger and i got Error: "Too many SOQL's: 101 error , line16 column 1" during Apex test Execution: 

 

trigger ptd on charge__c (after insert,after update, after delete) {

list<quest> quests = new list<quest__c>();
map<ID,Decimal> m = new map<ID,Decimal>();
list<aggregateResult> s = new list<aggregateResult>();
list<Charge__c> charge = new list<Charge__c>();
list<quest__c> listtobeadded=new list<quest__c>();
List<Id> Ids = new List<Id>();


for(Charge__c q:trigger.isDelete ? trigger.Old : trigger.new)
Ids.add(q.quest__c);

quests=[SELECT Percentage__c,Id,Name,(select Id,Name,Discount__c from Charge__r order by Discount__c desc limit 1) FROM quest__c where Id IN :Ids];

s=[SELECT Count(Id) total,quest__c from Charge__c Group by quest__c]; //This is line 16

for(Aggregateresult s1:s){
id i=(Id)s1.get('quest__c');
Decimal inn=(Decimal)s1.get('total');
m.put(i,inn);
}

for(quest__c qq:quotes){
if(m.get(qq.id)>0){
qq.Percentage__c=qq.Charge__r[0].Discount__c;
listtobeadded.add(qq);
}
else{
qq.Percentage__c=0;
listtobeadded.add(qq);
}
}
update listtobeadded;

}

 

 

Can you help me fix this error.

 

Thanks.

Hello All recently this error came up, i have not done anything but create a new trigger on opportunity. Any Idea Why this would fire off if my trigger is after update

 

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, OpportunityLineItemUniqueID: execution of BeforeUpdate

caused by: System.LimitException: Too many SOQL queries: 101

Trigger.OpportunityLineItemUniqueID: line 7, column 1: []

 

Trigger:

trigger OpportunityLineItemUniqueID on OpportunityLineItem (before insert, before update) {
    Set<Id> OpportunityIDs = new Set<Id>();
    for (OpportunityLineItem oli : Trigger.New) {
        OpportunityIDs.add(oli.OpportunityId);
    }
    
    Map<Id, Opportunity> Opportunities = new Map<Id, Opportunity>([SELECT Id, OrderId__c FROM Opportunity WHERE Id in :OpportunityIDs]);
    
    for (OpportunityLineItem oli : Trigger.New) {
        Opportunity opp = Opportunities.get(oli.OpportunityId);
        if (opp == null) continue;
        if (opp.OrderId__c == null || opp.OrderId__c == '') continue;
        if (oli.Sequence__c == null || oli.Sequence__c == '') continue;
        
        oli.ScheduleId__c = opp.OrderId__c + '.' + oli.Sequence__c;
    }
}

 

Here below my code logic is when i search perticular name in account it will search the respective  field name & phone number from account.....but while running the code in visulaforce i got error like...:

 Error: controller1 Compile Error: Illegal assignment from LIST<Account> to LIST<Account> at line 8 column 10

so anyone help me in this regard.....

                                                               Thanx in advance..:)

 

----------------------------------------------------------controller..------------------------------------------------------------------------------

public with sharing class Controller2

 {

    public string acName {get; set;}
     public List<Account> acc {get;set;}

        public List<Account> search()

     {
             acc= new list<Account>();
             acc=[select name, phone, rating from account where name =: acName];
              return null;
         }
  } 

 

 

============ vf page=======================================

 

 

<apex:page controller="Controller2">
        <apex:form >
                  <apex:pageblock title="Account info">
                                      Account Name: <apex:inputtext value="{!acName}"/>
                                               <apex:pageblockSection >
                                                        <apex:commandButton value="Search" action="{!search}"/>
                                                            <apex:outputPanel >
                                                       <apex:pageblocktable value="{!acc}" var="a">
                                             <apex:column value="{!a.Name}"/>
                                      <apex:column value="{!a.phone}"/>
                                </apex:pageblocktable>
                        </apex:outputPanel>
                </apex:pageblockSection>
          </apex:pageblock>
     </apex:form>
</apex:page>

 

What is the Use of Sharing rules?

 

 

Thanks,

Munna

 

  • January 24, 2013
  • Like
  • 0

 

Can any one tell me please 

How to create Data model in real time projects?

 

Thanks,

Munna

 

 

 

  • January 18, 2013
  • Like
  • 0