• AjayDubedi
  • NEWBIE
  • 0 Points
  • Member since 2012


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hi, 
I am a System Admin and asked have some of my salesforce users to give me Grant Admin acess permision to solve certain issues. When I login as those users(Under Setup>>All Users >>Login) and do my work and then click logout top left corner under their name this is logging me out entirely from salesforce instead earlier this used to take me to the SYstem Admin login. Anyone can help me on this please..
 
Hi,

My test class is failing saying insert failed at line 15. Can anybody point where i am doing the mistake.

@isTest(SeeAllData= false)
private class testClass
{
    static testMethod void test()
    {
        Test.StartTest();
        Id accountRecordTypeId = Schema.SObjectType.Project__c.getRecordTypeInfosByName().get('BSG').getRecordTypeId();
        Project__c proj = new Project__c();
        proj.RecordTypeId= accountRecordTypeId ;
        proj.Name='Test Proj';
        proj.Department_Name__c='BSG';
        proj.AXA_BS_Project_Sponsor__c='00511000002WNYjAAO';
        proj.Start_Date__c=system.today();
        proj.End_Date__c=system.today();
        insert proj;
        Project_Report ipmo = new Project_Report ();
        ipmo.FindAllName();
        ipmo.doSearch();
       
        Test.stopTest();
        
    }
}

Hi

 

I'm stuck with Asset's record type and appreciate some help.

I was planning to add different record types to assets but then I noticed there is no such option.

 

Any ideas how to overcome this?

Is there any workaround?

Does someone know why Record Types are not possible for Assets?

 

Many thanks

 

Oded

  • November 20, 2011
  • Like
  • 1