Can we get to the record type name of a related object, like a lookup field?Lets say Case has a lookup field to Contact myContactLookup__cI want to write validation rule on Case object, where if recordtype on that contact is equal to "Contractor"I can do it with recordtypeId, but cant seem to find a way to do it with name. I dont want to hardcode Id as it is difficult to package
Yes. It supports.
Can we get to the record type name of a related object, like a lookup field?
ReplyDeleteLets say Case has a lookup field to Contact myContactLookup__c
I want to write validation rule on Case object, where if recordtype on that contact is equal to "Contractor"
I can do it with recordtypeId, but cant seem to find a way to do it with name. I dont want to hardcode Id as it is difficult to package
Yes. It supports.
Delete