Views:

Description

Generate an EntityCollection of the Audit Trail for a particular record. First example finds all audit records for last 7 days for a particular account. Second example finds the last edit record operation with no formatting.

Field names of the entity collection: 'Changed By', 'Date', 'Action', 'Attribute', 'Old Value', 'New Value'

Signature

FindRecordsAudit('entityname', 'recordguid', 'lastnumberofdays', 'numberofedits', 'formattedvalues')

Example

FindRecordsAudit('account', '10124ac3-0f6f-40dd-be64-d8c0bc5dbfbd', 7)

FindRecordsAudit('account', '10124ac3-0f6f-40dd-be64-d8c0bc5dbfbd', -1, 1, false)

Parameters

NameTypeDescriptionRequired
entitynamexxxxxxxxxxxx
recordguidxxxxxxxxxxxx
lastnumberofdaysxxxxxxxxxxxx
numberofeditsxxxxxxxxxxxx
formattedvaluesxxxxxxxxxxxx

Notes: