Use table method orig(). It returns the orig buffer which is the committed version of the record in the database.
Dynamics AX Training