function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sudip Mondal 2001Sudip Mondal 2001 

Understanding the Trigger related to FRLS_Round__c

Hello All,
I have a code fragment for my org which is as shown below:
List<FRLS_Round__c> leadRounds = [SELECT Contact__c, Lead__c FROM FRLS_Round__c WHERE Lead__c = :((Lead)Trigger.new[0]).Id];
As per my understanding, FRLS_Round__c is a custom object(since its appended with a __c) which is having fields such as "Contact__c,Lead__c" containing values as thee record ID.

So, I went ahead and tried searching for the Custom Object named "FRLS Round" but did not get any clue of what it is referring to. I searched in Google to find out some info about hidden objects but the list that I received had no information about this.
Here's is the link: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_list.htm

On further research around the web, I found the object FRLS_Round__c being referred by many programmers at different times:
Example: 
1. https://developer.salesforce.com/forums/?id=906F0000000AcEuIAK
2. http://pastebin.com/0Mg8F7G8

So, on seeing the above examples I thought the object in question to be a standard one as its being used by others aswell but appending the object name with __c is what is causing confusion.

Requesting details for the object: "FRLS_Round__c"

Many thanks in anticipation.

Regards,
Sudip
Arun KumarArun Kumar
Hi Sudip,

The field "FRLS_Round__c" to which you are referring is surely a Custom Field in Salesforce. And although it's recommended to have the resembling name for the same object but it's not mendatory.

I think in your org this object is labeled with other name. Have you tried to Query like below:
Select ID FROM FRLS_Round__c

And I have seen you did find some of the examples on internet, I think it's just coincidence.


Please let me know if the helps.

As a common practice, if your question is answered, please choose 1 best answer.
Additionaly you can give every answer a thumb up if that answer is helpful to you.

Thanks,
Arun