title: trigger on opportunity whenever the data of the field get changed in the Custommetadata, then update that field data on the related Account field
body: <p>2 Fields on Custom metaData:
  Opportunity Field Name 
  Account Field Name</p>
  
  <p>trigger on opportunity whenever the data of the field get changed (the field that are mentioned in the Custom metadata), then update that field data on the corresponding Account field.
  I tried to get Field Values from Custom metaData like <code>Map&lt;Id,Object_Field_Mapping__mdt&gt; metaData = new Map&lt;Id,Object_Field_Mapping__mdt&gt;([SELECT Account_Field_Name__c,Opportunity_Field_Name__c FROM Object_Field_Mapping__mdt]);</code> </p>
  
  <p>And now the problem is I am not able to compare these value with the whole Account object so that i can update on Opportunity.....This sounds little bit confusing but this is what i have to do</p>
  
  <p>Is there any way to compare CustomMetaData Field Value with Account Object..
  Someone told me it can be used by Schema/sObjects but I am not sure how</p>