title: Axapta: Validate Access to return value from display method
body: <p>The Dynamics AX 2009 Best Practice add-in is throwing the following error on a display method override.</p>
  
  <pre><code>"TwC: Validate access to return value from the display/edit method."
  </code></pre>
  
  <p>Here is my display method.</p>
  
  <pre><code>display ABC_StyleName lookupModuleName(ABC_StyleSettings _ABC_StyleSettings)
  {
      ;
  return ABC_Styles::find(_ABC_StyleSettings.StyleID).StyleName;
  }
  </code></pre>
  
  <p>I'm assuming it wants me to check a config or security key before returning a result.  Any suggestions/examples on where to start?</p>
  
  <p>Thanks</p>