Amol.123
25th October 2010, 17:06
Hi Gurus,

I'am trying to read the audit file for one LN6.1 table. I'am able to get the table and field infos. I'am now trying to read the old and new values for the audited fields, but when I'am not able to run the function aud.put.old.field.value and aud.put.new.field.value.

Rather, I would say, I'am not able to understand how these functions work.

Could you please help me make these two functions work.

george7a
26th October 2010, 12:29
Hi (again :) )

Have you read the documentation of these functions:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_audtr_aud_put_old_field_value

Are you getting any errors?

- George

Amol.123
27th October 2010, 06:45
Hi George,
I have read the documentation and by use of that only i have written some code.

I am able to fetch the fields which are changed but not able to properly use these 2 functions.Am not sure in which variable it returns the value(old or New) . Also I am getting some error [MR_INDEXOUT] -193 from Dim[0].

I am attaching the sample code ffor your ref. Let me know if you can provide some inputs on it.


Thanks