title: Can a field be calculated based off another field?
body: <p>In Dynamics Ax 2009, we want a field that will be calculated based off another field in the same table.</p>
  
  <p>Although it might be nice to use a display method or something, we have to actually store the value (management is scared of dynamic calculations because the previous product used them and was slow (like anything in AX is fast!)).</p>
  
  <p>To put the icing on the cake, they want it to work two-way:</p>
  
  <p>If we have FieldA, calculate and store FieldB.
  If we have FieldB, calculate and store FieldA.
  If we have both or none, do nothing.</p>
  
  <p>Is there anything built into Dynamics AX that can help me?</p>