The method you are looking for is Orig ()
Look in the update () method of BOMTable or BankAccountTrans
There is a method in the table called orig that provides the values ββof the last saved state of the current record.
a good example and description can be found here http://msdax.blogspot.co.uk/2007/07/programming-of-basic-methods-of-tables.html
void update () { CustTable this_Orig = this.orig (); ; if (this_Orig.custGroup! = this.custGroup) { //Cust group is changing on this update } ...
source share