• Deekhu Gokarn
  • NEWBIE
  • 15 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hello

Have a problem regarding editing the field to update , i have set field to update to account name instead type and now when i click edit the field to update field is non editable , what should i do?

Thanks
Regards
Deeksha
Hello,

Have a problem regarding unit tests challenge in apex.Below is my code

@isTest
private class TestVerifyDate{
    @isTest
    static  void TestVerifyDate1() {
        //check for date2 being in the past
        Date day1 = Date.newInstance(2015, 1, 11);
        Date day2 = Date.newInstance(2015, 1, 10);
       
        Date date_res1 = VerifyDate.CheckDates(day1,day2);
        system.debug(date_res1+' Run1: Date1: ' + day1+ 'Date2: ' + day2);
    }  
}

The above code shows an error saying "Method does not exist or incorrect signature: VerifyDate.CheckDates(Date, Date)" . What is the right code please help.


Thanks,
Regards
Deeksha
Hello

Have a problem regarding editing the field to update , i have set field to update to account name instead type and now when i click edit the field to update field is non editable , what should i do?

Thanks
Regards
Deeksha
Hello,

Have a problem regarding unit tests challenge in apex.Below is my code

@isTest
private class TestVerifyDate{
    @isTest
    static  void TestVerifyDate1() {
        //check for date2 being in the past
        Date day1 = Date.newInstance(2015, 1, 11);
        Date day2 = Date.newInstance(2015, 1, 10);
       
        Date date_res1 = VerifyDate.CheckDates(day1,day2);
        system.debug(date_res1+' Run1: Date1: ' + day1+ 'Date2: ' + day2);
    }  
}

The above code shows an error saying "Method does not exist or incorrect signature: VerifyDate.CheckDates(Date, Date)" . What is the right code please help.


Thanks,
Regards
Deeksha