• rakesh konda
  • NEWBIE
  • 30 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies
Hello Team,

I am planning to learn Apptus CPQ but I am confused where to start  can any one help in posting the related material and videos.

Thanks in advance.

Regards,
Rakesh
Hello , 

Please help in wrting the trigger if the phone number in the account tab is changed by the user it must automatically update in the contact tab phone number also

Thanks & Regards,
Rakesh Konda
Hello Guys ,

i am confused with the sub query concept in triggers can any one explain me the sub query concept
for eg:
select id,(select id from opportunities) from Account where id IN: Trigger.New

Thanks & Regards,
konda
 
Hello ,

I am trying to create an opportunity using triggers when an account is created .

i have executed  following code but i was unable to create the account
CODE:
trigger createopportunity on Account (after insert) {
list<opportunity> opp=new list <opportunity>();
for( account acc :trigger.new){
opportunity oppt=new opportunity();
oppt.Name = acc .Name;
oppt.Accountid = acc .id;
oppt.StageName= 'proposal';
 oppt.CloseDate = System.today() + 30;
 opp.add(oppt);
}
 if (opp.isEmpty() == false) {
 Database.update(opp);
        }
        }

ERROR:
Error: Invalid Data. 
Review all error messages below to correct your data.
Apex trigger createopportunity caused an unexpected exception, contact your administrator: createopportunity: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0; first error: MISSING_ARGUMENT, Id not specified in an update call: []: Trigger.createopportunity: line 12, column 1

please help me with your suggestions
Hello everyone,

I am new to integration could you please any one suggest me best resoure to start apex integration(soap and rest webservices) apart from trailhead.

Thanks & Regards,
Rakesh
Hello , 

Please help in wrting the trigger if the phone number in the account tab is changed by the user it must automatically update in the contact tab phone number also

Thanks & Regards,
Rakesh Konda
Hello ,

I am trying to create an opportunity using triggers when an account is created .

i have executed  following code but i was unable to create the account
CODE:
trigger createopportunity on Account (after insert) {
list<opportunity> opp=new list <opportunity>();
for( account acc :trigger.new){
opportunity oppt=new opportunity();
oppt.Name = acc .Name;
oppt.Accountid = acc .id;
oppt.StageName= 'proposal';
 oppt.CloseDate = System.today() + 30;
 opp.add(oppt);
}
 if (opp.isEmpty() == false) {
 Database.update(opp);
        }
        }

ERROR:
Error: Invalid Data. 
Review all error messages below to correct your data.
Apex trigger createopportunity caused an unexpected exception, contact your administrator: createopportunity: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0; first error: MISSING_ARGUMENT, Id not specified in an update call: []: Trigger.createopportunity: line 12, column 1

please help me with your suggestions