• SureshKolli
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 2
    Replies
HI ,

How to upload xml file through visual force in vf page ??? can any one help??
HI EVERY ONE ,

          I NEED TO INSERT A  ACCOUNT WHILE  LODING VF PAGE ,SO I HAVE WRITTEN SOME CODE BUT ITS GIVE ERROR PLZ FOLLOW THIS


<apex:page controller="InsertAccount"  action="{!insertAccount}">
<apex:form >
{!msg}
</apex:form>
</apex:page>

CLASS

public class InsertAccount
{
public string msg{get;set;}
public void insertAccount()
{
Account a=new Account();
a.Name='Sairamu';
a.AccountNumber='68348657279';
insert a;
msg='Account record successfully insertyd..';
}



ERROR MESSAGE:

Visualforce Error
Help for this Page

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, createNewAccountOpportunity: 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.createNewAccountOpportunity: line 15, column 1: []
Error is in expression '{!insertAccount}' in component <apex:page> in page accountinsert


SO CAN PLZ ANY ONE HELP OUT OF THIS???????????/

Hi every one,

 

       Can i Call a Future Method in another Future Method?????

HI,

 

    HOW MANY WAYS WE CAN LOGIN IN DATA LOADERS CAN U ANY ONE HELP OUT THIS????....

Hi
 
I have written a test code in the sandbox and gives me 100% code coverage??
but once i send it to production it gives me 0% code coverage?? Can any one helpout of this....

Hi Friends 

Im Suresh new to SFDC .

Can anyone help me in writing an Batch apex class to insert records more than 500k.

Thanks in Advance

Suresh Kolli

Hi
 
I have written a test code in the sandbox and gives me 100% code coverage??
but once i send it to production it gives me 0% code coverage?? Can any one helpout of this....

Hi Friends 

Im Suresh new to SFDC .

Can anyone help me in writing an Batch apex class to insert records more than 500k.

Thanks in Advance

Suresh Kolli