Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual |
This extrinsic function uses the audit trail to retrieve the last user who touched a particular field value, and the date/time when this editing occurred.
$$LAST^DIAUTL(FILE,ENTRY,FIELD)
FILE | (Required) File number of a file which is being audited. | |
ENTRY | (Required) Entry number in the audited file. | |
FIELD | (Required) Specifies which fields in the audited file are to be examined for audit history. Can be one of the following:
|
Find who last changed demographics of entry number 666 in File #2.
>W $$LAST^DIAUTL(2,666,"0:1") 3000708.103432^78
User number 78 was the user who most recently changed any of the audited fields numbered between 0 and 1 in this Entry. This user did so on 8 July, 2000 at 10:34 AM.
Reviewed/Updated: March 10, 2007