title: How to get return value from IAxaptaRecord::Call()?
body: <p>In Dymanics AX 4.0, I want to run some methods under the Application Object Tree (AOT) > Data Dictionary > Tables > <em>CustTable</em> > Methods. (Could be any table at all)</p>
  
  <p>This is mainly to get some custom calculated values, and also in part to deal with SQL injection
  <a href="https://stackoverflow.com/questions/9788446/axapta-executestmt-is-it-safe">Axapta.ExecuteStmt - Is it safe?</a></p>
  
  <p>I found <a href="http://msdn.microsoft.com/en-US/library/microsoft.dynamics.businessconnectornet.axaptarecord.call%28v=ax.10%29.aspx" rel="nofollow noreferrer">AxaptaRecord.Call</a> documentation here but it doesn't help alot. Not sure if it is the correct method too. Also, what are the method call differences in terms of function types? e.g. public, static, server, return value types etc.</p>
  
  <p>Hoping for some advice. Thanks.</p>