Lets have Table with string field Field. You can overwrite update() method like this:
public void update()
{
//check begin
if (this.orig().Field != this.Field)
{
info('Changed');
}
//check end
super();
}
Is it possible to create delegate which will do the check? Delegates must match method parameters exactly and there aren't any here or they can use XppPrePostArgs but I do not see a way how to get _common _ and common.orig() from it.
How to get common.orig() in delegate of the table method? Is it possible?
I am using Microsoft Dynamics AX 2012.
