title: Salesforce Record Types Issue
body: <p>I have came across very interesting problem which I think it's on Salesforce's end but I would like to hear your thoughts on this.</p>
  
  <p>If any of you used Formula Fields to bring a record type name from a particular record to another record might have seen this.</p>
  
  <p>For an example I have record type called "Record Type X" on opportunity and "Record Type Y" on the account record.</p>
  
  <p>When I use <code>$RecordType.Name</code> in the formula fields (RTNameAcc_<em>c &amp; RTNameOpp</em>_c) on both records, the name of their record type is coming across correctly. However, the problem occurs when I reference the account record type on the opportunity record. If I create new formula field on the opportunity called <code>AccountRTName__c</code> and put the following formula <code>Account.RTNameAcc__c</code> instead of the related Account record type name (Record Type Y), I'm getting the opportunity record type name (Record Type X) instead.</p>
  
  <p>I am aware that the formula in <code>AccountRTName__c</code> becomes <code>Account.$RecordType.Name</code> which is fine and should get the Account record type.</p>
  
  <p>So my question is: Is it correct that when you use <code>$RecordType</code> in any context and formula field, the record type is referencing to parent object of the field? And if so, does anyone have a different solution to this problem (without using custom settings)?</p>