You need to sign in to do that
Don't have an account?
renaiah anamalla 7
How to retrive the recordtype records
Recordtypes
A
B
i want retrive the records from A please code it
A
B
i want retrive the records from A please code it
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Without knowing the exact naming convention in your org I cant give an exact answer but i gan give you somewhat of a template. Try doing somethins like this SOQL query
A is the actual recordtype Id for A. To retreive the actual record type A you can do a getRecordTypeInfosByName() call to schema. More on the recordtypeinfo class can be found here (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Schema_RecordTypeInfo.htm). Let me know if you need further assistance on this topic.
Hope this helps!
AM
Assume that you have record type in Account ,then you can get by following ways .
Here you need to replace Account with your Object Name .
Let me know if it helps !!
Thanks
Manoj