• phanip admin
  • NEWBIE
  • 30 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 6
    Replies
Hi Guys,
I'm new to integration

Please help me please above secenario code?

Thanks in adv...!
Hi guys

Please give me the secenario code?

Create a button on account on click of which we should see it's related contacts, user should be able to select checkbox and the selected contact should be receiving an email in send email button?

Thanks in Advance
HI Everyone 

Good Afternoon,

Please help me this query syntax
Actullay my secenario is null values not show to contact lastname

select id, lastname, account.id, account.lastname from contact where lastname!=null
Hi Everyone?

I have trigger scenario i create contact automatically account will be created but i want update the contact details it is not update account record?

i write a code pls check this code? (insert work fine but update is not working ple help me as well as give me code also delete)


trigger acct on Contact (after insert,after update) {
    list<account>acct=new List<account>();
    Map<string,account> accountmap=new Map<string,account>();
    if(trigger.isafter){
        if(trigger.isinsert){
            for(contact con:trigger.new){
                account acc=new account();
                acc.Name=con.LastName;
                acc.id=con.AccountId;
                acc.Phone=con.Phone;
                acct.add(acc);
            } 
            insert acct;
        }
        if(trigger.isafter && trigger.isupdate){
            for(account acc:[select id from account WHERE id IN:trigger.newMap.keySet()]){
                accountmap.put(acc.Id, acc);               
            }
            for(contact con:trigger.new){
                account acc=new account();
                if(accountmap.containsKey(acc.Id))
                   acc.Id=accountmap.get(acc.Id).id;
                   acc.Phone=con.Phone;
                   acc.Name=con.LastName;
                    acc.Id=con.AccountId;
            }
        }
        if(acct.size()>0)
        update acct;
  }  
}



 
Hi guys

"A Universal Containers developer new to the Force.com platform was given the task of creating a trigger that posts a Chatter notification to the entire organization when a position moves to the open/approved state, so that everyone in the company has the opportunity to recommend
people and earn the hiring b"?
Hi Every One 

Pls help Me the question 

I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ? 
Pls give me the solution ?
HI Everyone

i am new salesforce pls help me

my senerio is  i have a 100 contacts i wanna 99 contacts using trigger

Thanks in Advance :

Phanindra
Hi Averyone..

My name is phanindra im new from salesforce

i have attend a last week interview in MNC Company

He asking one senerio in Visual force ?

Senerio is  : input text field and one button(like submit).
                    You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail 

Please give me Reply ASAP: )

Thanks in Advance..
Hi All,

I am new to salesforce and just want to learn the order of exection in salesforce.

I have created custom validaton rule, lead assignemnt rule, before trigger and After trigger on lead object. I just want to check the order of execution using  Debug log. How can i do this? 
Hello
I have some difficulty in understanding the following

a) Normally apex code & trigger run in system.context
   But How to make the apex code execute in USER Mode?
   if the apex code executing in USER Mode  is called by a trigger, will the trigger also execute in USER Mode?

b) Can a visual force page run in USER Mode instead of system.context , again what changes need to be done and why?

c) By default webservice classes written in apex , rest api execute in what Mode?

d) what is the use of system.RunAs with respect to the above.

I hope I am clear

Thanks
Vandana R
Hi Every One 

Pls help Me the question 

I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ? 
Pls give me the solution ?
HI Everyone

i am new salesforce pls help me

my senerio is  i have a 100 contacts i wanna 99 contacts using trigger

Thanks in Advance :

Phanindra
Hi Averyone..

My name is phanindra im new from salesforce

i have attend a last week interview in MNC Company

He asking one senerio in Visual force ?

Senerio is  : input text field and one button(like submit).
                    You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail 

Please give me Reply ASAP: )

Thanks in Advance..