• Millik
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 6
    Replies

I want a list of user that current user is not following in chatter , please help me I am new in this developer arena...

 

I got the list of cureent user's following

 

Select id, subscriberid  from entitysubscription where Subscriberid= "Userinfo.getuserid();

 

Regards,

Millik

  • September 30, 2013
  • Like
  • 0

I want a list of user that current user in not following in chatter , please help me I am new in this developer arena...

 

I got the list of cureent user's following

 

Select id, subscriberid  from entitysubscription where Subscriberid= "Userinfo.getuserid();

 

Regards,

Millik

  • September 30, 2013
  • Like
  • 0

I want a list of user taht current user in not following in chatter , please help me I am new in this developer arena...

 

I got the list of cureent user's following

 

Select id, subscriberid  from entitysubscription where Subscriberid= "Userinfo.getuserid();

 

Regards,

Millik

  • September 30, 2013
  • Like
  • 0

Hi Folks I am getitng Maximum Depth error and I am new to apex..please help me

 

When ever Opportunity stage is changed to ‘closed won’ update Account custom field closed to TRUE and change stages of all other Opportunity related to same account to ‘Closed Lost’.

 

trigger UpdateAccOnOppAll on Opportunity(after insert, after update) {
if (triggerCount.fla ==TRUE)
     {
Opportunity opp=trigger.new[0];
List<account> acc = new List<account>();
acc =[SELECT Id, Name from account where id= :opp.accountid];
List< Opportunity> ALlOpp = new List<Opportunity>();

List<Opportunity> OppAll= new List<Opportunity>();
OppAll=[select id, Accountid, Name from Opportunity where accountid IN :Acc AND id != :trigger.new[0].id and StageName <>'Closed Won'];

List<account> AccountToUpdate=new List<account>();
List<Opportunity> OpportunityToUpdate=new List<Opportunity>();

    for (Opportunity OppyuToUpdate : trigger.new)
    {
        If (OppyuToUpdate.StageName=='Closed Won' )
        {
        for (account accountInList:acc)
            {
            
            accountInList.closed__c= TRUE;
            AccountToUpdate.add(accountInList);
            }
        }
    }
    
    
    
    for (Account AccToOpp : acc)
    {
        
        for (Opportunity OpptyAll:OppAll)
            {
            if( OpptyAll.id != trigger.new[0].id)
            OpptyAll.StageName= 'Closed Lost';
            OpportunityToUpdate.add(OpptyAll);
            
            }
        
    }
    
    
if(AccountToUpdate.size()>0)
Database.update(AccountToUpdate);

if(OpportunityToUpdate.size()>0)
Database.update(OpportunityToUpdate);

TriggerCount.fla=False;
}
}

  • September 24, 2013
  • Like
  • 0
How can we implement Lead Management + Workflow + Approvals + Payment in Sales Force ? I am using trial version, There is no option of Workflow. Please advice.
Hi,

we are planning to implement person account in our application, but before that  i want some real time advantages and disadvantages for Person Account/Account Contact relationships.


Thanks
Raja
Hi,

Most of the below questions seem to be very basic and stupid, but anyway I am daring to put them in the forum... :)

Please clarify the following queries:

Let us say we have two companies, C and D.
Say, C is the Client company which needs to have an Application, say A to be developed. D is the Development Company which develops the Application required by the Client C in the Salesforce(Force.com Platform).
D finishes the Application A and C want to access the Application A.

Where will the Application be hosted? How C is going to access A? What about the Licenses?

So the basic questions are:

1. How does D decide on the Salesforce Editions to develop Application A?
2. After finishing the Development of the Application in Salesforce, how does D enable the client to access the Application A? I mean where does the hosting occur? Are there different ways of hosting the Salesforce Application? Is there any Licensing applicable here?
3. Please explain the flow of Development and hosting of a Salesforce Application with an example with possible ways. If there is any useful link regarding above queries, please share.


Thanks a lot!
Need salesforce job support for a project.

Anyone interested reply or send an email to salesfo401@gmail.com.

Thanks.
  • April 20, 2014
  • Like
  • 2

I want a list of user that current user in not following in chatter , please help me I am new in this developer arena...

 

I got the list of cureent user's following

 

Select id, subscriberid  from entitysubscription where Subscriberid= "Userinfo.getuserid();

 

Regards,

Millik

  • September 30, 2013
  • Like
  • 0

Hi Folks I am getitng Maximum Depth error and I am new to apex..please help me

 

When ever Opportunity stage is changed to ‘closed won’ update Account custom field closed to TRUE and change stages of all other Opportunity related to same account to ‘Closed Lost’.

 

trigger UpdateAccOnOppAll on Opportunity(after insert, after update) {
if (triggerCount.fla ==TRUE)
     {
Opportunity opp=trigger.new[0];
List<account> acc = new List<account>();
acc =[SELECT Id, Name from account where id= :opp.accountid];
List< Opportunity> ALlOpp = new List<Opportunity>();

List<Opportunity> OppAll= new List<Opportunity>();
OppAll=[select id, Accountid, Name from Opportunity where accountid IN :Acc AND id != :trigger.new[0].id and StageName <>'Closed Won'];

List<account> AccountToUpdate=new List<account>();
List<Opportunity> OpportunityToUpdate=new List<Opportunity>();

    for (Opportunity OppyuToUpdate : trigger.new)
    {
        If (OppyuToUpdate.StageName=='Closed Won' )
        {
        for (account accountInList:acc)
            {
            
            accountInList.closed__c= TRUE;
            AccountToUpdate.add(accountInList);
            }
        }
    }
    
    
    
    for (Account AccToOpp : acc)
    {
        
        for (Opportunity OpptyAll:OppAll)
            {
            if( OpptyAll.id != trigger.new[0].id)
            OpptyAll.StageName= 'Closed Lost';
            OpportunityToUpdate.add(OpptyAll);
            
            }
        
    }
    
    
if(AccountToUpdate.size()>0)
Database.update(AccountToUpdate);

if(OpportunityToUpdate.size()>0)
Database.update(OpportunityToUpdate);

TriggerCount.fla=False;
}
}

  • September 24, 2013
  • Like
  • 0