I am running a test case , I have upgraded my Salesforce Sandbox to latest version Api (26.0). Running SOQL individually give me results but while using Console I ran in error where SOQL comes out with 'Zero' results.
I would like to know, if we upgrade to new version, there could be possibility that I cannot pull the data from the Console, I believe there should be some annotation or some workaround that permit console (using new Api) to access the data.
Please advice, you can correct me if I am wrong
Login_Credentials__c enterprise = [ SELECT Id,Name, RecordTypeId, Account__c, Contact__c, Product__c, User_name__c, Password__c,Item__c,Contact__r.Email FROM Login_Credentials__c WHERE Item__c =: 'ENTERPRISE' LIMIT 1 ];
SQOL query comes with Zero results in Console